RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux fisher03 3.13.0-8-generic #28-Ubuntu SMP Tue Feb 11 17:58:07 UTC 2014 ppc64le Buildd toolchain package versions: launchpad-buildd_121~0.IS.08.04.0 python-lpbuildd_121~0.IS.08.04.0 dpkg-dev_1.17.5ubuntu4. Syncing the system clock with the buildd NTP service... 17 Feb 14:32:11 ntpdate[13424]: adjust time server 10.211.37.1 offset -0.000039 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-5601306', '/home/buildd/filecache-default/1418c9e5f0eb143d9f77e4665c5b7c89c42011cc'] Unpacking chroot for build PACKAGEBUILD-5601306 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-5601306'] Mounting chroot for build PACKAGEBUILD-5601306 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-5601306', 'deb http://ftpmaster.internal/ubuntu trusty main'] Overriding sources.list in build-PACKAGEBUILD-5601306 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-5601306', 'ppc64el'] Updating debian chroot for build PACKAGEBUILD-5601306 Ign http://ftpmaster.internal trusty InRelease Ign http://archive-team.internal trusty InRelease Ign http://ftpmaster.internal trusty InRelease Ign http://archive-team.internal trusty Release.gpg Hit http://archive-team.internal trusty Release Get:1 http://ftpmaster.internal trusty Release.gpg [933 B] Ign http://archive-team.internal trusty/main ppc64el Packages/DiffIndex Get:2 http://ftpmaster.internal trusty Release.gpg [933 B] Get:3 http://ftpmaster.internal trusty Release [58.5 kB] Get:4 http://ftpmaster.internal trusty Release [58.5 kB] Get:5 http://ftpmaster.internal trusty/main ppc64el Packages [998 kB] Ign http://archive-team.internal trusty/main Translation-en Hit http://archive-team.internal trusty/main ppc64el Packages Get:6 http://ftpmaster.internal trusty/main Translation-en [760 kB] Get:7 http://ftpmaster.internal trusty/main ppc64el Packages [1226 kB] Get:8 http://ftpmaster.internal trusty/main Translation-en [760 kB] Fetched 3863 kB in 4s (831 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-5601306', 'ppc64el', 'trusty', '--nolog', '--batch', '--archive=ubuntu', '--dist=trusty', '--purpose=PRIMARY', '--architecture=ppc64el', '--comp=main', 'libelf_0.8.13-5.dsc'] Initiating build PACKAGEBUILD-5601306 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 3.13.0-8-generic #28-Ubuntu SMP Tue Feb 11 17:58:07 UTC 2014 ppc64le Automatic build of libelf_0.8.13-5 on fisher03 by sbuild/ppc64el 1.170.5 Build started at 20140217-1432 ****************************************************************************** libelf_0.8.13-5.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: gettext, debhelper (>= 5), dpkg-dev (>= 1.16) Checking for already installed source dependencies... gettext: missing debhelper: missing dpkg-dev: already installed (1.17.5ubuntu4 >= 1.16 is satisfied) Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install gettext debhelper Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apparmor-easyprof bsdmainutils dh-apparmor dh-python file gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libexpat1 libglib2.0-0 libmagic1 libmpdec2 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libssl1.0.0 libunistring0 libxml2 man-db mime-support po-debconf python3 python3-minimal python3.3 python3.3-minimal Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser libmail-box-perl python3-doc python3-tk python3.3-doc binfmt-support Recommended packages: curl wget lynx-cur libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: apparmor-easyprof bsdmainutils debhelper dh-apparmor dh-python file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libexpat1 libglib2.0-0 libmagic1 libmpdec2 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libssl1.0.0 libunistring0 libxml2 man-db mime-support po-debconf python3 python3-minimal python3.3 python3.3-minimal 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 10.7 MB of archives. After this operation, 46.6 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu/ trusty/main libexpat1 ppc64el 2.1.0-4ubuntu1 [79.5 kB] Get:2 http://ftpmaster.internal/ubuntu/ trusty/main libmagic1 ppc64el 1:5.14-2ubuntu1 [194 kB] Get:3 http://ftpmaster.internal/ubuntu/ trusty/main libssl1.0.0 ppc64el 1.0.1f-1ubuntu1 [762 kB] Get:4 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-minimal ppc64el 3.3.4-1 [393 kB] Get:5 http://ftpmaster.internal/ubuntu/ trusty/main mime-support all 3.54ubuntu1 [31.7 kB] Get:6 http://ftpmaster.internal/ubuntu/ trusty/main libmpdec2 ppc64el 2.4.0-6 [83.9 kB] Get:7 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-stdlib ppc64el 3.3.4-1 [1911 kB] Get:8 http://ftpmaster.internal/ubuntu/ trusty/main python3.3-minimal ppc64el 3.3.4-1 [1119 kB] Get:9 http://ftpmaster.internal/ubuntu/ trusty/main libasprintf0c2 ppc64el 0.18.3.1-1ubuntu2 [6748 B] Get:10 http://ftpmaster.internal/ubuntu/ trusty/main libglib2.0-0 ppc64el 2.39.4-0ubuntu1 [982 kB] Get:11 http://ftpmaster.internal/ubuntu/ trusty/main libpipeline1 ppc64el 1.2.6-2 [22.6 kB] Get:12 http://ftpmaster.internal/ppc64el/ trusty/main libxml2 ppc64el 2.9.1+dfsg1-3ubuntu3 [502 kB] Get:13 http://ftpmaster.internal/ubuntu/ trusty/main groff-base ppc64el 1.22.2-5 [1249 kB] Get:14 http://ftpmaster.internal/ubuntu/ trusty/main bsdmainutils ppc64el 9.0.5ubuntu1 [173 kB] Get:15 http://ftpmaster.internal/ubuntu/ trusty/main man-db ppc64el 2.6.6-1 [847 kB] Get:16 http://ftpmaster.internal/ppc64el/ trusty/main libcroco3 ppc64el 0.6.8-2ubuntu1 [72.2 kB] Get:17 http://ftpmaster.internal/ubuntu/ trusty/main libunistring0 ppc64el 0.9.3-5ubuntu3 [262 kB] Get:18 http://ftpmaster.internal/ubuntu/ trusty/main python3.3 ppc64el 3.3.4-1 [133 kB] Get:19 http://ftpmaster.internal/ppc64el/ trusty/main python3-minimal ppc64el 3.3.3-1 [23.4 kB] Get:20 http://ftpmaster.internal/ppc64el/ trusty/main libpython3-stdlib ppc64el 3.3.3-1 [7112 B] Get:21 http://ftpmaster.internal/ppc64el/ trusty/main python3 ppc64el 3.3.3-1 [8660 B] Get:22 http://ftpmaster.internal/ubuntu/ trusty/main dh-python all 1.20140128-1ubuntu2 [51.0 kB] Get:23 http://ftpmaster.internal/ubuntu/ trusty/main file ppc64el 1:5.14-2ubuntu1 [19.2 kB] Get:24 http://ftpmaster.internal/ubuntu/ trusty/main gettext-base ppc64el 0.18.3.1-1ubuntu2 [47.2 kB] Get:25 http://ftpmaster.internal/ubuntu/ trusty/main gettext ppc64el 0.18.3.1-1ubuntu2 [840 kB] Get:26 http://ftpmaster.internal/ubuntu/ trusty/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:27 http://ftpmaster.internal/ubuntu/ trusty/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:28 http://ftpmaster.internal/ubuntu/ trusty/main apparmor-easyprof all 2.8.0-0ubuntu38 [20.1 kB] Get:29 http://ftpmaster.internal/ubuntu/ trusty/main dh-apparmor all 2.8.0-0ubuntu38 [7286 B] Get:30 http://ftpmaster.internal/ubuntu/ trusty/main debhelper all 9.20131127ubuntu2 [603 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 10.7 MB in 13s (793 kB/s) Selecting previously unselected package libexpat1:ppc64el. (Reading database ... 11450 files and directories currently installed.) Preparing to unpack .../libexpat1_2.1.0-4ubuntu1_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.1.0-4ubuntu1) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../libmagic1_1%3a5.14-2ubuntu1_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.14-2ubuntu1) ... Selecting previously unselected package libssl1.0.0:ppc64el. Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu1_ppc64el.deb ... Unpacking libssl1.0.0:ppc64el (1.0.1f-1ubuntu1) ... Selecting previously unselected package libpython3.3-minimal:ppc64el. Preparing to unpack .../libpython3.3-minimal_3.3.4-1_ppc64el.deb ... Unpacking libpython3.3-minimal:ppc64el (3.3.4-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.54ubuntu1_all.deb ... Unpacking mime-support (3.54ubuntu1) ... Selecting previously unselected package libmpdec2:ppc64el. Preparing to unpack .../libmpdec2_2.4.0-6_ppc64el.deb ... Unpacking libmpdec2:ppc64el (2.4.0-6) ... Selecting previously unselected package libpython3.3-stdlib:ppc64el. Preparing to unpack .../libpython3.3-stdlib_3.3.4-1_ppc64el.deb ... Unpacking libpython3.3-stdlib:ppc64el (3.3.4-1) ... Selecting previously unselected package python3.3-minimal. Preparing to unpack .../python3.3-minimal_3.3.4-1_ppc64el.deb ... Unpacking python3.3-minimal (3.3.4-1) ... Selecting previously unselected package libasprintf0c2:ppc64el. Preparing to unpack .../libasprintf0c2_0.18.3.1-1ubuntu2_ppc64el.deb ... Unpacking libasprintf0c2:ppc64el (0.18.3.1-1ubuntu2) ... Selecting previously unselected package libglib2.0-0:ppc64el. Preparing to unpack .../libglib2.0-0_2.39.4-0ubuntu1_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.39.4-0ubuntu1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../libpipeline1_1.2.6-2_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.2.6-2) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../libxml2_2.9.1+dfsg1-3ubuntu3_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.1+dfsg1-3ubuntu3) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-5_ppc64el.deb ... Unpacking groff-base (1.22.2-5) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.5ubuntu1_ppc64el.deb ... Unpacking bsdmainutils (9.0.5ubuntu1) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.6.6-1_ppc64el.deb ... Unpacking man-db (2.6.6-1) ... Selecting previously unselected package libcroco3:ppc64el. Preparing to unpack .../libcroco3_0.6.8-2ubuntu1_ppc64el.deb ... Unpacking libcroco3:ppc64el (0.6.8-2ubuntu1) ... Selecting previously unselected package libunistring0:ppc64el. Preparing to unpack .../libunistring0_0.9.3-5ubuntu3_ppc64el.deb ... Unpacking libunistring0:ppc64el (0.9.3-5ubuntu3) ... Selecting previously unselected package python3.3. Preparing to unpack .../python3.3_3.3.4-1_ppc64el.deb ... Unpacking python3.3 (3.3.4-1) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../python3-minimal_3.3.3-1_ppc64el.deb ... Unpacking python3-minimal (3.3.3-1) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../libpython3-stdlib_3.3.3-1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.3.3-1) ... Selecting previously unselected package python3. Preparing to unpack .../python3_3.3.3-1_ppc64el.deb ... Unpacking python3 (3.3.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../dh-python_1.20140128-1ubuntu2_all.deb ... Unpacking dh-python (1.20140128-1ubuntu2) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.14-2ubuntu1_ppc64el.deb ... Unpacking file (1:5.14-2ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.18.3.1-1ubuntu2_ppc64el.deb ... Unpacking gettext-base (0.18.3.1-1ubuntu2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.18.3.1-1ubuntu2_ppc64el.deb ... Unpacking gettext (0.18.3.1-1ubuntu2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu2ubuntu1_all.deb ... Unpacking po-debconf (1.0.16+nmu2ubuntu1) ... Selecting previously unselected package apparmor-easyprof. Preparing to unpack .../apparmor-easyprof_2.8.0-0ubuntu38_all.deb ... Unpacking apparmor-easyprof (2.8.0-0ubuntu38) ... Selecting previously unselected package dh-apparmor. Preparing to unpack .../dh-apparmor_2.8.0-0ubuntu38_all.deb ... Unpacking dh-apparmor (2.8.0-0ubuntu38) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20131127ubuntu2_all.deb ... Unpacking debhelper (9.20131127ubuntu2) ... Setting up libexpat1:ppc64el (2.1.0-4ubuntu1) ... Setting up libmagic1:ppc64el (1:5.14-2ubuntu1) ... Setting up libssl1.0.0:ppc64el (1.0.1f-1ubuntu1) ... Setting up libpython3.3-minimal:ppc64el (3.3.4-1) ... Setting up mime-support (3.54ubuntu1) ... update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode Setting up libmpdec2:ppc64el (2.4.0-6) ... Setting up libpython3.3-stdlib:ppc64el (3.3.4-1) ... Setting up python3.3-minimal (3.3.4-1) ... Setting up libasprintf0c2:ppc64el (0.18.3.1-1ubuntu2) ... Setting up libglib2.0-0:ppc64el (2.39.4-0ubuntu1) ... No schema files found: doing nothing. Setting up libpipeline1:ppc64el (1.2.6-2) ... Setting up libxml2:ppc64el (2.9.1+dfsg1-3ubuntu3) ... Setting up groff-base (1.22.2-5) ... Setting up bsdmainutils (9.0.5ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.6-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libcroco3:ppc64el (0.6.8-2ubuntu1) ... Setting up libunistring0:ppc64el (0.9.3-5ubuntu3) ... Setting up python3.3 (3.3.4-1) ... Setting up python3-minimal (3.3.3-1) ... Setting up libpython3-stdlib:ppc64el (3.3.3-1) ... Setting up file (1:5.14-2ubuntu1) ... Setting up gettext-base (0.18.3.1-1ubuntu2) ... Setting up gettext (0.18.3.1-1ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up dh-python (1.20140128-1ubuntu2) ... Setting up python3 (3.3.3-1) ... running python rtupdate hooks for python3.3... running python post-rtupdate hooks for python3.3... Setting up apparmor-easyprof (2.8.0-0ubuntu38) ... Setting up dh-apparmor (2.8.0-0ubuntu38) ... Setting up debhelper (9.20131127ubuntu2) ... Processing triggers for libc-bin (2.18-0ubuntu7) ... Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.18-0ubuntu7 make_3.81-8.2ubuntu3 dpkg-dev_1.17.5ubuntu4 gcc-4.8_4.8.2-15ubuntu3 g++-4.8_4.8.2-15ubuntu3 binutils_2.24-2ubuntu3.1 libstdc++-4.8-dev_4.8.2-15ubuntu3 libstdc++6_4.8.2-15ubuntu3 ------------------------------------------------------------------------------ gpgv: Signature made Sun Dec 1 02:50:46 2013 UTC using DSA key ID E26A6F28 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./libelf_0.8.13-5.dsc dpkg-source: info: extracting libelf in libelf-0.8.13 dpkg-source: info: unpacking libelf_0.8.13.orig.tar.gz dpkg-source: info: applying libelf_0.8.13-5.diff.gz dpkg-source: info: upstream files that have been modified: libelf-0.8.13/aclocal.m4 libelf-0.8.13/config.guess libelf-0.8.13/config.h.in libelf-0.8.13/config.sub libelf-0.8.13/configure dpkg-buildpackage: source package libelf dpkg-buildpackage: source version 0.8.13-5 dpkg-buildpackage: source distribution unstable dpkg-source --before-build libelf-0.8.13 dpkg-buildpackage: host architecture ppc64el /usr/bin/fakeroot debian/rules clean dh_testdir dh_testroot make clean make[1]: Entering directory `/build/buildd/libelf-0.8.13' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/build/buildd/libelf-0.8.13' make: [clean] Error 2 (ignored) mv po/de.gmo.orig po/de.gmo mv: cannot stat 'po/de.gmo.orig': No such file or directory make: [clean] Error 1 (ignored) make distclean make[1]: Entering directory `/build/buildd/libelf-0.8.13' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/build/buildd/libelf-0.8.13' make: [clean] Error 2 (ignored) rm -f w32/Makefile dh_clean build-stamp debian/libelfg0-dev.links dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir mv po/de.gmo po/de.gmo.orig cp po/de.gmo.orig po/de.gmo # --enable-compat per bug 477025 ./configure --prefix=/usr --enable-shared \ --enable-compat \ --host=powerpc64le-linux-gnu --build=powerpc64le-linux-gnu \ --libdir=\${prefix}/lib/powerpc64le-linux-gnu checking whether make sets $(MAKE)... yes checking for powerpc64le-linux-gnu-gcc... powerpc64le-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc64le-linux-gnu-gcc accepts -g... yes checking for powerpc64le-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... powerpc64le-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for powerpc64le-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking sys/elf.h usability... no checking sys/elf.h presence... no checking for sys/elf.h... no checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking sys/link.h usability... no checking sys/link.h presence... no checking for sys/link.h... no checking if powerpc64le-linux-gnu-gcc can compile elf.h... yes checking ar.h usability... yes checking ar.h presence... yes checking for ar.h... yes checking libelf.h usability... no checking libelf.h presence... no checking for libelf.h... no checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking gelf.h usability... no checking gelf.h presence... no checking for gelf.h... no checking whether to install , and ... yes checking for an ANSI C-conforming 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 stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... 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 msgmerge... /usr/bin/msgmerge 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 build system type... powerpc64le-unknown-linux-gnu checking host system type... powerpc64le-unknown-linux-gnu checking whether to build a shared library... yes checking whether GNU naming conventions are requested... no checking for ld... /usr/bin/ld configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating po/Makefile config.status: WARNING: 'po/Makefile.in' seems to ignore the --datarootdir setting config.status: creating libelf.pc config.status: creating config.h config.status: creating lib/sys_elf.h config.status: executing default commands # I wonder what configure is thinking. Lets find out... cat ./config.status Makefile lib/Makefile po/Makefile libelf.pc \ config.h lib/sys_elf.h #! /bin/bash # Generated by configure. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=${CONFIG_SHELL-/bin/bash} export SHELL ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " # Files that config.status was made for. config_files=" Makefile lib/Makefile po/Makefile libelf.pc" config_headers=" config.h lib/sys_elf.h" config_commands=" default" ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to the package provider." ac_cs_config="'--prefix=/usr' '--enable-shared' '--enable-compat' '--host=powerpc64le-linux-gnu' '--build=powerpc64le-linux-gnu' '--libdir=\${prefix}/lib/powerpc64le-linux-gnu' 'build_alias=powerpc64le-linux-gnu' 'host_alias=powerpc64le-linux-gnu'" ac_cs_version="\ config.status configured by ./configure, generated by GNU Autoconf 2.67, with options \"$ac_cs_config\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='/build/buildd/libelf-0.8.13' srcdir='.' INSTALL='/usr/bin/install -c' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi if $ac_cs_recheck; then set X '/bin/bash' './configure' '--prefix=/usr' '--enable-shared' '--enable-compat' '--host=powerpc64le-linux-gnu' '--build=powerpc64le-linux-gnu' '--libdir=${prefix}/lib/powerpc64le-linux-gnu' 'build_alias=powerpc64le-linux-gnu' 'host_alias=powerpc64le-linux-gnu' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash' export CONFIG_SHELL exec "$@" fi exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "lib/sys_elf.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/sys_elf.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; "libelf.pc") CONFIG_FILES="$CONFIG_FILES libelf.pc" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && cat >>"$tmp/subs1.awk" <<\_ACAWK && S["LTLIBOBJS"]="" S["DO_SHLIB"]="yes" S["DEPSHLIBS"]="-lc" S["INSTALL_SHLIB"]="$(INSTALL_PROGRAM)" S["LINK_SHLIB"]="$(CC) -shared -Wl,-soname,$(SONAME)" S["SONAME_SFX"]=".so.$(MAJOR)" S["SHLINK_SFX"]=".so" S["SHLIB_SFX"]=".so.$(VERSION)" S["PICFLAGS"]="-fPIC -DPIC" S["LD"]="/usr/bin/ld" S["host_os"]="linux-gnu" S["host_vendor"]="unknown" S["host_cpu"]="powerpc64le" S["host"]="powerpc64le-unknown-linux-gnu" S["build_os"]="linux-gnu" S["build_vendor"]="unknown" S["build_cpu"]="powerpc64le" S["build"]="powerpc64le-unknown-linux-gnu" S["LIBINTL"]="" S["POSUB"]="po" S["CATALOGS"]=" de.gmo" S["INSTOBJEXT"]=".mo" S["CATOBJEXT"]=".gmo" S["GENCAT"]="" S["MSGMERGE"]="/usr/bin/msgmerge" S["XGETTEXT"]="/usr/bin/xgettext" S["GMSGFMT"]="/usr/bin/msgfmt" S["MSGFMT"]="/usr/bin/msgfmt" S["POFILES"]=" de.po" S["MSGFILES"]=" de.msg" S["GMOFILES"]=" de.gmo" S["LIBOBJS"]="" S["DO_COMPAT"]="yes" S["EGREP"]="/bin/grep -E" S["GREP"]="/bin/grep" S["LN_S"]="ln -s" S["RANLIB"]="ranlib" S["INSTALL_DATA"]="${INSTALL} -m 644" S["INSTALL_SCRIPT"]="${INSTALL}" S["INSTALL_PROGRAM"]="${INSTALL}" S["CPP"]="powerpc64le-linux-gnu-gcc -E" S["OBJEXT"]="o" S["EXEEXT"]="" S["ac_ct_CC"]="" S["CPPFLAGS"]="" S["LDFLAGS"]="" S["CFLAGS"]="-g -O2" S["CC"]="powerpc64le-linux-gnu-gcc" S["SET_MAKE"]="" S["MAJOR"]="0" S["MAINT"]="maintainer-only-" S["VERSION"]="0.8.13" S["PACKAGE"]="libelf" S["target_alias"]="" S["host_alias"]="powerpc64le-linux-gnu" S["build_alias"]="powerpc64le-linux-gnu" S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="$(prefix)/share/locale" S["libdir"]="${prefix}/lib/powerpc64le-linux-gnu" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" S["dvidir"]="${docdir}" S["htmldir"]="${docdir}" S["infodir"]="${datarootdir}/info" S["docdir"]="${datarootdir}/doc/${PACKAGE}" S["oldincludedir"]="/usr/include" S["includedir"]="${prefix}/include" S["localstatedir"]="${prefix}/var" S["sharedstatedir"]="${prefix}/com" S["sysconfdir"]="${prefix}/etc" S["datadir"]="${datarootdir}" S["datarootdir"]="${prefix}/share" S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," S["prefix"]="/usr" S["exec_prefix"]="${prefix}" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" S["PACKAGE_STRING"]="" S["PACKAGE_VERSION"]="" S["PACKAGE_TARNAME"]="" S["PACKAGE_NAME"]="" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/bash" _ACAWK cat >>"$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { D["PACKAGE_NAME"]=" \"\"" D["PACKAGE_TARNAME"]=" \"\"" D["PACKAGE_VERSION"]=" \"\"" D["PACKAGE_STRING"]=" \"\"" D["PACKAGE_BUGREPORT"]=" \"\"" D["PACKAGE_URL"]=" \"\"" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRINGS_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_FCNTL_H"]=" 1" D["HAVE_ELF_H"]=" 1" D["HAVE_LINK_H"]=" 1" D["__LIBELF_HEADER_ELF_H"]=" " D["HAVE_AR_H"]=" 1" D["SIZEOF_SHORT"]=" 2" D["SIZEOF_INT"]=" 4" D["SIZEOF_LONG"]=" 8" D["SIZEOF_LONG_LONG"]=" 8" D["SIZEOF___INT64"]=" 0" D["__libelf_i64_t"]=" long" D["__libelf_u64_t"]=" unsigned long" D["__libelf_i32_t"]=" int" D["__libelf_u32_t"]=" unsigned int" D["__libelf_i16_t"]=" short" D["__libelf_u16_t"]=" unsigned short" D["HAVE_STDLIB_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_SYS_PARAM_H"]=" 1" D["HAVE_GETPAGESIZE"]=" 1" D["HAVE_MMAP"]=" 1" D["HAVE_FTRUNCATE"]=" 1" D["HAVE_MEMCMP"]=" 1" D["HAVE_MEMCPY"]=" 1" D["HAVE_MEMMOVE"]=" 1" D["HAVE_MEMSET"]=" 1" D["HAVE_MEMSET"]=" 1" D["__LIBELF64"]=" 1" D["__LIBELF_GNU_SYMBOL_VERSIONS"]=" 1" D["__LIBELF_SYMBOL_VERSIONS"]=" 1" D["HAVE_DGETTEXT"]=" 1" D["ENABLE_SANITY_CHECKS"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { line = $ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ac_datarootdir_hack=' s&@datadir@&${datarootdir}&g s&@docdir@&${datarootdir}/doc/${PACKAGE}&g s&@infodir@&${datarootdir}/info&g s&@localedir@&$(prefix)/share/locale&g s&@mandir@&${datarootdir}/man&g s&\${datarootdir}&${prefix}/share&g' ;; esac ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// } :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "default":C) echo timestamp > stamp-h; echo timestamp > lib/stamp-h ;; esac done # for ac_tag as_fn_exit 0 # Makefile for libelf. # Copyright (C) 1995 - 2005 Michael Riepe # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # @(#) $Id: Makefile.in,v 1.30 2008/05/23 08:17:56 michael Exp $ instroot = prefix = /usr exec_prefix = ${prefix} libdir = ${prefix}/lib/powerpc64le-linux-gnu pkgdir = $(libdir)/pkgconfig MV = mv -f RM = rm -f LN_S = ln -s INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 CC = powerpc64le-linux-gnu-gcc CFLAGS = -g -O2 CPPFLAGS = LDFLAGS = LIBS = # no user serviceable parts below PACKAGE = libelf VERSION = 0.8.13 SHELL = /bin/sh srcdir = . SUBDIRS = lib po DISTSUBDIRS = lib po DISTFILES = \ acconfig.h aclocal.m4 ChangeLog config.guess config.h.in \ config.sub configure configure.in COPYING.LIB INSTALL install-sh \ Makefile.in mkinstalldirs README stamp-h.in VERSION libelf.pc.in all: all-recursive all-local check: check-recursive check-local install: install-recursive install-local uninstall: uninstall-recursive uninstall-local mostlyclean: mostlyclean-recursive mostlyclean-local clean: clean-recursive clean-local distclean: distclean-recursive distclean-local maintainer-clean: maintainer-clean-recursive maintainer-clean-local install-compat uninstall-compat: cd lib && $(MAKE) $@ all-recursive check-recursive install-recursive uninstall-recursive \ clean-recursive distclean-recursive mostlyclean-recursive \ maintainer-clean-recursive: @subdirs="$(SUBDIRS)"; for subdir in $$subdirs; do \ target=`echo $@|sed 's,-recursive,,'`; \ echo making $$target in $$subdir; \ (cd $$subdir && $(MAKE) $$target) || exit 1; \ done all-local: check-local: install-local: $(srcdir)/mkinstalldirs libelf.pc $(SHELL) $(srcdir)/mkinstalldirs $(instroot)$(pkgdir) $(INSTALL_DATA) libelf.pc $(instroot)$(pkgdir) uninstall-local: $(RM) $(instroot)$(pkgdir)/libelf.pc mostlyclean-local: $(RM) *~ core errlist clean-local: mostlyclean-local distclean-local: clean-local $(RM) config.cache config.h config.log config.status stamp-h $(RM) Makefile $(RM) libelf.pc maintainer-clean-local: distclean-local @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." $(RM) config.h.in configure stamp-dist $(RM) -r $(distdir) # maintainer only MAINT = maintainer-only- distdir = $(PACKAGE)-$(VERSION) DISTPERMS = --owner=root --group=root --numeric-owner $(MAINT)dist: ./stamp-dist $(MAINT)./stamp-dist: $(DISTFILES) $(RM) -r $(distdir) mkdir $(distdir) files="$(DISTFILES)"; for file in $$files; do \ ln $(srcdir)/$$file $(distdir) || \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ done subdirs="$(DISTSUBDIRS)"; for subdir in $$subdirs; do \ (cd $$subdir && $(MAKE) dist) || exit 1; \ done cd $(distdir) && \ find . -type f ! -name MANIFEST -exec wc -c {} \; | \ sed 's, \./, ,' | sort -k2 >MANIFEST -$(RM) $(distdir).tar.gz.bak $(PACKAGE).tar.gz -$(MV) $(distdir).tar.gz $(distdir).tar.gz.bak tar cvohfz $(distdir).tar.gz $(DISTPERMS) $(distdir) $(LN_S) $(distdir).tar.gz $(PACKAGE).tar.gz $(RM) stamp-dist && echo timestamp > stamp-dist $(MAINT)check-dist: $(RM) -r disttest mkdir disttest @echo 'unset CC CFLAGS CPPFLAGS LDFLAGS LIBS' >disttest/config.site cd disttest && CONFIG_SITE=config.site ../$(distdir)/configure $(MAKE) -C disttest $(MAKE) -C disttest check $(MAKE) -C disttest dist .PHONY: tags tags: rm -f tags ctags lib/*.c lib/*.h TRACKFS = trackfs trackinstall: $(TRACKFS) -l install.log -b backup.cpio $(MAKE) install # For the justification of the following Makefile rules, see node # `Automatic Remaking' in GNU Autoconf documentation. $(MAINT)$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(RM) $(srcdir)/configure cd $(srcdir) && autoconf $(MAINT)$(srcdir)/config.h.in: $(srcdir)/stamp-h.in $(MAINT)$(srcdir)/stamp-h.in: $(srcdir)/configure.in $(srcdir)/acconfig.h $(RM) $(srcdir)/config.h.in cd $(srcdir) && autoheader cd $(srcdir) && $(RM) stamp-h.in && echo timestamp > stamp-h.in $(MAINT)config.h: stamp-h $(MAINT)stamp-h: config.h.in config.status CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status $(RM) stamp-h && echo timestamp > stamp-h $(MAINT)Makefile: Makefile.in config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status $(MAINT)lib/Makefile: lib/Makefile.in config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status $(MAINT)lib/sys_elf.h: lib/stamp-h $(MAINT)lib/stamp-h: lib/sys_elf.h.in config.status CONFIG_FILES= CONFIG_HEADERS=lib/sys_elf.h ./config.status $(RM) lib/stamp-h && echo timestamp > lib/stamp-h $(MAINT)po/Makefile: po/Makefile.in config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status $(MAINT)libelf.pc: libelf.pc.in config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status RECHECK_FLAGS = CC='$(CC)' CPPFLAGS='$(CPPFLAGS)' \ CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' $(MAINT)config.status: configure config.h.in VERSION $(RECHECK_FLAGS) ./config.status --recheck $(MAINT)reconfig: $(RM) config.cache $(RECHECK_FLAGS) ./config.status --recheck # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # lib/Makefile for libelf. # Copyright (C) 1995 - 2009 Michael Riepe # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # @(#) $Id: Makefile.in,v 1.40 2009/11/01 13:04:19 michael Exp $ instroot = prefix = /usr exec_prefix = ${prefix} libdir = ${prefix}/lib/powerpc64le-linux-gnu includedir = ${prefix}/include installdirs = $(libdir) $(includedir) $(includedir)/libelf CC = powerpc64le-linux-gnu-gcc LD = /usr/bin/ld AR = ar MV = mv -f RM = rm -f LN_S = ln -s RANLIB = ranlib INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} CFLAGS = -g -O2 CPPFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = LIBS = DEPSHLIBS = -lc DO_SHLIB = yes PICFLAGS = -fPIC -DPIC SHLIB_SFX = .so.$(VERSION) SHLINK_SFX = .so SONAME_SFX = .so.$(MAJOR) LINK_SHLIB = $(CC) -shared -Wl,-soname,$(SONAME) INSTALL_SHLIB = $(INSTALL_PROGRAM) SHLIB = libelf$(SHLIB_SFX) SHLINK = libelf$(SHLINK_SFX) SONAME = libelf$(SONAME_SFX) # install includes in includedir? DO_COMPAT = yes COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) # no user serviceable parts below PACKAGE = libelf VERSION = 0.8.13 MAJOR = 0 SHELL = /bin/sh srcdir = . top_srcdir = .. topdir = .. subdir = lib .SUFFIXES: .SUFFIXES: .c .o .c.o: @$(RM) $@ $(@:.o=.os) if test -n "$(PICFLAGS)"; then \ $(COMPILE) $(PICFLAGS) $< && $(MV) $@ $(@:.o=.os); \ else true; fi $(COMPILE) $< INCLUDES = -I$(topdir) -I. -I$(srcdir) # generic sources SRCS1 = begin.c cntl.c end.c errmsg.c errno.c fill.c flag.c getarhdr.c \ getarsym.c getbase.c getdata.c getident.c getscn.c hash.c kind.c \ ndxscn.c newdata.c newscn.c next.c nextscn.c rand.c rawdata.c \ rawfile.c strptr.c update.c version.c checksum.c getaroff.c OBJS1 = 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 getaroff.o # 32-bit sources SRCS2 = 32.fsize.c 32.getehdr.c 32.getphdr.c 32.getshdr.c 32.newehdr.c \ 32.newphdr.c 32.xlatetof.c OBJS2 = 32.fsize.o 32.getehdr.o 32.getphdr.o 32.getshdr.o 32.newehdr.o \ 32.newphdr.o 32.xlatetof.o # support SRCS3 = cook.c data.c input.c assert.c OBJS3 = cook.o data.o input.o assert.o # nlist SRCS4 = nlist.c OBJS4 = nlist.o # opt SRCS5 = opt.delscn.c x.remscn.c x.movscn.c x.elfext.c OBJS5 = opt.delscn.o x.remscn.o x.movscn.o x.elfext.o # 64-bit sources SRCS64 = 64.xlatetof.c gelfehdr.c gelfphdr.c gelfshdr.c gelftrans.c swap64.c OBJS64 = 64.xlatetof.o gelfehdr.o gelfphdr.o gelfshdr.o gelftrans.o swap64.o # Versioning sources SRCS_V = verdef_32_tof.c verdef_32_tom.c verdef_64_tof.c verdef_64_tom.c OBJS_V = verdef_32_tof.o verdef_32_tom.o verdef_64_tof.o verdef_64_tom.o HDRS_V = verdef.h verneed.h SRCS = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4) $(SRCS5) $(SRCS64) $(SRCS_V) OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS64) $(OBJS_V) # missing functions LIBSRCS = memset.c LIBOBJS = # public header files HDRS = libelf.h nlist.h gelf.h # public header files (created by configure) AUXHDRS = sys_elf.h # private header files PRIVHDRS = byteswap.h errors.h ext_types.h private.h elf_repl.h \ $(HDRS_V) DISTFILES = $(SRCS) $(LIBSRCS) $(HDRS) $(PRIVHDRS) Makefile.in sys_elf.h.in \ Makefile.w32 build.bat config.h.w32 libelf.def sys_elf.h.w32 all: libelf.a shared-$(DO_SHLIB) check: shared-yes: $(SHLIB) shared-no: libelf.a: $(OBJS) $(LIBOBJS) @$(RM) $@ $(AR) rcv $@ $(OBJS) $(LIBOBJS) $(RANLIB) $@ $(SHLIB): libelf.a @$(RM) $(SHLIB) $(LINK_SHLIB) -o $(SHLIB) $(OBJS:.o=.os) $(LIBOBJS:.o=.os) $(DEPSHLIBS) if test "$(SONAME)" = "$(SHLIB)"; then true; else \ $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \ fi if test "$(SHLINK)" = "$(SHLIB)"; then true; else \ $(RM) $(SHLINK) && $(LN_S) $(SHLIB) $(SHLINK); \ fi install: install-data \ install-shared-$(DO_SHLIB) install-compat-$(DO_COMPAT) installdirs: $(top_srcdir)/mkinstalldirs dirs="$(installdirs)"; for dir in $$dirs; do \ $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \ done install-data: all installdirs $(INSTALL_DATA) libelf.a $(instroot)$(libdir) -cd $(instroot)$(libdir) && $(RANLIB) libelf.a files="$(HDRS) $(AUXHDRS) elf_repl.h"; for file in $$files; do \ if test -r $$file; then \ $(INSTALL_DATA) $$file $(instroot)$(includedir)/libelf; \ else \ $(INSTALL_DATA) $(srcdir)/$$file $(instroot)$(includedir)/libelf; \ fi; \ done uninstall: uninstall-data \ uninstall-shared-$(DO_SHLIB) uninstall-compat-$(DO_COMPAT) uninstall-data: $(RM) $(instroot)$(libdir)/libelf.a $(RM) -r $(instroot)$(includedir)/libelf install-shared-yes: install-shared install-shared-no: install-shared: installdirs $(SHLIB) $(INSTALL_SHLIB) $(SHLIB) $(instroot)$(libdir) if test "$(SONAME)" = "$(SHLIB)"; then true; else \ cd $(instroot)$(libdir) && $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \ fi if test "$(SHLINK)" = "$(SHLIB)"; then true; else \ cd $(instroot)$(libdir) && $(RM) $(SHLINK) && $(LN_S) $(SHLIB) $(SHLINK); \ fi uninstall-shared-yes: uninstall-shared uninstall-shared-no: uninstall-shared: cd $(instroot)$(libdir) && $(RM) $(SHLIB) $(SONAME) $(SHLINK) install-compat-yes: install-compat install-compat-no: install-compat: installdirs files="$(HDRS)"; for file in $$files; do \ if test -f $(instroot)$(includedir)/$$file; then true; else \ echo "#include " > $(instroot)$(includedir)/$$file; \ fi; \ done uninstall-compat-yes: uninstall-compat uninstall-compat-no: uninstall-compat: files="$(HDRS)"; for file in $$files; do \ if grep "^#include \$$" $(instroot)$(includedir)/$$file >/dev/null 2>&1; then \ $(RM) $(instroot)$(includedir)/$$file; \ else true; fi; \ done mostlyclean: $(RM) *.o *.a *.os $(SHLIB) $(SONAME) $(SHLINK) $(RM) *~ core a.out errlist clean: mostlyclean distclean: clean $(RM) stamp-h $(AUXHDRS) $(RM) Makefile maintainer-clean: distclean # maintainer only MAINT = maintainer-only- distdir = $(PACKAGE)-$(VERSION) distsubdir = $(topdir)/$(distdir)/$(subdir) $(MAINT)dist: $(DISTFILES) if test -d $(distsubdir); then true; else mkdir $(distsubdir); fi files="$(DISTFILES)"; for file in $$files; do \ ln $(srcdir)/$$file $(distsubdir) || \ cp -p $(srcdir)/$$file $(distsubdir) || exit 1; \ done # For the justification of the following Makefile rules, see node # `Automatic Remaking' in GNU Autoconf documentation. $(MAINT)Makefile: Makefile.in $(topdir)/config.status cd $(topdir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status $(MAINT)sys_elf.h: stamp-h $(MAINT)stamp-h: sys_elf.h.in $(topdir)/config.status cd $(topdir) && CONFIG_FILES= CONFIG_HEADERS=$(subdir)/sys_elf.h ./config.status $(RM) stamp-h && echo timestamp > stamp-h # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # dependencies $(OBJS): private.h $(topdir)/config.h libelf.h gelf.h errors.h $(AUXHDRS) 32.fsize.o: ext_types.h 32.xlatetof.o: byteswap.h ext_types.h 64.xlatetof.o: byteswap.h ext_types.h getarsym.o: byteswap.h memset.o: $(topdir)/config.h nlist.o: nlist.h swap64.o: byteswap.h $(OBJS_V): byteswap.h ext_types.h $(HDRS_V) # po/Makefile for libelf. # Copyright (C) 1995 - 2006 Michael Riepe # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # @(#) $Id: Makefile.in,v 1.18 2008/05/23 08:16:46 michael Exp $ instroot = prefix = /usr exec_prefix = ${prefix} localedir = $(prefix)/share/locale CC = powerpc64le-linux-gnu-gcc RM = rm -f MV = mv -f INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 GENCAT = GMSGFMT = /usr/bin/msgfmt MSGFMT = /usr/bin/msgfmt XGETTEXT = /usr/bin/xgettext MSGMERGE = /usr/bin/msgmerge CFLAGS = -g -O2 CPPFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = LIBS = LIBINTL = # no user serviceable parts below PACKAGE = libelf VERSION = 0.8.13 SHELL = /bin/sh srcdir = . top_srcdir = .. topdir = .. subdir = po .SUFFIXES: .SUFFIXES: .po .mo .gmo .msg .cat .po.mo: @$(RM) $@ $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`echo $*|sed 's,.*/,,'`.gmo; \ $(RM) $$file && $(GMSGFMT) -o $$file $< .msg.cat: @$(RM) $@ $(GENCAT) $@ $< POFILES = de.po GMOFILES = de.gmo MSGFILES = de.msg DISTFILES = \ gmo2msg.c Makefile.in $(PACKAGE).pot stamp-po \ $(POFILES) $(GMOFILES) $(MSGFILES) POTFILES = $(top_srcdir)/lib/errors.h CATALOGS = de.gmo CATOBJEXT = .gmo INSTOBJEXT = .mo all: $(CATALOGS) check: install: all install-data install-data: $(top_srcdir)/mkinstalldirs catalogs="$(CATALOGS)"; for cat in $$catalogs; do \ lang=`echo $$cat | sed 's,$(CATOBJEXT)$$,,'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $(instroot)$$dir/$(PACKAGE)$(INSTOBJEXT); \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $(instroot)$$dir/$(PACKAGE)$(INSTOBJEXT); \ fi; \ done uninstall: catalogs="$(CATALOGS)"; for cat in $$catalogs; do \ lang=`echo $$cat | sed 's,$(CATOBJEXT)$$,,'`; \ $(RM) $(instroot)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ done mostlyclean: $(RM) core core.* $(PACKAGE).po *.po.tmp clean: mostlyclean distclean: clean $(RM) gmo2msg *.mo *.cat $(RM) Makefile maintainer-clean: distclean $(RM) stamp-po $(PACKAGE).pot: $(POTFILES) $(XGETTEXT) -c -d$(PACKAGE) -k_ $(POTFILES) if cmp -s $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; then \ $(RM) $(PACKAGE).po; \ else \ $(RM) $(srcdir)/$(PACKAGE).pot && \ $(MV) $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; \ fi update-po: stamp-po stamp-po: $(PACKAGE).pot pofiles="$(POFILES)"; cd $(srcdir) && for po in $$pofiles; do \ $(RM) $$po.tmp; \ if $(MSGMERGE) $$po $(PACKAGE).pot > $$po.tmp; then \ $(RM) $$po; \ $(MV) $$po.tmp $$po; \ else \ echo "update for $$po failed!"; \ $(RM) $$po.tmp; \ fi; \ done $(RM) $@ && echo timestamp > $@ # Create X/Open message catalog sources from .gmo files. .gmo.msg: $(MAKE) $(srcdir)/gmo2msg cd $(srcdir) && ./gmo2msg `echo $*|sed 's,.*/,,'` .SUFFIXES: .c .c: @$(RM) $@ $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) \ $(LDFLAGS) $*.c $(LIBS) $(LIBINTL) -o $@ INCLUDES = -I$(topdir) -I. -I$(topdir)/lib -I$(srcdir) -I$(top_srcdir)/lib # maintainer only MAINT = maintainer-only- distdir = $(PACKAGE)-$(VERSION) distsubdir = $(topdir)/$(distdir)/$(subdir) $(MAINT)dist: update-po $(DISTFILES) if test -d $(distsubdir); then true; else mkdir $(distsubdir); fi files="$(DISTFILES)"; for file in $$files; do \ ln $(srcdir)/$$file $(distsubdir) >/dev/null 2>&1 || \ cp -p $(srcdir)/$$file $(distsubdir) || exit 1; \ done # For the justification of the following Makefile rules, see node # `Automatic Remaking' in GNU Autoconf documentation. $(MAINT)Makefile: Makefile.in $(topdir)/config.status cd $(topdir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib/powerpc64le-linux-gnu includedir=${prefix}/include Name: libelf Description: ELF object file access library Version: 0.8.13 Requires: Conflicts: Libs: -L${libdir} -lelf Cflags: -I${includedir}/libelf -I${includedir} /* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* * acconfig.h - Special definitions for libelf, processed by autoheader. * Copyright (C) 1995 - 2001, 2004, 2006 Michael Riepe * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ /* @(#) $Id: acconfig.h,v 1.16 2008/05/23 08:17:56 michael Exp $ */ /* Define if you want to include extra debugging code */ /* #undef ENABLE_DEBUG */ /* Define if you want to support extended ELF formats */ /* #undef ENABLE_EXTENDED_FORMAT */ /* Define if you want ELF format sanity checks by default */ #define ENABLE_SANITY_CHECKS 1 /* Define if memmove() does not copy overlapping arrays correctly */ /* #undef HAVE_BROKEN_MEMMOVE */ /* Define if you have the catgets function. */ /* #undef HAVE_CATGETS */ /* Define if you have the dgettext function. */ #define HAVE_DGETTEXT 1 /* Define if you have the memset function. */ #define HAVE_MEMSET 1 /* Define if struct nlist is declared in or */ /* #undef HAVE_STRUCT_NLIST_DECLARATION */ /* Define if Elf32_Dyn is declared in */ /* #undef __LIBELF_NEED_LINK_H */ /* Define if Elf32_Dyn is declared in */ /* #undef __LIBELF_NEED_SYS_LINK_H */ /* Define to `' or `' if one of them is present */ #define __LIBELF_HEADER_ELF_H /* Define if you want 64-bit support (and your system supports it) */ #define __LIBELF64 1 /* Define if you want 64-bit support, and are running IRIX */ /* #undef __LIBELF64_IRIX */ /* Define if you want 64-bit support, and are running Linux */ /* #undef __LIBELF64_LINUX */ /* Define if you want symbol versioning (and your system supports it) */ #define __LIBELF_SYMBOL_VERSIONS 1 /* Define if symbol versioning uses Sun section type (SHT_SUNW_*) */ /* #undef __LIBELF_SUN_SYMBOL_VERSIONS */ /* Define if symbol versioning uses GNU section types (SHT_GNU_*) */ #define __LIBELF_GNU_SYMBOL_VERSIONS 1 /* Define to a 64-bit signed integer type if one exists */ #define __libelf_i64_t long /* Define to a 64-bit unsigned integer type if one exists */ #define __libelf_u64_t unsigned long /* Define to a 32-bit signed integer type if one exists */ #define __libelf_i32_t int /* Define to a 32-bit unsigned integer type if one exists */ #define __libelf_u32_t unsigned int /* Define to a 16-bit signed integer type if one exists */ #define __libelf_i16_t short /* Define to a 16-bit unsigned integer type if one exists */ #define __libelf_u16_t unsigned short /* Define to 1 if you have the header file. */ #define HAVE_AR_H 1 /* Define to 1 if you have the header file. */ #define HAVE_ELF_H 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_GELF_H */ /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBELF_H */ /* Define to 1 if you have the header file. */ #define HAVE_LINK_H 1 /* Define to 1 if you have the `memcmp' function. */ #define HAVE_MEMCMP 1 /* Define to 1 if you have the `memcpy' function. */ #define HAVE_MEMCPY 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_NLIST_H */ /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_ELF_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_LINK_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" /* Define to the full name of this package. */ #define PACKAGE_NAME "" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "" /* Define to the home page for this package. */ #define PACKAGE_URL "" /* Define to the version of this package. */ #define PACKAGE_VERSION "" /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 /* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 8 /* The size of `long long', as computed by sizeof. */ #define SIZEOF_LONG_LONG 8 /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 /* The size of `__int64', as computed by sizeof. */ #define SIZEOF___INT64 0 /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `long int' if does not define. */ /* #undef off_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* lib/sys_elf.h. Generated from sys_elf.h.in by configure. */ /* sys_elf.h.in - configure template for private "switch" file. Copyright (C) 1998 - 2001 Michael Riepe This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ /* @(#) $Id: sys_elf.h.in,v 1.13 2008/05/23 08:57:07 michael Exp $ */ /* * DO NOT USE THIS IN APPLICATIONS - #include INSTEAD! */ /* Define to `' or `' if one of them is present */ #define __LIBELF_HEADER_ELF_H /* Define if Elf32_Dyn is declared in */ /* #undef __LIBELF_NEED_LINK_H */ /* Define if Elf32_Dyn is declared in */ /* #undef __LIBELF_NEED_SYS_LINK_H */ /* Define if you want 64-bit support (and your system supports it) */ #define __LIBELF64 1 /* Define if you want 64-bit support, and are running IRIX */ /* #undef __LIBELF64_IRIX */ /* Define if you want 64-bit support, and are running Linux */ /* #undef __LIBELF64_LINUX */ /* Define if you want symbol versioning (and your system supports it) */ #define __LIBELF_SYMBOL_VERSIONS 1 /* Define to a 64-bit signed integer type if one exists */ #define __libelf_i64_t long /* Define to a 64-bit unsigned integer type if one exists */ #define __libelf_u64_t unsigned long /* Define to a 32-bit signed integer type if one exists */ #define __libelf_i32_t int /* Define to a 32-bit unsigned integer type if one exists */ #define __libelf_u32_t unsigned int /* Define to a 16-bit signed integer type if one exists */ #define __libelf_i16_t short /* Define to a 16-bit unsigned integer type if one exists */ #define __libelf_u16_t unsigned short /* * Ok, now get the correct instance of elf.h... */ #ifdef __LIBELF_HEADER_ELF_H # include __LIBELF_HEADER_ELF_H #else /* __LIBELF_HEADER_ELF_H */ # if __LIBELF_INTERNAL__ # include # else /* __LIBELF_INTERNAL__ */ # include # endif /* __LIBELF_INTERNAL__ */ #endif /* __LIBELF_HEADER_ELF_H */ /* * On some systems, is severely broken. Try to fix it. */ #ifdef __LIBELF_HEADER_ELF_H # ifndef ELF32_FSZ_ADDR # define ELF32_FSZ_ADDR 4 # define ELF32_FSZ_HALF 2 # define ELF32_FSZ_OFF 4 # define ELF32_FSZ_SWORD 4 # define ELF32_FSZ_WORD 4 # endif /* ELF32_FSZ_ADDR */ # ifndef STN_UNDEF # define STN_UNDEF 0 # endif /* STN_UNDEF */ # if __LIBELF64 # ifndef ELF64_FSZ_ADDR # define ELF64_FSZ_ADDR 8 # define ELF64_FSZ_HALF 2 # define ELF64_FSZ_OFF 8 # define ELF64_FSZ_SWORD 4 # define ELF64_FSZ_WORD 4 # define ELF64_FSZ_SXWORD 8 # define ELF64_FSZ_XWORD 8 # endif /* ELF64_FSZ_ADDR */ # ifndef ELF64_ST_BIND # define ELF64_ST_BIND(i) ((i)>>4) # define ELF64_ST_TYPE(i) ((i)&0xf) # define ELF64_ST_INFO(b,t) (((b)<<4)+((t)&0xf)) # endif /* ELF64_ST_BIND */ # ifndef ELF64_R_SYM # define ELF64_R_SYM(i) ((Elf64_Xword)(i)>>32) # define ELF64_R_TYPE(i) ((i)&0xffffffffL) # define ELF64_R_INFO(s,t) (((Elf64_Xword)(s)<<32)+((t)&0xffffffffL)) # endif /* ELF64_R_SYM */ # if __LIBELF64_LINUX typedef __libelf_u64_t Elf64_Addr; typedef __libelf_u16_t Elf64_Half; typedef __libelf_u64_t Elf64_Off; typedef __libelf_i32_t Elf64_Sword; typedef __libelf_u32_t Elf64_Word; typedef __libelf_i64_t Elf64_Sxword; typedef __libelf_u64_t Elf64_Xword; # endif /* __LIBELF64_LINUX */ # endif /* __LIBELF64 */ #endif /* __LIBELF_HEADER_ELF_H */ make CFLAGS="-Wall -g -D_REENTRANT -O2" make[1]: Entering directory `/build/buildd/libelf-0.8.13' making all in lib make[2]: Entering directory `/build/buildd/libelf-0.8.13/lib' if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC begin.c && mv -f begin.o begin.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 begin.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC cntl.c && mv -f cntl.o cntl.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 cntl.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC end.c && mv -f end.o end.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 end.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC errmsg.c && mv -f errmsg.o errmsg.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 errmsg.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC errno.c && mv -f errno.o errno.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 errno.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC fill.c && mv -f fill.o fill.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 fill.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC flag.c && mv -f flag.o flag.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 flag.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getarhdr.c && mv -f getarhdr.o getarhdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getarhdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getarsym.c && mv -f getarsym.o getarsym.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getarsym.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getbase.c && mv -f getbase.o getbase.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getbase.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getdata.c && mv -f getdata.o getdata.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getdata.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getident.c && mv -f getident.o getident.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getident.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getscn.c && mv -f getscn.o getscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC hash.c && mv -f hash.o hash.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 hash.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC kind.c && mv -f kind.o kind.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 kind.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC ndxscn.c && mv -f ndxscn.o ndxscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 ndxscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC newdata.c && mv -f newdata.o newdata.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 newdata.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC newscn.c && mv -f newscn.o newscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 newscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC next.c && mv -f next.o next.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 next.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC nextscn.c && mv -f nextscn.o nextscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 nextscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC rand.c && mv -f rand.o rand.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 rand.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC rawdata.c && mv -f rawdata.o rawdata.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 rawdata.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC rawfile.c && mv -f rawfile.o rawfile.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 rawfile.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC strptr.c && mv -f strptr.o strptr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 strptr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC update.c && mv -f update.o update.os; \ else true; fi update.c: In function '_elf_output': update.c:917:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 update.c update.c: In function '_elf_output': update.c:917:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^ if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC version.c && mv -f version.o version.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 version.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC checksum.c && mv -f checksum.o checksum.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 checksum.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC getaroff.c && mv -f getaroff.o getaroff.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 getaroff.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.fsize.c && mv -f 32.fsize.o 32.fsize.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.fsize.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.getehdr.c && mv -f 32.getehdr.o 32.getehdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.getehdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.getphdr.c && mv -f 32.getphdr.o 32.getphdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.getphdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.getshdr.c && mv -f 32.getshdr.o 32.getshdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.getshdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.newehdr.c && mv -f 32.newehdr.o 32.newehdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.newehdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.newphdr.c && mv -f 32.newphdr.o 32.newphdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.newphdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 32.xlatetof.c && mv -f 32.xlatetof.o 32.xlatetof.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 32.xlatetof.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC cook.c && mv -f cook.o cook.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 cook.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC data.c && mv -f data.o data.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 data.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC input.c && mv -f input.o input.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 input.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC assert.c && mv -f assert.o assert.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 assert.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC nlist.c && mv -f nlist.o nlist.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 nlist.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC opt.delscn.c && mv -f opt.delscn.o opt.delscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 opt.delscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC x.remscn.c && mv -f x.remscn.o x.remscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 x.remscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC x.movscn.c && mv -f x.movscn.o x.movscn.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 x.movscn.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC x.elfext.c && mv -f x.elfext.o x.elfext.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 x.elfext.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC 64.xlatetof.c && mv -f 64.xlatetof.o 64.xlatetof.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 64.xlatetof.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC gelfehdr.c && mv -f gelfehdr.o gelfehdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 gelfehdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC gelfphdr.c && mv -f gelfphdr.o gelfphdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 gelfphdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC gelfshdr.c && mv -f gelfshdr.o gelfshdr.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 gelfshdr.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC gelftrans.c && mv -f gelftrans.o gelftrans.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 gelftrans.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC swap64.c && mv -f swap64.o swap64.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 swap64.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC verdef_32_tof.c && mv -f verdef_32_tof.o verdef_32_tof.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 verdef_32_tof.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC verdef_32_tom.c && mv -f verdef_32_tom.o verdef_32_tom.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 verdef_32_tom.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC verdef_64_tof.c && mv -f verdef_64_tof.o verdef_64_tof.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 verdef_64_tof.c if test -n "-fPIC -DPIC"; then \ powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 -fPIC -DPIC verdef_64_tom.c && mv -f verdef_64_tom.o verdef_64_tom.os; \ else true; fi powerpc64le-linux-gnu-gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -Wall -g -D_REENTRANT -O2 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 getaroff.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 x.elfext.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 - getaroff.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 - x.elfext.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 powerpc64le-linux-gnu-gcc -shared -Wl,-soname,libelf.so.0 -o libelf.so.0.8.13 begin.os cntl.os end.os errmsg.os errno.os fill.os flag.os getarhdr.os getarsym.os getbase.os getdata.os getident.os getscn.os hash.os kind.os ndxscn.os newdata.os newscn.os next.os nextscn.os rand.os rawdata.os rawfile.os strptr.os update.os version.os checksum.os getaroff.os 32.fsize.os 32.getehdr.os 32.getphdr.os 32.getshdr.os 32.newehdr.os 32.newphdr.os 32.xlatetof.os cook.os data.os input.os assert.os nlist.os opt.delscn.os x.remscn.os x.movscn.os x.elfext.os 64.xlatetof.os gelfehdr.os gelfphdr.os gelfshdr.os gelftrans.os swap64.os verdef_32_tof.os verdef_32_tom.os verdef_64_tof.os verdef_64_tom.os -lc if test "libelf.so.0" = "libelf.so.0.8.13"; then true; else \ rm -f libelf.so.0 && ln -s libelf.so.0.8.13 libelf.so.0; \ fi if test "libelf.so" = "libelf.so.0.8.13"; then true; else \ rm -f libelf.so && ln -s libelf.so.0.8.13 libelf.so; \ fi make[2]: Leaving directory `/build/buildd/libelf-0.8.13/lib' making all in po make[2]: Entering directory `/build/buildd/libelf-0.8.13/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/build/buildd/libelf-0.8.13/po' make[1]: Leaving directory `/build/buildd/libelf-0.8.13' touch build-stamp /usr/bin/fakeroot debian/rules binary-arch sed 's/@DEB_HOST_MULTIARCH@/powerpc64le-linux-gnu/'g debian/libelfg0-dev.links.in >debian/libelfg0-dev.links dh_testdir dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead make instroot=`pwd`/debian/tmp install make[1]: Entering directory `/build/buildd/libelf-0.8.13' making install in lib make[2]: Entering directory `/build/buildd/libelf-0.8.13/lib' dirs="/usr/lib/powerpc64le-linux-gnu /usr/include /usr/include/libelf"; for dir in $dirs; do \ /bin/sh ../mkinstalldirs /build/buildd/libelf-0.8.13/debian/tmp$dir; \ done mkdir /build/buildd/libelf-0.8.13/debian/tmp mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/lib mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/include mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/include/libelf /usr/bin/install -c -m 644 libelf.a /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu cd /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu && 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 /build/buildd/libelf-0.8.13/debian/tmp/usr/include/libelf; \ else \ /usr/bin/install -c -m 644 ./$file /build/buildd/libelf-0.8.13/debian/tmp/usr/include/libelf; \ fi; \ done /usr/bin/install -c libelf.so.0.8.13 /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu if test "libelf.so.0" = "libelf.so.0.8.13"; then true; else \ cd /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu && rm -f libelf.so.0 && ln -s libelf.so.0.8.13 libelf.so.0; \ fi if test "libelf.so" = "libelf.so.0.8.13"; then true; else \ cd /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu && rm -f libelf.so && ln -s libelf.so.0.8.13 libelf.so; \ fi files="libelf.h nlist.h gelf.h"; for file in $files; do \ if test -f /build/buildd/libelf-0.8.13/debian/tmp/usr/include/$file; then true; else \ echo "#include " > /build/buildd/libelf-0.8.13/debian/tmp/usr/include/$file; \ fi; \ done make[2]: Leaving directory `/build/buildd/libelf-0.8.13/lib' making install in po make[2]: Entering directory `/build/buildd/libelf-0.8.13/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 /build/buildd/libelf-0.8.13/debian/tmp$dir; \ if test -r $cat; then \ /usr/bin/install -c -m 644 $cat /build/buildd/libelf-0.8.13/debian/tmp$dir/libelf.mo; \ else \ /usr/bin/install -c -m 644 ./$cat /build/buildd/libelf-0.8.13/debian/tmp$dir/libelf.mo; \ fi; \ done mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/share mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/share/locale mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/share/locale/de mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/share/locale/de/LC_MESSAGES make[2]: Leaving directory `/build/buildd/libelf-0.8.13/po' /bin/sh ./mkinstalldirs /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu/pkgconfig mkdir /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu/pkgconfig /usr/bin/install -c -m 644 libelf.pc /build/buildd/libelf-0.8.13/debian/tmp/usr/lib/powerpc64le-linux-gnu/pkgconfig make[1]: Leaving directory `/build/buildd/libelf-0.8.13' dh_install --sourcedir=debian/tmp --list-missing dh_install: usr/lib/powerpc64le-linux-gnu/libelf.so exists in debian/tmp but is not installed to anywhere dh_installchangelogs ChangeLog dh_installdocs README dh_link dh_makeshlibs -V 'libelfg0 (>= 0.8.12)' dh_strip dh_strip debug symbol extraction: not enabling -a because /CurrentlyBuilding exists dh_strip debug symbol extraction: all non-arch-all packages for this build platform ppc64el: libelfg0 libelfg0-dev dh_strip debug symbol extraction: packages to act on: libelfg0 libelfg0-dev dh_strip debug symbol extraction: ignored packages: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe /usr/bin/pkg_create_dbgsym: building ddeb package dpkg-deb: building package `libelfg0-dbgsym' in `../libelfg0-dbgsym_0.8.13-5_ppc64el.ddeb'. libelfg0-dev has no unstripped objects, ignoring find: `/build/buildd/libelf-0.8.13/debian/libelfg0-dev-dbgsym': No such file or directory /usr/bin/pkg_create_dbgsym: nothing in /build/buildd/libelf-0.8.13/debian/libelfg0-dev-dbgsym and no dbgdepends, ignoring dh_fixperms dh_compress dh_installdeb dh_shlibdeps dh_gencontrol dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dh_md5sums dh_builddeb INFO: pkgstriptranslations version 119 pkgstriptranslations: processing libelfg0 (in debian/libelfg0); do_strip: 1, oemstrip: pkgstriptranslations: preparing translation tarball libelf_0.8.13-5_ppc64el_translations.tar.gz...dpkg-distaddfile: warning: File::FcntlLock not available; using flock which is not NFS-safe done pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libelfg0/DEBIAN/control, package libelfg0, directory debian/libelfg0 .. removing usr/share/doc/libelfg0/changelog.gz pkgstripfiles: Truncating usr/share/doc/libelfg0/changelog.Debian.gz to topmost ten records pkgstripfiles: PNG optimization for package libelfg0 took 0 s dpkg-deb: warning: 'debian/libelfg0/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `libelfg0' in `../libelfg0_0.8.13-5_ppc64el.deb'. INFO: pkgstriptranslations version 119 pkgstriptranslations: processing libelfg0-dev (in debian/libelfg0-dev); do_strip: 1, oemstrip: pkgstriptranslations: libelfg0-dev does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libelfg0-dev/DEBIAN/control, package libelfg0-dev, directory debian/libelfg0-dev .. removing usr/share/doc/libelfg0-dev/changelog.gz Searching for duplicated docs in dependency libelfg0... symlinking changelog.Debian.gz in libelfg0-dev to file in libelfg0 pkgstripfiles: PNG optimization for package libelfg0-dev took 0 s dpkg-deb: warning: 'debian/libelfg0-dev/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `libelfg0-dev' in `../libelfg0-dev_0.8.13-5_ppc64el.deb'. dpkg-genchanges -B -mUbuntu Build Daemon >../libelf_0.8.13-5_ppc64el.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build libelf-0.8.13 dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20140217-1433 Publishing chroot-autobuild/build/buildd/libelf_0.8.13-5_ppc64el_translations.tar.gz for rosetta. Publishing debug debs. chroot-autobuild/build/buildd/libelfg0_0.8.13-5_ppc64el.deb: new debian package, version 2.0. size 34588 bytes: control archive=1051 bytes. 868 bytes, 23 lines control 292 bytes, 4 lines md5sums 135 bytes, 7 lines * postinst #!/bin/sh 132 bytes, 7 lines * postrm #!/bin/sh 30 bytes, 1 lines shlibs Package: libelfg0 Source: libelf Version: 0.8.13-5 Architecture: ppc64el Maintainer: Ubuntu Developers Original-Maintainer: Alex Pennace Installed-Size: 188 Pre-Depends: multiarch-support Depends: libc6 (>= 2.17) Conflicts: libelf, libelf0 (<= 0.6.4-5) Section: libs Priority: optional Multi-Arch: same Description: an ELF object file access library libelf provides routines to access and manipulate ELF object files. It is still not complete, but is required for a number of programs, such as Eli (a state of the art compiler generation system), and Elk (the Extension Language Kit - an implementation of the Scheme programming language.) . This shared library may be needed by pre-packaged programs. To compile programs with this library, you will need to install the libelfg0-dev package as well. chroot-autobuild/build/buildd/libelfg0-dev_0.8.13-5_ppc64el.deb: new debian package, version 2.0. size 42618 bytes: control archive=1278 bytes. 985 bytes, 22 lines control 700 bytes, 11 lines md5sums 253 bytes, 14 lines * postinst #!/bin/sh 176 bytes, 12 lines * prerm #!/bin/sh Package: libelfg0-dev Source: libelf Version: 0.8.13-5 Architecture: ppc64el Maintainer: Ubuntu Developers Original-Maintainer: Alex Pennace Installed-Size: 304 Depends: libelfg0 (= 0.8.13-5), libc6-dev Conflicts: libelf-dev, libelf0-dev, libelf1-dev Section: libdevel Priority: optional Description: an ELF object file access library: development files libelf provides routines to access and manipulate ELF object files. It is still not complete, but is required for a number of programs, such as Eli (a state of the art compiler generation system), and Elk (the Extension Language Kit - an implementation of the Scheme programming language.) . This development library is only needed if you intend to compile, or write, your own programs with this library. It holds the static linking library (.a), and the required .so link to libelf0.so.0. To run programs linked with this library, install the libelfg0 package. chroot-autobuild/build/buildd/libelfg0_0.8.13-5_ppc64el.deb: drwxr-xr-x root/root 0 2014-02-17 14:32 ./ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/lib/ drwxr-xr-x root/root 0 2014-02-17 14:33 ./usr/lib/powerpc64le-linux-gnu/ -rw-r--r-- root/root 105928 2014-02-17 14:33 ./usr/lib/powerpc64le-linux-gnu/libelf.so.0.8.13 drwxr-xr-x root/root 0 2014-02-17 14:33 ./usr/share/ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/share/doc/ drwxr-xr-x root/root 0 2014-02-17 14:33 ./usr/share/doc/libelfg0/ -rw-r--r-- root/root 1317 2014-02-17 14:32 ./usr/share/doc/libelfg0/copyright -rw-r--r-- root/root 5604 2009-11-01 08:08 ./usr/share/doc/libelfg0/README.gz -rw-r--r-- root/root 1161 2014-02-17 14:33 ./usr/share/doc/libelfg0/changelog.Debian.gz lrwxrwxrwx root/root 0 2014-02-17 14:32 ./usr/lib/powerpc64le-linux-gnu/libelf.so.0 -> libelf.so.0.8.13 chroot-autobuild/build/buildd/libelfg0-dev_0.8.13-5_ppc64el.deb: drwxr-xr-x root/root 0 2014-02-17 14:33 ./ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/lib/ drwxr-xr-x root/root 0 2014-02-17 14:33 ./usr/lib/powerpc64le-linux-gnu/ -rw-r--r-- root/root 206694 2014-02-17 14:33 ./usr/lib/powerpc64le-linux-gnu/libelf.a drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/lib/powerpc64le-linux-gnu/pkgconfig/ -rw-r--r-- root/root 272 2014-02-17 14:32 ./usr/lib/powerpc64le-linux-gnu/pkgconfig/libelf.pc drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/include/ -rw-r--r-- root/root 27 2014-02-17 14:32 ./usr/include/libelf.h -rw-r--r-- root/root 25 2014-02-17 14:32 ./usr/include/gelf.h -rw-r--r-- root/root 26 2014-02-17 14:32 ./usr/include/nlist.h drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/include/libelf/ -rw-r--r-- root/root 9050 2014-02-17 14:32 ./usr/include/libelf/libelf.h -rw-r--r-- root/root 5103 2014-02-17 14:32 ./usr/include/libelf/gelf.h -rw-r--r-- root/root 1452 2014-02-17 14:32 ./usr/include/libelf/nlist.h -rw-r--r-- root/root 3979 2014-02-17 14:32 ./usr/include/libelf/sys_elf.h -rw-r--r-- root/root 24585 2014-02-17 14:32 ./usr/include/libelf/elf_repl.h drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/share/ drwxr-xr-x root/root 0 2014-02-17 14:32 ./usr/share/doc/ drwxr-xr-x root/root 0 2014-02-17 14:33 ./usr/share/doc/libelfg0-dev/ -rw-r--r-- root/root 1317 2014-02-17 14:32 ./usr/share/doc/libelfg0-dev/copyright lrwxrwxrwx root/root 0 2014-02-17 14:32 ./usr/lib/powerpc64le-linux-gnu/libelf.so -> libelf.so.0 lrwxrwxrwx root/root 0 2014-02-17 14:33 ./usr/share/doc/libelfg0-dev/changelog.Debian.gz -> ../libelfg0/changelog.Debian.gz libelf_0.8.13-5_ppc64el.changes: Format: 1.8 Date: Sat, 30 Nov 2013 21:44:22 -0500 Source: libelf Binary: libelfg0 libelfg0-dev Architecture: ppc64el ppc64el_translations Version: 0.8.13-5 Distribution: trusty Urgency: low Maintainer: Ubuntu Build Daemon Changed-By: Alex Pennace Description: libelfg0 - an ELF object file access library libelfg0-dev - an ELF object file access library: development files Closes: 730705 Changes: libelf (0.8.13-5) unstable; urgency=low . * Fix "empty package" by requiring a multilib-capable dpkg-dev in Build-Depends and rebuilding (Closes: #730705) Checksums-Sha1: 5240aae7c6dc64668bead74652a5e4ba1b0665f4 34588 libelfg0_0.8.13-5_ppc64el.deb de3c2dbe2fdde7f7f8b1bb2fcfd1a73d36729801 42618 libelfg0-dev_0.8.13-5_ppc64el.deb 957d2f12dd1ad5ecf4eed33f1f47c42419f5280c 5420 libelf_0.8.13-5_ppc64el_translations.tar.gz Checksums-Sha256: 18034ec41fef8d322a883eefffafd7a4eb30d1852d6e1b437d1a43d35df48995 34588 libelfg0_0.8.13-5_ppc64el.deb 580f6ae78ff8ec32c55be6350dd8eb26342c8335a6e8641d3a0c2573de3d33d7 42618 libelfg0-dev_0.8.13-5_ppc64el.deb de161167dd00de510eb74feadbc09b7eaaa9b7e2c2bb786418f0824bcb54b81e 5420 libelf_0.8.13-5_ppc64el_translations.tar.gz Files: b92544467b02046ac994980ed73abde3 34588 libs optional libelfg0_0.8.13-5_ppc64el.deb faf6e04ea25e9ec9179334bc8ebe7708 42618 libdevel optional libelfg0-dev_0.8.13-5_ppc64el.deb 5a81aeb133d8b85f0ac8ff5347bd9c37 5420 raw-translations - libelf_0.8.13-5_ppc64el_translations.tar.gz ****************************************************************************** Built successfully ****************************************************************************** Finished at 20140217-1433 Build needed 00:00:26, 7872k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-5601306'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-5601306/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-5601306'] Unmounting chroot for build PACKAGEBUILD-5601306... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-5601306'] Removing build PACKAGEBUILD-5601306