Package: command-not-found
Version: 20.10.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
The package reportedly fails in one of the tests. The failing test log
snippet is below:
```
FAIL: test_from_table
(CommandNotFound.tests.test_command_not_found.CommandNotFoundOutputTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/command-not-found-20.10.1/CommandNotFound/tests/test_command_not_found.py",
line 149, in test_from_table
self._test_spec(spec)
File
"/build/command-not-found-20.10.1/CommandNotFound/tests/test_command_not_found.py",
line 191, in _test_spec
self.assertEqual(output, expected_output, "test '%s' broken" % test)
AssertionError: "Comm[87 chars]0, or (You will have to enable component
calle[97 chars]')\n" != "Comm[87 chars]0, or\nsudo apt install neovim #
version 2.0\n"
Command 'x-vi' not found, but can be installed with:
- sudo apt install vim # version 1.0, or (You will have to enable component
called 'main')
- sudo apt install neovim # version 2.0 (You will have to enable component
called 'main')
+ sudo apt install vim # version 1.0, or
+ sudo apt install neovim # version 2.0
: test 'multi advise debs' broken
----------------------------------------------------------------------
Ran 12 tests in 0.571s
FAILED (failures=1)
```
Full build log is available at:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/command-not-found.html
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (990, 'unstable'), (990, 'testing'), (500, 'stable-updates'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages command-not-found depends on:
ii apt-file 3.2.2
ii lsb-release 11.1.0
ii python3 3.9.1-1
ii python3-apt 2.1.7
command-not-found recommends no packages.
Versions of packages command-not-found suggests:
pn snapd <none>
-- no debconf information