Hello,
Thanks for help.
I don't think I need that ....
But I don't know where it's set.
/etc/portage/make.conf:
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#CFLAGS="-march=corei7 -O2 -pipe"
#CXXFLAGS="${CFLAGS}"
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-systemd -clang xml ssl -ipv6 -pppd -perl -xorg -gpm python -cups nptl pam
unicode threads apache2"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_core authz_groupfile
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter headers include
info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
speling status unique_id userdir usertrack vhost_alias proxy proxy_http
socache_shmcb"
PORTDIR="/usr/portage"
PKGDIR="/var/cache/binpkgs"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
#VMWARE_GUEST="linux"
#vmware_guest_linux="linux"
ACCEPT_LICENSE="*"
#PORTAGE_BINHOST="http://packages.gentooexperimental.org/packages/amd64-stable/"
#PORTAGE_BINHOST="https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64/"
BINPKG_FORMAT="gpkg"
FEATURES="getbinpkg"
Regards,
Erwan RIGOLLOT
-----Message d'origine-----
De : Javier Martinez <[email protected]>
Envoyé : vendredi 27 février 2026 18:38
À : [email protected]
Objet : Re: [gentoo-user] Invalid binary package
Do you need this LDFLAGS flag "-z,pack-relative-relocs"?
El 25/2/26 a las 10:42, Erwan RIGOLLOT escribió:
> Hello,
>
> I’m having trouble updating another one gentoo.
>
> emerge =sys-libs/glibc-2.34-r14 -av –nodeps I get :
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed
> -Wl,-z,pack-relative-relocs glibc-test.c -o glibc-test
> ./glibc-test: /lib64/libc.so.6: version `GLIBC_ABI_DT_RELR' not found
> (required by ./glibc-test)
>
> So, I have a problem with glibc. I try to emerge binary package of glibc, but
> I have another problem :
>
> emerge -G glibc -av –nodeps
> I get :
> These are the packages that would be merged, in order:
>
> [binary U ] sys-libs/glibc-2.42-r5-3:2.2::gentoo [2.33-r7:2.2::gentoo]
> USE="cet* multiarch ssp (static-libs) -audit -caps -compile-locales
> (-custom-cflags) -doc -gd -hash-sysv-compat% -headers-only (-multilib*)
> -multilib-bootstrap -nscd -perl% -profile (-selinux) (-sframe)
> -stack-realign% -suid (-systemd) -systemtap -test (-vanilla) -verify-sig%
> (-crypt%) (-static-pie%)" 12 210 KiB
>
> Total: 1 package (1 upgrade, 1 binary), Size of downloads: 12 210 KiB
>
> Would you like to merge these packages? [Yes/No] Yes
>
> ….
>
> Saving to: ‘/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial’
>
> /usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial
> 100%[========================================================================================================================================>]
> 11,92M --.-KB/s in 0,1s
>
> 2026-02-25 10:33:04 (119 MB/s) -
> ‘/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial’ saved
> [12503040/12503040]
>
> * glibc-2.42-r5.tbz2 MD5 SHA1 size ;-) ... [ ok ]
> !!! Invalid binary package:
> '/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial'
> /usr/lib/portage/python3.9/ebuild.sh: line 657:
> /var/tmp/portage/sys-libs/glibc-2.42-r5/build-info/glibc-2.42-r5.ebuil
> d: No such file or directory
>
> I can give more details for any step.
> my only goal is to have a Gentoo up-to-date but I prefer update than
> reinstall.
>
> Thanks for your help !
>
> Regards,
>
> Erwan RIGOLLOT