[Pkg-javascript-devel] Bug#958868: charcodes component in node-babel7 ftbfs in buster-backports

Pirate Praveen praveen at onenetbeyond.org
Sun Apr 26 07:22:50 BST 2020


Package: node-babel7
Version: 7.4.5-2
Severity: important

When building node-babel7 for fasttrack.debian.net (like 
buster-backports but some packages taken from unstable or experimental) 
build failed.

Probably adding node-babel 6 as build dependency will fix this. Or we 
may need to embed charcodes that works with babel 7.

Not sure if change introduced in 7.4.5-3 will fix this.

cd charcodes; \
for D in ./packages/*; do \
mkdir "$D/lib"; \
babeljs-7 "$D/src/index.js" -o "$D/lib/index.js" --env-name "cjs"; \
babeljs-7 "$D/src/index.js" -o "$D/lib/index.mjs" --env-name "esm"; \
done
{ Error: [BABEL] 
/<<PKGBUILDDIR>>/charcodes/packages/babel-plugin-transform-charcodes/src/index.js: 
Cannot find module 'babel-types' (While processing: 
"/<<PKGBUILDDIR>>/node_modules/@babel/preset-env/lib/index.js$21")
   at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:581:15)
   at Function.Module._load (internal/modules/cjs/loader.js:507:25)
   at Module.require (internal/modules/cjs/loader.js:637:17)
   at require (internal/modules/cjs/helpers.js:22:18)
   at Object.<anonymous> 
(/usr/lib/nodejs/regenerator-transform/lib/visit.js:7:19)
   at Module._compile (internal/modules/cjs/loader.js:689:30)
   at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:700:10)
   at Module.load (internal/modules/cjs/loader.js:599:32)
   at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
   at Function.Module._load (internal/modules/cjs/loader.js:530:3) 
code: 'MODULE_NOT_FOUND' }
{ Error: [BABEL] 
/<<PKGBUILDDIR>>/charcodes/packages/babel-plugin-transform-charcodes/src/index.js: 
Cannot find module 'babel-types' (While processing: 
"/<<PKGBUILDDIR>>/node_modules/@babel/preset-env/lib/index.js$20")
   at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:581:15)
   at Function.Module._load (internal/modules/cjs/loader.js:507:25)
   at Module.require (internal/modules/cjs/loader.js:637:17)
   at require (internal/modules/cjs/helpers.js:22:18)
   at Object.<anonymous> 
(/usr/lib/nodejs/regenerator-transform/lib/visit.js:7:19)
   at Module._compile (internal/modules/cjs/loader.js:689:30)
   at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:700:10)
   at Module.load (internal/modules/cjs/loader.js:599:32)
   at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
   at Function.Module._load (internal/modules/cjs/loader.js:530:3) 
code: 'MODULE_NOT_FOUND' }
{ Error: [BABEL] 
/<<PKGBUILDDIR>>/charcodes/packages/charcodes/src/index.js: Cannot find 
module 'babel-types' (While processing: 
"/<<PKGBUILDDIR>>/node_modules/@babel/preset-env/lib/index.js$21")
   at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:581:15)
   at Function.Module._load (internal/modules/cjs/loader.js:507:25)
   at Module.require (internal/modules/cjs/loader.js:637:17)
   at require (internal/modules/cjs/helpers.js:22:18)
   at Object.<anonymous> 
(/usr/lib/nodejs/regenerator-transform/lib/visit.js:7:19)
   at Module._compile (internal/modules/cjs/loader.js:689:30)
   at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:700:10)
   at Module.load (internal/modules/cjs/loader.js:599:32)
   at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
   at Function.Module._load (internal/modules/cjs/loader.js:530:3) 
code: 'MODULE_NOT_FOUND' }
{ Error: [BABEL] 
/<<PKGBUILDDIR>>/charcodes/packages/charcodes/src/index.js: Cannot find 
module 'babel-types' (While processing: 
"/<<PKGBUILDDIR>>/node_modules/@babel/preset-env/lib/index.js$20")
   at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:581:15)
   at Function.Module._load (internal/modules/cjs/loader.js:507:25)
   at Module.require (internal/modules/cjs/loader.js:637:17)
   at require (internal/modules/cjs/helpers.js:22:18)
   at Object.<anonymous> 
(/usr/lib/nodejs/regenerator-transform/lib/visit.js:7:19)
   at Module._compile (internal/modules/cjs/loader.js:689:30)
   at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:700:10)
   at Module.load (internal/modules/cjs/loader.js:599:32)
   at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
   at Function.Module._load (internal/modules/cjs/loader.js:530:3) 
code: 'MODULE_NOT_FOUND' }



More information about the Pkg-javascript-devel mailing list