[Pkg-haskell-maintainers] Bug#741780: haskell-llvm-base: FTBFS: ld: cannot find -lLLVMIRReader

David Suárez david.sephirot at gmail.com
Sun Mar 16 12:46:34 UTC 2014


Source: haskell-llvm-base
Version: 3.2.0.0-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C [enabled by default]
> 
> cbits/support.cpp:1:0:
>      warning: "__STDC_LIMIT_MACROS" redefined [enabled by default]
>      #define __STDC_LIMIT_MACROS
>      ^
> 
> <command-line>:0:0:
>      note: this is the location of the previous definition
> 
> cbits/support.cpp:2:0:
>      warning: "__STDC_CONSTANT_MACROS" redefined [enabled by default]
>      #define __STDC_CONSTANT_MACROS
>      ^
> 
> <command-line>:0:0:
>      note: this is the location of the previous definition
> In-place registering llvm-base-3.2.0.0...
> touch build-ghc-stamp
> debian/hlibrary.setup copy --builddir=dist-ghc --destdir=debian/tmp-inst-ghc
> Installing library in
> debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3
> pkg_config=`debian/hlibrary.setup register --builddir=dist-ghc --gen-pkg-config | tr -d ' \n' | sed -r 's,^.*:,,'` ; \
> 		dh_haskell_extra_depends $pkg_config ; \
> 		rm $pkg_config
> mkdir -p debian/libghc-llvm-base-doc//usr/share/doc/libghc-llvm-base-doc/html/
> cd debian/tmp-inst-ghc/ ; find .//usr/share/doc/libghc-llvm-base-doc/html// \
> 		! -name "*.haddock" -exec install -Dm 644 '{}' \
> 		../libghc-llvm-base-doc/'{}' ';'
> install: omitting directory './/usr/share/doc/libghc-llvm-base-doc/html//'
> install: omitting directory './/usr/share/doc/libghc-llvm-base-doc/html//src'
> mkdir -p debian/libghc-llvm-base-doc//usr/lib/ghc-doc/haddock/llvm-base-3.2.0.0/
> [ 0 = `ls debian/tmp-inst-ghc//usr/lib/ghc-doc/haddock/llvm-base-3.2.0.0// 2>/dev/null | wc -l` ] || \
> 		cp -r debian/tmp-inst-ghc//usr/lib/ghc-doc/haddock/llvm-base-3.2.0.0//*.haddock \
> 		debian/libghc-llvm-base-doc//usr/lib/ghc-doc/haddock/llvm-base-3.2.0.0/
> find debian/libghc-llvm-base-doc//usr/share/doc/libghc-llvm-base-doc/html/ -name "*.txt" \
> 		-printf "%p /usr/lib/ghc-doc/hoogle//%f\n" >> debian/libghc-llvm-base-doc.links
> sed -i s,^debian/libghc-llvm-base-doc,, debian/libghc-llvm-base-doc.links
> dh_haskell_depends -plibghc-llvm-base-doc
> dh_haskell_blurbs -plibghc-llvm-base-doc
> dh_installdocs -plibghc-llvm-base-doc 
> dh_installexamples -plibghc-llvm-base-doc 
> dh_installman -plibghc-llvm-base-doc  
> dh_installinfo -plibghc-llvm-base-doc  
> dh_installmenu -plibghc-llvm-base-doc 
> dh_installcron -plibghc-llvm-base-doc 
> dh_installinit -plibghc-llvm-base-doc  
> dh_installdebconf -plibghc-llvm-base-doc 
> dh_installemacsen -plibghc-llvm-base-doc   
> dh_installcatalogs -plibghc-llvm-base-doc 
> dh_installpam -plibghc-llvm-base-doc 
> dh_installlogrotate -plibghc-llvm-base-doc 
> dh_installlogcheck -plibghc-llvm-base-doc 
> dh_installchangelogs -plibghc-llvm-base-doc  
> dh_installudev -plibghc-llvm-base-doc 
> dh_lintian -plibghc-llvm-base-doc 
> dh_bugfiles -plibghc-llvm-base-doc 
> dh_install -plibghc-llvm-base-doc  
> dh_link -plibghc-llvm-base-doc  
> dh_buildinfo -plibghc-llvm-base-doc 
> dh_installmime -plibghc-llvm-base-doc 
> dh_installgsettings -plibghc-llvm-base-doc 
> dh_strip -plibghc-llvm-base-doc  
> dh_compress -plibghc-llvm-base-doc -X .haddock -X .hs -X .txt 
> dh_fixperms -plibghc-llvm-base-doc  
> dh_makeshlibs -plibghc-llvm-base-doc  
> dh_installdeb -plibghc-llvm-base-doc 
> dh_perl -plibghc-llvm-base-doc 
> dh_shlibdeps -plibghc-llvm-base-doc   -XlibHS 
> dh_gencontrol -plibghc-llvm-base-doc  
> dh_md5sums -plibghc-llvm-base-doc 
> dh_builddeb -plibghc-llvm-base-doc 
> dpkg-deb: building package `libghc-llvm-base-doc' in `../libghc-llvm-base-doc_3.2.0.0-3_all.deb'.
> DEB_ENABLE_TESTS not set to yes, not running any tests.
> touch check-ghc-stamp
> Adding cdbs dependencies to debian/libghc-llvm-base-dev.substvars
> dh_installdirs -plibghc-llvm-base-dev 
> cd debian/tmp-inst-ghc ; find usr/lib/haskell-packages/ghc/lib/ \
> 		\( ! -name "*_p.a" ! -name "*.p_hi" \) \
> 		-exec install -Dm 644 '{}' ../libghc-llvm-base-dev/'{}' ';'
> install: target '../libghc-llvm-base-dev/usr/lib/haskell-packages/ghc/lib/' is not a directory: No such file or directory
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM/Wrapper'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM/Wrapper/Transforms'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM/Target'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM/FFI'
> install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/ghc-7.6.3/LLVM/FFI/Transforms'
> pkg_config=`debian/hlibrary.setup register --builddir=dist-ghc --gen-pkg-config | tr -d ' \n' | sed -r 's,^.*:,,'`; \
> 		 \
> 		install -Dm 644 $pkg_config debian/libghc-llvm-base-dev/var/lib/ghc/package.conf.d/$pkg_config; \
> 		rm -f $pkg_config
> if [ 'z' != 'z' ] ; then \
> 		echo '' > debian/libghc-llvm-base-dev/usr/lib/haskell-packages/ghc/lib/llvm-base-3.2.0.0/extra-packages ; \
> 	fi
> dh_haskell_provides -plibghc-llvm-base-dev
> dh_haskell_depends -plibghc-llvm-base-dev
> dh_haskell_shlibdeps -plibghc-llvm-base-dev
> /usr/bin/ld: cannot find -lLLVMIRReader
> /usr/bin/ld: cannot find -lLLVMAsmParser
> /usr/bin/ld: cannot find -lLLVMSystemZCodeGen
> /usr/bin/ld: cannot find -lLLVMSystemZAsmParser
> /usr/bin/ld: cannot find -lLLVMSystemZDesc
> /usr/bin/ld: cannot find -lLLVMSystemZInfo
> /usr/bin/ld: cannot find -lLLVMSystemZAsmPrinter
> /usr/bin/ld: cannot find -lLLVMHexagonCodeGen
> /usr/bin/ld: cannot find -lLLVMHexagonAsmPrinter
> /usr/bin/ld: cannot find -lLLVMHexagonDesc
> /usr/bin/ld: cannot find -lLLVMHexagonInfo
> /usr/bin/ld: cannot find -lLLVMNVPTXCodeGen
> /usr/bin/ld: cannot find -lLLVMNVPTXDesc
> /usr/bin/ld: cannot find -lLLVMNVPTXInfo
> /usr/bin/ld: cannot find -lLLVMNVPTXAsmPrinter
> /usr/bin/ld: cannot find -lLLVMMBlazeDisassembler
> /usr/bin/ld: cannot find -lLLVMMBlazeCodeGen
> /usr/bin/ld: cannot find -lLLVMMBlazeDesc
> /usr/bin/ld: cannot find -lLLVMMBlazeAsmPrinter
> /usr/bin/ld: cannot find -lLLVMMBlazeAsmParser
> /usr/bin/ld: cannot find -lLLVMMBlazeInfo
> /usr/bin/ld: cannot find -lLLVMCppBackendCodeGen
> /usr/bin/ld: cannot find -lLLVMCppBackendInfo
> /usr/bin/ld: cannot find -lLLVMMSP430CodeGen
> /usr/bin/ld: cannot find -lLLVMMSP430Desc
> /usr/bin/ld: cannot find -lLLVMMSP430Info
> /usr/bin/ld: cannot find -lLLVMMSP430AsmPrinter
> /usr/bin/ld: cannot find -lLLVMXCoreDisassembler
> /usr/bin/ld: cannot find -lLLVMXCoreCodeGen
> /usr/bin/ld: cannot find -lLLVMXCoreDesc
> /usr/bin/ld: cannot find -lLLVMXCoreInfo
> /usr/bin/ld: cannot find -lLLVMXCoreAsmPrinter
> /usr/bin/ld: cannot find -lLLVMMipsDisassembler
> /usr/bin/ld: cannot find -lLLVMMipsCodeGen
> /usr/bin/ld: cannot find -lLLVMMipsAsmParser
> /usr/bin/ld: cannot find -lLLVMMipsDesc
> /usr/bin/ld: cannot find -lLLVMMipsInfo
> /usr/bin/ld: cannot find -lLLVMMipsAsmPrinter
> /usr/bin/ld: cannot find -lLLVMARMDisassembler
> /usr/bin/ld: cannot find -lLLVMARMCodeGen
> /usr/bin/ld: cannot find -lLLVMARMAsmParser
> /usr/bin/ld: cannot find -lLLVMARMDesc
> /usr/bin/ld: cannot find -lLLVMARMInfo
> /usr/bin/ld: cannot find -lLLVMARMAsmPrinter
> /usr/bin/ld: cannot find -lLLVMAArch64Disassembler
> /usr/bin/ld: cannot find -lLLVMAArch64CodeGen
> /usr/bin/ld: cannot find -lLLVMAArch64AsmParser
> /usr/bin/ld: cannot find -lLLVMAArch64Desc
> /usr/bin/ld: cannot find -lLLVMAArch64Info
> /usr/bin/ld: cannot find -lLLVMAArch64AsmPrinter
> /usr/bin/ld: cannot find -lLLVMAArch64Utils
> /usr/bin/ld: cannot find -lLLVMPowerPCCodeGen
> /usr/bin/ld: cannot find -lLLVMPowerPCDesc
> /usr/bin/ld: cannot find -lLLVMPowerPCAsmPrinter
> /usr/bin/ld: cannot find -lLLVMPowerPCAsmParser
> /usr/bin/ld: cannot find -lLLVMPowerPCInfo
> /usr/bin/ld: cannot find -lLLVMSparcCodeGen
> /usr/bin/ld: cannot find -lLLVMSparcDesc
> /usr/bin/ld: cannot find -lLLVMSparcInfo
> /usr/bin/ld: cannot find -lLLVMR600CodeGen
> /usr/bin/ld: cannot find -lLLVMR600Desc
> /usr/bin/ld: cannot find -lLLVMR600Info
> /usr/bin/ld: cannot find -lLLVMR600AsmPrinter
> /usr/bin/ld: cannot find -lLLVMTableGen
> /usr/bin/ld: cannot find -lLLVMDebugInfo
> /usr/bin/ld: cannot find -lLLVMOption
> /usr/bin/ld: cannot find -lLLVMX86Disassembler
> /usr/bin/ld: cannot find -lLLVMX86AsmParser
> /usr/bin/ld: cannot find -lLLVMX86CodeGen
> /usr/bin/ld: cannot find -lLLVMSelectionDAG
> /usr/bin/ld: cannot find -lLLVMAsmPrinter
> /usr/bin/ld: cannot find -lLLVMX86Desc
> /usr/bin/ld: cannot find -lLLVMX86Info
> /usr/bin/ld: cannot find -lLLVMX86AsmPrinter
> /usr/bin/ld: cannot find -lLLVMX86Utils
> /usr/bin/ld: cannot find -lLLVMMCDisassembler
> /usr/bin/ld: cannot find -lLLVMMCParser
> /usr/bin/ld: cannot find -lLLVMInstrumentation
> /usr/bin/ld: cannot find -lLLVMArchive
> /usr/bin/ld: cannot find -lLLVMBitReader
> /usr/bin/ld: cannot find -lLLVMInterpreter
> /usr/bin/ld: cannot find -lLLVMipo
> /usr/bin/ld: cannot find -lLLVMVectorize
> /usr/bin/ld: cannot find -lLLVMLinker
> /usr/bin/ld: cannot find -lLLVMBitWriter
> /usr/bin/ld: cannot find -lLLVMMCJIT
> /usr/bin/ld: cannot find -lLLVMJIT
> /usr/bin/ld: cannot find -lLLVMCodeGen
> /usr/bin/ld: cannot find -lLLVMObjCARCOpts
> /usr/bin/ld: cannot find -lLLVMScalarOpts
> /usr/bin/ld: cannot find -lLLVMInstCombine
> /usr/bin/ld: cannot find -lLLVMTransformUtils
> /usr/bin/ld: cannot find -lLLVMipa
> /usr/bin/ld: cannot find -lLLVMAnalysis
> /usr/bin/ld: cannot find -lLLVMRuntimeDyld
> /usr/bin/ld: cannot find -lLLVMExecutionEngine
> /usr/bin/ld: cannot find -lLLVMTarget
> /usr/bin/ld: cannot find -lLLVMMC
> /usr/bin/ld: cannot find -lLLVMObject
> /usr/bin/ld: cannot find -lLLVMCore
> /usr/bin/ld: cannot find -lLLVMSupport
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/haskell-llvm-base_3.2.0.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-haskell-maintainers mailing list