Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876070 - sys-libs/uid_wrapper-1.2.9 fails tests (MUSL)
Summary: sys-libs/uid_wrapper-1.2.9 fails tests (MUSL)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 917773
  Show dependency tree
 
Reported: 2022-10-08 10:26 UTC by Agostino Sarubbo
Modified: 2023-11-23 22:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,98.60 KB, text/plain)
2022-10-08 10:26 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,21.95 KB, text/plain)
2022-10-08 10:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-10-08 10:26:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/uid_wrapper-1.2.9 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-08 10:26:39 UTC
Created attachment 822811 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-10-08 10:26:40 UTC
Created attachment 822814 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-10-08 10:26:40 UTC
Error(s) that match a know pattern:


	 15 - test_syscall (Failed)
Comment 4 matoro archtester 2023-11-23 21:52:59 UTC
Somehow timezone-related, but the usual good old TZ=UTC has no effect.
Comment 5 matoro archtester 2023-11-23 22:21:07 UTC
This seems to be somewhat unpredictable, on amd64 it is MUSL-specific, but it also appears under other platforms with glibc.

For glibc, unaffected platforms:  arm64, ppc64, loong
For glibc, affected platforms:  ia64, sparc, alpha, mips, hppa, riscv

This note in the man page for gettimeofday(2) might be relevant:

VERSIONS
   C library/kernel differences
       On some architectures, an implementation of gettimeofday() is provided in the vdso(7).
 
       The kernel accepts NULL for both tv and tz.  The timezone argument is ignored by glibc and musl, and not passed to/from the kernel.  Android’s bionic passes the timezone argument to/from the kernel, but Android does not update the kernel timezone based on the device timezone in Settings, so the kernel’s timezone is typically UTC.


I tried looking for a pattern matching this in vdso(7), but did not find one.  Also, given that the issue is present with MUSL under amd64, it's likely not a kernel issue.