haskell-llvm: FTBFS: /usr/bin/ld: cannot find -lLLVM-3.2

Bug #1278107 reported by Andreas Moog on 2014-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
haskell-llvm (Ubuntu)
High
Unassigned

Bug Description

 affects ubuntu/haskell-llvm
 importance high
 tag ftbfs trusty
 done

Hi there,

the package haskell-llvm fails to build in current Ubuntu.

(Hopefully) Relevant part of the log:
--------------------------------------

dh_shlibdeps -plibghc-llvm-doc
dh_gencontrol -plibghc-llvm-doc
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
# only call dh_scour for packages in main
if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -plibghc-llvm-doc ; fi
dh_md5sums -plibghc-llvm-doc
dh_builddeb -plibghc-llvm-doc
INFO: pkgstriptranslations version 119
pkgstriptranslations: processing libghc-llvm-doc (in debian/libghc-llvm-doc); do_strip: , oemstrip:
pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers <email address hidden>"
pkgstripfiles: processing control file: debian/libghc-llvm-doc/DEBIAN/control, package libghc-llvm-doc, directory debian/libghc-llvm-doc
.. removing usr/share/doc/libghc-llvm-doc/buildinfo_all.gz
pkgstripfiles: Truncating usr/share/doc/libghc-llvm-doc/changelog.Debian.gz to topmost ten records
pkgstripfiles: Disabled PNG optimization for -doc package libghc-llvm-doc (to save build time)
dpkg-deb: warning: 'debian/libghc-llvm-doc/DEBIAN/control' contains user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)

dpkg-deb: building package `libghc-llvm-doc' in `../libghc-llvm-doc_3.2.0.0-1build1_all.deb'.
Adding cdbs dependencies to debian/libghc-llvm-dev.substvars
dh_installdirs -plibghc-llvm-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-dev/'{}' ';'
install: target '../libghc-llvm-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-3.2.0.0'
install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/ghc-7.6.3'
install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/ghc-7.6.3/LLVM'
install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/ghc-7.6.3/LLVM/Core'
install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/ghc-7.6.3/LLVM/ExecutionEngine'
install: omitting directory 'usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/ghc-7.6.3/LLVM/Util'
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-dev/var/lib/ghc/package.conf.d/$pkg_config; \
  rm -f $pkg_config
if [ 'z' != 'z' ] ; then \
  echo '' > debian/libghc-llvm-dev/usr/lib/haskell-packages/ghc/lib/llvm-3.2.0.0/extra-packages ; \
 fi
dh_haskell_provides -plibghc-llvm-dev
dh_haskell_depends -plibghc-llvm-dev
dh_haskell_shlibdeps -plibghc-llvm-dev
[1 of 1] Compiling Main ( debian/dh_haskell_shlibdeps/a.hs, debian/dh_haskell_shlibdeps/a.o )
Linking debian/dh_haskell_shlibdeps/a.out ...
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory
Linking debian/dh_haskell_shlibdeps/a.out ...
/usr/bin/ld: cannot find -lLLVM-3.2
collect2: error: ld returned 1 exit status
make: *** [install/libghc-llvm-dev] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2
******************************************************************************
Build finished at 20140201-1048
FAILED [dpkg-buildpackage died]

A full buildlog is available at https://launchpadlibrarian.net/164532458/buildlog_ubuntu-trusty-i386.haskell-llvm_3.2.0.0-1build1_FAILEDTOBUILD.txt.gz

Thanks for your time!

Regards,
  Andreas

--
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Andreas Moog (ampelbein) wrote :

This package has been removed from the Ubuntu development release, so I am closing all remaining open bug reports.

Sorry that we couldn't fix your problem properly.

For more information, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752488

Thank you for your understanding and please continue to report any bugs you may find.

Changed in haskell-llvm (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.