[Bug 263067] net/unison: Build fails sometimes due to race condition
Date: Tue, 05 Apr 2022 16:52:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263067 Bug ID: 263067 Summary: net/unison: Build fails sometimes due to race condition Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: madpilot@FreeBSD.org I'm filing this bug report against myself so it is properly tracked and to make it known I'm aware of the issue, but unable to fix it right away. When building in parallel sometime unison (and unison251) fail with the error at the end of this message. I've tried some simple changes to the Makefile but they did not fix it, in fact caused other errors. I'm still looking for a solution, which requires time because I know very little about ocaml. If anyone more fluent in ocaml than me could take a look and maybe easily spot the problem and give a pointer to me it would be greatly appreciated. =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for unison-2.52.0 gmake[1]: Entering directory '/wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src' /bin/sh: bash: not found ocamlopt: compat408.mli ---> compat408.cmi ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I system/generic -I lwt/generic -I /usr/local/lib/ocaml/site-lib/lablgtk2 -pp "ocaml /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/configure.ml pp" -c /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/compat408.mli ocamlopt: ubase/umarshal.mli ---> ubase/umarshal.cmi ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I system/generic -I lwt/generic -I /usr/local/lib/ocaml/site-lib/lablgtk2 -pp "ocaml /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/configure.ml pp" -c /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/ubase/umarshal.mli ocamlopt: ubase/rx.mli ---> ubase/rx.cmi ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I system/generic -I lwt/generic -I /usr/local/lib/ocaml/site-lib/lablgtk2 -pp "ocaml /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/configure.ml pp" -c /wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src/ubase/rx.mli File "/tmp/ocamlpp964623", line 1, characters 5-14: Error: Unbound module Compat408 gmake[1]: *** [Makefile.OCaml:456: ubase/umarshal.cmi] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/unison/work-x11/unison-2.52.0/src' ===> Compilation failed unexpectedly. -- You are receiving this mail because: You are the assignee for the bug.