unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CUDF and race conditions
@ 2020-08-31  0:36 Brett Gilio
  2020-08-31  1:07 ` Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: Brett Gilio @ 2020-08-31  0:36 UTC (permalink / raw)
  To: guix-devel

Hey all,

I am currently working on a new branch wip-ocaml to try and get our
ocaml packages to build against latest 4.11

For some reason, when building ocamlbuild against 4.11 there is a race
condition which is introduced where cudf fails to build. I can not seem
to decipher how to resolve the issue, though.

--8<---------------cut here---------------start------------->8---
Failure:
  Error during command "mkdir /tmp/guix-build-ocaml-cudf-0.9.drv-0/cudf-0.9/_build": Ocamlbuild_pack.My_std.Exit_with_code(10).
make: *** [Makefile:61: _build/cudf.cma] Error 2
--8<---------------cut here---------------end--------------->8---

I did manage to find this relevant issue though:
https://github.com/ocaml/ocamlbuild/issues/300.

Any help would be appreciated.

Brett Gilio


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CUDF and race conditions
  2020-08-31  0:36 CUDF and race conditions Brett Gilio
@ 2020-08-31  1:07 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2020-08-31  1:07 UTC (permalink / raw)
  To: guix-devel, Brett Gilio

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

If ocamlbuild is at a version that doesn't have the fix yet, how about applying the first two patches of this MR?  https://github.com/ocaml/ocamlbuild/pull/302/commits

Thanks for your work on this!

Le 30 août 2020 20:36:12 GMT-04:00, Brett Gilio <brettg@gnu.org> a écrit :
>Hey all,
>
>I am currently working on a new branch wip-ocaml to try and get our
>ocaml packages to build against latest 4.11
>
>For some reason, when building ocamlbuild against 4.11 there is a race
>condition which is introduced where cudf fails to build. I can not seem
>to decipher how to resolve the issue, though.
>
>--8<---------------cut here---------------start------------->8---
>Failure:
>Error during command "mkdir
>/tmp/guix-build-ocaml-cudf-0.9.drv-0/cudf-0.9/_build":
>Ocamlbuild_pack.My_std.Exit_with_code(10).
>make: *** [Makefile:61: _build/cudf.cma] Error 2
>--8<---------------cut here---------------end--------------->8---
>
>I did manage to find this relevant issue though:
>https://github.com/ocaml/ocamlbuild/issues/300.
>
>Any help would be appreciated.
>
>Brett Gilio

[-- Attachment #2: Type: text/html, Size: 1516 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-31  1:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31  0:36 CUDF and race conditions Brett Gilio
2020-08-31  1:07 ` Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).