[Bug 2137580] Re: git-buildpackage ftbfs on resolute-proposed due to rust coreutils
Launchpad Bug Tracker
2137580 at bugs.launchpad.net
Thu Jan 8 17:52:17 UTC 2026
This bug was fixed in the package git-buildpackage - 0.9.39ubuntu1
---------------
git-buildpackage (0.9.39ubuntu1) resolute; urgency=medium
* fix: doctests failure with rust-coreutils (LP: #2137580)
Replace implicit behavior of gnu coreutils true/false in doctest by
explicit output and exit code.
-- Simon Poirier <simon.poirier at canonical.com> Tue, 06 Jan 2026
14:46:49 -0500
** Changed in: git-buildpackage (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2137580
Title:
git-buildpackage ftbfs on resolute-proposed due to rust coreutils
Status in git-buildpackage package in Ubuntu:
Fix Released
Status in rust-coreutils package in Ubuntu:
New
Bug description:
Build-time doctests fail due to divergence between rust/gnu-coreutils on the true/false utilities
due to lacking help flag with rust implementation.
e.g. https://launchpad.net/ubuntu/+source/git-
buildpackage/0.9.39/+build/31465864
=================================== FAILURES ===================================
_________________ [doctest] gbp.command_wrappers.Command.call __________________
242 ... extra_env={'LC_ALL': 'C'})
243 >>> c.call(["--version"])
244 0
245 >>> c.stdout.startswith('true')
246 True
247 >>> c = Command("/bin/false", capture_stdout=True,
248 ... extra_env={'LC_ALL': 'C'})
249 >>> c.call(["--help"])
250 1
251 >>> c.stdout.startswith('Usage:')
Expected:
True
Got:
False
/<<PKGBUILDDIR>>/gbp/command_wrappers.py:251: DocTestFailure
----------------------------- Captured stdout call -----------------------------
gbp:debug: /bin/true [] ['foo', 'bar']
gbp:debug: /foo/bar [] ['foo', 'bar']
gbp:debug: /bin/true [] ['--version']
gbp:debug: /bin/false [] ['--help']
------------------------------ Captured log call -------------------------------
DEBUG gbp:log.py:140 /bin/true [] ['foo', 'bar']
DEBUG gbp:log.py:140 /foo/bar [] ['foo', 'bar']
DEBUG gbp:log.py:140 /bin/true [] ['--version']
DEBUG gbp:log.py:140 /bin/false [] ['--help']
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git-buildpackage/+bug/2137580/+subscriptions
More information about the foundations-bugs
mailing list