autopkgtest gutsy libelf: erroneous package!

Bug #136986 reported by Ian Jackson autopkgtest
18
Affects Status Importance Assigned to Milestone
libelf (Ubuntu)
Fix Released
High
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 affects /ubuntu/libelf
 importance high

 Test executed for: gutsy source libelf
 Outcome: erroneous package!
  blame: arg:tmp/libelf/src/libelf_0.8.6-3.dsc dsc:libelf
  badpkg: rules binary failed with exit code 2
  quitting: erroneous package: rules binary failed with exit code 2

  erroneous package!

This message is automatically generated by the autopkgtest package
testing system. You are receiving it because:
 The test results appear to indicate a problem with the package
 and reports for package maintainers for gutsy are being directed to
 <email address hidden>

The test log, which is intended to be sufficient to diagnose most
failures, can be found below. However, in case this is not
sufficient, another copy can be found along with output files, saved
temporary files, and so on, at:
 http://autopkgtest.ubuntu.com/autopkgtest-output/

The test environment is an amd64 Xen guest with limited amounts of
memory. The relevant dependencies are installed for each test but
very few other packages. Most autopkgtest reports are FTBFS problems.

If you have any questions about this service please contact me at:
 Ian Jackson <email address hidden>

Regards,
Ian

- -8<-
++++++ fetching http://archive.ubuntu.com/ubuntu/dists/gutsy/main/source/Sources.gz ++++++
++++++ selecting ++++++
selected libelf (age <never-yet>, score 500000000)

Package: libelf
Binary: libelfg0-dev, libelfg0
Version: 0.8.6-3
Priority: standard
Section: libs
Maintainer: Alex Pennace <email address hidden>
Build-Depends: gettext, debhelper (>= 4)
Architecture: any
Standards-Version: 3.6.2.2
Format: 1.0
Directory: pool/main/libe/libelf
Files:
 a949a77628ed6e955b4d25526b52652c 578 libelf_0.8.6-3.dsc
 43a90fad207fcdf7286bc74124219d9c 144262 libelf_0.8.6.orig.tar.gz
 989566bb180c8bcccde352be958ee352 5402 libelf_0.8.6-3.diff.gz

++++++ fetching http://archive.ubuntu.com/ubuntu/pool/main/libe/libelf/libelf_0.8.6-3.dsc ++++++
++++++ fetching http://archive.ubuntu.com/ubuntu/pool/main/libe/libelf/libelf_0.8.6.orig.tar.gz ++++++
++++++ fetching http://archive.ubuntu.com/ubuntu/pool/main/libe/libelf/libelf_0.8.6-3.diff.gz ++++++
++++++ starting test ++++++
+ adt-run --tmp-dir tmp/libelf/tmp --output-dir tmp/libelf/out --log-file tmp/libelf/log --summary tmp/_summary --built-binaries-filter=__ --source tmp/libelf/src/libelf_0.8.6-3.dsc --- adt-virt-xenlvm --userv --distro=gutsy --
adt-run: trace: ** init
adt-run: trace: ** start
adt-run: trace: $ vserver: adt-virt-xenlvm --userv --distro=gutsy --
File descriptor 6 left open
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ starting
adt-run: trace: ** open, scratch=None
File descriptor 10 left open
File descriptor 10 left open
adt-run: trace: * initialising
adt-run: trace: * no key generation needed
adt-run: trace: * reset
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds ...
adt-run: trace: @@@@@@@@@@@@@@@@@@@@ dsc dsc0
adt-run: trace: * publish
adt-run: trace: $ ftparchive: sh -ec <SCRIPT> x tmp/libelf/tmp/binaries /home/iwj/.autopkgtest/gpg
adt-run: trace: $ apt-key: sh -ec <SCRIPT>
OK
Get:1 file: Release.gpg [189B]
Get:2 http://archive.ubuntu.com gutsy Release.gpg [191B]
Get:3 file: Release [724B]
Get:4 http://archive.ubuntu.com gutsy Release [65.9kB]
Ign file: Packages
Get:5 http://archive.ubuntu.com gutsy/main Packages [1094kB]
Get:6 http://archive.ubuntu.com gutsy/restricted Packages [6830B]
Get:7 http://archive.ubuntu.com gutsy/universe Packages [3946kB]
Get:8 http://archive.ubuntu.com gutsy/multiverse Packages [153kB]
Fetched 5266kB in 2s (1938kB/s)
Reading package lists...
adt-run: trace: * publish reinstall checking...
adt-run: trace: * publish install...
adt-run: trace: * publish done
adt-run: trace: $ dsc0: python -c <SCRIPT>
adt-run: trace: $ dsc0-extract: sh -ec <SCRIPT> x /root/adt-downtmp/dsc0-build/tmpdir /root/adt-downtmp/dsc0/libelf_0.8.6-3.dsc
+ spec=/root/adt-downtmp/dsc0/libelf_0.8.6-3.dsc
+ pwd
+ origpwd=/root/adt-downtmp/dsc0-build
+ cd /root/adt-downtmp/dsc0-build
+ chown adtxenu .
+ TMPDIR=/root/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /root/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su adtxenu -c mkdir -- "$TMPDIR"
+ spec=/root/adt-downtmp/dsc0/libelf_0.8.6-3.dsc origpwd=/root/adt-downtmp/dsc0-build su adtxenu -c
   dpkg-source -x $spec

