Package: src:check-manifest
Version: 0.46-1
Severity: serious
Control: close -1 0.49-1
Tags: ftbfs bullseye

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   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
copying check_manifest.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:284: cp /<<PKGBUILDDIR>>/tests.py 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build
I: pybuild base:232: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build; python3.9 -m nose 
-v --exclude=test_build_sdist
test_get_vcs_files (tests.TestBzr) ... ok
test_get_vcs_files_added_but_uncommitted (tests.TestBzr) ... ok
test_get_vcs_files_deleted_but_not_removed (tests.TestBzr) ... SKIP: this 
cosmetic feature is not supported with bzr
test_get_vcs_files_empty (tests.TestBzr) ... ok
test_get_vcs_files_in_a_subdir (tests.TestBzr) ... ok
test_get_vcs_files_nonascii_filenames (tests.TestBzr) ... ok
test_terminal_encoding_cp0 (tests.TestBzrTerminalCharsetDetectionOnNewPythons) 
... SKIP: 'oem' codec not available on Python before 3.6
test_terminal_encoding_cp0 (tests.TestBzrTerminalCharsetDetectionOnOldPythons) 
... ok
test_terminal_encoding_not_known 
(tests.TestBzrTerminalCharsetDetectionOnOldPythons) ... ok
test_terminal_encoding_stdin_known 
(tests.TestBzrTerminalCharsetDetectionOnOldPythons) ... ok
test_terminal_encoding_stdout_known 
(tests.TestBzrTerminalCharsetDetectionOnOldPythons) ... ok
test_MANIFEST_in_does_not_need_to_be_added_to_be_considered 
(tests.TestCheckManifest) ... ok
test_all_is_well (tests.TestCheckManifest) ... ok
test_bad_ideas (tests.TestCheckManifest) ... ok
test_extra_ignore (tests.TestCheckManifest) ... ok
test_forgot_to_git_add_anything (tests.TestCheckManifest) ... ok
test_ignore_bad_ideas (tests.TestCheckManifest) ... ok
test_missing_source_files (tests.TestCheckManifest) ... ok
test_not_python_project (tests.TestCheckManifest) ... ok
test_python_from_path (tests.TestCheckManifest) ... ok
test_relative_pathname (tests.TestCheckManifest) ... ok
test_relative_python (tests.TestCheckManifest) ... ok
test_setup_py_does_not_need_to_be_added_to_be_considered 
(tests.TestCheckManifest) ... ok
test_suggestions (tests.TestCheckManifest) ... ok
test_suggestions_all_unknown_patterns (tests.TestCheckManifest) ... ok
test_suggestions_create (tests.TestCheckManifest) ... ok
test_suggestions_some_unknown_patterns (tests.TestCheckManifest) ... ok
test_suggestions_update (tests.TestCheckManifest) ... ok
test_read_config_no_config (tests.TestConfiguration) ... ok
test_read_manifest (tests.TestConfiguration) ... ok
test_read_manifest_no_manifest (tests.TestConfiguration) ... ok
test_read_pyproject_config_extra_ignores (tests.TestConfiguration) ... ok
test_read_pyproject_config_ignore_bad_ideas (tests.TestConfiguration) ... ok
test_read_pyproject_config_no_option (tests.TestConfiguration) ... ok
test_read_pyproject_config_no_section (tests.TestConfiguration) ... ok
test_read_pyproject_config_override_ignores (tests.TestConfiguration) ... ok
test_read_setup_config_extra_ignores (tests.TestConfiguration) ... ok
test_read_setup_config_ignore_bad_ideas (tests.TestConfiguration) ... ok
test_read_setup_config_no_option (tests.TestConfiguration) ... ok
test_read_setup_config_no_section (tests.TestConfiguration) ... ok
test_read_setup_config_override_ignores (tests.TestConfiguration) ... ok
test_detect_git_submodule (tests.TestGit) ... ok
test_get_vcs_files (tests.TestGit) ... ok
test_get_vcs_files_added_but_uncommitted (tests.TestGit) ... ok
test_get_vcs_files_deleted_but_not_removed (tests.TestGit) ... ok
test_get_vcs_files_empty (tests.TestGit) ... ok
test_get_vcs_files_in_a_subdir (tests.TestGit) ... ok
test_get_vcs_files_nonascii_filenames (tests.TestGit) ... ok
test_get_versioned_files_with_git_submodules (tests.TestGit) ... ERROR
test_get_versioned_files_with_git_submodules_with_git_index_file_set 
(tests.TestGit) ... ERROR
test_get_vcs_files (tests.TestHg) ... ok
test_get_vcs_files_added_but_uncommitted (tests.TestHg) ... ok
test_get_vcs_files_deleted_but_not_removed (tests.TestHg) ... ok
test_get_vcs_files_empty (tests.TestHg) ... ok
test_get_vcs_files_in_a_subdir (tests.TestHg) ... ok
test_get_vcs_files_nonascii_filenames (tests.TestHg) ... ok
test_default_excludes_egg_info (tests.TestIgnoreList) ... ok
test_default_excludes_egg_info_in_a_subdirectory (tests.TestIgnoreList) ... ok
test_default_excludes_pkg_info (tests.TestIgnoreList) ... ok
test_exclude_doest_apply_to_directories (tests.TestIgnoreList) ... ok
test_exclude_file (tests.TestIgnoreList) ... ok
test_exclude_pattern (tests.TestIgnoreList) ... ok
test_global_exclude (tests.TestIgnoreList) ... ok
test_global_exclude_does_not_apply_to_directories (tests.TestIgnoreList) ... ok
test_prune (tests.TestIgnoreList) ... ok
test_prune_glob (tests.TestIgnoreList) ... ok
test_prune_glob_is_not_too_greedy (tests.TestIgnoreList) ... ok
test_prune_subdir (tests.TestIgnoreList) ... ok
test_recursive_exclude (tests.TestIgnoreList) ... ok
test_recursive_exclude_can_prune (tests.TestIgnoreList) ... ok
test_recursive_exclude_does_not_apply_to_directories (tests.TestIgnoreList) ... 
ok
test_repr (tests.TestIgnoreList) ... ok
test (tests.TestMain) ... ok
test_exit_code_1_on_error (tests.TestMain) ... ok
test_exit_code_2_on_failure (tests.TestMain) ... ok
test_extra_ignore_args (tests.TestMain) ... ok
test_ignore_bad_ideas_args (tests.TestMain) ... ok
test_quiet_arg (tests.TestMain) ... ok
test_verbose_and_quiet_arg (tests.TestMain) ... ok
test_verbose_arg (tests.TestMain) ... ok
test_get_vcs_files (tests.TestSvn) ... ok
test_get_vcs_files_added_but_uncommitted (tests.TestSvn) ... ok
test_get_vcs_files_deleted_but_not_removed (tests.TestSvn) ... ok
test_get_vcs_files_empty (tests.TestSvn) ... ok
test_get_vcs_files_in_a_subdir (tests.TestSvn) ... ok
test_get_vcs_files_nonascii_filenames (tests.TestSvn) ... ok
test_svn_externals (tests.TestSvn) ... ok
test_svn_xml_parsing_warning (tests.TestSvnExtraErrors) ... ok
test_error (tests.TestUserInterface) ... ok
test_error_verbose (tests.TestUserInterface) ... ok
test_info (tests.TestUserInterface) ... ok
test_info_begin_continue_end (tests.TestUserInterface) ... ok
test_info_begin_continue_end_verbose (tests.TestUserInterface) ... ok
test_info_emits_newline_when_needed (tests.TestUserInterface) ... ok
test_info_emits_newline_when_needed_verbose (tests.TestUserInterface) ... ok
test_info_quiet (tests.TestUserInterface) ... ok
test_info_verbose (tests.TestUserInterface) ... ok
test_warning (tests.TestUserInterface) ... ok
test_warning_verbose (tests.TestUserInterface) ... ok
test_zest_releaser_check_all_okay (tests.TestZestIntegration) ... ok
test_zest_releaser_check_error_user_aborts (tests.TestZestIntegration) ... ok
test_zest_releaser_check_error_user_plods_on (tests.TestZestIntegration) ... ok
test_zest_releaser_check_failure_user_aborts (tests.TestZestIntegration) ... ok
test_zest_releaser_check_failure_user_plods_on (tests.TestZestIntegration) ... 
ok
test_zest_releaser_check_not_a_package (tests.TestZestIntegration) ... ok
test_zest_releaser_check_user_disagrees (tests.TestZestIntegration) ... ok
test_canonical_file_list (tests.Tests) ... ok
test_copy_files (tests.Tests) ... ok
test_detect_vcs_no_vcs (tests.Tests) ... ok
test_extract_version_from_filename (tests.Tests) ... ok
test_file_matches (tests.Tests) ... ok
test_find_bad_ideas (tests.Tests) ... ok
test_find_suggestions (tests.Tests) ... ok
test_find_suggestions_generic_fallback_rules (tests.Tests) ... ok
test_format_list (tests.Tests) ... ok
test_format_missing (tests.Tests) ... ok
test_get_archive_file_list_tar (tests.Tests) ... ok
test_get_archive_file_list_tar_nonascii (tests.Tests) ... ok
test_get_archive_file_list_unrecognized_archive (tests.Tests) ... ok
test_get_archive_file_list_zip (tests.Tests) ... ok
test_get_archive_file_list_zip_nonascii (tests.Tests) ... ok
test_get_ignore_from_manifest (tests.Tests) ... ok
test_get_ignore_from_manifest_lines (tests.Tests) ... ok
test_get_ignore_from_manifest_lines_warns (tests.Tests) ... ok
test_get_ignore_from_manifest_warnings (tests.Tests) ... ok
test_get_one_file_in (tests.Tests) ... ok
test_get_one_file_in_empty_directory (tests.Tests) ... ok
test_get_one_file_in_too_many (tests.Tests) ... ok
test_is_package (tests.Tests) ... ok
test_mkdtemp_readonly_files (tests.Tests) ... ok
test_normalize_names (tests.Tests) ... ok
test_rmtree_readonly_directories (tests.Tests) ... ok
test_rmtree_readonly_directories_and_files (tests.Tests) ... ok
test_rmtree_unreadable_directories (tests.Tests) ... ok
test_run_failure (tests.Tests) ... ok
test_run_no_such_program (tests.Tests) ... ok
test_run_success (tests.Tests) ... ok
test_should_use_pep517_no_build_backend (tests.Tests) ... ok
test_should_use_pep517_no_build_system (tests.Tests) ... ok
test_should_use_pep517_no_pyproject_toml (tests.Tests) ... ok
test_should_use_pep517_yes_please (tests.Tests) ... ok
test_strip_sdist_extras (tests.Tests) ... ok
test_strip_sdist_extras_with_manifest (tests.Tests) ... ok
test_strip_toplevel_name_empty_list (tests.Tests) ... ok
test_strip_toplevel_name_no_common_prefix (tests.Tests) ... ok
test_unicodify (tests.Tests) ... ok

