[Python-modules-team] Bug#975809: python3-precis-i18n: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Nov 25 20:05:25 GMT 2020


Source: python3-precis-i18n
Version: 1.0.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python3-precis-i18n
> dpkg-buildpackage: info: source version 1.0.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by W. Martin Borgert <debacle at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=pybuild --with python3
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python3-precis-i18n using existing ./python3-precis-i18n_1.0.0.orig.tar.gz
> dpkg-source: warning: ignoring deletion of file precis_i18n.egg-info/SOURCES.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file precis_i18n.egg-info/top_level.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file precis_i18n.egg-info/dependency_links.txt, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file precis_i18n.egg-info/zip-safe, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file precis_i18n.egg-info/PKG-INFO, use --include-removal to override
> dpkg-source: info: building python3-precis-i18n in python3-precis-i18n_1.0.0-1.debian.tar.xz
> dpkg-source: info: building python3-precis-i18n in python3-precis-i18n_1.0.0-1.dsc
>  debian/rules binary
> dh binary --buildsystem=pybuild --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/unicode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/codepointset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/factory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/derived.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/codec.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/context.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/bidi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
> copying precis_i18n/baseclass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_precis_i18n/build/precis_i18n
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> writing precis_i18n.egg-info/PKG-INFO
> writing dependency_links to precis_i18n.egg-info/dependency_links.txt
> writing top-level names to precis_i18n.egg-info/top_level.txt
> writing manifest file 'precis_i18n.egg-info/SOURCES.txt'
> reading manifest file 'precis_i18n.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'test/test_derived_props.py'
> writing manifest file 'precis_i18n.egg-info/SOURCES.txt'
> running build_ext
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> writing precis_i18n.egg-info/PKG-INFO
> writing dependency_links to precis_i18n.egg-info/dependency_links.txt
> writing top-level names to precis_i18n.egg-info/top_level.txt
> reading manifest file 'precis_i18n.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'test/test_derived_props.py'
> writing manifest file 'precis_i18n.egg-info/SOURCES.txt'
> running build_ext
> test_decode (test_codec.TestCodec) ... ok
> test_encode (test_codec.TestCodec) ... ok
> test_encode_errors (test_codec.TestCodec) ... ok
> test_search_function (test_codec.TestCodec) ... ok
> test_coalesce (test_codepointset.TestCodepointSet) ... ok
> test_contains (test_codepointset.TestCodepointSet) ... ok
> test_equals (test_codepointset.TestCodepointSet) ... ok
> test_even_odd (test_codepointset.TestCodepointSet) ... ok
> test_len (test_codepointset.TestCodepointSet) ... ok
> test_malformed_range (test_codepointset.TestCodepointSet) ... ok
> test_parse (test_codepointset.TestCodepointSet) ... ok
> test_repr (test_codepointset.TestCodepointSet) ... ok
> test_missing (test_factory.TestGetProfile) ... ok
> test_enforce (test_factory.TestNickname) ... ok
> test_enforce (test_factory.TestNicknameCaseMapped) ... ok
> test_constructor (test_factory.TestUsername) ... ok
> test_constructor_fail (test_factory.TestUsername) ... ok
> test_enforce (test_factory.TestUsernameCaseMapped) ... ok
> test_enforce (test_factory.TestUsernameCasePreserved) ... ok
> test_identifier_oddities (test_factory.TestUsernameCasePreserved) ... ok
> test_invalid_argument (test_factory.TestUsernameCasePreserved) ... ok
> test_golden_json (test_golden.TestGolden) ... ERROR
> test_all_codepoints (test_idempotent.IdempotentTestCase)
> Verify all individual code points are idempotent. ... ok
> test_broken_profile (test_idempotent.IdempotentTestCase)
> Test that we can catch a profile that is not idempotent. ... ok
> test_bidi_rule_ltr (test_precis.TestBidiRule) ... ok
> test_bidi_rule_rtl (test_precis.TestBidiRule) ... ok
> test_has_rtl (test_precis.TestBidiRule) ... ok
> test_derived_property (test_precis.TestDerivedProperty) ... ok
> test_arabic_indic (test_precis.TestPrecisContextRule) ... ok
> test_context_rule (test_precis.TestPrecisContextRule) ... ok
> test_extended_arabic_indic (test_precis.TestPrecisContextRule) ... ok
> test_katatana_middle_dot (test_precis.TestPrecisContextRule) ... ok
> test_rule_greek_keraia (test_precis.TestPrecisContextRule) ... ok
> test_rule_hebrew_punctuation (test_precis.TestPrecisContextRule) ... ok
> test_rule_middle_dot (test_precis.TestPrecisContextRule) ... ok
> test_rule_zero_width_joiner (test_precis.TestPrecisContextRule) ... ok
> test_rule_zero_width_nonjoiner (test_precis.TestPrecisContextRule) ... ok
> test_invalid_freeform (test_precis.TestPrecisFreeformClass) ... ok
> test_valid_freeform (test_precis.TestPrecisFreeformClass) ... ok
> test_invalid_identifier (test_precis.TestPrecisIdentifierClass) ... ok
> test_valid_identifier (test_precis.TestPrecisIdentifierClass) ... ok
> test_arabic_indic (test_precis.TestPrecisUnicodeData) ... ok
> test_combining_virama (test_precis.TestPrecisUnicodeData) ... ok
> test_control (test_precis.TestPrecisUnicodeData) ... ok
> test_default_ignorable_code_point (test_precis.TestPrecisUnicodeData) ... ok
> test_extended_arabic_indic (test_precis.TestPrecisUnicodeData) ... ok
> test_greek_script (test_precis.TestPrecisUnicodeData) ... ok
> test_has_compat (test_precis.TestPrecisUnicodeData) ... ok
> test_hebrew_script (test_precis.TestPrecisUnicodeData) ... ok
> test_hiragana_katakana_han_script (test_precis.TestPrecisUnicodeData) ... ok
> test_noncharacter (test_precis.TestPrecisUnicodeData) ... ok
> test_old_hangul_jamo (test_precis.TestPrecisUnicodeData) ... ok
> test_replace_whitespace (test_precis.TestPrecisUnicodeData) ... ok
> test_valid_join_type (test_precis.TestPrecisUnicodeData) ... ok
> test_version_to_float (test_precis.TestPrecisUnicodeData) ... ok
> test_width_map (test_precis.TestPrecisUnicodeData) ... ok
> 
> ======================================================================
> ERROR: test_golden_json (test_golden.TestGolden)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_golden.py", line 26, in test_golden_json
>     self.check_disallow(profile, input_, error)
>   File "/<<PKGBUILDDIR>>/test/test_golden.py", line 44, in check_disallow
>     input_.encode(profile)
> LookupError: unknown encoding: UsernameCaseMapped:ToLower
> 
> ----------------------------------------------------------------------
> Ran 56 tests in 21.858s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=56 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=56 errors=1 failures=0>
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: python3.9 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/python3-precis-i18n_1.0.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list