Skip to content

Run builds from SCM instead of SRPM #276

@hroncok

Description

@hroncok

There are test failures in the python2 package in Koschei:

https://apps.fedoraproject.org/koschei/package/python2

======================================================================
ERROR: test_lookup_issue1813 (test.test_codecs.CodecsModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
----------------------------------------------------------------------

======================================================================
ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting

======================================================================
ERROR: test_setlocale_unicode (test.test_locale.TestMiscellaneous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
----------------------------------------------------------------------

A attempted fix was at https://src.fedoraproject.org/rpms/python2/pull-request/32 - it built in the CI back then.

Examining the root logs from Koschei, glibc-all-langpacks is not installed.

Unfortunately Koschei does not list a dist-git commit hash, so I cannot tell whether this is some kind of resolver bug or if Koschei just builds old spec (that's what I suspect).

A manual scratchbuild installs glibc-all-langpacks and builds fine: https://koji.fedoraproject.org/koji/taskinfo?taskID=32017566

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions