Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc compilation fails
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
idrk
n00b
n00b


Joined: 23 Apr 2024
Posts: 3

PostPosted: Tue Apr 23, 2024 7:42 am    Post subject: glibc compilation fails Reply with quote

I had this problem since I moved to the 17 profile and bin packages. I tried updating my system and I get this error:
Code:
checking for broken __attribute__((alias()))... yes
configure: error: working alias attribute support required
 * ERROR: sys-libs/glibc-2.38-r11::gentoo failed (configure phase):
 *   failed to configure glibc
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3633:  Called foreach_abi 'do_src_configure'
 *   environment, line 1638:  Called do_src_configure
 *   environment, line 1311:  Called glibc_do_configure 'nptl'
 *   environment, line 2127:  Called die
 * The specific snippet of code:
 *       "$@" || die "failed to configure glibc";
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.38-r11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.38-r11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.38-r11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.38-r11/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.38-r11/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * S: '/var/tmp/portage/sys-libs/glibc-2.38-r11/work/glibc-2.38'

>>> Failed to emerge sys-libs/glibc-2.38-r11, Log file:

>>>  '/var/tmp/portage/sys-libs/glibc-2.38-r11/temp/build.log'
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-7' coro=<ForkProcess._proc_join() running at /usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py:224> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_EbuildFetcherProcess._proc_join_
done(<Process name...code=-SIGTERM>)()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-11' coro=<ForkProcess._main() running at /usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py:134> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/py
thon3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[SpawnProcess._main_exit()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-10' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<BuildLogger._main() running at /usr/lib/python3.11/site-packages/portage/util/_async/BuildLogger.py:129> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/pyt
hon3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[BuildLogger._main_exit()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-8' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>




Code:

➜ emerge --info '=sys-libs/glibc-2.38-r11::gentoo'
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.38-r10, 6.1.12-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-glibc2.38
KiB Mem:    16209036 total,   1204356 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sat, 20 Apr 2024 08:15:00 +0000
Head commit of repository gentoo: 39df30a947be2ba6937da2362ba0ae3ea6222540
Head commit of repository fol4: 1e4a7bbf72b03000a01d68d332a7d553ffb8be5e

Head commit of repository gentoo-zh: 695f3de341737087d5d89caae01179e1836e1806

Timestamp of repository guru: Mon, 22 Apr 2024 21:03:23 +0000
Head commit of repository guru: 97be5a29805aac27b8dd7d4adae48fb0e3e7117f

Head commit of repository pentoo: 8e50ca59f7687fa7927b0bbae7e27788746a939d

Head commit of repository raiagent: f0708f947a70bab0f1990ded1a01bfbc94b3f377

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.cn.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

fol4
    location: /var/db/repos/fol4
    sync-type: git
    sync-uri: https://gitlab.com/madsl/fol4
    masters: gentoo
    volatile: False

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/microcai/gentoo-zh.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay/
    masters: gentoo
    volatile: False

raiagent
    location: /var/db/repos/raiagent
    sync-type: git
    sync-uri: https://github.com/leycec/raiagent.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64

Installed sets: @conky
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -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=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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"
FFLAGS="-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.nju.edu.cn/gentoo/     http://mirrors.nju.edu.cn/gentoo/     https://mirrors.ustc.edu.cn/gentoo/     https://mirror.bytemark.co.uk/gentoo/     http://mirror.bytemark.co.uk/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
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/zsh"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdr crypt cups dbus dri dts dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pentoo png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 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 synaptics" 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" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel nvidia" 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, 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



Code:

➜ emerge -pqv '=sys-libs/glibc-2.38-r11::gentoo'
[ebuild     U ] sys-libs/glibc-2.38-r11 [2.38-r10] USE="multiarch (multilib*) ssp stack-realign* (static-libs) -audit -caps -cet -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)"

!!! The following installed packages are masked:
- app-arch/xz-utils-5.4.6-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Sam James <sam@gentoo.org> (2024-03-28)
# Newer releases were signed by a potentially compromised upstream maintainer.
# There is no evidence that these releases contain malicious code, but masked
# out of an abundance of caution. See bug #928134.

- dev-python/nspektr-0.5.0::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (2024-03-30)
# NIH package that was added for dev-python/setuptools but is no longer
# used there.
# Removal on 2024-04-29.  Bug #928270.


Code:

cat /var/tmp/portage/sys-libs/glibc-2.38-r11/temp/build.log:
 * Package:    sys-libs/glibc-2.38-r11:2.2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multiarch multilib ssp stack-realign static-libs
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12 ...                                                                                                                                                                                                         [ ok ]
 * Using python3.12 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
 * strip-flags: CFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: FFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: FCFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * Checking general environment sanity.
make -j6 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -march=skylake -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -march=skylake -pipe -O2 -fcf-protection=none   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test
 * Checking that IA32 emulation is enabled in the running kernel ...
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
 * Failed to compile the ABI test. Broken host glibc?                                                                                                                                                                                 [ ok ]
 * Checking running kernel version (6.1.12-gentoo-dist >= 3.2.0) ...                                                                                                                                                                  [ ok ]
 * Checking linux-headers version (6.6.0 >= 3.2.0) ...                                                                                                                                                                                [ ok ]
>>> Unpacking glibc-2.38.tar.xz to /var/tmp/portage/sys-libs/glibc-2.38-r11/work
>>> Unpacking glibc-2.38-patches-11.tar.xz to /var/tmp/portage/sys-libs/glibc-2.38-r11/work
>>> Source unpacked in /var/tmp/portage/sys-libs/glibc-2.38-r11/work
>>> Preparing source in /var/tmp/portage/sys-libs/glibc-2.38-r11/work/glibc-2.38 ...
 * Applying Gentoo Glibc patchset 2.38-11
 * Applying patches from /var/tmp/portage/sys-libs/glibc-2.38-r11/work/patches ...
 *   0001-Disable-ldconfig-during-install.patch ...                                                                                                                                                                                   [ ok ]
 *   0002-Adapt-to-Gentoo-specific-etc-mail-aliases.patch ...                                                                                                                                                                         [ ok ]
 *   0003-Force-O0-in-conform-tests-to-survive-CC-changes.patch ...                                                                                                                                                                   [ ok ]
 *   0004-Fix-miscompilation-on-ia64-s-gcc-10.patch ...                                                                                                                                                                               [ ok ]
 *   0005-linux-Use-getdents64-on-non-LFS-readdir.patch ...                                                                                                                                                                           [ ok ]
 *   0006-linux-Set-internal-DIR-filepos-as-off64_t-BZ-23960-B.patch ...                                                                                                                                                              [ ok ]
 *   0007-linux-Add-__readdir64_unlocked.patch ...                                                                                                                                                                                    [ ok ]
 *   0008-linux-Add-__old_readdir64_unlocked.patch ...                                                                                                                                                                                [ ok ]
 *   0009-linux-Use-getdents64-on-readdir64-compat-implementat.patch ...                                                                                                                                                              [ ok ]
 *   0010-stdlib-Improve-tst-realpath-compatibility-with-sourc.patch ...                                                                                                                                                              [ ok ]
 *   0011-x86-Fix-for-cache-computation-on-AMD-legacy-cpus.patch ...                                                                                                                                                                  [ ok ]
 *   0012-nscd-Do-not-rebuild-getaddrinfo-bug-30709.patch ...                                                                                                                                                                         [ ok ]
 *   0013-x86-Fix-incorrect-scope-of-setting-shared_per_thread.patch ...                                                                                                                                                              [ ok ]
 *   0014-x86_64-Fix-build-with-disable-multiarch-BZ-30721.patch ...                                                                                                                                                                  [ ok ]
 *   0015-i686-Fix-build-with-disable-multiarch.patch ...                                                                                                                                                                             [ ok ]
 *   0016-malloc-Enable-merging-of-remainders-in-memalign-bug-.patch ...                                                                                                                                                              [ ok ]
 *   0017-malloc-Remove-bin-scanning-from-memalign-bug-30723.patch ...                                                                                                                                                                [ ok ]
 *   0018-sysdeps-tst-bz21269-fix-test-parameter.patch ...                                                                                                                                                                            [ ok ]
 *   0019-sysdeps-tst-bz21269-handle-ENOSYS-skip-appropriately.patch ...                                                                                                                                                              [ ok ]
 *   0020-sysdeps-tst-bz21269-fix-Wreturn-type.patch ...                                                                                                                                                                              [ ok ]
 *   0021-io-Fix-record-locking-contants-for-powerpc64-with-__.patch ...                                                                                                                                                              [ ok ]
 *   0022-libio-Fix-oversized-__io_vtables.patch ...                                                                                                                                                                                  [ ok ]
 *   0023-elf-Do-not-run-constructors-for-proxy-objects.patch ...                                                                                                                                                                     [ ok ]
 *   0024-elf-Always-call-destructors-in-reverse-constructor-o.patch ...                                                                                                                                                              [ ok ]
 *   0025-elf-Remove-unused-l_text_end-field-from-struct-link_.patch ...                                                                                                                                                              [ ok ]
 *   0026-elf-Move-l_init_called_next-to-old-place-of-l_text_e.patch ...                                                                                                                                                              [ ok ]
 *   0027-NEWS-Add-the-2.38.1-bug-list.patch ...                                                                                                                                                                                      [ ok ]
 *   0028-CVE-2023-4527-Stack-read-overflow-with-large-TCP-res.patch ...                                                                                                                                                              [ ok ]
 *   0029-getaddrinfo-Fix-use-after-free-in-getcanonname-CVE-2.patch ...                                                                                                                                                              [ ok ]
 *   0030-iconv-restore-verbosity-with-unrecognized-encoding-n.patch ...                                                                                                                                                              [ ok ]
 *   0031-string-Fix-tester-build-with-fortify-enable-with-gcc.patch ...                                                                                                                                                              [ ok ]
 *   0032-manual-jobs.texi-Add-missing-item-EPERM-for-getpgid.patch ...                                                                                                                                                               [ ok ]
 *   0033-Fix-leak-in-getaddrinfo-introduced-by-the-fix-for-CV.patch ...                                                                                                                                                              [ ok ]
 *   0034-Document-CVE-2023-4806-and-CVE-2023-5156-in-NEWS.patch ...                                                                                                                                                                  [ ok ]
 *   0035-Propagate-GLIBC_TUNABLES-in-setxid-binaries.patch ...                                                                                                                                                                       [ ok ]
 *   0036-tunables-Terminate-if-end-of-input-is-reached-CVE-20.patch ...                                                                                                                                                              [ ok ]
 *   0037-elf-dl-tunables.c-avoid-processing-of-tunables-in-AT.patch ...                                                                                                                                                              [ ok ]
 *   0038-Revert-elf-Remove-unused-l_text_end-field-from-struc.patch ...                                                                                                                                                              [ ok ]
 *   0039-Revert-elf-Always-call-destructors-in-reverse-constr.patch ...                                                                                                                                                              [ ok ]
 *   0040-Revert-elf-Move-l_init_called_next-to-old-place-of-l.patch ...                                                                                                                                                              [ ok ]
 *   0041-sysdeps-sem_open-Clear-O_CREAT-when-semaphore-file-i.patch ...                                                                                                                                                              [ ok ]
 *   0042-elf-Fix-wrong-break-removal-from-8ee878592c.patch ...                                                                                                                                                                       [ ok ]
 *   0043-LoongArch-Delete-excessively-allocated-memory.patch ...                                                                                                                                                                     [ ok ]
 *   0044-elf-Fix-TLS-modid-reuse-generation-assignment-BZ-290.patch ...                                                                                                                                                              [ ok ]
 *   0045-elf-Add-TLS-modid-reuse-test-for-bug-29039.patch ...                                                                                                                                                                        [ ok ]
 *   0046-x86-64-Fix-the-dtv-field-load-for-x32-BZ-31184.patch ...                                                                                                                                                                    [ ok ]
 *   0047-x86-64-Fix-the-tcb-field-load-for-x32-BZ-31185.patch ...                                                                                                                                                                    [ ok ]
 *   0048-NEWS-Mention-bug-fixes-for-29039-30694-30709-30721.patch ...                                                                                                                                                                [ ok ]
 *   0049-NEWS-Mention-bug-fixes-for-30745-30843.patch ...                                                                                                                                                                            [ ok ]
 *   0050-Gentoo-Disable-valgrind-based-tests-too-unreliable.patch ...                                                                                                                                                                [ ok ]
 *   0051-getaddrinfo-translate-ENOMEM-to-EAI_MEMORY-bug-31163.patch ...                                                                                                                                                              [ ok ]
 *   0052-libio-Check-remaining-buffer-size-in-_IO_wdo_write-b.patch ...                                                                                                                                                              [ ok ]
 *   0053-syslog-Fix-heap-buffer-overflow-in-__vsyslog_interna.patch ...                                                                                                                                                              [ ok ]
 *   0054-syslog-Fix-heap-buffer-overflow-in-__vsyslog_interna.patch ...                                                                                                                                                              [ ok ]
 *   0055-syslog-Fix-integer-overflow-in-__vsyslog_internal-CV.patch ...                                                                                                                                                              [ ok ]
 *   0056-i386-Use-generic-memrchr-in-libc-bug-31316.patch ...                                                                                                                                                                        [ ok ]
 *   0057-Mitigation-for-clone-on-sparc-might-fail-with-EFAULT.patch ...                                                                                                                                                              [ ok ]
 *   0058-x86_64-Optimize-ffsll-function-code-size.patch ...                                                                                                                                                                          [ ok ]
 *   0059-S390-Fix-building-with-disable-mutli-arch-BZ-31196.patch ...                                                                                                                                                                [ ok ]
 *   0060-sparc-Fix-broken-memset-for-sparc32-BZ-31068.patch ...                                                                                                                                                                      [ ok ]
 *   0061-sparc64-Remove-unwind-information-from-signal-return.patch ...                                                                                                                                                              [ ok ]
 *   0062-sparc-Fix-sparc64-memmove-length-comparison-BZ-31266.patch ...                                                                                                                                                              [ ok ]
 *   0063-sparc-Remove-unwind-information-from-signal-return-s.patch ...                                                                                                                                                              [ ok ]
 *   0064-arm-Remove-wrong-ldr-from-_dl_start_user-BZ-31339.patch ...                                                                                                                                                                 [ ok ]
 *   0065-malloc-Use-__get_nprocs-on-arena_get2-BZ-30945.patch ...                                                                                                                                                                    [ ok ]
 * Done.
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating scripts/config.sub ...                                                                                                                                                                                                  [ ok ]
 *   Updating scripts/config.guess ...                                                                                                                                                                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/glibc-2.38-r11/work/glibc-2.38 ...
 * strip-flags: CFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: CFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=skylake -mabm -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144               -O2 -pipe' to '-march=skylake -O2 -pipe'
make -j6 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -march=skylake -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -march=skylake -pipe -O2 -m32 -mfpmath=sse  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [<builtin>: glibc-test] Error 1
emake failed
 * Auto adding -march=i686 to CFLAGS_x86 #185404 (ABI=x86)
 * Running do_src_configure for ABI x86
 * ==== glibc build environment ========================================================
 *             ABI:   x86
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   i686-pc-linux-gnu
 *     CTARGET_OPT:   i686-pc-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
 *             CXX:   x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none
 *             CPP:   x86_64-pc-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -mstackrealign
 *              LD:   
 *         ASFLAGS:   
 *          CFLAGS:   -pipe -O2 -fcf-protection=none
 *        CPPFLAGS:   
 *        CXXFLAGS:   -pipe -O2 -fcf-protection=none
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
 *        MAKEINFO:   /dev/null
 *              NM:   x86_64-pc-linux-gnu-nm
 *              AR:   
 *              AS:   
 *           STRIP:   
 *          RANLIB:   
 *         OBJCOPY:   
 *         STRINGS:   
 *         OBJDUMP:   
 *         READELF:   x86_64-pc-linux-gnu-readelf
 * =====================================================================================
/var/tmp/portage/sys-libs/glibc-2.38-r11/work/glibc-2.38/configure --enable-stack-protector=strong --disable-cet --enable-kernel=3.2.0 --without-selinux --disable-werror --enable-bind-now --enable-fortify-source --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(prefix)/lib --mandir=$(prefix)/share/man --infodir=$(prefix)/share/info --libexecdir=$(libdir)/misc/glibc --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.38-r11 (patchset 11) --disable-crypt --disable-systemtap --disable-nscd ac_cv_path_PERL=no libc_cv_complocaledir=${exec_prefix}/lib/locale libc_cv_aarch64_sve_asm=yes --disable-timezone-tools
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 -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs option to enable C11 features... none needed
checking whether the compiler supports GNU C++... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none accepts -g... yes
checking for x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none option to enable C++11 features... unsupported
checking for x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none option to enable C++98 features... unsupported
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 loongarch m68k microblaze checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
mips nios2 or1k powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
sparc x86_64
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether ln -s works... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... 2.41.0, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.22.4, ok
checking for makeinfo... /dev/null
checking version of /dev/null... v. ?.??, bad
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... gawk
checking version of gawk... 5.3.0, ok
checking for bison... bison
checking version of bison... 3.8.2, ok
checking if x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -mstackrealign -pipe -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.12.2, ok
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features or tests will be disabled.
*** Check the INSTALL file for required versions.
checking for use of fpu sysdeps directories... yes
checking for -fstack-protector... no
checking for -fstack-protector-strong... no
checking for -fstack-protector-all... no
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking whether the linker supports textrels along with ifunc... yes
checking for GNU attribute retain support... no
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/i386/i686 sysdeps/i386/i686/nptl sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/i386/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu/multiarch sysdeps/i386/i686/fpu sysdeps/i386/i686/multiarch sysdeps/i386/i686 sysdeps/i386/fpu sysdeps/x86/fpu sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic
checking LD_LIBRARY_PATH variable... ok
checking for bash... /bin/bash
checking for perl... (cached) no
checking for install-info... /usr/bin/install-info
checking for .set assembler directive... yes
checking linker support for protected data symbol... yes
checking linker support for INSERT in linker script... no
checking for broken __attribute__((alias()))... yes
configure: error: working alias attribute support required
 * ERROR: sys-libs/glibc-2.38-r11::gentoo failed (configure phase):
 *   failed to configure glibc
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3633:  Called foreach_abi 'do_src_configure'
 *   environment, line 1638:  Called do_src_configure
 *   environment, line 1311:  Called glibc_do_configure 'nptl'
 *   environment, line 2127:  Called die
 * The specific snippet of code:
 *       "$@" || die "failed to configure glibc";
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.38-r11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.38-r11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.38-r11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.38-r11/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.38-r11/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * S: '/var/tmp/portage/sys-libs/glibc-2.38-r11/work/glibc-2.38'
Back to top
View user's profile Send private message
xgivolari
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2021
Posts: 75

PostPosted: Tue Apr 23, 2024 8:26 am    Post subject: Reply with quote

Hello idrk,

Welcome to the forums.

Your selected profile does not match your configured binhost. Your profile is based on 23.0, while your binhost is for 17.1. Although I cannot say for sure if this is the cause for the issue at hand, it is guaranteed to cause trouble sooner or later. Configuring a binhost that matches your profile may just solve your problem already.
Back to top
View user's profile Send private message
idrk
n00b
n00b


Joined: 23 Apr 2024
Posts: 3

PostPosted: Tue Apr 23, 2024 8:47 am    Post subject: Reply with quote

hey, thanks.

so I updated my binhost to 23, and I tried updating everything again, and glibc falied again with the same error.
I tried installing it with 'emerge -ag sys-libs/glibc' and it worked, but now i'm getting this error with ncurses

Code:
>>> Emerging (1 of 135) sys-libs/ncurses-6.4_p20230401::gentoo
 * ncurses-6.4.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                      [ ok ]
 * ncurses-6.4-20230107.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230114.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230121.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230128.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230211.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230218.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230225.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230311.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4-20230401.patch.gz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * ncurses-6.4_p20230408-patches.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking ncurses-6.4.tar.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230107.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230114.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230121.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230128.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230211.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230218.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230225.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230311.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4-20230401.patch.gz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Unpacking ncurses-6.4_p20230408-patches.tar.xz to /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Source unpacked in /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work
>>> Preparing source in /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4 ...
 * Applying ncurses-6.4-20230107.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230114.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230121.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230128.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230211.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230218.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230225.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230311.patch ...                                                                                                             [ ok ]
 * Applying ncurses-6.4-20230401.patch ...                                                                                                             [ ok ]
 * Applying patches from /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4_p20230408-patches ...
 *   0001-Add-wchar.h-nongnu.patch ...                                                                                                                 [ ok ]
 *   0002-Add-rxvt-unicode-terminfo-required-by-rxvt-unicode-t.patch ...                                                                               [ ok ]
 *   0003-Disable-search-for-PKG_CONFIG.patch ...                                                                                                      [ ok ]
 *   0004-Always-include-ticlib-even-when-progs-are-disabled.patch ...                                                                                 [ ok ]
 *   0005-Fix-include-paths-for-cross-compilation.patch ...                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating ncurses-6.4/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating ncurses-6.4/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --libdir=/usr/lib --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --enable-pc-files --with-pkg-config-libdir=/usr/lib/pkgconfig --with-shared --without-hashed-db --without-ada --with-cxx --with-cxx-binding --with-cxx-shared --without-debug --without-profile --without-gpm --disable-term-driver --disable-termcap --enable-symlinks --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-hard-tabs --enable-echo --enable-warnings --without-assertions --enable-leaks --without-expanded --with-macros --without-progs --without-tests --without-trace --with-termlib --disable-stripping --disable-pkg-ldflags --disable-widec --without-pthread --without-reentrant --enable-overwrite
checking for ggrep... no
checking for grep... grep
checking for egrep... grep -E
Configuring NCURSES 6.4 ABI 6 (Tue Apr 23 12:12:06 +0330 2024)
checking for package version... 6.4
checking for package patch date... 20230401
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for fgrep... grep -F
checking for prefix... /usr
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse
checking for C compiler default output... configure: error: C compiler cannot create executables

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4-abi_x86_32.x86/ncurses/config.log
 * ERROR: sys-libs/ncurses-6.4_p20230401::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2235:  Called multilib-minimal_src_configure
 *             environment, line 1466:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1716:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1421:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1419:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  497:  Called multilib-minimal_abi_src_configure
 *             environment, line 1460:  Called multilib_src_configure
 *             environment, line 1950:  Called do_configure 'ncurses'
 *             environment, line  774:  Called econf '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--enable-pc-files' '--with-pkg-config-libdir=/usr/lib/pkgconfig' '--with-shared' '--without-hashed-db' '--without-ada' '--with-cxx' '--with-cxx-binding' '--with-cxx-shared' '--without-debug' '--without-profile' '--without-gpm' '--disable-term-driver' '--disable-termcap' '--enable-symlinks' '--with-manpage-format=normal' '--enable-const' '--enable-colorfgbg' '--enable-hard-tabs' '--enable-echo' '--enable-warnings' '--without-assertions' '--enable-leaks' '--without-expanded' '--with-macros' '--without-progs' '--without-tests' '--without-trace' '--with-termlib' '--disable-stripping' '--disable-pkg-ldflags' '--disable-widec' '--without-pthread' '--without-reentrant' '--enable-overwrite'
 *        phase-helpers.sh, line  732:  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/ncurses-6.4_p20230401::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.4_p20230401::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4-abi_x86_32.x86/ncurses'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4'
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21670

PostPosted: Tue Apr 23, 2024 3:47 pm    Post subject: Reply with quote

Please follow the instructions that you quoted:
Code:
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.4_p20230401::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.4_p20230401::gentoo'`.
In this case, I expect we will also want you to follow:
Code:
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4-abi_x86_32.x86/ncurses/config.log
Rather than post them inline, use a pastebin and post a link here to the pastebin upload.

If I had to guess, I would say that your support for 32-bit is broken.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Tue Apr 23, 2024 7:09 pm    Post subject: Reply with quote

idrk wrote:
Code:

➜ emerge -pqv '=sys-libs/glibc-2.38-r11::gentoo'
[ebuild     U ] sys-libs/glibc-2.38-r11 [2.38-r10] USE="multiarch (multilib*) ssp stack-realign* (static-libs) -audit -caps -cet -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)"
Hm, sounds like you switched from a no-multilib to a multilib profile.

Please post the output from
Code:
emerge -pvO sys-devel/gcc
too.
Back to top
View user's profile Send private message
idrk
n00b
n00b


Joined: 23 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 4:55 am    Post subject: Reply with quote

https://privatebin.io/?5de1c83e1a8a0bbe#67htHgUN8SZBM5yEuq9Ptph1FYqPsyeAhKoHkfB6VRin
https://privatebin.io/?dc83573a61c82840#78gtiwDUtbdkg4d3k9sYBfzdvHraoZNYBDE2ArjYqiLa

config.log file: https://privatebin.io/?e23778cbf74f00e2#5tmhJmPYp2Di7SRGL4kmuFMfuVbUAg9TuKLyjipaHcWw

and also, i switched to this profile when i updated a while back:
[46] default/linux/amd64/23.0/split-usr/desktop (stable) *

Code:
➜ emerge -pvO sys-devel/gcc

These are the packages that would be merged, in order:

[ebuild   R    ] sys-devel/gcc-13.2.1_p20240210:13::gentoo  USE="(cxx) (default-stack-clash-protection*) (default-znow*) fortran (multilib*) nls openmp (pie) sanitize ssp -ada -cet (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv -zstd" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21670

PostPosted: Wed Apr 24, 2024 2:32 pm    Post subject: Reply with quote

Those links fail for me with a JavaScript error. However, the emerge -pvO sys-devel/gcc output is useful. As I read that, gcc is not multilib-enabled, so a failure of -m32 is expected. How did you get a no-multilib gcc installed on a multilib system? I would have expected Portage to fight you on this due to the USE flag being forced. You probably need to install a multilib gcc before you can continue, and you will need a multilib gcc already installed if you want to build a multilib gcc locally.
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 487

PostPosted: Wed Apr 24, 2024 6:57 pm    Post subject: Reply with quote

Guessing they forced binary packages without matching useflags. Their binhost setting is still a 17.1 binhost and those gcc useflags changes show it's coming from the 17.1 use flags. In addition the binhosts generally aren't multilib
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