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

Pirate Praveen praveen at onenetbeyond.org
Sun Apr 26 17:52:02 BST 2020


Control: tags -1 help

On Sun, Apr 26, 2020 at 11:52 am, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 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.

I tried adding node-babel-types 6 as build dependency and adding a link 
to node_modules but that was not it.

I also tried to backport nodejs 10.20.1 but failed with that also.

I have created a repo at https://people.debian.org/~praveen/babel7/ 
with all dependencies currently in backport-new if someone wants to 
reproduce this error. node-babel7 deb was built in sid.

This is the sbuild command I use to build,

sbuild -A -s --force-orig-source -c buster-amd64-sbuild 
--extra-repository='deb http://deb.debian.org/debian buster-backports 
main' --extra-repository='deb http://incoming.debian.org/debian-buildd 
buildd-buster-backports main' --extra-repository='deb 
http://HTTPS////people.debian.org/~praveen/babel7/ buster-backports 
main' --extra-repository-key=<path to key file>/praveen.key.new.asc 
--build-dep-resolver=aptitude -d buster-backports --no-run-lintian

and not just charcodes build but babel-polyfill also fails

[16:46:37] Compiling 'babel-polyfill/src/index.js'...
[16:46:37] Error: [BABEL] 
/<<PKGBUILDDIR>>/packages/babel-polyfill/src/index.js: Cannot find 
module 'babel-types' (While processing: 
"/usr/share/nodejs/@babel/preset-env/lib/index.js$19")
    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)
[16:46:37] Compiling 'babel-polyfill/src/noConflict.js'...
[16:46:37] Error: [BABEL] 
/<<PKGBUILDDIR>>/packages/babel-polyfill/src/noConflict.js: Cannot find 
module 'babel-types' (While processing: 
"/usr/share/nodejs/@babel/preset-env/lib/index.js$19")
    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)



More information about the Pkg-javascript-devel mailing list