Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Perl update and Encode-Detect problem on 32 bit system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Tue May 14, 2024 1:36 am    Post subject: Perl update and Encode-Detect problem on 32 bit system Reply with quote

The perl Encode-Detect module will just not run on a 32 bit system. All I get is ..

use Encode::Detect;
lib/Encode/Detect/Detector.c: loadable library and perl binaries are mismatched

I have done all suggestions by removing and /usr/local/lib/perl5 locations and recompiled but I still get this error. This happend after the update to perl 5, version 38, subversion 2. It works find on a 64 bit system but I just can not get it to work on a 32 bit system. Any suggestions welcome
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21794

PostPosted: Tue May 14, 2024 2:12 am    Post subject: Reply with quote

What is the output of emerge --verbose --info dev-lang/perl dev-perl/Encode-Detect; perl -w -e 'print join("\n", @INC), "\n";'?
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Tue May 14, 2024 3:40 pm    Post subject: Reply with quote

Code:

Portage 3.0.63 (python 3.11.9-final-0, default/linux/x86/23.0/i686/split-usr, gcc-13, glibc-2.38-r13, 6.6.30-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.30-gentoo-i686-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-glibc2.38
KiB Mem:     3361608 total,    740928 free
KiB Swap:    4105268 total,   3969440 free
Timestamp of repository gentoo: Mon, 13 May 2024 13:30:01 +0000
Head commit of repository gentoo: 573da7fd135418ecc6ca5836be0739575ae0ca7e
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.14.1-r2::gentoo, 1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r13::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gcc_12"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id userdir usertrack vhost_alias unixd auth_digest authn_core authn_dbd authz_core authz_dbd dbd slotmem_shm socache_shmcb"
ARCH="x86"
AUTOCLEAN="no"
BINPKG_COMPRESS="bzip2"
BINPKG_FORMAT="xpak"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 zstd"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COLORTERM="truecolor"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3"
CXXFLAGS="-O2 -march=i686 -pipe"
DEFAULT_ABI="x86"
DISTDIR="/usr/portage/distfiles"
EDITOR="vi"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/ https://mirrors.aliyun.com/gentoo/ http://gentoo.gossamerhost.com http://gentoo.osuosl.org/"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS=""
HISTTIMEFORMAT="%m/%d/%y %T "
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/13/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.42/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info"
INPUT_DEVICES="libinput"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest prefix-stack"
KERNEL="linux"
LANG="en_US.UTF-8"
LANGUAGE="en_US"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_COLLATE="C"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_x86="lib"
LOGNAME="root"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
MAIL="/var/mail/trosmus"
MAKEOPTS="-j4"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/13/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.42/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man"
MOTD_SHOWN="pam"
MULTILIB_ABIS="x86"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/usr/local/src/misc/SPAM/Mail-SpamAssassin-3.3.2"
PAGER="less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/17/bin:/root/bin:/usr/local/bin:/usr/local/etc"
PHP_TARGETS="php8-1"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.11"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.11/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.11/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_23_USRTYPE="split-usr"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL"
PWD="/home/trosmus"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_11"
PYTHON_TARGETS="python3_11"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="216.251.96.229 11094 22"
SSH_CONNECTION="216.251.96.229 11094 206.63.32.220 22"
SSH_TTY="/dev/pts/0"
SUDO_COMMAND="/bin/su"
SUDO_GID="1000"
SUDO_UID="1000"
SUDO_USER="trosmus"
SYSROOT="/"
TERM="screen.xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="acl berkdb bzip2 crypt dlz gdbm iconv ipv6 libtirpc lm_sensors ncurses nls openmp pam pcre perl python readline seccomp split-usr ssl tcpd test-rust unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id userdir usertrack vhost_alias unixd auth_digest authn_core authn_dbd authz_core authz_dbd dbd slotmem_shm socache_shmcb" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PERL_FEATURES PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy"
VISUAL="/usr/bin/vi"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes"

=================================================================
                        Package Settings
=================================================================

dev-lang/perl-5.38.2-r3::gentoo was built with the following:
USE="berkdb gdbm -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath"
CFLAGS="-O2 -march=i686 -pipe -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"


dev-perl/Encode-Detect-1.10.0-r2::gentoo was built with the following:
USE="" PERL_FEATURES="(-debug) -ithreads -quadmath"

/etc/perl
/usr/local/lib/perl5/5.38/i686-linux
/usr/local/lib/perl5/5.38
/usr/lib/perl5/vendor_perl/5.38/i686-linux
/usr/lib/perl5/vendor_perl/5.38
/usr/lib/perl5/5.38/i686-linux
/usr/lib/perl5/5.38
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Thu May 16, 2024 6:34 pm    Post subject: Reply with quote

OK, here's another one. Different machine but still 32 bit with latest kernel.

# /usr/bin/rsnapshot weekly
lib/Lchown.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)

