** Description changed:

  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
+     True
  Got:
-     False
+     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']

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137580

Title:
  ftbfs on resolute-proposed due to rust coreutils

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git-buildpackage/+bug/2137580/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to