Package: src:plainbox
Version: 0.25-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi!

I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.

While doing that, I've found that plainbox fails multiple tests in its
testsuite. I've tested further and I can reproduce the same thing on
amd64 too, so it's not an architecture-specific problem.

...
======================================================================
ERROR: test_run_invalid_env (plainbox.impl.secure.test_launcher1.MainTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/test_launcher1.py",
 line 326, in test_run_invalid_env
    main(['--target=1234', '-T', 'blarg'])
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/launcher1.py",
 line 259, in main
    ns = parser.parse_args(argv)
  File "/usr/lib/python3.7/argparse.py", line 1758, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.7/argparse.py", line 1790, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.7/argparse.py", line 1996, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/python3.7/argparse.py", line 1936, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.7/argparse.py", line 1864, in take_action
    action(self, namespace, argument_values, option_string)
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/launcher1.py",
 line 175, in __call__
    items = copy.copy(argparse._ensure_value(namespace, self.dest, {}))
AttributeError: module 'argparse' has no attribute '_ensure_value'

======================================================================
ERROR: test_run_valid_hash (plainbox.impl.secure.test_launcher1.MainTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/mock.py", line 1195, in patched
    return func(*args, **keywargs)
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/test_launcher1.py",
 line 239, in test_run_valid_hash
    '--target=1234', '-T', 'key=value', '-T', 'other=value'])
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/launcher1.py",
 line 259, in main
    ns = parser.parse_args(argv)
  File "/usr/lib/python3.7/argparse.py", line 1758, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.7/argparse.py", line 1790, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.7/argparse.py", line 1996, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/python3.7/argparse.py", line 1936, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.7/argparse.py", line 1864, in take_action
    action(self, namespace, argument_values, option_string)
  File 
"/home/steve/debian/build/plainbox/plainbox-0.25/plainbox/impl/secure/launcher1.py",
 line 175, in __call__
    items = copy.copy(argparse._ensure_value(namespace, self.dest, {}))
AttributeError: module 'argparse' has no attribute '_ensure_value'

...

(more failures follow).

Full log online at

  
https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/plainbox_0.25-1_armel.log

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to