Bug#1070952: ros-vcstools: FTBFS in bullseye

Jochen Sprickerhof jspricke at debian.org
Sun May 12 09:35:31 BST 2024


Hi Santiago,

thanks for the report. This seems to be due to git 1:2.30.2-1+deb11u1 as 
it works with the version before (1:2.30.2-1). Give that it is a 
security fix and a testing only problem that could worked around easily, 
I would leave this as is.

Cheers Jochen

* Santiago Vila <sanvila at debian.org> [2024-05-11 21:53]:
>Package: src:ros-vcstools
>Version: 0.1.42-3
>Severity: serious
>Control: close -1 0.1.42-7
>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
>/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>  import imp
>running config
>   dh_auto_build -O--buildsystem=pybuild
>I: pybuild base:232: /usr/bin/python3 setup.py build
>/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>  import imp
>
>[... snipped ...]
>
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_checkout_into_subdir_without_existing_parent (test.test_hg.HGClientTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_checkout_specific_version_and_update (test.test_hg.HGClientTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>0 files updated, 0 files merged, 2 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>2 files updated, 0 files merged, 0 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>0 files updated, 0 files merged, 2 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>2 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_get_current_version_label (test.test_hg.HGClientTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>0 files updated, 0 files merged, 5 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>5 files updated, 0 files merged, 0 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>1 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_get_environment_metadata (test.test_hg.HGClientTest) ... ok
>test_get_remote_version (test.test_hg.HGClientTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>abort: destination '/tmp/tmp18ac112f/local' is not empty
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>pulling from /tmp/tmp18ac112f/remote
>searching for changes
>no changes found
>1 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_get_type_name (test.test_hg.HGClientTest) ... ok
>test_get_url_by_reading (test.test_hg.HGClientTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>ok
>test_get_url_nonexistant (test.test_hg.HGClientTest) ... ok
>marked working directory as branch test_branch
>(branches are permanent and global, did you want a bookmark?)
>updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>testStatusUntracked (test.test_hg.HGDiffStatClientTest) ... ok
>test_diff (test.test_hg.HGDiffStatClientTest) ... ok
>test_diff_relpath (test.test_hg.HGDiffStatClientTest) ... ok
>test_get_version_modified (test.test_hg.HGDiffStatClientTest) ... ok
>test_hg_diff_path_change_None (test.test_hg.HGDiffStatClientTest) ... ok
>test_status (test.test_hg.HGDiffStatClientTest) ... ok
>test_status_relpath (test.test_hg.HGDiffStatClientTest) ... ok
>marked working directory as branch test_branch
>(branches are permanent and global, did you want a bookmark?)
>updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>test_export_repository (test.test_hg.HGExportRepositoryClientTest) ... ok
>marked working directory as branch test_branch
>(branches are permanent and global, did you want a bookmark?)
>updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>test_get_branches (test.test_hg.HGGetBranchesClientTest) ... pulling from /tmp/tmpuikleq_q/remote
>searching for changes
>no changes found
>fixed.txt already tracked!
>pulling from /tmp/tmpuikleq_q/remote
>searching for changes
>adding changesets
>adding manifests
>adding file changes
>added 1 changesets with 0 changes to 0 files
>new changesets 422f3e5d8335
>(run 'hg update' to get a working copy)
>ok
>marked working directory as branch test_branch
>(branches are permanent and global, did you want a bookmark?)
>test_get_remote_version (test.test_hg.HGRemoteFetchTest) ... updating to branch default
>6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>0 files updated, 0 files merged, 1 files removed, 0 files unresolved
>ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>A    /tmp/tmpins4ar7k/local/deleted-fs.txt
>A    /tmp/tmpins4ar7k/local/deleted.txt
>A    /tmp/tmpins4ar7k/local/fixed.txt
>A    /tmp/tmpins4ar7k/local/modified-fs.txt
>A    /tmp/tmpins4ar7k/local/modified.txt
>Checked out revision 4.
>test_get_affected_files (test.test_svn.SVNClientAffectedFiles) ... ERROR [vcstools] Can't remove /tmp/tmpins4ar7k/local[/vcstools]
>ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>A    /tmp/tmpuyow_rgr/local/deleted-fs.txt
>A    /tmp/tmpuyow_rgr/local/deleted.txt
>A    /tmp/tmpuyow_rgr/local/fixed.txt
>A    /tmp/tmpuyow_rgr/local/modified-fs.txt
>A    /tmp/tmpuyow_rgr/local/modified.txt
>Checked out revision 4.
>test_get_log_defaults (test.test_svn.SvnClientLogTest) ... ERROR [vcstools] Can't remove /tmp/tmpuyow_rgr/local[/vcstools]
>ok
>test_get_log_limit (test.test_svn.SvnClientLogTest) ... A    /tmp/tmpuyow_rgr/local/deleted-fs.txt
>A    /tmp/tmpuyow_rgr/local/deleted.txt
>A    /tmp/tmpuyow_rgr/local/fixed.txt
>A    /tmp/tmpuyow_rgr/local/modified-fs.txt
>A    /tmp/tmpuyow_rgr/local/modified.txt
>Checked out revision 4.
>ok
>test_get_log_path (test.test_svn.SvnClientLogTest) ... A    /tmp/tmpuyow_rgr/local/deleted-fs.txt
>A    /tmp/tmpuyow_rgr/local/deleted.txt
>A    /tmp/tmpuyow_rgr/local/fixed.txt
>A    /tmp/tmpuyow_rgr/local/modified-fs.txt
>A    /tmp/tmpuyow_rgr/local/modified.txt
>Checked out revision 4.
>ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>testDiffClean (test.test_svn.SvnClientTest) ... WARNING [vcstools] Command failed: 'svn diff "."'
> run at: '/tmp/tmpnoklpzwv/remote'
> errcode: 1:
>svn: E155007: '/tmp/tmpnoklpzwv/remote' is not a working copy
>[/vcstools]
>ok
>testStatusClean (test.test_svn.SvnClientTest) ... ok
>test_checkout (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>ok
>test_checkout_dir_exists (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>ERROR [vcstools] Can't remove /tmp/tmpnoklpzwv/local[/vcstools]
>ok
>test_checkout_emptyversion (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>Updating '/tmp/tmpnoklpzwv/local':
>At revision 4.
>Updating '/tmp/tmpnoklpzwv/local':
>At revision 4.
>ok
>using just a number as version ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 3.
>Updating '/tmp/tmpnoklpzwv/local':
>D    /tmp/tmpnoklpzwv/local/deleted.txt
>D    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>Updated to revision 2.
>ok
>test_get_environment_metadata (test.test_svn.SvnClientTest) ... ok
>test_get_remote_branch_version (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>ok
>test_get_remote_version (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>ok
>test_get_type_name (test.test_svn.SvnClientTest) ... ok
>test_get_url_by_reading (test.test_svn.SvnClientTest) ... A    /tmp/tmpnoklpzwv/local/deleted-fs.txt
>A    /tmp/tmpnoklpzwv/local/deleted.txt
>A    /tmp/tmpnoklpzwv/local/fixed.txt
>A    /tmp/tmpnoklpzwv/local/modified-fs.txt
>A    /tmp/tmpnoklpzwv/local/modified.txt
>Checked out revision 4.
>ok
>test_get_url_nonexistant (test.test_svn.SvnClientTest) ... ok
>test_canonical_svn_url_split (test.test_svn.SvnClientUtilTest) ... ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>A    /tmp/tmpgm44yw9x/local/deleted-fs.txt
>A    /tmp/tmpgm44yw9x/local/deleted.txt
>A    /tmp/tmpgm44yw9x/local/fixed.txt
>A    /tmp/tmpgm44yw9x/local/modified-fs.txt
>A    /tmp/tmpgm44yw9x/local/modified.txt
>Checked out revision 4.
>D         deleted.txt
>A         added.txt
>test_diff (test.test_svn.SvnDiffStatClientTest) ... ok
>test_diff_relpath (test.test_svn.SvnDiffStatClientTest) ... ok
>test_status (test.test_svn.SvnDiffStatClientTest) ... ok
>test_status_relpath (test.test_svn.SvnDiffStatClientTest) ... ok
>test_status_untracked (test.test_svn.SvnDiffStatClientTest) ... ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>A    /tmp/tmpcf1x7dt8/local/deleted-fs.txt
>A    /tmp/tmpcf1x7dt8/local/deleted.txt
>A    /tmp/tmpcf1x7dt8/local/fixed.txt
>A    /tmp/tmpcf1x7dt8/local/modified-fs.txt
>A    /tmp/tmpcf1x7dt8/local/modified.txt
>Checked out revision 4.
>test_export_repository (test.test_svn.SvnExportRepositoryClientTest) ... ok
>Checked out revision 0.
>A         trunk
>A         branches
>A         tags
>A         trunk/fixed.txt
>Adding         branches
>Adding         tags
>Adding         trunk
>Adding         trunk/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A         trunk/modified.txt
>A         trunk/modified-fs.txt
>Adding         trunk/modified-fs.txt
>Adding         trunk/modified.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 2.
>A         trunk/deleted.txt
>A         trunk/deleted-fs.txt
>Adding         trunk/deleted-fs.txt
>Adding         trunk/deleted.txt
>Transmitting file data ..done
>Committing transaction...
>Committed revision 3.
>A         branches/foo
>A         branches/foo/modified.txt
>Adding         branches/foo
>Adding         branches/foo/modified.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 4.
>A    /tmp/tmpuez40mub/local/deleted-fs.txt
>A    /tmp/tmpuez40mub/local/deleted.txt
>A    /tmp/tmpuez40mub/local/fixed.txt
>A    /tmp/tmpuez40mub/local/modified-fs.txt
>A    /tmp/tmpuez40mub/local/modified.txt
>Checked out revision 4.
>test_get_branches (test.test_svn.SvnGetBranchesClientTest) ... A         branches/foo2
>A         branches/bar
>Adding         branches/bar
>Adding         branches/foo2
>Committing transaction...
>Committed revision 5.
>A    /tmp/tmpuez40mub/local_foo/modified.txt
>Checked out revision 5.
>ok
>test_get_branches_non_canonical (test.test_svn.SvnGetBranchesClientTest) ... Checked out revision 0.
>A         footest
>A         footest/foosub
>A         footest/foosub/fixed.txt
>Adding         footest
>Adding         footest/foosub
>Adding         footest/foosub/fixed.txt
>Transmitting file data .done
>Committing transaction...
>Committed revision 1.
>A    /tmp/tmpuez40mub/local_nc/foosub
>A    /tmp/tmpuez40mub/local_nc/foosub/fixed.txt
>Checked out revision 1.
>ok
>test_get_remote_contents (test.test_svn.SvnGetBranchesClientTest) ... ok
>test_checkout_dir_exists (test.test_tar.TarClientTest) ... ok
>test_checkout_parametrized (test.test_tar.TarClientTest) ... ok
>test_checkout_version (test.test_tar.TarClientTest) ... ok
>test_get_environment_metadata (test.test_tar.TarClientTest) ... ok
>test_get_type_name (test.test_tar.TarClientTest) ... ok
>test_get_url_by_reading (test.test_tar.TarClientTest) ... ok
>test_get_url_nonexistant (test.test_tar.TarClientTest) ... ok
>test_checkout_version_compressed_local (test.test_tar.TarClientTestLocal) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/vcstools/tar.py:80: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
>  metadata = yaml.load(metadata_file.read())
>ok
>test_checkout_version_local (test.test_tar.TarClientTestLocal) ... ok
>test_get_vcs (test.test_vcs_abstraction.TestVcsAbstraction) ... ok
>test_get_vcs_client (test.test_vcs_abstraction.TestVcsAbstraction) ... ok
>test_register_vcs (test.test_vcs_abstraction.TestVcsAbstraction) ... ok
>
>======================================================================
>ERROR: test suite for <class 'test.test_git_subm.GitClientTest'>
>----------------------------------------------------------------------
>Traceback (most recent call last):
>  File "/usr/lib/python3/dist-packages/nose/suite.py", line 209, in run
>    self.setUp()
>  File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp
>    self.setupContext(ancestor)
>  File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in setupContext
>    try_run(context, names)
>  File "/usr/lib/python3/dist-packages/nose/util.py", line 471, in try_run
>    return func()
>  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/test/test_git_subm.py", line 100, in setUpClass
>    subprocess.check_call("git submodule add %s %s" % (self.subsubmodule_path, "subsubmodule"),
>  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
>    raise CalledProcessError(retcode, cmd)
>subprocess.CalledProcessError: Command 'git submodule add /tmp/tmp39noalac/remote/subsubmodule subsubmodule' returned non-zero exit status 128.
>
>----------------------------------------------------------------------
>Ran 136 tests in 59.240s
>
>FAILED (errors=1)
>E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m nose -v test
>dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.9 returned exit code 13
>make: *** [debian/rules:4: 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240512/7bcfd029/attachment-0001.sig>


More information about the debian-science-maintainers mailing list