Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

tar: This does not look like a tar archive

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

tar: This does not look like a tar archive

  • Quote

Post by sorabji » Mon Sep 15, 2025 6:42 pm

Hello,

My installation started having this problem a while go. Nothing will unzip in portage. Because of this, this system hasn't been updated in many months, and trying to update both gzip and tar result in errors in decompressing those files.

Perhaps the only solutions is to re-install?

Thanks for any pointers.

Code: Select all

>>> Emerging (1 of 593) sys-libs/glibc-2.41-r5::gentoo
 * glibc-2.41.tar.xz BLAKE2B SHA512 size ;-) ...                                                                      [ ok ]
 * glibc-2.41-patches-7.tar.xz BLAKE2B SHA512 size ;-) ...                                                            [ ok ]
 * Checking whether python3_13 is suitable ...
 *   dev-lang/python:3.13 ...                                                                                         [ ok ]
 * Using python3.13 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
 * Checking general environment sanity.
 * Performing simple compile test for ABI=amd64 ...
make -j24 -l25 glibc-test
x86_64-pc-linux-gnu-gcc -m64 -O2 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -O2   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o glibc-test                                                                       [ ok ]
 * Checking if the system can execute 32-bit binaries ...                                                             [ ok ]
 * Checking running kernel version (6.6.74-gentoo-dist >= 3.2.0) ...                                                  [ ok ]
 * Checking linux-headers version (6.12.0 >= 3.2.0) ...                                                               [ ok ]