I did these steps but the error is still there. (there is no /usr/local/lib/per5

    rebuilt perl
    rebuilt kernel
    rebooted
    ran "perl-cleaner --modules ; perl-cleaner --force --libperl" (per perl news article)
    ran emerge -uDNav world
    also ran "perl-cleaner --reallyall"

The Lchown module still shows the above error:

Code:

# perl
use Lchown();
lib/Lchown.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)

Pretty much stumped at this point.
Back to top
View user's profile Send private message
gnu11111
n00b
n00b


Joined: 30 May 2009
Posts: 3

PostPosted: Thu May 16, 2024 8:52 pm    Post subject: Reply with quote

I got the same problem with dev-per/IO-Socket-SSL, dev-perl/Net-DNS and dev-perl/Net-DNS-SEC on x86 (32 bit) systems.

"perl-cleaner --reallyall" fails with:

Code:
>>> Emerging (73 of 170) dev-perl/IO-Socket-SSL-2.85.0::gentoo                                                                               
 * IO-Socket-SSL-2.085.tar.gz BLAKE2B SHA512 size ;-) ...                                                                              [ ok ]
>>> Unpacking source...                                                                                                                       
>>> Unpacking IO-Socket-SSL-2.085.tar.gz to /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work                                               
>>> Source unpacked in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work                                                                   
>>> Preparing source in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work/IO-Socket-SSL-2.085 ...                                           
>>> Source prepared.                                                                                                                         
>>> Configuring source in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work/IO-Socket-SSL-2.085 ...                                         
 * Using ExtUtils::MakeMaker                                                                                                                 
 * perl Makefile.PL AR=i686-pc-linux-gnu-ar CC=i686-pc-linux-gnu-gcc CPP=i686-pc-linux-gnu-gcc -E LD=i686-pc-linux-gnu-gcc NM=i686-pc-linux-gn
u-nm RANLIB=i686-pc-linux-gnu-ranlib OPTIMIZE=-march=pentium4 -O3 -fomit-frame-pointer -pipe LDFLAGS=-Wl,-O1 -Wl,--as-needed PREFIX=/usr INSTA
LLDIRS=vendor INSTALLMAN3DIR=none                                                                                                             
lib/Net/IDN/Punycode.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Fri May 17, 2024 8:41 pm    Post subject: Reply with quote

Another x86 perl oddity. Different machine, different Perl Module, same problem...

Code:

