[Pkg-javascript-devel] Bug#921896: json-js: FTBFS (ERROR: `cycle.min.map` is not a supported option)

Santiago Vila sanvila at debian.org
Sat Feb 9 23:49:46 GMT 2019


Package: src:json-js
Version: 0~20160510-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
test -x debian/rules
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
2 combinations of copyright and licensing found.
WARNING: 			New or changed notices discovered:

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

To fix the situation please do the following:
  1) Examine debian/copyright_* and referenced files
  2) Update debian/copyright as needed
  3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
uglifyjs --source-map cycle.min.map -o cycle.min.js cycle.js
Supported options:
  content         null
  filename        null
  includeSources  false
  root            null
  url             null
ERROR: `cycle.min.map` is not a supported option
    at DefaultsError.get (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:71:23)
    at fatal (/usr/lib/nodejs/uglify-js/bin/uglifyjs:291:53)
    at run (/usr/lib/nodejs/uglify-js/bin/uglifyjs:235:9)
    at Object.<anonymous> (/usr/lib/nodejs/uglify-js/bin/uglifyjs:160:5)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
make: *** [debian/rules:36: cycle.min.js] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

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

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

where you can get a full build log if you need it.

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