Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589370 - sys-libs/glibc-2.26-r1 fails tests
Summary: sys-libs/glibc-2.26-r1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
: 623548 628720 (view as bug list)
Depends on:
Blocks: glibc-2.26
  Show dependency tree
 
Reported: 2016-07-22 13:06 UTC by Brendan Horan
Modified: 2017-09-23 13:05 UTC (History)
4 users (show)

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


Attachments
environment log (environment,141.76 KB, text/plain)
2016-07-22 13:06 UTC, Brendan Horan
Details
build log (build.log.gz,572.62 KB, application/gzip)
2016-07-22 13:11 UTC, Brendan Horan
Details
efi system date (efi-date.png,10.70 KB, image/png)
2016-07-22 14:23 UTC, Brendan Horan
Details
efi system time (efi-time.png,9.73 KB, image/png)
2016-07-22 14:23 UTC, Brendan Horan
Details
build log with tests (build.log.xz,645.67 KB, application/x-xz)
2017-09-10 16:49 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Horan 2016-07-22 13:06:10 UTC
I can not get sys-libs/glibc-2.22-r4 to install on my IA64 system.

# emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/ia64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.0.5-gentoo ia64)
=================================================================
System uname: Linux-4.0.5-gentoo-ia64-Madison-with-gentoo-2.2
KiB Mem:     4125680 total,   1754720 free
KiB Swap:     951152 total,    951152 free
Timestamp of repository gentoo: Thu, 21 Jul 2016 14:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.7.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://fuse/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=itanium2"
CHOST="ia64-unknown-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 -mtune=itanium2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri gdbm ia64 iconv ipv6 modules ncurses nls nptl pam pcre readline session ssl tcpd unicode xattr zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Brendan Horan 2016-07-22 13:06:41 UTC
Created attachment 441352 [details]
environment log

