[Python-modules-team] Bug#964609: pyxdg: FTBFS: dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8 returned exit code 13

Lucas Nussbaum lucas at debian.org
Thu Jul 9 11:59:54 BST 2020


Source: pyxdg
Version: 0.26-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> tar xJf debian/test-example.tar.xz
> dh_auto_configure
> I: pybuild base:217: python3.8 setup.py config 
> running config
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/DesktopEntry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/Mime.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/Menu.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/IniFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/Exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/IconTheme.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/RecentFiles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/Config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/MenuEditor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/BaseDirectory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
> copying xdg/Locale.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build; python3.8 -m nose -v test
> test_load_config_paths (test-basedirectory.BaseDirectoryTest) ... ok
> test_load_first_config (test-basedirectory.BaseDirectoryTest) ... ok
> test_runtime_dir (test-basedirectory.BaseDirectoryTest) ... ok
> test_runtime_dir_notset (test-basedirectory.BaseDirectoryTest) ... ok
> test_save_cache_path (test-basedirectory.BaseDirectoryTest) ... ok
> test_save_config_path (test-basedirectory.BaseDirectoryTest) ... ok
> test_save_data_path (test-basedirectory.BaseDirectoryTest) ... ok
> test_basic (test-desktop.DesktopEntryTest) ... ok
> test_invalid (test-desktop.DesktopEntryTest) ... ok
> test_invalid_unicode (test-desktop.DesktopEntryTest) ... ok
> test_unicode_name (test-desktop.DesktopEntryTest) ... ok
> test_validate (test-desktop.DesktopEntryTest) ... ok
> test_values (test-desktop.DesktopEntryTest) ... ok
> test_write_file (test-desktop.DesktopEntryTest) ... ok
> test_absent (test-desktop.TestTryExec) ... ok
> test_no_TryExec (test-desktop.TestTryExec) ... ok
> test_present (test-desktop.TestTryExec) ... ok
> test_read_icon_data (test-icon.IconDataTest) ... ok
> test_find_icon_exists (test-icon.IconThemeTest) ... ok
> test_find_icon_nonexistant (test-icon.IconThemeTest) ... ok
> test_validate_icon_theme (test-icon.IconThemeTest) ... ok
> test_check_string (test-inifile.IniFileTest) ... ok
> test_modify (test-inifile.IniFileTest) ... ok
> test_value_types (test-inifile.IniFileTest) ... ok
> test_expand_languages (test-locale.LocaleTest) ... ok
> test_rule_from_filename (test-menu-rules.RulesTest) ... ok
> test_rule_from_node (test-menu-rules.RulesTest) ... ERROR
> test_empty_legacy_dirs (test-menu.MenuTest) ... ok
> This was failing on systems which didn't have kde-config installed. ... ok
> test_parse_menu (test-menu.MenuTest) ... ok
> test_unicode_menuentry (test-menu.MenuTest) ... ok
> test_all_matches (test-mime.GlobDBTest) ... ok
> test_build_globdb (test-mime.GlobDBTest) ... ok
> test_first_match (test-mime.GlobDBTest) ... ok
> test_get_extensions (test-mime.GlobDBTest) ... ok
> test_parsing (test-mime.GlobsParsingTest) ... ok
> test_match_data (test-mime.MagicDBTest) ... ok
> test_match_file (test-mime.MagicDBTest) ... ok
> test_match_nested (test-mime.MagicDBTest) ... ok
> test_parsing (test-mime.MagicDBTest) ... ok
> test_by_name (test-mime.MimeTest) ... ok
> test_canonical (test-mime.MimeTest) ... ok
> test_create_mimetype (test-mime.MimeTest) ... ok
> test_get_comment (test-mime.MimeTest) ... ok
> test_get_type (test-mime.MimeTest) ... ok
> test_get_type2 (test-mime.MimeTest) ... ok
> test_get_type_by_contents (test-mime.MimeTest) ... ok
> test_get_type_by_data (test-mime.MimeTest) ... ok
> test_get_type_by_name (test-mime.MimeTest) ... ok
> test_inheritance (test-mime.MimeTest) ... ok
> test_is_text (test-mime.MimeTest) ... ok
> test_lookup (test-mime.MimeTest) ... ok
> test_mimetype_repr (test-mime.MimeTest) ... ok
> test_get_files (test-recentfiles.RecentFilesTest) ... ok
> test_modify (test-recentfiles.RecentFilesTest) ... ok
> 
> ======================================================================
> ERROR: test_rule_from_node (test-menu-rules.RulesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/test/test-menu-rules.py", line 166, in test_rule_from_node
>     rule = parser.parse_rule(root)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py", line 768, in parse_rule
>     return Rule(type, tree)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py", line 421, in __init__
>     self.code = compile(self.expression, '<compiled-menu-rule>', 'eval')
> ValueError: Name node can't be used with 'False' constant
> 
> ----------------------------------------------------------------------
> Ran 55 tests in 2.398s
> 
> FAILED (errors=1)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_xdg/build; python3.8 -m nose -v test
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/pyxdg_0.26-3_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