Bug#1143283: anorack: FTBFS: dh_auto_test: error: make -j2 test returned exit code 2

Santiago Vila <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>
Package: src:anorack
Version: 0.2.8-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:anorack, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with=python3
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find . -type f -name '*.py[co]' -delete
find . -type d -name '__pycache__' -delete
rm -f .coverage
rm -f *.tmp
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean doc/anorack.1 tests/coverage
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- doc/anorack.1 tests/coverage debian/anorack.substvars debian/files
	rm -fr -- debian/anorack/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with=python3
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean doc/anorack.1 tests/coverage
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- doc/anorack.1 tests/coverage debian/anorack.substvars debian/files
	rm -fr -- debian/anorack/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
/usr/bin/make -C doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
rst2man --input-encoding=UTF-8 < manpage.rst > anorack.1.tmp
perl -pi -e '/^[.]BI\b/ and s/\\fP/\\fR/g' anorack.1.tmp  # work-around for https://bugs.debian.org/806601
perl -ni -e 'print unless /^[.]\\" vim:/' anorack.1.tmp
mv anorack.1.tmp anorack.1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
dh_auto_build
	make -j2 INSTALL="install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
	make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 -bb -m unittest discover --verbose
tests.test_choose_art.test_choose_a ... ok
tests.test_choose_art.test_choose_a_ipa ... ok
tests.test_choose_art.test_choose_an ... ok
tests.test_choose_art.test_choose_an_ipa ... ok
tests.test_choose_art.test_choose_other ... ok
tests.test_cli.test_bad_io ... ok
tests.test_cli.test_changelog ... ok
tests.test_cli.test_files ... ok
tests.test_cli.test_stdin ... ok
tests.test_cli.test_version ... ok
tests.test_cli.test_warning ... FAIL
tests.test_coerce_case.test_a ... ok
tests.test_coerce_case.test_an ... ok
tests.test_get_encoding.test_8bit ... ok
tests.test_get_encoding.test_ascii ... ok
tests.test_get_encoding.test_utf8 ... ok
tests.test_open_file.test_open_real_file ... ok
tests.test_open_file.test_open_stdin ... ok
tests.test_parse_file.test_inner_apostrophe ... ok
tests.test_parse_file.test_mid_line ... ok
tests.test_parse_file.test_numbers ... ok
tests.test_parse_file.test_quotes ... ok
tests.test_parse_file.test_underscore ... ok
tests.test_parse_file.test_wrapped ... ok
tests.test_phonetics.test_overrides.test_EWMH ... ok
tests.test_phonetics.test_overrides.test_UCS ... ok
tests.test_phonetics.test_overrides.test_UDP ... ok
tests.test_phonetics.test_overrides.test_UPS ... ok
tests.test_phonetics.test_overrides.test_UTF ... ok
tests.test_phonetics.test_overrides.test_UTS ... ok
tests.test_phonetics.test_overrides.test_UUID ... ok
tests.test_phonetics.test_overrides.test_src ... ok
tests.test_phonetics.test_overrides.test_unary ... ok
tests.test_phonetics.test_overrides.test_usr ... ok
tests.test_vcmp.test ... ok
tests.test_version.test_changelog ... ok
tests.test_version.test_manpage ... ok
tests.test_warn.test_warn ... ok

======================================================================
FAIL: tests.test_cli.test_warning
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/tools.py", line 43, in test
    return f()
  File "/<<PKGBUILDDIR>>/tests/test_cli.py", line 156, in test_warning
    t(
    ~^
        stdin='A scratch?!',
        ^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        stderr_ipa="anorack: warning: can't determine correct article for 'scratch' /skɹˈatʃ/\n",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/tests/test_cli.py", line 106, in t
    assert_equal(stderr, actual.stderr)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "anorack: warning: can't determine correct article for 'scratch' /skr'atS/\n" != ''
- anorack: warning: can't determine correct article for 'scratch' /skr'atS/


----------------------------------------------------------------------
Ran 38 tests in 0.968s

FAILED (failures=1)
make[1]: *** [Makefile:64: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -fr -- /tmp/dh-xdg-rundir-_tWE1PH8
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.