build failure of llvm unstable sources in squeeze
Faheem Mitha
faheem at faheem.info
Wed Feb 15 16:16:42 UTC 2012
Hi,
I'm trying to backport the llvm 3.0 unstable sources to squeeze. The
compilation completed correctly, but dpkg-shlibdeps gave an error as
follows. Any idea what the problem is? Do I need a newer version of
debhelper (the version I'm using is 8.9.13~bpo60+1), or is there some
other problem? The list of installed build dependencies follows.
Please cc me on any reply - I'm not subscribed to the mailing list.
Thanks.
Regards, Faheem
DH_VERBOSE=1 dh_makeshlibs -p llvm-3.0
rm -f debian/llvm-3.0/DEBIAN/shlibs
DH_VERBOSE=1 dh_shlibdeps -p llvm-3.0
install -o 0 -g 0 -d debian/llvm-3.0/DEBIAN
dpkg-shlibdeps -Tdebian/llvm-3.0.substvars
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-cov
debian/llvm-3.0/usr/lib/llvm-3.0/bin/opt
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-extract
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-link
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-objdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dis
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/bugpoint
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-prof
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-bcanalyzer
debian/llvm-3.0/usr/lib/llvm-3.0/bin/macho-dump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llc
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-diff
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-rtdyld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-size
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-nm
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-stub
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dwarfdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-as
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ar
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-tblgen
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-mc
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ranlib
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-rtdyld (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ranlib (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-as (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-mc (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ld (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-size (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/macho-dump (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dwarfdump (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-cov (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dis (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/bugpoint (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-nm (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-diff (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ar (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-objdump (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-prof (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-link (ELF format: 'elf32-i386';
RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/opt (ELF format: 'elf32-i386'; RPATH:
'').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-bcanalyzer (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-extract (ELF format:
'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libLLVM-3.0.so.1 needed by
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llc (ELF format: 'elf32-i386'; RPATH:
'').
dpkg-shlibdeps: warning: dependency on libffi.so.5 could be avoided if
"debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-rtdyld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ranlib
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-as
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-mc
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-size
debian/llvm-3.0/usr/lib/llvm-3.0/bin/macho-dump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dwarfdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-stub
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-cov
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dis
debian/llvm-3.0/usr/lib/llvm-3.0/bin/bugpoint
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-nm
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-diff
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ar
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-objdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-prof
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-link
debian/llvm-3.0/usr/lib/llvm-3.0/bin/opt
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-bcanalyzer
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-extract
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-tblgen
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llc" were not uselessly linked
against it (they use none of its symbols).
dpkg-shlibdeps: error: Cannot continue due to the errors listed above.
Note: libraries are not searched in other binary packages that do not have
any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set
LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/llvm-3.0.substvars
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-cov
debian/llvm-3.0/usr/lib/llvm-3.0/bin/opt
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-extract
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-link
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-objdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dis
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/bugpoint
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-prof
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-bcanalyzer
debian/llvm-3.0/usr/lib/llvm-3.0/bin/macho-dump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llc
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-diff
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-rtdyld
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-size
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-nm
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-stub
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-dwarfdump
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-as
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ar
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-tblgen
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-mc
debian/llvm-3.0/usr/lib/llvm-3.0/bin/llvm-ranlib returned exit code 2
make: ***
[/usr/local/src/llvm3.0/llvm-3.0-3.0/debian/stamps/binary-stamp-llvm]
Error 9
debuild: fatal error at line 1307:
couldn't exec fakeroot debian/rules:
Sample linker error
faheem at orwell:/usr/local/src/llvm3.0/llvm-3.0-3.0/debian/llvm-3.0/usr/lib/llvm-3.0/bin$ ldd llvm-extract
linux-gate.so.1 => (0xb77b5000)
libLLVM-3.0.so.1 => not found
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7775000)
libffi.so.5 => /usr/lib/libffi.so.5 (0xb776e000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb776a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7679000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7653000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7636000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb74ee000)
/lib/ld-linux.so.2 (0xb77b6000)
Build dependencies
||/ Name Version
Description
+++-==================================-==================================-====================================================================================
ii autoconf 2.67-2 automatic configure script builder
ii automake1.9 1.9.6+nogfdl-3.1 A tool for generating GNU Standards-compliant Makefiles
ii autotools-dev 20100122.1 Update infrastructure for config.{guess,sub} files
ii binutils-dev 2.22-2 GNU binary utilities (BFD development files)
ii bison 1:2.4.1.dfsg-3 A parser generator that is compatible with YACC
ii chrpath 0.13-2 Tool to edit the rpath in ELF binaries
ii debhelper 8.9.13~bpo60+1 helper programs for debian/rules
ii dejagnu 1.4.4.git20080407-1.1 framework for running test suites on software tools
ii dh-ocaml 0.9.6 helper tools for maintaining OCaml-related Debian packages
ii doxygen 1.7.6.1-2.1 Documentation system for C, C++, Java, Python and other languages
ii expect 5.44.1.15-4 A program that can automate interactive applications
ii flex 2.5.35-10 A fast lexical analyzer generator.
ii libffi-dev 3.0.9-3 Foreign Function Interface library (development files)
ii libtool 2.2.6b-2 Generic library support script
ii lsb-release 3.2-23.2squeeze1 Linux Standard Base version reporting utility
ii ocaml-nox 3.11.2-2 ML implementation with a class-based object system (no X)
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction and Report Language
ii quilt 0.48-7 Tool to work with series of patches
ii sharutils 1:4.9-1 shar, unshar, uuencode, uudecode
ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8.5 - run-time files
ii texinfo 4.13a.dfsg.1-6 Documentation system for on-line information and printed output
ii xz-utils 5.0.0-2 XZ-format compression utilities
More information about the Pkg-llvm-team
mailing list