Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738422 - sys-libs/glibc-2.31-r6: emerge quietly dies while applying gentoo patchset
Summary: sys-libs/glibc-2.31-r6: emerge quietly dies while applying gentoo patchset
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-21 15:29 UTC by Nick Soveiko
Modified: 2020-08-22 09:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Soveiko 2020-08-21 15:29:57 UTC
while updating sys-libs/glibc-2.30-r8 -> sys-libs/glibc-2.31-r6, emerge fails at trying to apply gentoo patches. there is no build log left.

Reproducible: Always

Steps to Reproduce:
1. emerge -auDU1 --quiet n --quiet-build n --quiet-fail n sys-libs/glibc
2.
3.
Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/glibc-2.31-r6 [2.30-r8] USE="-static-pie%" 
[ebuild     U  ] sys-devel/gnuconfig-20200621 [20190912]
[ebuild     U  ] dev-libs/libffi-3.3-r2 [3.3-r1]
[ebuild     U  ] dev-libs/mpfr-4.1.0 [4.0.2]
[ebuild     U  ] sys-apps/coreutils-8.32-r1 [8.31-r1]
[ebuild     U  ] sys-apps/debianutils-4.11.1 [4.9.1]
[ebuild     U  ] virtual/perl-Test-Harness-3.420.0-r3 [3.420.0-r2]
[ebuild     U  ] sys-apps/file-5.39-r2 [5.37-r1] USE="bzip2%* seccomp%* -lzma%" PYTHON_TARGETS="(-python3_9)" 
[ebuild     U  ] dev-libs/libxml2-2.9.10-r1 [2.9.9-r3] PYTHON_TARGETS="(-python3_9)" 
[ebuild   R    ] app-misc/pax-utils-1.2.6  KERNEL="(linux%*)" 
[ebuild     U  ] dev-lang/python-3.8.5 [3.8.4-r1]
[ebuild  N     ] net-libs/nghttp2-1.41.0  USE="threads -cxx -debug -hpack-tools -jemalloc -libressl -static-libs -test -utils -xml" 
[ebuild     U  ] net-misc/curl-7.71.1 [7.71.0] USE="http2*" 
[ebuild     U  ] dev-libs/libgpg-error-1.38 [1.36]
[ebuild     U  ] dev-libs/libgcrypt-1.8.6 [1.8.5]
[ebuild     U  ] dev-libs/libxslt-1.1.34 [1.1.33-r1]
[ebuild     U  ] app-crypt/gnupg-2.2.20-r1 [2.2.20]
[ebuild     U  ] app-portage/gemato-14.4-r1 [14.4]
[ebuild     U  ] sys-apps/portage-2.3.103-r1 [2.3.103]

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-libs/glibc-2.31-r6
 * Checking general environment sanity.
make -j 3 -l 3 glibc-test CC=x86_64-pc-linux-gnu-gcc 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native   -Wl,-O1 -Wl,--as-needed  glibc-test.c   -o glibc-test
 * Checking gcc for __thread support ...                                           [ ok ]
 * Checking running kernel version (4.9.230-mainline-rev1 >= 3.2.0) ...            [ ok ]
 * Checking linux-headers version (5.4.0 >= 3.2.0) ...                             [ ok ]
>>> Running pre-merge checks for sys-apps/portage-2.3.103-r1
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.14.185-gentoo-sy
 * Checking for suitable kernel configuration options...                           [ ok ]
>>> Emerging (1 of 19) sys-libs/glibc-2.31-r6::gentoo
>>> Failed to emerge sys-libs/glibc-2.31-r6
>>> Jobs: 0 of 19 complete, 1 failed                Load avg: 1.48, 0.91, 0.53

 * Messages for package sys-libs/glibc-2.31-r6:

 * Applying Gentoo Glibc Patchset 2.31-8
 * ERROR: sys-libs/glibc-2.31-r6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.31-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.31-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.31-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.31-r6/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.31-r6/work/glibc-2.31'
 * S: '/var/tmp/portage/sys-libs/glibc-2.31-r6/work/glibc-2.31'


Expected Results:  
either update glibc or give a meaningful diagnostic of failure

# less /var/tmp/portage/sys-libs/glibc-2.31-r6/temp/build.log
/var/tmp/portage/sys-libs/glibc-2.31-r6/temp/build.log: No such file or directory

# emerge --info '=sys-libs/glibc-2.31-r6::gentoo'
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.3.0, glibc-2.30-r8, 4.9.230-mainline-rev1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.230-mainline-rev1-x86_64-AMD_EPYC_7281_16-Core_Processor-with-gentoo-2.6
KiB Mem:     2048324 total,    612120 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 21 Aug 2020 00:00:01 +0000
Head commit of repository gentoo: 618de7feba4b2063ee29bca02c413125022bf95d
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.10 [enabled]
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/ccache:          3.7.10::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 3 --ask-enter-invalid"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache clean-logs collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict suidctl unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j 3 -l 3"
PKGDIR="/usr/portage/packages"
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"
USE="acl amd64 berkdb bzip2 crypt dnssec hardened iconv ipv6 libglvnd libtirpc mmx ncurses nls nptl openmp pam pcre pie readline seccomp split-usr sse sse2 ssl ssp unicode vim-syntax xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv '=sys-libs/glibc-2.31-r6::gentoo'
[ebuild     U ] sys-libs/glibc-2.31-r6 [2.30-r8] USE="(crypt) multiarch (ssp) (static-libs) -audit -caps (-cet) -compile-locales -custom-cflags -doc -gd -headers-only (-multilib) -nscd -profile (-selinux) -static-pie% -suid -systemtap -test (-vanilla)"
Comment 1 Nick Soveiko 2020-08-21 15:52:34 UTC
update: setting FEATURES="-ccache" appeares to clear the problem, i.e. emerge goes through and updates glibc. still, a meaningful diagnostic would be useful.
Comment 2 Jonas Stein gentoo-dev 2020-08-22 09:34:22 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Users on IRC #gentoo could help you to collect additional information on this problem, so that a developer can work with this ticket.

Please reopen this ticket (Status:UNCONFIRMED) afterwards.