unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / 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

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git