pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38440: Build of lang/ghc fails if $WRKOBJDIR is used



>Number:         38440
>Category:       pkg
>Synopsis:       Build of lang/ghc fails if $WRKOBJDIR is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 16 11:50:01 +0000 2008
>Originator:     Daniel Neri
>Release:        NetBSD 4.0_STABLE
>Organization:
Daniel Neri <daniel.neri%sigicom.com@localhost>
Sigicom AB, Stockholm, Sweden
>Environment:
System: NetBSD dual.hq.sigicom.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC.MP) 
#2: Thu Feb 7 15:22:56 CET 2008 
dne%dual.hq.sigicom.net@localhost:/scratch/usr.obj/sys/arch/i386/compile/GENERIC.MP
 i386
Architecture: i386
Machine: i386
>Description:
        Build of lang/ghc fails during stage1 if $WRKOBJDIR is set, e.g. in 
/etc/mk.conf.

>How-To-Repeat:
$ grep WRKOBJDIR /etc/mk.conf
WRKOBJDIR?=/scratch/pkgsrc.obj

$ cd /usr/pkgsrc/lang/ghc
$ make

[lots of output snipped...]
/scratch/pkgsrc.obj/lang/ghc/work/ghc-6.4.2/ghc/compiler/ghc-inplace -H16m -O  
-istage1/utils  -istage1/basicTypes  -istage1/types  -istage1/hsSyn  
-istage1/prelude  -istage1/rename  -istage1/typecheck  -istage1/deSugar  
-istage1/coreSyn  -istage1/vectorise  -istage1/specialise  -istage1/simplCore  
-istage1/stranal  -istage1/stgSyn  -istage1/simplStg  -istage1/codeGen  
-istage1/main  -istage1/profiling  -istage1/parser  -istage1/cprAnalysis  
-istage1/ndpFlatten  -istage1/iface  -istage1/cmm  -istage1/nativeGen -Wall 
-fno-warn-name-shadowing -fno-warn-orphans -Istage1 -cpp -fglasgow-exts 
-fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang 
-recomp -Rghc-timing  -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat 
-ignore-package Cabal    -c stranal/StrictAnal.lhs -o 
stage1/stranal/StrictAnal.o  -ohi stage1/stranal/StrictAnal.hi
<<ghc: 26304808 bytes, 8 GCs, 1454548/2816780 avg/max bytes residency (2 
samples), 19M in use, 0.00 INIT (0.00 elapsed), 0.19 MUT (0.50 elapsed), 0.04 
GC (0.06 elapsed) :ghc>>
gmake[1]: *** No rule to make target 
`stage1//scratch/pkgsrc.obj/lang/ghc/work/.buildlink/include/gmp.h', needed by 
`stage1/parser/cutils.o'.  Stop.
gmake: *** [stage1] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/ghc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/ghc


>Fix:
Unknown, except leaving $WRKOBJDIR unset.

>Unformatted:
 pkgsrc from CVS, updated 2008-04-16.


Home | Main Index | Thread Index | Old Index