[Bug 2137580] Re: ftbfs on resolute-proposed due to rust coreutils

Simon Poirier 2137580 at bugs.launchpad.net
Tue Jan 6 20:29:59 UTC 2026


** Also affects: rust-coreutils (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- ftbfs on resolute-proposed due to rust coreutils
+ git-buildpackage ftbfs on resolute-proposed due to rust coreutils

-- 
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:
  In Progress
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