Running a world update on a mostly stable x86 local Server (Pentium IV) I got an error which i could not resolve: ------------------8<------------------ >>> Emerging (1 of 53) dev-perl/GDTextUtil-0.860.0-r1::gentoo * GDTextUtil-0.86.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking GDTextUtil-0.86.tar.gz to /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work >>> Preparing source in /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/image/ GD.c: loadable library and perl binaries are mismatched (got handshake key 0x7bc0000, needed 0x7cc0000) * ERROR: dev-perl/GDTextUtil-0.860.0-r1::gentoo failed (configure phase): * Unable to build! ------------------8<------------------ - after installing perl 5.22, - after running perl-cleaner --really-all which fails at the same position - after reemerging gd-2.2.3 - after cleanout old perl 5.20 files from /usr/lib I found that the error hints to a data structure size mismatch but I couldn't figure out where and why. perl -V ------------------8<------------------ ummary of my perl5 (revision 5 version 22 subversion 2) configuration: Platform: osname=linux, osvers=4.4.6-gentoo, archname=i686-linux uname='linux woodstok 4.4.6-gentoo #3 sun sep 25 20:36:10 cest 2016 i686 intel(r) pentium(r) 4 cpu 2.60ghz genuineintel gnulinux ' config_args='-des -Duseshrplib -Darchname=i686-linux -Dcc=i686-pc-linux-gnu-gcc -Doptimize=-mtune=pentium4 -O2 -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dinstallprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib/perl5/5.22.2 -Darchlib=/usr/lib/perl5/5.22.2/i686-linux -Dsitelib=/usr/local/lib/perl5/5.22.2 -Dsitearch=/usr/local/lib/perl5/5.22.2/i686-linux -Dvendorlib=/usr/lib/perl5/vendor_perl/5.22.2 -Dvendorarch=/usr/lib/perl5/vendor_perl/5.22.2/i686-linux -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.22.2 -Dlocincpth=/usr/include -Dglibpth=/lib /usr/lib -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.22.0/i686-linux 5.22.0 5.22.1/i686-linux 5.22.1 -Dnoextensions=ODBM_File' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='i686-pc-linux-gnu-gcc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-mtune=pentium4 -O2 -pipe', cppflags='-fwrapv -fno-strict-aliasing -pipe' ccversion='', gccversion='4.9.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='i686-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed' libpth=/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.22.so, so=so, useshrplib=true, libperl=libperl.so.5.22.2 gnulibc_version='2.22' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -mtune=pentium4 -O2 -pipe -Wl,-O1 -Wl,--as-needed' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Locally applied patches: gentoo/hints_hpux - Fix hpux hints gentoo/aix_soname - aix gcc detection and shared library soname support gentoo/EUMM-RUNPATH - https://bugs.gentoo.org/105054 cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags gentoo/opensolaris_headers - [PATCH] Add headers for opensolaris gentoo/patchlevel - List packaged patches for perl-5.22.2(#1) in patchlevel.h gentoo/cpanplus_definstalldirs - Configure CPANPLUS to use the site directories by default. gentoo/cleanup-paths - [PATCH] Cleanup PATH and shrpenv gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing @INC directories. gentoo/darwin-cc-ld - https://bugs.gentoo.org/297751 [PATCH] darwin: Use $CC to link gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN. gentoo/interix - [PATCH] Fix interix hints gentoo/create_libperl_soname - https://bugs.gentoo.org/286840 [PATCH] Set libperl soname gentoo/mod_paths - Add /etc/perl to @INC gentoo/EUMM_perllocalpod - gentoo/drop_fstack_protector - https://bugs.gentoo.org/348557 [PATCH] Don't force -fstack-protector on everyone gentoo/usr_local - [PATCH] Remove /usr/local paths gentoo/D-SHA-CFLAGS - https://bugs.gentoo.org/506818 [PATCH] [PATCH] Do not set custom CFLAGS in cpan/Digest-SHA gentoo/io_socket_ip_tests - gentoo/tests.patch - debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable debian/makemaker-pasthru - Pass LD settings through to subdirectories debian/locale-robustness - [perl #124310] Make t/run/locale.t survive missing locales masked by LC_ALL fixes/memoize_storable_nstore - [rt.cpan.org #77790] Memoize::Storable: respect 'nstore' option not respected fixes/podman-pipe - Better errors for man pages from standard input fixes/respect_umask - Respect umask during installation fixes/podman-utc - Make the embedded date from Pod::Man reproducible fixes/podman-utc-docs - Documentation and test suite updates for UTC fix fixes/net_smtp_docs - [rt.cpan.org #36038] Document the Net::SMTP 'Port' option fixes/document_makemaker_ccflags - [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags} Built under linux Compiled at Sep 30 2016 21:16:55 @INC: /etc/perl /usr/local/lib/perl5/5.22.2/i686-linux /usr/local/lib/perl5/5.22.2 /usr/lib/perl5/vendor_perl/5.22.2/i686-linux /usr/lib/perl5/vendor_perl/5.22.2 /usr/local/lib/perl5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.22.2/i686-linux /usr/lib/perl5/5.22.2 . ------------------8<------------------ My emerge --info: ------------------8<------------------ Portage 2.2.28 (python 3.4.3-final-0, default/linux/x86/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo i686) ================================================================= System uname: Linux-4.4.6-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.2 KiB Swap: 4194300 total, 4178472 free Timestamp of repository gentoo: Sat, 01 Oct 2016 12:45:01 +0000 sh bash 4.3_p46-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p46-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 woodstok location: /usr/local/portage masters: gentoo priority: 1000 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-mtune=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl acpi activefilter addns apache2 bash-completion berkdb bzip2 caps cli cracklib crypt cups curl cxx dbus dhcp dlz doc dot dri examples extensions fam fax fbcon fontconfig foomaticdb fortran gcj gd gdbm geos iconv imap iproute2 ipv6 jadetex jpeg jpeg2k kerberos kpathsea latex ldap logrotate minizip modules mppe-mppc mysql mysqli ncurses nfsv3 nfsv4 nls nptl openmp pam pcre pdo perl pg-intdatetime php png postfix postgis postgres python readline samba sasl seccomp server session sieve slp smbsharemodes ssl subversion suexec syslog tcpd tiff tools tproxy truetype udev unicode userlocales v4l v4l2 wifi winbind wps x86 xattr xetex zeroconf zip zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions access_compat alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm authz_dbd authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id userdir usertrack vhost_alias asis cgi cgid psgi" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="de en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ------------------8<------------------ Any hints
You don't happen to have either of the following in /usr/local do you? - Hand-crafted perls - Perl libraries installed with CPAN.pm If for instance you had any *.so files somewhere under /usr/local/lib/perl5, that could create this problem.
(In reply to Kent Fredric (IRC: kent\n) from comment #1) > You don't happen to have either of the following in /usr/local do you? > > - Hand-crafted perls no > - Perl libraries installed with CPAN.pm yes, but everything was rebuild > If for instance you had any *.so files somewhere under /usr/local/lib/perl5, > that could create this problem. /usr/local/lib is empty There is a Makefile.pl in work directory. The error occurs in 'require GD'. I rebuild dev-perl/gd and also media-libs/gd I removed everything which belongs to perl 5.20.2... but: the problem stayed. ervin On an amd64 system everything works fine.
Can you humour me and attach the output of: strace -e trace=stat,open perl -MGD -e 1 Thanks :)
(In reply to Kent Fredric (IRC: kent\n) from comment #3) > Can you humour me and attach the output of: > > strace -e trace=stat,open perl -MGD -e 1 > > Thanks :) ------------------8<-------------------- open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/libperl.so.5.22", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3 open("/dev/null", O_RDONLY|O_LARGEFILE) = 3 open("/usr/lib/perl5/vendor_perl/5.22.2/i686-linux/GD.pm", O_RDONLY|O_LARGEFILE) = 4 open("/usr/lib/perl5/5.22.2/strict.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/Carp.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/warnings.pm", O_RDONLY|O_LARGEFILE) = 6 open("/usr/lib/perl5/5.22.2/Exporter.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/vendor_perl/5.22.2/i686-linux/GD/Image.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/Symbol.pm", O_RDONLY|O_LARGEFILE) = 6 open("/usr/lib/perl5/5.22.2/vars.pm", O_RDONLY|O_LARGEFILE) = 6 open("/usr/lib/perl5/5.22.2/warnings/register.pm", O_RDONLY|O_LARGEFILE) = 7 open("/usr/lib/perl5/vendor_perl/5.22.2/i686-linux/GD/Polygon.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/FileHandle.pm", O_RDONLY|O_LARGEFILE) = 4 open("/usr/lib/perl5/5.22.2/i686-linux/IO/File.pm", O_RDONLY|O_LARGEFILE) = 4 open("/usr/lib/perl5/5.22.2/SelectSaver.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/i686-linux/IO/Seekable.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/i686-linux/IO/Handle.pm", O_RDONLY|O_LARGEFILE) = 6 open("/usr/lib/perl5/5.22.2/i686-linux/IO.pm", O_RDONLY|O_LARGEFILE) = 7 open("/usr/lib/perl5/5.22.2/XSLoader.pm", O_RDONLY|O_LARGEFILE) = 8 open("/usr/lib/perl5/5.22.2/i686-linux/auto/IO/IO.so", O_RDONLY|O_CLOEXEC) = 7 open("/usr/lib/perl5/5.22.2/i686-linux/Fcntl.pm", O_RDONLY|O_LARGEFILE) = 6 open("/usr/lib/perl5/5.22.2/i686-linux/auto/Fcntl/Fcntl.so", O_RDONLY|O_CLOEXEC) = 6 open("/usr/lib/perl5/5.22.2/i686-linux/DynaLoader.pm", O_RDONLY|O_LARGEFILE) = 4 open("/usr/lib/perl5/5.22.2/i686-linux/Config.pm", O_RDONLY|O_LARGEFILE) = 5 open("/usr/lib/perl5/5.22.2/AutoLoader.pm", O_RDONLY|O_LARGEFILE) = 4 open("/usr/lib/perl5/vendor_perl/5.22.2/i686-linux/auto/GD/GD.so", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/tls/i686/sse2/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/sse2/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/sse2/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/sse2/libgd.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libgd.so.3", O_RDONLY|O_CLOEXEC) = 4 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 open("/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libpng16.so.16", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libjpeg.so.62", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libtiff.so.5", O_RDONLY|O_CLOEXEC) = 4 open("/usr/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 4 open("/lib/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 4 GD.c: loadable library and perl binaries are mismatched (got handshake key 0x7bc0000, needed 0x7cc0000) +++ exited with 1 +++ ------------------8<-------------------- ? ervin
Seems you're not the first with this problem, and it seems to be related to x86 https://readlist.com/lists/gentoo.org/gentoo-user/40/200963.html And GD is a Multi-libbed package, so its possible something in multilib is breaking. CCing gd's people in the hope they can shed some light.
Confirming the issue on x86
And I've fixed this by unmasking =dev-perl/GD-2.560.0-r1 and updating to it.
I can confirm I've had the same issue: >>> Emerging (64 of 172) dev-perl/Data-Stag-0.140.0-r1::gentoo * Data-Stag-0.14.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] .... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Data-Stag-0.140.0-r1/image/ GD.c: loadable library and perl binaries are mismatched (got handshake key 0x7dc0080, needed 0x7ec0080 Tried: emerge @revdep-rebuild emerge -u media-libs/gd emerge (all packages that somehow have 'GD' in their names) to no avail. Some info ====== Portage 2.2.28 (python 3.4.3-final-0, hardened/linux/x86, gcc-4.9.3, glibc-2.22-r4, 3.16.5-gentoo i686) ================================================================= System uname: Linux-3.16.5-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-2.2 KiB Mem: XXXXXXX total, 184632 free KiB Swap: YYYYYYY total, 1245708 free Timestamp of repository gentoo: Mon, 10 Oct 2016 14:15:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo, 2.25.1-r1::gentoo sys-devel/gcc: 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.8.3::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo
(In reply to segmentation fault from comment #8) > I can confirm I've had the same issue: > > >>> Emerging (64 of 172) dev-perl/Data-Stag-0.140.0-r1::gentoo > * Data-Stag-0.14.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... > [ ok ] > .... > * Using ExtUtils::MakeMaker > * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none > DESTDIR=/var/tmp/portage/dev-perl/Data-Stag-0.140.0-r1/image/ > > GD.c: loadable library and perl binaries are mismatched (got handshake key > 0x7dc0080, needed 0x7ec0080 > segmentation fault: if you unmask 2.560.0-r1, does it work?
(In reply to cyberbat from comment #7) > And I've fixed this by unmasking =dev-perl/GD-2.560.0-r1 and updating to it. yes on my x86 box it using the unstable dev-perl/GD-2.560.0-r1 makes dev-perl/GDTextUtil-0.860.0-r1 able to compile and install. ervin