[Pkg-javascript-devel] Bug#980012: FTBFS: TypeError: Cannot read property 'register' of undefined

Xavier Guimard yadd at debian.org
Tue Jan 12 21:43:38 GMT 2021


Package: coffeescript
Version: 1.12.8~dfsg-4
Severity: serious

coffeescript build seems broken. Logs:

 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building coffeescript using existing ./coffeescript_1.12.8~dfsg.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building coffeescript in coffeescript_1.12.8~dfsg-5.debian.tar.xz
dpkg-source: info: building coffeescript in coffeescript_1.12.8~dfsg-5.dsc
 debian/rules binary
CDBS WARNING:  copyright-check disabled - licensecheck is missing.
test -x debian/rules
dh_testroot
dh_prep
dh_installdirs -A
mkdir -p "."

Scanning upstream source for new/changed copyright notices...

set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --copyright --deb-fmt --ignore '^(debian/(changelog|copyright(|_hints|_newhints)))$' --lines 0 -- * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
/bin/sh: 1: /usr/bin/licensecheck: not found
0 combinations of copyright and licensing found.
No new copyright notices found - assuming no news is good news...
touch debian/stamp-copyright-check
mkdir -p "debian/upstream-cruft"
cp -a "lib" "debian/upstream-cruft/lib";
touch debian/stamp-upstream-cruft
mkdir -p docs/v1/browser-compiler
chmod +x bin/cake
bin/cake build
bin/cake build
bin/cake build:browser
bin/cake test
(node:2439631) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:2439631) [DEP0124] DeprecationWarning: REPLServer.rli is deprecated
passed 856 tests in 1.66 seconds
bin/cake test:browser
/<<PKGBUILDDIR>>/Cakefile:450
    CoffeeScript.register();
                 ^

TypeError: Cannot read property 'register' of undefined
    at runTests (/<<PKGBUILDDIR>>/Cakefile:450:18)
    at Object.action (/<<PKGBUILDDIR>>/Cakefile:562:19)
    at invoke (/<<PKGBUILDDIR>>/lib/coffee-script/cake.js:44:26)
    at Object.exports.run (/<<PKGBUILDDIR>>/lib/coffee-script/cake.js:70:20)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/cake:15:42)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47



More information about the Pkg-javascript-devel mailing list