[Pkg-javascript-devel] Bug#1015313: node-zkochan-cmd-shim: Fails to build package from source
Michael Ikwuegbu
michaelikwuegbu1 at gmail.com
Tue Jul 19 12:36:20 BST 2022
Package: node-zkochan-cmd-shim
Version: 5.2.1+~1.0.2-3
Severity: normal
X-Debbugs-Cc: michaelikwuegbu1 at gmail.com
Dear Maintainer,
The package failed to build from source.
Here is the log:
dpkg-buildpackage: info: source package node-zkochan-cmd-shim
dpkg-buildpackage: info: source version 5.3.0+~1.0.2-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Michael Ikwuegbu
<michaelikwuegbu1 at gmail.com>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf cmd-extension/node_modules/.cache cmd-extension/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/jest
Trying to remove ./node_modules/@types
unlink ./node_modules/typescript
unlink ./node_modules/@types/is-windows
Trying to remove ./node_modules/@types
unlink ./node_modules/memfs
rm cmd-extension/node_modules/.cache
unlink node_modules/cmd-extension
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building node-zkochan-cmd-shim using existing ./node-
zkochan-cmd-shim_5.3.0+~1.0.2.orig-cmd-extension.tar.gz
dpkg-source: info: building node-zkochan-cmd-shim using existing ./node-
zkochan-cmd-shim_5.3.0+~1.0.2.orig.tar.gz
dpkg-source: warning: ignoring deletion of file .travis.yml, use --include-
removal to override
dpkg-source: info: building node-zkochan-cmd-shim in node-zkochan-cmd-
shim_5.3.0+~1.0.2-1.debian.tar.xz
dpkg-source: info: building node-zkochan-cmd-shim in node-zkochan-cmd-
shim_5.3.0+~1.0.2-1.dsc
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link ./node_modules/@types/is-windows -> /usr/share/nodejs/@types/is-windows
Link ./node_modules/memfs -> /usr/share/nodejs/memfs
Link node_modules/cmd-extension -> ../cmd-extension
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ tsc --build --verbose --listEmittedFiles
[12:57:06 PM] Projects in this build:
* tsconfig.json
[12:57:07 PM] Project 'tsconfig.json' is out of date because output file
'index.js' does not exist
[12:57:07 PM] Building project '/home/mikemando/Desktop/outreachy/corepack-
packaging/zkochan-cmd-shim/node-zkochan-cmd-shim/tsconfig.json'...
TSFILE: /home/mikemando/Desktop/outreachy/corepack-packaging/zkochan-cmd-
shim/node-zkochan-cmd-shim/index.js.map
TSFILE: /home/mikemando/Desktop/outreachy/corepack-packaging/zkochan-cmd-
shim/node-zkochan-cmd-shim/index.js
TSFILE: /home/mikemando/Desktop/outreachy/corepack-packaging/zkochan-cmd-
shim/node-zkochan-cmd-shim/index.d.ts.map
TSFILE: /home/mikemando/Desktop/outreachy/corepack-packaging/zkochan-cmd-
shim/node-zkochan-cmd-shim/index.d.ts
TSFILE: /home/mikemando/Desktop/outreachy/corepack-packaging/zkochan-cmd-
shim/node-zkochan-cmd-shim/tsconfig.tsbuildinfo
dh_auto_test --buildsystem=nodejs
mkdir -p node_modules/\@zkochan
ln -s ../../. node_modules/\@zkochan/cmd-shim
/bin/sh -ex debian/tests/pkg-js/test
+ jest --ci -u
TypeError: /usr/share/nodejs/jest-runner/build/index.js: (0 ,
_genMapping.maybeAddMapping) is not a function
at SourceMap.mark (/usr/share/nodejs/@babel/generator/lib/source-
map.js:49:37)
at Buffer._mark
(/usr/share/nodejs/@babel/generator/lib/buffer.js:142:60)
at Buffer._append
(/usr/share/nodejs/@babel/generator/lib/buffer.js:121:12)
at Buffer.append
(/usr/share/nodejs/@babel/generator/lib/buffer.js:82:10)
at Generator._append
(/usr/share/nodejs/@babel/generator/lib/printer.js:192:52)
at Generator.token
(/usr/share/nodejs/@babel/generator/lib/printer.js:120:10)
at Generator.DirectiveLiteral
(/usr/share/nodejs/@babel/generator/lib/generators/base.js:67:10)
at /usr/share/nodejs/@babel/generator/lib/printer.js:309:19
at Buffer.withSource
(/usr/share/nodejs/@babel/generator/lib/buffer.js:212:5)
at Generator.withSource
(/usr/share/nodejs/@babel/generator/lib/printer.js:176:15)
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit
code 1
make: *** [debian/rules:8: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
-- System Information:
Debian Release: bookworm/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.16.0-6-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-zkochan-cmd-shim depends on:
ii node-is-windows 1.0.2+~cs1.0.0-1
node-zkochan-cmd-shim recommends no packages.
node-zkochan-cmd-shim suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list