Skip to content

failing build of ghc in openSUSE with ncurses-6.0

build of GHC-7.10.2 in openSUSE:Factory always fails with:

[  530s] "/usr/bin/ghc" -o utils/ghc-pkg/dist/build/tmp/ghc-pkg -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O  -package-db libraries/bootstrapping.conf  -hide-all-packages -i -iutils/ghc-pkg/. -iutils/ghc-pkg/dist/build -iutils/ghc-pkg/dist/build/autogen -Iutils/ghc-pkg/dist/build -Iutils/ghc-pkg/dist/build/autogen     -optP-include -optPutils/ghc-pkg/dist/build/autogen/cabal_macros.h -package Cabal-1.22.4.0 -package base-4.7.0.1 -package bin-package-db-0.0.0.0 -package binary-0.7.5.0 -package bytestring-0.10.4.0 -package containers-0.5.5.1 -package directory-1.2.1.0 -package filepath-1.3.0.2 -package process-1.2.0.0 -package terminfo-0.4.0.1 -package unix-2.7.0.1 -XHaskell2010  -no-user-package-db -rtsopts      -odir utils/ghc-pkg/dist/build -hidir utils/ghc-pkg/dist/build -stubdir utils/ghc-pkg/dist/build   -optl-L'/home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/terminfo/dist-boot/build' -optl-L'/home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/bin-package-db/dist-boot/build' -optl-L'/home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/Cabal/Cabal/dist-boot/build' -optl-L'/usr/lib/ghc-7.8.3/process-1.2.0.0' -optl-L'/usr/lib/ghc-7.8.3/pretty-1.1.1.1' -optl-L'/usr/lib/ghc-7.8.3/directory-1.2.1.0' -optl-L'/usr/lib/ghc-7.8.3/unix-2.7.0.1' -optl-L'/usr/lib/ghc-7.8.3/time-1.4.2' -optl-L'/usr/lib/ghc-7.8.3/old-locale-1.0.0.6' -optl-L'/usr/lib/ghc-7.8.3/filepath-1.3.0.2' -optl-L'/home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/binary/dist-boot/build' -optl-L'/usr/lib/ghc-7.8.3/containers-0.5.5.1' -optl-L'/usr/lib/ghc-7.8.3/bytestring-0.10.4.0' -optl-L'/usr/lib/ghc-7.8.3/deepseq-1.3.0.2' -optl-L'/usr/lib/ghc-7.8.3/array-0.5.0.0' -optl-L'/usr/lib/ghc-7.8.3/base-4.7.0.1' -optl-L'/usr/lib/ghc-7.8.3/integer-simple-0.1.1.0' -optl-L'/usr/lib/ghc-7.8.3/ghc-prim-0.3.1.0' -optl-L'/usr/lib/ghc-7.8.3/rts-1.0' -optl-ltinfo -optl-lrt -optl-lutil -optl-ldl -optl-lpthread -optl-lm -optl-lrt -optl-ldl -static  -H32m -O  -package-db libraries/bootstrapping.conf  -hide-all-packages -i -iutils/ghc-pkg/. -iutils/ghc-pkg/dist/build -iutils/ghc-pkg/dist/build/autogen -Iutils/ghc-pkg/dist/build -Iutils/ghc-pkg/dist/build/autogen     -optP-include -optPutils/ghc-pkg/dist/build/autogen/cabal_macros.h -package Cabal-1.22.4.0 -package base-4.7.0.1 -package bin-package-db-0.0.0.0 -package binary-0.7.5.0 -package bytestring-0.10.4.0 -package containers-0.5.5.1 -package directory-1.2.1.0 -package filepath-1.3.0.2 -package process-1.2.0.0 -package terminfo-0.4.0.1 -package unix-2.7.0.1 -XHaskell2010  -no-user-package-db -rtsopts      utils/ghc-pkg/dist/build/Main.o utils/ghc-pkg/dist/build/Version.o    
[  531s] /home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.0.1.a(Base.o): In function `c8bd_info':
[  531s] /tmp/ghc13028_0/ghc13028_6.o:(.text+0x1a1a): undefined reference to `cur_term'
[  531s] /tmp/ghc13028_0/ghc13028_6.o:(.text+0x1a1e): undefined reference to `cur_term'
[  531s] /home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.0.1.a(Base.o): In function `c8bw_info':
[  531s] /tmp/ghc13028_0/ghc13028_6.o:(.text+0x1b2a): undefined reference to `cur_term'
[  531s] /tmp/ghc13028_0/ghc13028_6.o:(.text+0x1b2e): undefined reference to `cur_term'
[  531s] /home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.0.1.a(Base.o): In function `s7EW_info':
[  531s] /tmp/ghc13028_0/ghc13028_6.o:(.text+0x1d02): undefined reference to `cur_term'
[  531s] /home/abuild/rpmbuild/BUILD/ghc-7.10.2/libraries/terminfo/dist-boot/build/libHSterminfo-0.4.0.1.a(Base.o):/tmp/ghc13028_0/ghc13028_6.o:(.text+0x1d06): more undefined references to `cur_term' follow
[  531s] collect2: error: ld returned 1 exit status
[  531s] utils/ghc-pkg/ghc.mk:46: recipe for target 'utils/ghc-pkg/dist/build/tmp/ghc-pkg' failed
[  531s] make[1]: *** [utils/ghc-pkg/dist/build/tmp/ghc-pkg] Error 1
[  531s] make[1]: *** Waiting for unfinished jobs....
[  536s] <<ghc: 16682217032 bytes, 1311 GCs, 64109709/196614400 avg/max bytes residency (23 samples), 431M in use, 0.00 INIT (0.00 elapsed), 72.41 MUT (72.86 elapsed), 32.57 GC (32.60 elapsed) :ghc>>
[  540s] Makefile:71: recipe for target 'all' failed
[  540s] make: *** [all] Error 2
[  540s] error: Bad exit status from /var/tmp/rpm-tmp.1kHoMD (%build)

in openSUSE was today updated ncurses to version 6.0

Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information