lib/Net/LibIDN2.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)
 * ERROR: dev-perl/Net-DNS-1.390.0::gentoo failed (configure phase):
 *   Unable to build!
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 1838:  Called perl-module_src_configure
 *   environment, line 1338:  Called die
 * The specific snippet of code:
 *               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 *
 * If you need support, post the output of `emerge --info '=dev-perl/Net-DNS-1.390.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Net-DNS-1.390.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/Net-DNS-1.390.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-DNS-1.390.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Net-DNS-1.390.0/work/Net-DNS-1.39'
 * S: '/var/tmp/portage/dev-perl/Net-DNS-1.390.0/work/Net-DNS-1.39'

>>> Failed to emerge dev-perl/Net-DNS-1.390.0, Log file:
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Fri May 17, 2024 9:07 pm    Post subject: Reply with quote

Interesting. Just tried to install dev-perl/Net-DNS on a x86 system where it was never installed before. Same problem as above. All the dependencies shown were never installed before either.
Code:

024-05-17T13:31:04 >>> dev-perl/Digest-BubbleBabble: 16s
2024-05-17T13:31:20 >>> dev-perl/Net-LibIDN2: 17s
2024-05-17T13:31:37 >>> virtual/perl-IO-Socket-IP: 11s
2024-05-17T13:31:48 >>> dev-perl/Net-DNS: 17s
2024-05-17T13:32:05 >>> dev-perl/Net-DNS-SEC: 17s
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Sat May 18, 2024 5:00 pm    Post subject: Reply with quote

Well I even just tried installing dev-lang/perl-5.38.2-r5, same problem. This problem only seems to happen on x86 machines. Anyone have any ideas?
Back to top
View user's profile Send private message
alix
n00b
n00b


Joined: 18 Aug 2019
Posts: 6

PostPosted: Sat May 18, 2024 5:12 pm    Post subject: Reply with quote

Same problem on current 32bit system here, with dev-perl/Net-DNS-SEC-1.220.0 package as well.

Stumped how to debug this, zero ideas about perl build system internals.
Back to top
View user's profile Send private message
alix
n00b
n00b


Joined: 18 Aug 2019
Posts: 6

PostPosted: Sun May 19, 2024 6:23 am    Post subject: Reply with quote

Reproduced on new installs of the following stages without any additional configuration:
  • stage3-i686-openrc-20240513T170400Z.tar.xz
  • stage3-i686-hardened-openrc-20240513T170400Z.tar.xz

Code:
# emerge -vaq1 dev-perl/Net-DNS

# perl -e "use Net::DNS"
lib/Net/LibIDN2.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)


Reported in bug 932176
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1820

PostPosted: Mon May 20, 2024 4:24 pm    Post subject: Reply with quote

Wow...This one looks like an ugly one. I was just about to do somewhat overdue updates on my 32-bit MythTV systems, but I might hold off.

I have to think this is somehow related to the new update from perl 5.38.2-r2 to perl-5.38.2-r3 (the one with the new PERL_FEATURES entry in make.conf).

I hope this gets sorted out. I wonder if temporarily masking >dev-lang/perl-5.38.2-r2 is feasible in the mean time(?).

Tom
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1699

PostPosted: Mon May 20, 2024 7:30 pm    Post subject: Reply with quote

Yes, it will, we're looking into it.
Back to top
View user's profile Send private message
alix
n00b
n00b


Joined: 18 Aug 2019
Posts: 6

PostPosted: Wed May 22, 2024 8:00 am    Post subject: Reply with quote

Resolved with https://bugs.gentoo.org/932176#c7 , thanks sam_
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1820

PostPosted: Wed May 22, 2024 10:29 am    Post subject: Reply with quote

Yes! Thanks sam_! Quick question: If I wanted this fix without syncing again, I wanted to be clear as to how I'd apply that. I apply patches to ebuilds all the time, but I assume that for this I just want to apply that patch directly to the eclass/perl-module.eclass file?

EDIT: Never mind...that's clearly what I have to do.

Thanks again!
Tom
Back to top
View user's profile Send private message
Poppenpopper
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2003
Posts: 80
Location: Böblingen

PostPosted: Wed May 22, 2024 4:17 pm    Post subject: Reply with quote

Hm, Libidn2 is solved. I am still having similar handshake issues while emerging package dev-perl/IO-Socket-SSL.

>>> Emerging (44 of 67) dev-perl/IO-Socket-SSL-2.85.0::gentoo
* IO-Socket-SSL-2.085.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking IO-Socket-SSL-2.085.tar.gz to /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work/IO-Socket-SSL-2.085 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/IO-Socket-SSL-2.85.0/work/IO-Socket-SSL-2.085 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL AR=i686-pc-linux-gnu-ar CC=i686-pc-linux-gnu-gcc CPP=i686-pc-linux-gnu-gcc -E LD=i686-pc-linux-gnu-gcc NM=i686-pc-linux-gnu-nm RANLIB=i686-pc-linux-gnu-ranlib OPTIMIZE=-O2 -march=i686 -pipe LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
lib/Net/IDN/Punycode.c: loadable library and perl binaries are mismatched (got first handshake key 0x8b00000, needed 0x8b80000)
* ERROR: dev-perl/IO-Socket-SSL-2.85.0::gentoo failed (configure phase):
* Unable to build!
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1820

PostPosted: Wed May 22, 2024 6:17 pm    Post subject: Reply with quote

Poppenpopper wrote:
Hm, Libidn2 is solved. I am still having similar handshake issues while emerging package dev-perl/IO-Socket-SSL.
I'm not sure what you have going on, but the updates I have running now on my two 32-bit systems after patching that eclass file had no problem with that one at all:
Code:
grep IO-Socket-SSL /var/log/emerge.log
1716397248:  >>> emerge (62 of 78) dev-perl/IO-Socket-SSL-2.85.0 to /
1716397248:  === (62 of 78) Cleaning (dev-perl/IO-Socket-SSL-2.85.0::/usr/portage/dev-perl/IO-Socket-SSL/IO-Socket-SSL-2.85.0.ebuild)
1716397248:  === (62 of 78) Compiling/Merging (dev-perl/IO-Socket-SSL-2.85.0::/usr/portage/dev-perl/IO-Socket-SSL/IO-Socket-SSL-2.85.0.ebuild)
1716397267:  === (62 of 78) Merging (dev-perl/IO-Socket-SSL-2.85.0::/usr/portage/dev-perl/IO-Socket-SSL/IO-Socket-SSL-2.85.0.ebuild)
1716397272:  >>> AUTOCLEAN: dev-perl/IO-Socket-SSL:0
1716397272:  === Unmerging... (dev-perl/IO-Socket-SSL-2.83.0)
1716397275:  >>> unmerge success: dev-perl/IO-Socket-SSL-2.83.0
1716397280:  === (62 of 78) Post-Build Cleaning (dev-perl/IO-Socket-SSL-2.85.0::/usr/portage/dev-perl/IO-Socket-SSL/IO-Socket-SSL-2.85.0.ebuild)
1716397280:  ::: completed emerge (62 of 78) dev-perl/IO-Socket-SSL-2.85.0 to /

Tom
Back to top
View user's profile Send private message
trosmus
n00b
n00b


Joined: 01 Apr 2015
Posts: 10
Location: Seattle, WA

PostPosted: Wed May 22, 2024 6:45 pm    Post subject: Reply with quote

Try re-merging
Code:
emerge dev-perl/Net-IDN-Encode
Back to top
View user's profile Send private message
Poppenpopper
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2003
Posts: 80
Location: Böblingen

PostPosted: Wed May 22, 2024 8:04 pm    Post subject: Reply with quote

trosmus wrote:
Try re-merging
Code:
emerge dev-perl/Net-IDN-Encode


That worked for me. Thanks a lot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum