when attempting to bootstrap under netbsd-current:
==fptools== gmake all -r;
in /orb/s/netbsd/usr/pkgsrc/lang/ghc/work.i386/fptools/ghc/lib/misc
------------------------------------------------------------------------
rm -f CString.o ; if [ ! -d CString ]; then mkdir CString; else find CString -name
'*.o' -print | xargs rm -f __rm_food ; fi ;
../../../ghc/driver/ghc -i../concurrent:../posix -recomp -cpp -fglasgow-exts -fvia-C
-Rghc-timing -O -split-objs -odir CString -static -c CString.lhs -o CString.o -osuf
o
<<ghc: 90101184 bytes, 52 GCs, 2037934/3905668 avg/max bytes residency (4 samples),
10M in use, 0.00 INIT (0.00 elapsed), 2.22 MUT (2.51 elapsed), 0.97 GC (0.96 elapsed)
:ghc>>
ghc: module version unchanged at 1
touch CString.o ;
rm -f SocketPrim.o ; if [ ! -d SocketPrim ]; then mkdir SocketPrim; else find
SocketPrim -name '*.o' -print | xargs rm -f __rm_food ; fi ;
../../../ghc/driver/ghc -i../concurrent:../posix -recomp -cpp -fglasgow-exts -fvia-C
-Rghc-timing -O -split-objs -odir SocketPrim -static -I../std/cbits -H12m
-optc-DNON_POSIX_SOURCE -c SocketPrim.lhs -o SocketPrim.o -osuf o
SocketPrim.lhs:14: Variable not in scope: `packSocketType'
SocketPrim.lhs:14: Variable not in scope: `unpackFamily'
SocketPrim.lhs:14: Variable not in scope: `packFamily'
SocketPrim.lhs:14:
Type constructor or class not in scope: `SocketType'
SocketPrim.lhs:14: Type constructor or class not in scope: `Family'
SocketPrim.lhs:134:
Type constructor or class not in scope: `Family'
SocketPrim.lhs:134:
Type constructor or class not in scope: `SocketType'
SocketPrim.lhs:235:
Type constructor or class not in scope: `Family'
SocketPrim.lhs:235:
Type constructor or class not in scope: `SocketType'
SocketPrim.lhs:241: Variable not in scope: `packFamily'
SocketPrim.lhs:241: Variable not in scope: `packSocketType'
SocketPrim.lhs:273: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:308: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:480: Data constructor not in scope: `AF_INET'
SocketPrim.lhs:500: Data constructor not in scope: `AF_INET'
SocketPrim.lhs:678: Variable not in scope: `unpackFamily'
SocketPrim.lhs:678:
Type constructor or class not in scope: `Family'
SocketPrim.lhs:679: Variable not in scope: `packFamily'
SocketPrim.lhs:679:
Type constructor or class not in scope: `Family'
SocketPrim.lhs:681: Variable not in scope: `packSocketType'
SocketPrim.lhs:681:
Type constructor or class not in scope: `SocketType'
SocketPrim.lhs:1090: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:1090: Data constructor not in scope: `Stream'
SocketPrim.lhs:1093: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:1131:
Type constructor or class not in scope: `Family'
SocketPrim.lhs:1134: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:1140: Data constructor not in scope: `AF_INET'
SocketPrim.lhs:1150: Variable not in scope: `unpackFamily'
SocketPrim.lhs:1152: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:1154: Data constructor not in scope: `AF_INET'
SocketPrim.lhs:1186: Data constructor not in scope: `AF_UNIX'
SocketPrim.lhs:1192: Data constructor not in scope: `AF_INET'
Compilation had errors
gmake[1]: *** [SocketPrim.o] Error 1
gmake: *** [all] Error 1
*** Error code 2