Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928107 - net-libs/libisds-0.11.2 fails tests with >=sys-libs/musl-1.2.4-r1: isds-datestring2tm, utf82locale
Summary: net-libs/libisds-0.11.2 fails tests with >=sys-libs/musl-1.2.4-r1: isds-dates...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Pisar
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: musl-1.2.5
  Show dependency tree
 
Reported: 2024-03-29 07:58 UTC by Agostino Sarubbo
Modified: 2024-05-12 07:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,147.18 KB, text/plain)
2024-03-29 07:58 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,1.16 KB, text/plain)
2024-03-29 07:58 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 2024-03-29 07:58:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/libisds-0.11.2 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-29 07:58:20 UTC
Created attachment 888979 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-29 07:58:20 UTC
Created attachment 888980 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2024-03-29 07:58:21 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAIL: isds-datestring2tm
FAIL: utf82locale
Comment 4 Petr Pisar 2024-05-11 15:03:16 UTC
The same tests fail with sys-libs/musl-1.2.4-r1. This seems the reporter was the first one running the tests on musl, rather than a regression in sys-libs/musl.

I studied the failures and all of them look like bugs in sys-libs/musl. I will minimize the reproducers and report them to the upstream.
Comment 5 Petr Pisar 2024-05-11 18:07:00 UTC
> FAIL: isds-datestring2tm

https://www.openwall.com/lists/musl/2024/05/11/3

This looks like a genuine bug in musl. I'd like to see fixing this on musl side.

> FAIL: utf82locale

https://www.openwall.com/lists/musl/2024/05/11/4

It seems that musl does not implement locales. Yet it accepts setlocale() for any value and then always reports a UTF-8 code set. I will try to modify libisds's tests to deal with it.