Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 754387

Summary: sys-libs/glibc-2.32-r2 fails 5 tests on ppc
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, toolchain
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=734148
https://bugs.gentoo.org/show_bug.cgi?id=836548
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log.xz
.out files of failed tests

Description ernsteiswuerfel archtester 2020-11-14 18:02:17 UTC
Created attachment 671392 [details]
emerge --info

[...]
FAIL: elf/tst-debug1
FAIL: elf/tst-ldconfig-ld_so_conf-update
FAIL: stdlib/tst-system
FAIL: string/tst-strerror
FAIL: string/tst-strsignal
Summary of test results:
      5 FAIL
   3894 PASS
     13 UNSUPPORTED
     17 XFAIL
      5 XPASS


Compared to 2.31-r6 (bug #734148) 2 additional tests fail:
FAIL: string/tst-strerror
FAIL: string/tst-strsignal
Comment 1 ernsteiswuerfel archtester 2020-11-14 18:02:55 UTC
Created attachment 671395 [details]
build.log.xz
Comment 2 ernsteiswuerfel archtester 2020-11-14 18:14:56 UTC
Created attachment 671398 [details]
.out files of failed tests
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-11-14 19:05:43 UTC
> $ cat tst-debug1.out
> Didn't expect signal from child: got `Bus error'

That is probably a real bug that needs a backtrace extracted. Needs more debugging.

> $ cat tst-ldconfig-ld_so_conf-update.out
> error: tst-ldconfig-ld_so_conf-update.c:112: not true: dlopen (DSO, RTLD_NOW | RTLD_GLOBAL) != NULL
> error: 1 test failures
> running post-clean rsyn

I vaguely remember seeing in on amd64 as well. Unclear why it happens. Needs more debugging.

> $ cat tst-strerror.out
> tst-strerror.c:54: error: string comparison failed
>   left string: 16 bytes
>   right string: 19 bytes
>   left (evaluated from strerror_l (EINVAL, l)):
>       "Invalid argument"
>       49 6E 76 61 6C 69 64 20 61 72 67 75 6D 65 6E 74
>   right (evaluated from "Argumento inv\303\241lido"):
>       "Argumento inv\303\241lido"
>       41 72 67 75 6D 65 6E 74 6F 20 69 6E 76 C3 A1 6C 69 64 6F

Probably a test dependent on specific locale presence (glibc usually generates needed ones automatically though). Needs more debugging.

> $ cat tst-strsignal.out
> tst-strsignal.c:50: error: string comparison failed
>   left string: 9 bytes
>   right string: 13 bytes
>   left (evaluated from strsignal (SIGINT)):
>       "Interrupt"
>       49 6E 74 65 72 72 75 70 74
>   right (evaluated from "Interrup\xc3\xa7\xc3\xa3\x6f"):
>       "Interrup\303\247\303\243o"
>       49 6E 74 65 72 72 75 70 C3 A7 C3 A3 6F

Same as previous.

> $ cat tst-system.out
> error: mkdtemp ("/var/tmp/portage/sys-libs/glibc-2.32-r2/temp/tst-system-1kE1fi"): No such file or directory

This one is mysterious. Is it deterministic?
Comment 4 ernsteiswuerfel archtester 2020-11-14 20:22:49 UTC
(In reply to Sergei Trofimovich from comment #3)
> > $ cat tst-system.out
> > error: mkdtemp ("/var/tmp/portage/sys-libs/glibc-2.32-r2/temp/tst-system-1kE1fi"): No such file or directory
> 
> This one is mysterious. Is it deterministic?
Looks like it. Like the other tests it fails on my Talos' ppc32 chroot too. Also fails on ppc64 (bug #751967).
Comment 5 ernsteiswuerfel archtester 2022-03-31 12:35:10 UTC
Continued in bug #836548.