gpg: new configuration file `/home/adtxenu/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/adtxenu/.gnupg/gpg.conf' are not yet active during this run
gpg: Signature made Tue Apr 4 01:08:42 2006 UTC using DSA key ID E26A6F28
gpg: Can't check signature: public key not found
dpkg-source: extracting libelf in libelf-0.8.6
dpkg-source: unpacking libelf_0.8.6.orig.tar.gz
dpkg-source: applying /root/adt-downtmp/dsc0/libelf_0.8.6-3.diff.gz
+ cd libelf-0.8.6/.
+ pwd
+ set +e
+ test -f debian/tests/control
+ echo 1
adt-run: trace: * <dsc:dsc0> build needed for binaries
adt-run: trace: $ dsc0: python -c <SCRIPT>
adt-run: trace: $ dsc0-build: sh -ec <SCRIPT> x /root/adt-downtmp/dsc0-build/tmpdir /root/adt-downtmp/dsc0-build/libelf-0.8.6
+ TMPDIR=/root/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /root/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su adtxenu -c mkdir -- "$TMPDIR"
+ cd /root/adt-downtmp/dsc0-build/libelf-0.8.6
+ dpkg-checkbuilddeps
+ su adtxenu -c debian/rules build
dh_testdir
mv po/de.gmo po/de.gmo.orig
cp po/de.gmo.orig po/de.gmo
./configure --prefix=/usr --enable-shared --host=
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for stdint.h... yes
checking for fcntl.h... yes
checking for elf.h... yes
checking for sys/elf.h... no
checking for link.h... yes
checking for sys/link.h... no
checking if gcc can compile elf.h... yes
checking for ar.h... yes
checking for libelf.h... no
checking for nlist.h... no
checking for gelf.h... no
checking whether to install <libelf.h>, <nlist.h> and <gelf.h>... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking for struct Elf32_Dyn... yes
checking for struct nlist in elf.h... no
checking for struct Elf64_Ehdr... yes
checking for Elf64_Addr... yes
checking for struct Elf64_Rel... yes
checking for Elf32_Verdef... yes
checking for Elf64_Verdef... yes
checking for SHT_SUNW_verdef... no
checking for SHT_GNU_verdef... yes
checking for 64-bit integer... long
checking for 32-bit integer... int
checking for 16-bit integer... short
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ftruncate... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking whether overlapping arrays are copied correctly... yes
checking the coffee machine... empty - operator may not work as expected
checking whether 64-bit ELF support is sufficient... yes
checking whether to include 64-bit support... yes
checking whether versioning support is sufficient... yes
checking whether to include versioning support... yes
checking whether NLS is requested... yes
checking for dgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for GNU gettext... yes
checking for losing catgets-based GNU gettext... no
checking for pure GNU gettext... yes
checking for catalogs to be installed... de
checking for gettext in -lintl... no
checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.

checking whether to build a shared library... yes
checking whether GNU naming conventions are requested... no
checking for ld... /usr/bin/ld
configure: warning: shared libraries not supported for
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating po/Makefile
creating w32/Makefile
creating libelf.pc
creating config.h
creating lib/sys_elf.h
make CFLAGS="-O2 -g -D_REENTRANT" \
   LINK_SHLIB='gcc -shared -Wl,-soname,libelf.so.0 -lc'
make[1]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6'
making all in lib
make[2]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/lib'
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC begin.c && mv -f begin.o begin.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT begin.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC cntl.c && mv -f cntl.o cntl.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT cntl.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC end.c && mv -f end.o end.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT end.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC errmsg.c && mv -f errmsg.o errmsg.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT errmsg.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC errno.c && mv -f errno.o errno.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT errno.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC fill.c && mv -f fill.o fill.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT fill.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC flag.c && mv -f flag.o flag.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT flag.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getarhdr.c && mv -f getarhdr.o getarhdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getarhdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getarsym.c && mv -f getarsym.o getarsym.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getarsym.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getbase.c && mv -f getbase.o getbase.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getbase.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getdata.c && mv -f getdata.o getdata.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getdata.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getident.c && mv -f getident.o getident.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getident.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC getscn.c && mv -f getscn.o getscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT getscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC hash.c && mv -f hash.o hash.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT hash.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC kind.c && mv -f kind.o kind.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT kind.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC ndxscn.c && mv -f ndxscn.o ndxscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT ndxscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC newdata.c && mv -f newdata.o newdata.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT newdata.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC newscn.c && mv -f newscn.o newscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT newscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC next.c && mv -f next.o next.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT next.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC nextscn.c && mv -f nextscn.o nextscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT nextscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC rand.c && mv -f rand.o rand.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT rand.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC rawdata.c && mv -f rawdata.o rawdata.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT rawdata.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC rawfile.c && mv -f rawfile.o rawfile.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT rawfile.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC strptr.c && mv -f strptr.o strptr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT strptr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC update.c && mv -f update.o update.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT update.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC version.c && mv -f version.o version.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT version.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC checksum.c && mv -f checksum.o checksum.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT checksum.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.fsize.c && mv -f 32.fsize.o 32.fsize.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.fsize.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.getehdr.c && mv -f 32.getehdr.o 32.getehdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.getehdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.getphdr.c && mv -f 32.getphdr.o 32.getphdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.getphdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.getshdr.c && mv -f 32.getshdr.o 32.getshdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.getshdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.newehdr.c && mv -f 32.newehdr.o 32.newehdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.newehdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.newphdr.c && mv -f 32.newphdr.o 32.newphdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.newphdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 32.xlatetof.c && mv -f 32.xlatetof.o 32.xlatetof.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 32.xlatetof.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC cook.c && mv -f cook.o cook.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT cook.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC data.c && mv -f data.o data.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT data.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC input.c && mv -f input.o input.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT input.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC assert.c && mv -f assert.o assert.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT assert.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC nlist.c && mv -f nlist.o nlist.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT nlist.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC opt.delscn.c && mv -f opt.delscn.o opt.delscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT opt.delscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC x.remscn.c && mv -f x.remscn.o x.remscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT x.remscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC x.movscn.c && mv -f x.movscn.o x.movscn.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT x.movscn.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC 64.xlatetof.c && mv -f 64.xlatetof.o 64.xlatetof.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT 64.xlatetof.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC gelfehdr.c && mv -f gelfehdr.o gelfehdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT gelfehdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC gelfphdr.c && mv -f gelfphdr.o gelfphdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT gelfphdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC gelfshdr.c && mv -f gelfshdr.o gelfshdr.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT gelfshdr.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC gelftrans.c && mv -f gelftrans.o gelftrans.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT gelftrans.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC swap64.c && mv -f swap64.o swap64.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT swap64.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC verdef_32_tof.c && mv -f verdef_32_tof.o verdef_32_tof.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT verdef_32_tof.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC verdef_32_tom.c && mv -f verdef_32_tom.o verdef_32_tom.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT verdef_32_tom.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC verdef_64_tof.c && mv -f verdef_64_tof.o verdef_64_tof.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT verdef_64_tof.c
if test -n "-fPIC"; then \
   gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT -fPIC verdef_64_tom.c && mv -f verdef_64_tom.o verdef_64_tom.os; \
 else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -g -D_REENTRANT verdef_64_tom.c
ar rcv libelf.a begin.o cntl.o end.o errmsg.o errno.o fill.o flag.o getarhdr.o getarsym.o getbase.o getdata.o getident.o getscn.o hash.o kind.o ndxscn.o newdata.o newscn.o next.o nextscn.o rand.o rawdata.o rawfile.o strptr.o update.o version.o checksum.o 32.fsize.o 32.getehdr.o 32.getphdr.o 32.getshdr.o 32.newehdr.o 32.newphdr.o 32.xlatetof.o cook.o data.o input.o assert.o nlist.o opt.delscn.o x.remscn.o x.movscn.o 64.xlatetof.o gelfehdr.o gelfphdr.o gelfshdr.o gelftrans.o swap64.o verdef_32_tof.o verdef_32_tom.o verdef_64_tof.o verdef_64_tom.o
a - begin.o
a - cntl.o
a - end.o
a - errmsg.o
a - errno.o
a - fill.o
a - flag.o
a - getarhdr.o
a - getarsym.o
a - getbase.o
a - getdata.o
a - getident.o
a - getscn.o
a - hash.o
a - kind.o
a - ndxscn.o
a - newdata.o
a - newscn.o
a - next.o
a - nextscn.o
a - rand.o
a - rawdata.o
a - rawfile.o
a - strptr.o
a - update.o
a - version.o
a - checksum.o
a - 32.fsize.o
a - 32.getehdr.o
a - 32.getphdr.o
a - 32.getshdr.o
a - 32.newehdr.o
a - 32.newphdr.o
a - 32.xlatetof.o
a - cook.o
a - data.o
a - input.o
a - assert.o
a - nlist.o
a - opt.delscn.o
a - x.remscn.o
a - x.movscn.o
a - 64.xlatetof.o
a - gelfehdr.o
a - gelfphdr.o
a - gelfshdr.o
a - gelftrans.o
a - swap64.o
a - verdef_32_tof.o
a - verdef_32_tom.o
a - verdef_64_tof.o
a - verdef_64_tom.o
ranlib libelf.a
make[2]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/lib'
making all in po
make[2]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/po'
make[1]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6'
touch build-stamp
adt-run: trace: * <dsc:dsc0> filter=__
adt-run: trace: $ dsc0-binary: sh -ec <SCRIPT> x /root/adt-downtmp/dsc0-build/tmpdir
+ TMPDIR=/root/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /root/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su adtxenu -c mkdir -- "$TMPDIR"
+ cd /root/adt-downtmp/dsc0-build/libelf-0.8.6/.
+ su adtxenu -c fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
make instroot=`pwd`/debian/tmp install
make[1]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6'
making install in lib
make[2]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/lib'
dirs="/usr/lib /usr/include /usr/include/libelf"; for dir in $dirs; do \
     /bin/sh ../mkinstalldirs /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp$dir; \
 done
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include/libelf
/usr/bin/install -c -m 644 libelf.a /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib
cd /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib && ranlib libelf.a
files="libelf.h nlist.h gelf.h sys_elf.h elf_repl.h"; for file in $files; do \
   if test -r $file; then \
     /usr/bin/install -c -m 644 $file /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include/libelf; \
   else \
     /usr/bin/install -c -m 644 ./$file /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include/libelf; \
   fi; \
 done
files="libelf.h nlist.h gelf.h"; for file in $files; do \
   if test -f /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include/$file; then true; else \
     echo "#include <libelf/$file>" > /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/include/$file; \
   fi; \
 done
make[2]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/lib'
making install in po
make[2]: Entering directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/po'
catalogs="de.gmo"; for cat in $catalogs; do \
   lang=`echo $cat | sed 's,.gmo$,,'`; \
   dir=/usr/share/locale/$lang/LC_MESSAGES; \
   /bin/sh ../mkinstalldirs /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp$dir; \
   if test -r $cat; then \
     /usr/bin/install -c -m 644 $cat /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp$dir/libelf.mo; \
   else \
     /usr/bin/install -c -m 644 ./$cat /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp$dir/libelf.mo; \
   fi; \
 done
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/share
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/share/locale
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/share/locale/de
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/share/locale/de/LC_MESSAGES
make[2]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6/po'
/bin/sh ./mkinstalldirs /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib/pkgconfig
mkdir /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib/pkgconfig
/usr/bin/install -c -m 644 libelf.pc /root/adt-downtmp/dsc0-build/libelf-0.8.6/debian/tmp/usr/lib/pkgconfig
make[1]: Leaving directory `/root/adt-downtmp/dsc0-build/libelf-0.8.6'
dh_install --sourcedir=debian/tmp --list-missing
cp: cannot stat `debian/tmp/usr/lib/libelf.so.0': No such file or directory
dh_install: command returned error code 256
make: *** [binary-arch] Error 1
blame: arg:tmp/libelf/src/libelf_0.8.6-3.dsc dsc:libelf
badpkg: rules binary failed with exit code 2
adt-run: erroneous package: rules binary failed with exit code 2
adt-run: trace: ** stop
adt-run: trace: ** close, scratch=tb-scratch~/root/adt-downtmp:-/|/root/adt-downtmp/!
++++++ RESULTS erroneous package! ++++++
++++++ bundling ++++++
++++++ uploading ++++++
++++++ contacting maintainer_email_override ++++++
++++++ tested. ++++++

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFG2/Nb4qsES9Ynl2gRAjRqAJ9nATvxfod8Qa+iLREi2rF9ReqsgwCfcz86
/25yxGyqi4eFggkuvYisY/0=
=Eavu
-----END PGP SIGNATURE-----

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in libelf:
status: New → Invalid
Ian Jackson (ijackson)
Changed in libelf:
status: Invalid → Confirmed
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Moving milestone to beta.

Revision history for this message
Steve Langasek (vorlon) wrote :

This package uses the following line in debian/rules:

        ./configure --prefix=/usr --enable-shared --host=$(DEB_HOST_GNU_TYPE)

DEB_HOST_GNU_TYPE is not set anywhere in the makefile, so this line works only if DEB_HOST_GNU_TYPE is already set in the build environment. This will be true when invoked by dpkg-buildpackage, but not true when ./debian/rules build is invoked by hand as seems to be the case with autopkgtest.

This bug is fixed in Debian, but is mixed in with a lot of unrelated changes so a merge doesn't seem appropriate at this point of the release cycle.

Revision history for this message
Steve Langasek (vorlon) wrote :

On second look, the unrelated changes in Debian unstable are small and reasonable. Please sync libelf 0.8.6-4 from Debian to fix this bug.

Revision history for this message
Jonathan Riddell (jr) wrote :

  - <libelf_0.8.6-4.dsc: downloading from http://ftp.debian.org/debian/>
  - <libelf_0.8.6.orig.tar.gz: already in distro - downloading from librarian>
  - <libelf_0.8.6-4.diff.gz: downloading from http://ftp.debian.org/debian/>

Changed in libelf:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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