Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413679 - New python ebuilds have strange elf errors
Summary: New python ebuilds have strange elf errors
Status: RESOLVED DUPLICATE of bug 413671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-26 22:46 UTC by Albert W. Hopkins
Modified: 2012-04-26 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
3.2.3 build log (build.log,135.86 KB, text/plain)
2012-04-26 22:46 UTC, Albert W. Hopkins
Details
2.7.3-r3 build log (build.log,152.26 KB, text/plain)
2012-04-26 22:47 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2012-04-26 22:46:31 UTC
Created attachment 310225 [details]
3.2.3 build log

dev-lang/python-2.7.3-r1 and dev-lang/python-3.2.3.

---

if test -f libpython3.2.so; then \
        if test -n "" ; then \
                /usr/bin/install -c -m 555  /var/tmp/portage/dev-lang/python-3.2.3/image//usr/bin; \
        else \  
                /usr/bin/install -c -m 555 libpython3.2.so /var/tmp/portage/dev-lang/python-3.2.3/image//usr/lib64/libpython3.2.so.1.0; \
                if test libpython3.2.so != libpython3.2.so.1.0; then \
                        (cd /var/tmp/portage/dev-lang/python-3.2.3/image//usr/lib64; ln -sf libpython3.2.so.1.0 libpython3.2.so) \
                fi \
        fi; \
        if test -n "libpython3.so"; then \
                /usr/bin/install -c -m 555 libpython3.so /var/tmp/portage/dev-lang/python-3.2.3/image//usr/lib64/libpython3.so; \
        fi; \
else    true; \
fi
./python: error while loading shared libraries: /var/tmp/portage/dev-lang/python-3.2.3/work/Python-3.2.3/libpython3.2.so.1.0: nonzero padding in e_ident
make: *** [sharedmods] Error 127
emake failed
---

Everywhere that I looked at this error on the net seems to indicate an issue with prelink, but I have never used prelink on this system.

I tried downgrading gcc to 4.5 but that didn't make any difference.  I've heard other people complain the same on 4.5 gcc.

---

# emerge --info =dev-lang/python-3.2.3
Portage 2.2.0_alpha101 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r1, 3.4.0-rc4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.0-rc4-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.1
Timestamp of tree: Thu, 26 Apr 2012 21:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p24-r1
dev-lang/python:          2.7.3, 3.2.2-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r1
Repositories: gentoo marduk gnome gfxboot_overlay
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 AdobeFlash-10.3 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg --binpkg-respect-use=y     --quiet-build --jobs --quiet-unmerge-warn --oneshot     --autounmask=n --buildpkg-exclude virtual/*     --buildpkg-exclude sys-kernel/*-sources"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news noinfo notitles parallel-fetch protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja"
MAKEOPTS="-j10 -l5.0"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/marduk /var/lib/layman/gnome /usr/local/portage/gfxboot_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 cjk introspection multilib nls pam unicode utf8" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="auth_digest authn_file group_file dav dav_fs authz_groupfile" CAMERAS="*" CURL_SSL="openssl" DRACUT_MODULES="plymouth" ELIBC="glibc" FFTOOLS="*" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
---

Full build logs to follow
Comment 1 Albert W. Hopkins 2012-04-26 22:47:42 UTC
Created attachment 310227 [details]
2.7.3-r3 build log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-04-26 22:49:03 UTC

*** This bug has been marked as a duplicate of bug 413671 ***