[Pkg-javascript-devel] Bug#918491: coffeescript: FTBFS (The "error/message" argument is ambiguous)

Santiago Vila sanvila at debian.org
Sun Jan 6 16:07:40 GMT 2019


Package: src:coffeescript
Version: 1.12.8~dfsg-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules binary-indep
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
failed 1 and passed 855 tests in 10.37 seconds 

  basic exception throwing 
  TypeError [ERR_AMBIGUOUS_ARGUMENT]: The "error/message" argument is ambiguous. The error "error" is identical to the message.
    at expectsError (assert.js:1:1)
    at throws (assert.js:1:1)
    at Function.<anonymous> (/<<PKGBUILDDIR>>/test/exception_handling.coffee:1:1)
    at global.test (/<<PKGBUILDDIR>>/Cakefile:1:1)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/test/exception_handling.coffee:1:1)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/test/exception_handling.coffee:1:1)
    at Module._compile (internal/modules/cjs/loader.js:1:1)
    at Object.exports.run (/<<PKGBUILDDIR>>/lib/coffee-script/coffee-script.js:1:1)
    at runTests (/<<PKGBUILDDIR>>/Cakefile:1:1)
    at Object.action (/<<PKGBUILDDIR>>/Cakefile:1:1)
    at invoke (/<<PKGBUILDDIR>>/lib/coffee-script/cake.js:1:1)
    at Object.exports.run (/<<PKGBUILDDIR>>/lib/coffee-script/cake.js:1:1)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/bin/cake:1:1)
    at Module._compile (internal/modules/cjs/loader.js:1:1)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1:1)
    at Module.load (internal/modules/cjs/loader.js:1:1)
    at tryModuleLoad (internal/modules/cjs/loader.js:1:1)
    at Function.Module._load (internal/modules/cjs/loader.js:1:1)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1:1)
    at startup (internal/bootstrap/node.js:1:1)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:1:1)
 
  function() {
    return throws((function() {
      throw 'error';
    }), 'error');
  }
make: *** [debian/rules:37: debian/stamp-build] Error 1
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/coffeescript.html

where you can get a full build log if you need it.
[ Note: It fails in sid but it builds ok in buster ]

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list