On Thu, Feb 20, 2020 at 10:16 PM Xavier <y...@debian.org> wrote:
>
> Le 20/02/2020 à 22:14, Xavier a écrit :
> > Le 20/02/2020 à 22:11, Bastien ROUCARIES a écrit :
> >> On Sun, Feb 16, 2020 at 5:28 PM Xavier <y...@debian.org> wrote:
> >>>
> >>> Hi,
> >>>
> >>> babel 7 is required by a lot of packages. At least tap=14 for its yaml
> >>> dependency (to be packaged separately), mathjax,...
> >>>
> >>> Upgrading babel needs babel itself. I discussed this with @praveen and
> >>> we didn't see a better way than embedding babel-7 in babel to compile it
> >>> (there are more steps than for rollup including some beta releases).
> >>>
> >>> Has anyone a better idea ?
> >>
> >> Yes I have
> >>
> >> staged build a la node-rollup-buble
> >>
> >> https://sources.debian.org/src/node-rollup-plugin-buble/0.19.4-2/debian/rules/
> >>
> >> build it by included babel7 in your path, do a binary upload then a
> >> source upload
> >>
> >> Bastien
> >
> > But in this case, a full archive rebuilt will fail
>
> Anyway rebuild fails for all compilers...


Yes and the trick is to do two upload:
- one using $(BABEL7) to already build babel7 for stage1 and a bin
upload (or a source upload including the builded babel7 and pointing
$(BABEL7) for stage1 to this embdeded one)
- Then when on the archive do a source upload only.

The staged build is the way to go as you noted for compiler

Bastien
>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to