[Pkg-javascript-devel] Bug#1015114: node-iconv: FTBFS: ModuleNotFoundError: No module named 'six'

Lucas Nussbaum lucas at debian.org
Sat Jul 16 14:31:15 BST 2022


Source: node-iconv
Version: 3.0.1+~3.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 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>>'
> node-gyp configure --node-iconv-use-system-libiconv=1
> gyp info it worked if it ends with ok
> gyp info using node-gyp at 9.0.0
> gyp info using node at 16.15.1 | linux | x64
> gyp info find Python using Python version 3.10.5 found at "/usr/bin/python3"
> gyp info spawn /usr/bin/python3
> gyp info spawn args [
> gyp info spawn args   '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
> gyp info spawn args   'binding.gyp',
> gyp info spawn args   '-f',
> gyp info spawn args   'make',
> gyp info spawn args   '-I',
> gyp info spawn args   '/<<PKGBUILDDIR>>/build/config.gypi',
> gyp info spawn args   '-I',
> gyp info spawn args   '/usr/share/nodejs/node-gyp/addon.gypi',
> gyp info spawn args   '-I',
> gyp info spawn args   '/usr/include/nodejs/common.gypi',
> gyp info spawn args   '-Dlibrary=shared_library',
> gyp info spawn args   '-Dvisibility=default',
> gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',
> gyp info spawn args   '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
> gyp info spawn args   '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
> gyp info spawn args   '-Dmodule_root_dir=/<<PKGBUILDDIR>>',
> gyp info spawn args   '-Dnode_engine=v8',
> gyp info spawn args   '--depth=.',
> gyp info spawn args   '--no-parallel',
> gyp info spawn args   '--generator-output',
> gyp info spawn args   'build',
> gyp info spawn args   '-Goutput_dir=.'
> gyp info spawn args ]
> Traceback (most recent call last):
>   File "/usr/share/nodejs/node-gyp/gyp/gyp_main.py", line 33, in <module>
>     sys.exit(load_entry_point('gyp==0.1', 'console_scripts', 'gyp')())
>   File "/usr/share/nodejs/node-gyp/gyp/gyp_main.py", line 25, in importlib_load_entry_point
>     return next(matches).load()
>   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
>     module = import_module(match.group('module'))
>   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File "/usr/lib/python3/dist-packages/gyp/__init__.py", line 10, in <module>
>     import gyp.input
>   File "/usr/lib/python3/dist-packages/gyp/input.py", line 8, in <module>
>     import gyp.common
>   File "/usr/lib/python3/dist-packages/gyp/common.py", line 14, in <module>
>     from six.moves import collections_abc
> ModuleNotFoundError: No module named 'six'
> gyp ERR! configure error 
> gyp ERR! stack Error: `gyp` failed with exit code: 1
> gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/nodejs/node-gyp/lib/configure.js:265:16)
> gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
> gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
> gyp ERR! System Linux 5.10.0-9-cloud-amd64
> gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "configure" "--node-iconv-use-system-libiconv=1"
> gyp ERR! cwd /<<PKGBUILDDIR>>
> gyp ERR! node -v v16.15.1
> gyp ERR! node-gyp -v v9.0.0
> gyp ERR! not ok 
> make[1]: *** [debian/rules:12: override_dh_auto_configure] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/node-iconv_3.0.1+~3.0.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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