======================================================================
ERROR: test_get_versioned_files_with_git_submodules (tests.TestGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 1094, in test_get_versioned_files_with_git_submodules
    self._add_submodule('repo2', 'sub3', '../repo3')
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 1074, in _add_submodule
    self.vcs._run('git', 'submodule', 'add', subrepo, subdir)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 949, in _run
    raise subprocess.CalledProcessError(rc, command[0], output=stdout)
subprocess.CalledProcessError: Command 'git' returned non-zero exit status 128.
-------------------- >> begin captured stdout << ---------------------
$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-jjwz8dg5-check-manifest/repo1/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file1 file2
$ git commit -m Initial
[master (root-commit) af1b3b4] Initial
 2 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file1
 create mode 100644 file2

$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-jjwz8dg5-check-manifest/repo2/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file3
$ git commit -m Initial
[master (root-commit) fe604c8] Initial
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file3

$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-jjwz8dg5-check-manifest/repo3/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file4
$ git commit -m Initial
[master (root-commit) 78b2046] Initial
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file4

$ git submodule add ../repo3 sub3
Cloning into '/tmp/test-jjwz8dg5-check-manifest/repo2/sub3'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/test-jjwz8dg5-check-manifest/repo3' into submodule path 
'/tmp/test-jjwz8dg5-check-manifest/repo2/sub3' failed


--------------------- >> end captured stdout << ----------------------

======================================================================
ERROR: test_get_versioned_files_with_git_submodules_with_git_index_file_set 
(tests.TestGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 1115, in test_get_versioned_files_with_git_submodules_with_git_index_file_set
    self.test_get_versioned_files_with_git_submodules()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 1094, in test_get_versioned_files_with_git_submodules
    self._add_submodule('repo2', 'sub3', '../repo3')
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 1074, in _add_submodule
    self.vcs._run('git', 'submodule', 'add', subrepo, subdir)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build/tests.py", 
line 949, in _run
    raise subprocess.CalledProcessError(rc, command[0], output=stdout)
subprocess.CalledProcessError: Command 'git' returned non-zero exit status 128.
-------------------- >> begin captured stdout << ---------------------
$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-e7ozinwu-check-manifest/repo1/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file1 file2
$ git commit -m Initial
[master (root-commit) af1b3b4] Initial
 2 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file1
 create mode 100644 file2

$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-e7ozinwu-check-manifest/repo2/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file3
$ git commit -m Initial
[master (root-commit) fe604c8] Initial
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file3

$ git init
hint: Using 'master' as the name for the initial branch. This default branch 
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in 
/tmp/test-e7ozinwu-check-manifest/repo3/.git/

$ git config user.name Unit Test
$ git config user.email t...@example.com
$ git add --force -- file4
$ git commit -m Initial
[master (root-commit) 78b2046] Initial
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file4

$ git submodule add ../repo3 sub3
Cloning into '/tmp/test-e7ozinwu-check-manifest/repo2/sub3'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/test-e7ozinwu-check-manifest/repo3' into submodule path 
'/tmp/test-e7ozinwu-check-manifest/repo2/sub3' failed


--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 146 tests in 11.307s

FAILED (SKIP=2, errors=2)
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_check-manifest/build; python3.9 -m nose 
-v --exclude=test_build_sdist
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.9 
returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to