[Pkg-javascript-devel] Bug#1002190: gyp: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 21 15:59:31 GMT 2021


Source: gyp
Version: 0.1+20210831gitd6c5dd5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/xcode_ninja.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/simple_copy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/ninja_syntax.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/common_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/win_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/input.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSProject.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/xml_fix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSUtil.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/mac_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/flock_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/xcodeproj_file.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/input_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/easy_xml_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/msvs_emulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/xcode_emulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSUserFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/easy_xml.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSSettings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSVersion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSToolFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSSettings_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> copying pylib/gyp/MSVSNew.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/xcode_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/msvs_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/msvs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/ninja_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/gypsh.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/analyzer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/xcode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/make.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/gypd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/dump_dependency_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/eclipse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/ninja.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> copying pylib/gyp/generator/cmake.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/generator
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/xcode_ninja.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/simple_copy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/ninja_syntax.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/common_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/win_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/input.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSProject.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/xml_fix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSUtil.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/mac_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/flock_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/xcodeproj_file.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/input_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/easy_xml_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/msvs_emulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/xcode_emulation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSUserFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/easy_xml.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSSettings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSVersion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSToolFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSSettings_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> copying pylib/gyp/MSVSNew.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/xcode_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/msvs_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/msvs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/ninja_test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/gypsh.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/analyzer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/xcode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/make.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/gypd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/dump_dependency_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/eclipse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/ninja.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> copying pylib/gyp/generator/cmake.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/gyp/generator
> a2x -L --doctype manpage --format manpage /<<PKGBUILDDIR>>/debian/gyp.txt > /<<PKGBUILDDIR>>/debian/gyp.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m unittest discover -v 
> gyp (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: gyp (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: gyp
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/__init__.py", line 10, in <module>
>     import gyp.input
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/input.py", line 8, in <module>
>     import gyp.common
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/gyp/common.py", line 497, in <module>
>     class OrderedSet(collections.MutableSet):
> AttributeError: module 'collections' has no attribute 'MutableSet'
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m unittest discover -v 
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/gyp_0.1+20210831gitd6c5dd5-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list