>>> Unpacking glibc-2.41.tar.xz to /var/tmp/portage/sys-libs/glibc-2.41-r5/work
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: sys-libs/glibc-2.41-r5::gentoo failed (unpack phase):
 *   unpack: failure unpacking glibc-2.41.tar.xz
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_unpack
 *             environment, line 3312:  Called unpack 'glibc-2.41.tar.xz'
 *        phase-helpers.sh, line  478:  Called __unpack_tar 'xz -T24 -d'
 *        phase-helpers.sh, line  391:  Called __assert_sigpipe_ok 'unpack: failure unpacking glibc-2.41.tar.xz'
 *   isolated-functions.sh, line   41:  Called die
 * The specific snippet of code:
 *              [[ ${x} -ne 0 && ${x} -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
*** *** ***

Output of: emerge --info '=sys-libs/glibc-2.41-r5::gentoo'

Code: Select all


Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r8, 6.6.74-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.74-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_X5690_@_3.47GHz-with-glibc2.40
KiB Mem:    98922980 total,  83450164 free
KiB Swap:   49151996 total,  49151996 free
Timestamp of repository gentoo: Fri, 12 Sep 2025 12:05:00 +0000
Head commit of repository gentoo: 78e6e7f91bf2a164d4d03625163c74484a628ef0
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.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.84.1-r2::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: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d"
CXXFLAGS=""
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=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="https://gentoo.osuosl.org/     http://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j24 -l25"
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"
RUSTFLAGS=" -C target-cpu=westmere"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib n0-multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb 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="mmx mmxext sse sse2 popcnt 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="radeon" 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, SIZE, STRINGS, STRIP, YACC, YFLAGS
[Administrator edit: added [code] tags to preserve output layout. -Hu]
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56108
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Sep 15, 2025 7:28 pm

sorabji,

Your Gentoo is a little bit bent. It's unlikely you need to reinstall.
It's quite difficult to break gentoo that badly.

It looks like tar or xz is broken.

What happens if you use xz to unpack the tarball by hand?
Does tar -xf workeon the output file?

I'm expecting one of those commands to fail
You need to install a binary package of whichever that is.
It could also be a problem with a library the xz or tar need.
The end of dmesg may have some useful information.

Anyway, baby steps. See what you can learn so we can fix it first time.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Mon Sep 15, 2025 7:42 pm

In addition to what Neddy said, I'll note your CFLAGS and CXXFLAGS are blank. While that's not technically *wrong*, it's very unlikely you want that.
Top
b11n
Guru
Guru
User avatar
Posts: 303
Joined: Wed Mar 26, 2003 8:15 am
Location: New Zealand

  • Quote

Post by b11n » Mon Sep 15, 2025 8:32 pm

NeddySeagoon wrote:Your Gentoo is a little bit bent.
none taken
Is there gas in the caaaaar?
Yes, there's gas in the caaaar
Top
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

  • Quote

Post by sorabji » Tue Sep 16, 2025 2:34 am

NeddySeagoon wrote:sorabji,

Your Gentoo is a little bit bent. It's unlikely you need to reinstall.
It's quite difficult to break gentoo that badly.

It looks like tar or xz is broken.

What happens if you use xz to unpack the tarball by hand?
Does tar -xf workeon the output file?

I'm expecting one of those commands to fail
You need to install a binary package of whichever that is.
It could also be a problem with a library the xz or tar need.
The end of dmesg may have some useful information.

Anyway, baby steps. See what you can learn so we can fix it first time.

Turned out to be borked library of xz-tools. Re-emerging that fixed it.

Thanks for the tip!

Moderator note: Fixed broken bb quote tag. -- Banana
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Tue Sep 16, 2025 12:00 pm

If you can reproduce broken xz-utils by following some steps to share with me, I'd very much love to see them so I can debug it. Thank you!
Top
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

  • Quote

Post by sorabji » Tue Sep 16, 2025 5:07 pm

sam_ wrote:In addition to what Neddy said, I'll note your CFLAGS and CXXFLAGS are blank. While that's not technically *wrong*, it's very unlikely you want that.
Yes, that's curious, since emerge --info * did put that out. But going to the make.conf file directly doesn't show that, but rather what is the default option on an initial install.
Top
sam_
Developer
Developer
User avatar
Posts: 2823
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Tue Sep 16, 2025 5:10 pm

Dunno, could mean you had it exported in the environment or something. The default make.conf and setup does not do that.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Sep 16, 2025 6:02 pm

Now that you corrected the prior problem, what is the output of declare -p | grep FLAGS; emerge --info sys-libs/glibc ; /usr/bin/env -i /usr/bin/emerge --info sys-libs/glibc ; (set -x; grep -n FLAGS /etc/portage/make.conf ; grep -rn sys-libs/glibc /etc/portage/package.env )? This is an attempt to identify why your CFLAGS show as blank when you think they should not.
Top
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

  • Quote

Post by sorabji » Wed Sep 17, 2025 6:49 pm

Hu wrote:Now that you corrected the prior problem, what is the output of declare -p | grep FLAGS; emerge --info sys-libs/glibc ; /usr/bin/env -i /usr/bin/emerge --info sys-libs/glibc ; (set -x; grep -n FLAGS /etc/portage/make.conf ; grep -rn sys-libs/glibc /etc/portage/package.env )? This is an attempt to identify why your CFLAGS show as blank when you think they should not.
declare -p | grep FLAGS; emerge --info sys-libs/glibc
Portage 3.0.68 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r5, 6.6.74-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.74-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_X5690_@_3.47GHz-with-glibc2.41
KiB Mem: 98922980 total, 50334848 free
KiB Swap: 49151996 total, 49151996 free
Timestamp of repository gentoo: Wed, 17 Sep 2025 16:45:01 +0000
Head commit of repository gentoo: c28cb677d5695ad8987e1226a5b920629f7b7e3c
sh bash 5.2_p37-r4
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37-r4::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r3::gentoo
dev-build/automake: 1.17-r1::gentoo, 1.18.1::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.9::gentoo, 3.13.5_p1::gentoo
dev-lang/rust-bin: 1.84.1-r2::gentoo, 1.88.0::gentoo
llvm-core/clang: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/lld: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/llvm: 19.1.7::gentoo, 20.1.8::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.62.9::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44-r4::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.3.0::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41-r5::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: 3
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/a ... 3.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=westmere -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d"
CXXFLAGS="-march=westmere -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=westmere -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=westmere -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j24 -l25"
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"
RUSTFLAGS=" -C target-cpu=westmere"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib n0-multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb 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="mmx mmxext sse sse2 popcnt 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="radeon" 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, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sys-libs/glibc-2.41-r5::gentoo was built with the following:
USE="cet multiarch (multilib) ssp stack-realign (static-libs) -audit -caps -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

gawd ~ # /usr/bin/env -i /usr/bin/emerge --info sys-libs/glibc
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
Portage 3.0.68 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r5, 6.6.74-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.74-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_X5690_@_3.47GHz-with-glibc2.41
KiB Mem: 98922980 total, 50348028 free
KiB Swap: 49151996 total, 49151996 free
Timestamp of repository gentoo: Wed, 17 Sep 2025 16:45:01 +0000
Head commit of repository gentoo: c28cb677d5695ad8987e1226a5b920629f7b7e3c
sh bash 5.2_p37-r4
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37-r4::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r3::gentoo
dev-build/automake: 1.17-r1::gentoo, 1.18.1::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.9::gentoo, 3.13.5_p1::gentoo
dev-lang/rust-bin: 1.84.1-r2::gentoo, 1.88.0::gentoo
llvm-core/clang: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/lld: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/llvm: 19.1.7::gentoo, 20.1.8::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.62.9::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44-r4::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.3.0::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41-r5::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-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/a ... 3.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=westmere -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d"
CXXFLAGS="-march=westmere -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=westmere -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=westmere -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j24 -l25"
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"
RUSTFLAGS=" -C target-cpu=westmere"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib n0-multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb 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="mmx mmxext sse sse2 popcnt 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="radeon" 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, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sys-libs/glibc-2.41-r5::gentoo was built with the following:
USE="cet multiarch (multilib) ssp stack-realign (static-libs) -audit -caps -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

gawd ~ # set -x; grep -n FLAGS /etc/portage/make.conf
+ grep --color=auto -n FLAGS /etc/portage/make.conf
5:COMMON_FLAGS="-march=westmere -O2 -pipe"
6:CFLAGS="${COMMON_FLAGS}"
7:CXXFLAGS="${COMMON_FLAGS}"
8:FCFLAGS="${COMMON_FLAGS}"
9:FFLAGS="${COMMON_FLAGS}"
10:RUSTFLAGS="${RUSTFLAGS} -C target-cpu=westmere"
++ genfun_set_win_title
++ genfun_sanitise_cwd
++ _cwd=root
++ [[ ! -n root ]]
++ [[ root == *[![:graph:]]* ]]
++ printf '\033]0;%s@%s - %s\007' jjnunes gawd root
gawd ~ # grep -rn sys-libs/glibc /etc/portage/package.env
+ grep --color=auto -rn sys-libs/glibc /etc/portage/package.env
grep: /etc/portage/package.env: No such file or directory
++ genfun_set_win_title
++ genfun_sanitise_cwd
++ _cwd=root
++ [[ ! -n root ]]
++ [[ root == *[![:graph:]]* ]]
++ printf '\033]0;%s@%s - %s\007' jjnunes gawd root
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Sep 17, 2025 6:55 pm

Your flags appear to be fine now. Whatever made them blank in the post that sam_ called out seems not to have affected the post where you answered my question. I think there is nothing more to look at there.
Top
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

  • Quote

Post by sorabji » Wed Sep 17, 2025 6:57 pm

The only remaining significant problem with this installation now is that dev-util/cargo-c-0.10.13-r1 is having a compile error. Maybe this is documented and known error and I just need to wait for a fix.

Running `/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13/target/release/build/curl-4045ea1e8b6c3c54/build-script-build`
Running `/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13/target/release/build/cargo-c5df2a8cc6de4f32/build-script-build`
error: failed to run custom build command for `cargo v0.88.0`

Caused by:
process didn't exit successfully: `/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13/target/release/build/cargo-c5df2a8cc6de4f32/build-script-build` (signal: 4, SIGILL: illegal instruction)
--- stdout
cargo:rerun-if-env-changed=CFG_OMIT_GIT_HASH
cargo:rerun-if-changed=src/etc/man/cargo-add.1
warning: build failed, waiting for other jobs to finish...
* ERROR: dev-util/cargo-c-0.10.13-r1::gentoo failed (compile phase):
* cargo build failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 1496: Called cargo_src_compile
* environment, line 909: Called die
* The specific snippet of code:
* cargo_env "${@}" || die "cargo build failed"
*
* If you need support, post the output of `emerge --info '=dev-util/cargo-c-0.10.13-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/cargo-c-0.10.13-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13'
* S: '/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13'

>>> Failed to emerge dev-util/cargo-c-0.10.13-r1, Log file:

>>> '/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/temp/build.log'

* Messages for package dev-util/cargo-c-0.10.13-r1:

* ERROR: dev-util/cargo-c-0.10.13-r1::gentoo failed (compile phase):
* cargo build failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 1496: Called cargo_src_compile
* environment, line 909: Called die
* The specific snippet of code:
* cargo_env "${@}" || die "cargo build failed"

emerge --info '=dev-util/cargo-c-0.10.13-r1::gentoo'
+ emerge --info =dev-util/cargo-c-0.10.13-r1::gentoo
Portage 3.0.68 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r5, 6.6.74-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.74-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_X5690_@_3.47GHz-with-glibc2.41
KiB Mem: 98922980 total, 48404512 free
KiB Swap: 49151996 total, 49151996 free
Timestamp of repository gentoo: Wed, 17 Sep 2025 16:45:01 +0000
Head commit of repository gentoo: c28cb677d5695ad8987e1226a5b920629f7b7e3c
sh bash 5.2_p37-r4
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37-r4::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r3::gentoo
dev-build/automake: 1.17-r1::gentoo, 1.18.1::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.9::gentoo, 3.13.5_p1::gentoo
dev-lang/rust-bin: 1.84.1-r2::gentoo, 1.88.0::gentoo
llvm-core/clang: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/lld: 19.1.7::gentoo, 20.1.8::gentoo
llvm-core/llvm: 19.1.7::gentoo, 20.1.8::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.62.9::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44-r4::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.3.0::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41-r5::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-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/a ... 3.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=westmere -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d"
CXXFLAGS="-march=westmere -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=westmere -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=westmere -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j24 -l25"
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"
RUSTFLAGS=" -C target-cpu=westmere"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib n0-multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb 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="mmx mmxext sse sse2 popcnt 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="radeon" 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, SIZE, STRINGS, STRIP, YACC, YFLAGS

++ genfun_set_win_title
++ genfun_sanitise_cwd
++ _cwd=root
++ [[ ! -n root ]]
++ [[ root == *[![:graph:]]* ]]
++ printf '\033]0;%s@%s - %s\007' jjnunes gawd root
Top
grknight
Retired Dev
Retired Dev
Posts: 2568
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Wed Sep 17, 2025 7:11 pm

sorabji wrote:The only remaining significant problem with this installation now is that dev-util/cargo-c-0.10.13-r1 is having a compile error. Maybe this is documented and known error and I just need to wait for a fix.
Caused by:
process didn't exit successfully: `/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13/target/release/build/cargo-c5df2a8cc6de4f32/build-script-build` (signal: 4, SIGILL: illegal instruction)
SIGILL means your -march in CFLAGS (and other -m options) includes something that your processor cannot handle.
Your CPU may have certain features trimmed below the GCC definition of the -march. Use the tool app-misc/resolve-march-native to determine what a better setting would be.
Top
sorabji
n00b
n00b
Posts: 8
Joined: Sat Nov 14, 2020 4:44 am

  • Quote

Post by sorabji » Wed Sep 17, 2025 7:42 pm

grknight wrote:
sorabji wrote:The only remaining significant problem with this installation now is that dev-util/cargo-c-0.10.13-r1 is having a compile error. Maybe this is documented and known error and I just need to wait for a fix.
Caused by:
process didn't exit successfully: `/var/tmp/portage/dev-util/cargo-c-0.10.13-r1/work/cargo-c-0.10.13/target/release/build/cargo-c5df2a8cc6de4f32/build-script-build` (signal: 4, SIGILL: illegal instruction)
SIGILL means your -march in CFLAGS (and other -m options) includes something that your processor cannot handle.
Your CPU may have certain features trimmed below the GCC definition of the -march. Use the tool app-misc/resolve-march-native to determine what a better setting would be.
Inserting the standard USE flags for this processor (Xeon x5690 [westmere]) fixed this problem.

Thanks!
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic