Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833942 - app-portage/portage-utils-0.93.3 fails tests on musl: qlop -d 111111111 not supported
Summary: app-portage/portage-utils-0.93.3 fails tests on musl: qlop -d 111111111 not s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-23 11:18 UTC by Agostino Sarubbo
Modified: 2022-06-14 07:15 UTC (History)
0 users

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


Attachments
build.log (build.log,188.54 KB, text/plain)
2022-02-23 11:18 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-02-23 11:18:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-portage/portage-utils-0.93.3 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-23 11:18:52 UTC
Created attachment 765706 [details]
build.log

build log and emerge --info
Comment 2 Fabian Groffen gentoo-dev 2022-02-23 11:31:02 UTC
% qlop -mv -d 1104898893
qlop: invalid date: 1104898893

musl doesn't accept the epoch like glibc, solaris, darwin do
Comment 3 Fabian Groffen gentoo-dev 2022-02-23 11:32:28 UTC
%s isn't in POSIX strptime indeed
Comment 4 Larry the Git Cow gentoo-dev 2022-02-23 11:57:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=b59cdb9849c6528922664fcc1c07537ac71e05b1

commit b59cdb9849c6528922664fcc1c07537ac71e05b1
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-02-23 11:55:55 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-02-23 11:55:55 +0000

    qlop: fix date parsing of epochs on musl
    
    %s isn't a valid modifier in POSIX for strptime, so parse the number
    manually and produce a time out of that.
    
    Bug: https://bugs.gentoo.org/833942
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 qlop.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-06-14 07:15:55 UTC
The bug has been closed via the following commit(s):

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

commit ec3307e507ccfc092371f8e16ea40ff50557ca9f
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-06-14 07:12:19 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-06-14 07:15:51 +0000

    app-portage/portage-utils-0.94: version bump
    
    Closes: https://bugs.gentoo.org/851138
    Closes: https://bugs.gentoo.org/837188
    Closes: https://bugs.gentoo.org/836590
    Closes: https://bugs.gentoo.org/833942
    Closes: https://bugs.gentoo.org/807975
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-portage/portage-utils/Manifest                 |  1 +
 .../portage-utils/portage-utils-0.94.ebuild        | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)