[Pkg-javascript-devel] Bug#919237: node-jsonld: FTBFS in sid (Error: Can't resolve 'rdf-canonize')

Santiago Vila sanvila at debian.org
Sun Jan 13 22:40:41 GMT 2019


Package: src:node-jsonld
Version: 1.4.0-2
Severity: serious
Tags: ftbfs

Hello Jonas.

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
BROWSERSLIST='node 6' babeljs \
	--no-babelrc --presets=env \
	--out-dir dist/node6/lib \
	-- lib
lib/ActiveContextCache.js -> dist/node6/lib/ActiveContextCache.js
lib/DocumentCache.js -> dist/node6/lib/DocumentCache.js
lib/JsonLdError.js -> dist/node6/lib/JsonLdError.js
lib/JsonLdProcessor.js -> dist/node6/lib/JsonLdProcessor.js
lib/NQuads.js -> dist/node6/lib/NQuads.js

[... snipped ...]

     [239] /usr/lib/nodejs/core-js/fn/symbol/index.js 254 bytes {0} [built]
     [247] ./lib/jsonld.js 54.6 kB {0} [built]
     [281] ./lib/flatten.js 1.06 kB {0} [built]
     [282] ./lib/fromRdf.js 17.3 kB {0} [built]
     [283] ./lib/toRdf.js 10.3 kB {0} [built]
        + 277 hidden modules
    
    WARNING in jsonld.min.js from UglifyJs
    Side effects in initialization of unused variable _expandIri [./lib/jsonld.js:66,13]
    Condition always false [./usr/lib/nodejs/regenerator-runtime/runtime.js:21,17]
    Dropping side-effect-free statement [./lib/frame.js:91,23]
    Side effects in initialization of unused variable _ret [./lib/frame.js:91,23]
    Dropping side-effect-free statement [./lib/compact.js:165,40]
    Side effects in initialization of unused variable _ret [./lib/compact.js:165,40]
    
    ERROR in ./lib/jsonld.js
    Module not found: Error: Can't resolve 'rdf-canonize' in '/<<PKGBUILDDIR>>/lib'
     @ ./lib/jsonld.js 60:15-38
     @ multi core-js/fn/array/from core-js/fn/array/includes core-js/fn/map core-js/fn/object/assign core-js/fn/promise core-js/fn/set core-js/fn/string/starts-with core-js/fn/symbol ./lib/index.js
    
    ERROR in ./lib/NQuads.js
    Module not found: Error: Can't resolve 'rdf-canonize' in '/<<PKGBUILDDIR>>/lib'
     @ ./lib/NQuads.js 8:17-40
     @ ./lib/jsonld.js
     @ multi core-js/fn/array/from core-js/fn/array/includes core-js/fn/map core-js/fn/object/assign core-js/fn/promise core-js/fn/set core-js/fn/string/starts-with core-js/fn/symbol ./lib/index.js
    
    ERROR in ./lib/util.js
    Module not found: Error: Can't resolve 'rdf-canonize' in '/<<PKGBUILDDIR>>/lib'
     @ ./lib/util.js 39:23-46
     @ ./lib/jsonld.js
     @ multi core-js/fn/array/from core-js/fn/array/includes core-js/fn/map core-js/fn/object/assign core-js/fn/promise core-js/fn/set core-js/fn/string/starts-with core-js/fn/symbol ./lib/index.js
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

This is just how the build ends in my autobuilder, but it also fails here:

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

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