[Pkg-javascript-devel] Bug#958868: Bug#958868: Bug#958868: charcodes component in node-babel7 ftbfs in buster-backports
Pirate Praveen
praveen at onenetbeyond.org
Mon Apr 27 10:28:18 BST 2020
On Sun, Apr 26, 2020 at 10:22 pm, Pirate Praveen
<praveen at onenetbeyond.org> wrote:
>
> 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
I was able to build this using npm build profile (babel 7 installed via
npm i). Since rebuild using the built deb works on sid but not on
buster-backports, I think it is a case of looser dependency which gets
selected automatically on sid but fails on buster-backports.
More information about the Pkg-javascript-devel
mailing list