environment log
Comment 2 Brendan Horan 2016-07-22 13:07:15 UTC
# emerge --info '=sys-libs/glibc-2.22-r4::gentoo'
Portage 2.2.26 (python 3.4.3-final-0, default/linux/ia64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.0.5-gentoo ia64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-ia64-Madison-with-gentoo-2.2
KiB Mem:     4125680 total,   1754608 free
KiB Swap:     951152 total,    951152 free
Timestamp of repository gentoo: Thu, 21 Jul 2016 14:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.7.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://fuse/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=itanium2"
CHOST="ia64-unknown-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 -mtune=itanium2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri gdbm ia64 iconv ipv6 modules ncurses nls nptl pam pcre readline session ssl tcpd unicode xattr zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Brendan Horan 2016-07-22 13:08:54 UTC
# emerge -pqv '=sys-libs/glibc-2.22-r4::gentoo'
[ebuild     U ] sys-libs/glibc-2.22-r4 [2.21-r1] USE="-debug -gd (-hardened) (-multilib) -nscd -profile (-selinux) -suid -systemtap -vanilla" 
#
Comment 4 Brendan Horan 2016-07-22 13:11:41 UTC
Created attachment 441354 [details]
build log

build log
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-07-22 13:30:47 UTC
Please CC developers or teams yourself only if they requested that you do. Bug wranglers will handle this.
Comment 6 Alex Xu (Hello71) 2016-07-22 14:06:18 UTC
five bucks says if you fix your system clock the error will go away
Comment 7 Brendan Horan 2016-07-22 14:08:39 UTC
Sorry I don't agree. Unless there is more to it..
I have NTP running

Output :
# date
Fri Jul 22 22:07:18 HKT 2016
# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*192.168.0.117   118.143.17.82    2 u  640 1024  377    0.828    0.751   0.652
# 

That is the correct time...
Comment 8 Brendan Horan 2016-07-22 14:22:43 UTC
In addition.
I have the correct date and time set in the EFI menus
"Set System Date"
"Set System time"
Comment 9 Brendan Horan 2016-07-22 14:23:18 UTC
Created attachment 441364 [details]
efi system date
Comment 10 Brendan Horan 2016-07-22 14:23:38 UTC
Created attachment 441366 [details]
efi system time
Comment 11 SpanKY gentoo-dev 2016-07-22 17:32:12 UTC
just don't try to run the tests and it'll install fine
Comment 12 Brendan Horan 2016-07-23 02:51:19 UTC
(In reply to SpanKY from comment #11)
> just don't try to run the tests and it'll install fine

Skipping the tests fixed this.
Not sure "fixed" is the right word , as i sill don't understand why the tests fail.
thanks
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-07-24 09:46:18 UTC
Reopening as the problem is not fixed.
Comment 14 Mart Raudsepp gentoo-dev 2017-07-19 05:57:37 UTC
make[2]: *** No rule to make target '/var/tmp/portage/sys-libs/glibc-2.24-r3/work/build-n32-mips64el-unknown-linux-gnu-nptl/libidn/check-abi-libcidn.out', needed by 'tests'.
make[2]: Target 'tests' not remade because of errors.
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 13:37:39 UTC
(In reply to Mart Raudsepp from comment #14)
> make[2]: *** No rule to make target
> '/var/tmp/portage/sys-libs/glibc-2.24-r3/work/build-n32-mips64el-unknown-
> linux-gnu-nptl/libidn/check-abi-libcidn.out', needed by 'tests'.
> make[2]: Target 'tests' not remade because of errors.

Yep, that problem still exists (on any arch)... it was just hidden by earlier build failures in the tests for some time.
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 13:39:08 UTC
*** Bug 623548 has been marked as a duplicate of this bug. ***
Comment 17 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 16:45:44 UTC
commit 65b0a31d080eb74bbdca1668c2c5e2207bfee2fd (HEAD -> master, origin/master, origin/HEAD)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Sep 10 18:44:17 2017 +0200

    sys-libs/glibc: Fix building the test suite, bug 589370
    
    Some black vapier magic was removing all zero-length files from the working
    directory. Turns out some of them are actually needed...
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-libs/glibc/glibc-2.26-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)
Comment 18 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 16:47:18 UTC
Updated state of the tests: 

Summary of test results:
      9 FAIL
   4105 PASS
      6 UNSUPPORTED
     29 XFAIL
      2 XPASS

FAIL: elf/tst-unused-dep
FAIL: elf/tst-unused-dep-cmp
FAIL: nptl/tst-cancel7
FAIL: nptl/tst-cancelx7
FAIL: nptl/tst-key1
FAIL: nptl/tst-key4
FAIL: posix/test-errno
FAIL: resolv/tst-resolv-res_init
FAIL: resolv/tst-resolv-res_init-thread
Comment 19 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 16:49:19 UTC
Created attachment 493748 [details]
build log with tests
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2017-09-10 17:00:17 UTC
tst-unused-dep.out:
Unused direct dependencies:
        /usr/lib32/libsandbox.so
=> OK I guess we should disable this one.

tst-unused-dep-cmp.out: empty file

tst-cancel7.out:
child 11932 still running

tst-cancelx7.out:
child 25962 still running

tst-key1.out:
created key 0
created key 1
created key 2
[...]
created key 1021
created key 1022
key_create failed

tst-key4.out:
key_create failed

test-errno.out:
FAIL: access: errno is: 13 (Permission denied) expected: 22 (Invalid argument)
FAIL: open: errno is: 13 (Permission denied) expected: 21 (Is a directory)

tst-resolv-res_init:
error: output mismatch for special test 1
--- expected
+++ actual
@@ -0,0 +1,2 @@
+error: tst-resolv-res_init-skeleton.c:772: not true: unlink (_PATH_RESCONF) == 0
+error: xopen.c:28: open64 ("/etc/resolv.conf", 0x241, 0666): Permission denied
error: subprocess failed: special test 1
error:   expected exit status: 0
e
(and more of this)

tst-resolv-res_init-thread.out:
error: output mismatch for special test 1
--- expected
+++ actual
@@ -0,0 +1 @@
+error: tst-resolv-res_init-skeleton.c:772: not true: unlink (_PATH_RESCONF) == 0
error: output mismatch for special test 1
--- expected
+++ actual
@@ -0,0 +1 @@
+error: tst-resolv-res_init-skeleton.c:772: not true: unlink (_PATH_RESCONF) == 0
error: 4 test failures
Comment 21 Andreas K. Hüttel archtester gentoo-dev 2017-09-11 10:38:37 UTC
*** Bug 628720 has been marked as a duplicate of this bug. ***
Comment 22 Larry the Git Cow gentoo-dev 2017-09-23 13:05:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c675558c53f5cd5f7f868f5a41f6914e2f4f4c

commit 15c675558c53f5cd5f7f868f5a41f6914e2f4f4c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2017-09-23 13:04:35 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2017-09-23 13:05:08 +0000

    sys-libs/glibc: Update patch level. Tests pass now (on ~amd64)!
    
    Closes: https://bugs.gentoo.org/589370
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sys-libs/glibc/Manifest             | 2 +-
 sys-libs/glibc/glibc-2.26-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)