View previous topic :: View next topic |
Author |
Message |
amandini n00b

Joined: 01 Jul 2020 Posts: 36
|
Posted: Sun Apr 27, 2025 12:06 am Post subject: cannot update libxcrypt [SOLVED] |
|
|
Update of libxcrypt failed with the output below. Any suggestions as to what may be wrong?
Code: | #emerge -pqv '=sys-libs/libxcrypt-4.4.38::gentoo'
[ebuild U ] sys-libs/libxcrypt-4.4.38 [4.4.36-r3] USE="(compat) (system) -headers-only -static-libs -test" ABI_X86="32 (64) (-x32)"
|
and
Code: | #cat /var/tmp/portage/sys-libs/libxcrypt-4.4.38/temp/build.log
* Package: sys-libs/libxcrypt-4.4.38:0/1
* Repository: gentoo
* Maintainer: toolchain@gentoo.org
* USE: abi_x86_32 abi_x86_64 amd64 compat elibc_glibc kernel_linux system
* FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* xcrypt_compat: running multilib-minimal_src_configure
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
checking for a BSD-compatible install... /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking pkg-config is at least version 0.27... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse
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... configure: error: in '/var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
See 'config.log' for more details
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86/config.log
* ERROR: sys-libs/libxcrypt-4.4.38::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2644: Called multibuild_foreach_variant 'multilib-minimal_src_configure'
* environment, line 1471: Called _multibuild_run 'multilib-minimal_src_configure'
* environment, line 1469: Called multilib-minimal_src_configure
* environment, line 1516: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 1766: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1471: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1469: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 315: Called multilib-minimal_abi_src_configure
* environment, line 1510: Called multilib_src_configure
* environment, line 1999: Called econf '--disable-werror' '--prefix=/usr' '--libdir=/usr/lib' '--includedir=/usr/include' '--with-pkgconfigdir=/usr/lib/pkgconfig' '--with-sysroot=' '--disable-static' '--disable-xcrypt-compat-files' '--enable-obsolete-api=yes'
* phase-helpers.sh, line 647: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-libs/libxcrypt-4.4.38::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/libxcrypt-4.4.38::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/libxcrypt-4.4.38/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/libxcrypt-4.4.38/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86'
* S: '/var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38' |
and
Code: | #sudo emerge --info '=sys-libs/libxcrypt-4.4.38::gentoo'
Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r8, 6.12.21-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-11800H_@_2.30GHz-with-glibc2.40
KiB Mem: 131638584 total, 95221936 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 26 Apr 2025 20:45:00 +0000
Head commit of repository gentoo: 1465044b4351f6d25e21d7863063dfafab783cae
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.17-r1::gentoo
dev-build/cmake: 3.31.5::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin: 1.85.1::gentoo
llvm-core/clang: 19.1.7::gentoo
llvm-core/lld: 19.1.7::gentoo
llvm-core/llvm: 19.1.7::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=tigerlake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=tigerlake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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"
FCFLAGS="-march=tigerlake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=tigerlake -O2 -pipe"
GENTOO_MIRRORS="rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt cvs dbus dri dts dvd dvdr elogind encode examples exif flac gdbm gif git gpm gtk gui iconv icu ipv6 jpeg kf6compat latex lcms libnotify libtirpc mad mng modules mp3 mp4 mpeg mpi multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml readline sasl sdl seccomp sna sound spell split-usr sqlite ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode upower usb uxa vorbis vulkan wayland wxwidgets x264 xattr xcb xfs xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
Last edited by amandini on Sun Apr 27, 2025 6:35 am; edited 2 times in total |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23381
|
Posted: Sun Apr 27, 2025 12:46 am Post subject: Re: cannot update libxcrypt |
|
|
amandini wrote: | Code: | !!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86/config.log |
| Please follow the instructions that Portage gave you. Upload this file to a pastebin for us to review.
If I had to guess, your kernel does not have IA32_EMULATION enabled, or your 32-bit libc is broken. The former is much more common. |
|
Back to top |
|
 |
amandini n00b

Joined: 01 Jul 2020 Posts: 36
|
Posted: Sun Apr 27, 2025 12:57 am Post subject: Re: cannot update libxcrypt |
|
|
Hu wrote: | amandini wrote: | Code: | !!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86/config.log |
| Please follow the instructions that Portage gave you. Upload this file to a pastebin for us to review.
If I had to guess, your kernel does not have IA32_EMULATION enabled, or your 32-bit libc is broken. The former is much more common. |
Thanks, I have posted the log file at https://pastebin.com/y0qejbcw. The kernel does seem to have the emulation:
Code: | Symbol: IA32_EMULATION [=y]
│ Type : bool
│ Defined at arch/x86/Kconfig:3128
│ Prompt: IA32 Emulation
│ Depends on: X86_64 [=y]
│ Location:
│ -> Binary Emulations
│ (3) -> IA32 Emulation (IA32_EMULATION [=y])
│ Selects: ARCH_WANT_OLD_COMPAT_IPC [=y] && BINFMT_ELF [=y] && COMPAT_OLD_SIGACTION [=y]
|
|
|
Back to top |
|
 |
amandini n00b

Joined: 01 Jul 2020 Posts: 36
|
Posted: Sun Apr 27, 2025 1:43 am Post subject: Re: cannot update libxcrypt [solved] |
|
|
Hu wrote: | amandini wrote: | Code: | !!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/libxcrypt-4.4.38/work/libxcrypt-4.4.38-xcrypt_compat-abi_x86_32.x86/config.log |
| Please follow the instructions that Portage gave you. Upload this file to a pastebin for us to review.
If I had to guess, your kernel does not have IA32_EMULATION enabled, or your 32-bit libc is broken. The former is much more common. |
Thank you for providing these clues, the problem seems to have been caused by:
Code: | Symbol: IA32_EMULATION_DEFAULT_DISABLED [=y] |
|
|
Back to top |
|
 |
|
|
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
|
|