Your message dated Thu, 24 Nov 2022 19:19:16 +0000
with message-id <e1oyhki-00etfm...@fasolo.debian.org>
and subject line Bug#1023379: fixed in git-buildpackage 0.9.30
has caused the Debian Bug report #1023379,
regarding git-buildpackage: FTBFS with Git 2.38.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1023379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023379
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.9.29
Severity: normal
User: de...@kali.org
Usertags: origin-kali

Dear Maintainer,

I tried to rebuild git-buildpackage locally and the submodule tests
fail:

~~~~
======================================================================
ERROR: Add a submodule
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File 
"/build/git-buildpackage-JtfSq8/git-buildpackage-0.9.29/tests/04_test_submodules.py",
 line 99, in test_add_submodule
    REPO.add_submodule(SUBMODULES[0].dir)
  File 
"/build/git-buildpackage-JtfSq8/git-buildpackage-0.9.29/gbp/git/repository.py", 
line 1938, in add_submodule
    self._git_command("submodule", ["add", repo_path])
  File 
"/build/git-buildpackage-JtfSq8/git-buildpackage-0.9.29/gbp/git/repository.py", 
line 245, in _git_command
    raise GitRepositoryError("Error running git %s: %s" % (command, 
detail.decode().strip()))
gbp.git.repository.GitRepositoryError: Error running git submodule: Cloning 
into '/tmp/tmp7tjw_zrzgbp_tests.04_test_submodules_/test_repo/test_submodule'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/tmp7tjw_zrzgbp_tests.04_test_submodules_/test_submodule' 
into submodule path 
'/tmp/tmp7tjw_zrzgbp_tests.04_test_submodules_/test_repo/test_submodule' failed
-------------------- >> begin captured logging << --------------------
gbp: debug: ['git', 'submodule', 'add', 
'/tmp/tmp7tjw_zrzgbp_tests.04_test_submodules_/test_submodule']
--------------------- >> end captured logging << ---------------------
~~~~

This is due to a recent change in Git, and it's documented at:
* 
https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html
* https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586

Please find a tentative fix at:
https://salsa.debian.org/arnaudr/git-buildpackage/-/commit/5a73cf0e

I tried using REPO.set_config() but it didn't work, so I used the
environment instead.

Best,

Arnaud

----

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-buildpackage depends on:
ii  devscripts             2.22.2
ii  git                    1:2.37.2-1
ii  man-db                 2.11.0-1+b1
ii  python3                3.10.6-1
ii  python3-dateutil       2.8.2-1
ii  python3-pkg-resources  65.5.0-1
ii  python3-yaml           5.4.1-1+b2
ii  sensible-utils         0.0.17

Versions of packages git-buildpackage recommends:
ii  pristine-tar      1.49
ii  python3-requests  2.27.1+dfsg-1
ii  sbuild            0.83.2

Versions of packages git-buildpackage suggests:
pn  python3-notify2  <none>
ii  sudo             1.9.11p3-2
ii  unzip            6.0-27

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.9.30
Done: Guido Günther <a...@sigxcpu.org>

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1023...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <a...@sigxcpu.org> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 24 Nov 2022 16:55:53 +0100
Source: git-buildpackage
Architecture: source
Version: 0.9.30
Distribution: unstable
Urgency: medium
Maintainer: Guido Günther <a...@sigxcpu.org>
Changed-By: Guido Günther <a...@sigxcpu.org>
Closes: 1023379
Changes:
 git-buildpackage (0.9.30) unstable; urgency=medium
 .
   * [f102dca] examples: Add upload script
   * [2e1ff95] tests: Allow file protocol for submodule test
     (Closes: #1023379)
   * [b21f537] Bump standards version to 4.6.1.
     No changes required
Checksums-Sha1:
 773e688b0522c12becc72d68494b1eef5604922f 2372 git-buildpackage_0.9.30.dsc
 864d56cb93aeafc2fdbed6c8f4e9b9eb020787e6 3138504 git-buildpackage_0.9.30.tar.xz
 7e30b113f0d48c2df2a652f5fdb1eb4c5ccd3d5e 13523 
git-buildpackage_0.9.30_amd64.buildinfo
Checksums-Sha256:
 dfc389d2a143a111dc93735d22d08284555b5d621b24f331d7c3347eb0d9716f 2372 
git-buildpackage_0.9.30.dsc
 8e02a28a5c7e1b7dafd26f5b0a33b55c14e2c38027c1c0990606434d845b6db4 3138504 
git-buildpackage_0.9.30.tar.xz
 9c38fa403119d1d905cec5bdba04e035fd7c72ba49325ce91f69705d6ea4428f 13523 
git-buildpackage_0.9.30_amd64.buildinfo
Files:
 aa23506184fa89729e9a1969bded9824 2372 vcs optional git-buildpackage_0.9.30.dsc
 22ebe8d65a872c93dcfc1c645e6ed229 3138504 vcs optional 
git-buildpackage_0.9.30.tar.xz
 cd50f52a7694fffad871fc906f2ec408 13523 vcs optional 
git-buildpackage_0.9.30_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmN/vhIACgkQJb+GUkr8
weOymA//dL2Id905YJTBlvzdQYj3CLEi655t5tuhX9WNs7hOHwb18TWgAwrfsUSM
dR2n9M/WkT5Vzf68z4ovM9SXMUEzN69rFXblSXfjdRT2csT2IN62xh1h6Y/zDKyC
MnH+qhuqK04Wbizt47skeSsxopPzvZ6ajy3Xymbh3Kj3kqqbP/7QUR4tmcCIbY7y
bhk7TUsXyxrN6nd3LDiOHFVM0brftZOR+nb2mX3baEYOYT3pT0uzCqNOojFKoCIs
vV8bIrIaZcAIjdiAD2bYwq8GcGyh0nYOHmSZ6NkD5snY00v+0AI9dfvmBM0XqgJO
0mDhiGQSHh80YAbi2hmgjGTQ2EWXQEJBt9ZeGMwqrPb9SExv9KqCEN/DyMAk/Ao5
ju5tnLh7kVWLWlL47TTcNstWkf97m9qWTgO53PuXtq4kTVOZ3WBS/j6DOng3u4kA
hd5cX38eYdkifKpsHNSjWmXdCaPY2t0ZOnJ9C/0xp5GyKjAvokLEQyhdWeAOC4jt
Fr0oLgQ6ViI7PVNbVli14SrioHCybHRv3aEL3D/HxgArPZgJvYlN+tBN80L0suHG
d1zSAX75zsSm7+oZjnsEs8FrKpeYdq0zZQIlqDKbbit4p2nDSX/FwTO/P9rS9rD2
kfDfgT8MLuX9rwDjkeC7jSm+VJ3VJTYGI8m1N7qWcJbxa8hz4lo=
=NScO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to