Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863962 - app-text/pelican-4.8.0 fails tests on musl
Summary: app-text/pelican-4.8.0 fails tests on musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-porting 903047
  Show dependency tree
 
Reported: 2022-08-06 10:22 UTC by Agostino Sarubbo
Modified: 2023-12-28 04:36 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,56.70 KB, application/x-xz)
2022-08-06 10:22 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-08-06 10:22:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/pelican-4.8.0 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-06 10:22:12 UTC
Created attachment 798274 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-06 10:22:13 UTC
Error(s) that match a know pattern:


E           AssertionError: '2015-09-13(Sun)' != '2015-09-13(日)'
E       AssertionError: '29 August 2012' != '29 Ağustos 2012'
E       AssertionError: '29 August 2012' != '29 août 2012'
E       AssertionError: 'jeudi, 14 août 2014' != 'thursday, 14 august 2014'
E       AssertionError: b'diff --git a/var/tmp/portage/app-text/pelican-4.8.0/temp/pelicantests.ixzdvu1j/archives.html b/var/tmp/portage/app-t...   </aside><!-- /#featured -->
ERROR    pelican.contents:log.py:96 Skipping /var/tmp/portage/app-text/pelican-4.8.0/work/pelican-4.8.0/samples/content/pages/jinja2_template.html: could not find information about 'title'
FAILED pelican/tests/test_contents.py::TestPage::test_datetime - AssertionErr...
FAILED pelican/tests/test_pelican.py::TestPelican::test_custom_locale_generation_works
FAILED pelican/tests/test_utils.py::TestDateFormatter::test_french_strftime
FAILED pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_french
FAILED pelican/tests/test_utils.py::TestUtils::test_strftime_locale_dependent_turkish
Comment 3 Larry the Git Cow gentoo-dev 2023-12-28 04:36:46 UTC
The bug has been closed via the following commit(s):

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

commit e8ebeceee7d18855d81dea880bc32224261f0d7d
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-05 23:44:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-28 04:36:14 +0000

    app-text/pelican: fix tests on musl
    
    Closes: https://bugs.gentoo.org/863962
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34138
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/pelican-4.9.1-no-locales-for-tests.patch | 22 ++++++++++++++++++++++
 app-text/pelican/pelican-4.9.1.ebuild              |  7 +++++++
 2 files changed, 29 insertions(+)