[Pkg-javascript-devel] Bug#1015130: node-node-sass: FTBFS: ModuleNotFoundError: No module named 'six'
Lucas Nussbaum
lucas at debian.org
Sat Jul 16 14:31:24 BST 2022
Source: node-node-sass
Version: 7.0.1+git20220307.e6194b1+dfsg-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 scripts/build.js --force --libsass_ext=auto --libsass_cflags="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" --libsass_ldflags="-Wl,-z,relro -Wl,-z,now"
> Building: /usr/bin/node /usr/share/nodejs/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext=auto --libsass_cflags=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security --libsass_ldflags=-Wl,-z,relro -Wl,-z,now
> gyp info it worked if it ends with ok
> gyp verb cli [
> gyp verb cli '/usr/bin/node',
> gyp verb cli '/usr/share/nodejs/node-gyp/bin/node-gyp.js',
> gyp verb cli 'rebuild',
> gyp verb cli '--verbose',
> gyp verb cli '--libsass_ext=auto',
> gyp verb cli '--libsass_cflags=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security',
> gyp verb cli '--libsass_ldflags=-Wl,-z,relro -Wl,-z,now'
> gyp verb cli ]
> gyp info using node-gyp at 9.0.0
> gyp info using node at 16.15.1 | linux | x64
> gyp verb command rebuild []
> gyp verb command clean []
> gyp verb clean removing "build" directory
> gyp verb command configure []
> gyp verb find Python Python is not set from command line or npm configuration
> gyp verb find Python Python is not set from environment variable PYTHON
> gyp verb find Python checking if "python3" can be used
> gyp verb find Python - executing "python3" to get executable path
> gyp verb find Python - executable path is "/usr/bin/python3"
> gyp verb find Python - executing "/usr/bin/python3" to get version
> gyp verb find Python - version is "3.10.5"
> gyp info find Python using Python version 3.10.5 found at "/usr/bin/python3"
> gyp verb get node dir no --target version specified, falling back to host node version: 16.15.1
> gyp verb build dir attempting to create "build" dir: /<<PKGBUILDDIR>>/build
> gyp verb build dir "build" dir needed to be created? Yes
> gyp verb build/config.gypi creating config file
> gyp verb build/config.gypi writing out config file: /<<PKGBUILDDIR>>/build/config.gypi
> gyp verb config.gypi checking for gypi file: /<<PKGBUILDDIR>>/config.gypi
> gyp verb common.gypi checking for gypi file: /<<PKGBUILDDIR>>/common.gypi
> gyp verb gyp gyp format was not specified; forcing "make"
> 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/share/nodejs/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=auto" "--libsass_cflags=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "--libsass_ldflags=-Wl,-z,relro -Wl,-z,now"
> gyp ERR! cwd /<<PKGBUILDDIR>>
> gyp ERR! node -v v16.15.1
> gyp ERR! node-gyp -v v9.0.0
> gyp ERR! not ok
> Build failed with error code: 1
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/07/16/node-node-sass_7.0.1+git20220307.e6194b1+dfsg-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