ports/186829: lang/ghc is not jobs-safe
Nikolai Lifanov
lifanov at mail.lifanov.com
Mon Feb 17 04:10:01 UTC 2014
>Number: 186829
>Category: ports
>Synopsis: lang/ghc is not jobs-safe
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 17 04:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Nikolai Lifanov
>Release: FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The GHC port is not jobs-safe.
This should either be fixed (I'd imagine this is hard) or marked as make jobs unsafe.
CROSS_COMPILE="" "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal" install "/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3/ghc" "/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3/ghc-pkg" "strip" "/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3" libraries/old-locale dist-install '' '/tmp/lifanov/ghc/work/ghc-7.6.3-boot' '/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3' '/tmp/lifanov/ghc/work/ghc-7.6.3-boot/share/doc/ghc/html/libraries' NO
Installing library in
/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3/old-locale-1.0.0.5
Warning: cannot determine version of
/tmp/lifanov/ghc/work/ghc-7.6.3-boot/lib/ghc-7.6.3/ghc :
""
ghc-cabal: ghcInvocation: the programVersion must not be Nothing
gmake[3]: *** [install_packages] Error 1
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/tmp/lifanov/ghc/work/ghc-7.6.3-boot'
*** [pre-configure] Error code 2
make[1]: stopped in /tmp/lifanov/ghc
1 error
make[1]: stopped in /tmp/lifanov/ghc
*** [build] Error code 2
make: stopped in /tmp/lifanov/ghc
1 error
make: stopped in /tmp/lifanov/ghc
>How-To-Repeat:
cd /usr/ports/lang/ghc
make -j8
>Fix:
Mark lang/ghc port as jobs unsafe.
In this case, make -j1 works.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list