Bug#952004: jhbuild: FTBFS: dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:00:55 GMT 2020


Source: jhbuild
Version: 3.35.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Nothing to be done for 'check-am'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> python3 -bb -m unittest discover -v -t . -s ./tests
> test_build (tests.test_main.AutotoolsModTypeTestCase)
> Building a autotools module ... ok
> test_build_check (tests.test_main.AutotoolsModTypeTestCase)
> Building a autotools module, with checks ... ok
> test_build_check_error (tests.test_main.AutotoolsModTypeTestCase)
> Building a autotools module, with an error in make check ... ok
> test_build_clean_and_check (tests.test_main.AutotoolsModTypeTestCase)
> Building a autotools module, with cleaning and checks ... ok
> test_build_no_network (tests.test_main.AutotoolsModTypeTestCase)
> Building a autotools module, without network ... ok
> test_update (tests.test_main.AutotoolsModTypeTestCase)
> Updating a autotools module ... ok
> test_policy_all (tests.test_main.BuildPolicyTestCase)
> Building an uptodate module with build policy set to "all" ... ok
> test_policy_all_with_no_network (tests.test_main.BuildPolicyTestCase)
> Building an uptodate module with "all" policy, without network ... ok
> test_policy_updated (tests.test_main.BuildPolicyTestCase)
> Building an uptodate module with build policy set to "updated" ... ok
> test_policy_updated_with_no_network (tests.test_main.BuildPolicyTestCase)
> Building an uptodate module with "updated" policy, without network ... ok
> test_to_sxml (tests.test_main.CMakeModuleTest) ... ok
> test_pprint_output (tests.test_main.CmdTestCase) ... ok
> test_autotools (tests.test_main.EndToEndTest) ... ok
> test_autotools_with_libtool (tests.test_main.EndToEndTest) ... ok
> test_distutils (tests.test_main.EndToEndTest) ... ERROR
> test_dependency_chain_after (tests.test_main.ModuleOrderingTestCase)
> A dividing chain of dependencies with an <after> module ... ok
> test_dependency_chain_bi (tests.test_main.ModuleOrderingTestCase)
> A dividing chain of dependencies ... ok
> test_dependency_chain_missing_after (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a missing <after> module ... ok
> test_dependency_chain_missing_dependencies (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a missing <dependencies> module ... ok
> test_dependency_chain_missing_suggests (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a missing <suggests> module ... ok
> test_dependency_chain_recursive_after (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a recursively defined <after> module ... ok
> test_dependency_chain_recursive_after_dependencies (tests.test_main.ModuleOrderingTestCase)
> A chain dependency with an <after> module depending on an inversed relation ... ok
> test_dependency_chain_straight (tests.test_main.ModuleOrderingTestCase)
> A straight chain of dependencies ... ok
> test_dependency_chain_straight_skip (tests.test_main.ModuleOrderingTestCase)
> A straight chain of dependencies, with a module to skip ... ok
> test_dependency_chain_suggests (tests.test_main.ModuleOrderingTestCase)
> A dividing chain of dependencies with an <suggests> module ... ok
> test_dependency_cycle (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a cycle ... ok
> test_dependency_cycle_after (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a cycle caused by an <after> module ... ok
> test_dependency_cycle_suggests (tests.test_main.ModuleOrderingTestCase)
> A chain of dependencies with a cycle caused by an <suggests> module ... ok
> test_standalone_one (tests.test_main.ModuleOrderingTestCase)
> A standalone module ... ok
> test_standalone_two (tests.test_main.ModuleOrderingTestCase)
> Two standalone modules ... ok
> test_sys_deps (tests.test_main.ModuleOrderingTestCase)
> deps ommitted because satisfied by system dependencies ... ok
> test_dtd (tests.test_main.ModulesetXMLTest) ... ok
> test_relaxng (tests.test_main.ModulesetXMLTest) ... ok
> test_build (tests.test_main.TwoModulesTestCase)
> Building two autotools module ... ok
> test_build_failure_dependent_modules (tests.test_main.TwoModulesTestCase)
> Building two dependent autotools modules, with failure in first ... ok
> test_build_failure_dependent_modules_nopoison (tests.test_main.TwoModulesTestCase)
> Building two dependent autotools modules, with failure, but nopoison ... ok
> test_build_failure_independent_modules (tests.test_main.TwoModulesTestCase)
> Building two independent autotools modules, with failure in first ... ok
> test_build_no_update (tests.test_main.TwoModulesTestCase)
> Building two uptodate, autotools module ... ok
> test_build_no_update_updated_deps_policy (tests.test_main.TwoModulesTestCase)
> Building two autotools module, (changed and not), with 'updated-deps' policy ... ok
> test_build_no_update_updated_policy (tests.test_main.TwoModulesTestCase)
> Building two uptodate, autotools module, with 'updated' policy ... ok
> test_make_check_failure_dependent_modules (tests.test_main.TwoModulesTestCase)
> Building two dependent autotools modules, with failure in make check ... ok
> test_make_check_failure_dependent_modules_makecheck_advisory (tests.test_main.TwoModulesTestCase)
> Building two dependent autotools modules, with *advisory* failure in make check ... ok
> test_compare_version (tests.test_main.UtilsTest) ... ok
> 
> ======================================================================
> ERROR: test_distutils (tests.test_main.EndToEndTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_main.py", line 703, in test_distutils
>     with_stdout_hidden(build.build)
>   File "/<<PKGBUILDDIR>>/tests/test_main.py", line 688, in with_stdout_hidden
>     return func()
>   File "/<<PKGBUILDDIR>>/jhbuild/frontends/buildscript.py", line 172, in build
>     error, altphases = module.run_phase(self, phase)
>   File "/<<PKGBUILDDIR>>/jhbuild/modtypes/__init__.py", line 420, in run_phase
>     method(buildscript)
>   File "/<<PKGBUILDDIR>>/jhbuild/modtypes/distutils.py", line 64, in do_build
>     buildscript.execute(cmd, cwd = srcdir, extra_env = self.extra_env)
>   File "/<<PKGBUILDDIR>>/jhbuild/frontends/terminal.py", line 288, in execute
>     print(b''.join(output))
> TypeError: sequence item 0: expected a bytes-like object, str found
> 
> ----------------------------------------------------------------------
> Ran 43 tests in 9.050s
> 
> FAILED (errors=1)
> *** Checking out hello *** [1/1]
> *** Configuring hello *** [1/1]
> *** Building hello *** [1/1]
> *** Installing hello *** [1/1]
> *** success *** [1/1]
> *** Checking out libhello *** [1/2]
> *** Configuring libhello *** [1/2]
> *** Building libhello *** [1/2]
> *** Installing libhello *** [1/2]
> *** Checking out hello *** [2/2]
> *** Configuring hello *** [2/2]
> *** Building hello *** [2/2]
> *** Installing hello *** [2/2]
> *** success *** [2/2]
> *** Checking out hello *** [1/1]
> *** Building hello *** [1/1]
> make[2]: *** [Makefile:924: check] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/jhbuild_3.35.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-gnome-maintainers mailing list