Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #282395 > unrolled thread

Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

Started byAdrian Bunk <bunk@debian.org>
First post2020-07-20 08:20 +0200
Last post2020-07-28 10:40 +0200
Articles 10 — 4 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Adrian Bunk <bunk@debian.org> - 2020-07-20 08:20 +0200
    Bug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Pirate Praveen <praveen@onenetbeyond.org> - 2020-07-26 18:30 +0200
    Bug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Pirate Praveen <praveen@onenetbeyond.org> - 2020-07-26 19:00 +0200
    Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Pirate Praveen <praveen@onenetbeyond.org> - 2020-07-26 21:10 +0200
      Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Pirate Praveen <praveen@onenetbeyond.org> - 2020-07-26 21:10 +0200
        Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Jonas Smedegaard <jonas@jones.dk> - 2020-07-27 00:30 +0200
    Processed: Re: [Pkg-javascript-devel] Bug#965353: Bug#965353:  Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js:  isArray is not defined "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-26 21:10 +0200
    Bug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js:  isArray is not defined) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-26 21:10 +0200
    Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined Pirate Praveen <praveen@onenetbeyond.org> - 2020-07-28 09:40 +0200
    Bug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js:  isArray is not defined) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-28 10:40 +0200

#282395 — Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromAdrian Bunk <bunk@debian.org>
Date2020-07-20 08:20 +0200
SubjectBug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AuxjA-7Zw-3@gated-at.bofh.it>
Source: node-babel7
Version: 7.10.5+~cs65.71.38-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=node-babel7&arch=all&ver=7.10.5%2B~cs65.71.38-2&stamp=1595148206&raw=0

...
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f node_modules/@babel/code-frame
cd babel-plugin-dynamic-import-node && babeljs-7 src --out-dir lib
ReferenceError: /<<PKGBUILDDIR>>/babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
    at /usr/share/nodejs/lodash/_baseOrderBy.js:24:7
    at arrayMap (/usr/share/nodejs/lodash/_arrayMap.js:19:21)
    at baseOrderBy (/usr/share/nodejs/lodash/_baseOrderBy.js:23:17)
    at /usr/share/nodejs/lodash/sortBy.js:48:10
    at apply (/usr/share/nodejs/lodash/_apply.js:18:25)
    at /usr/share/nodejs/lodash/_overRest.js:35:12
    at PluginPass.exit (/usr/share/nodejs/@babel/core/lib/transformation/block-hoist-plugin.js:58:43)
    at newFn (/usr/share/nodejs/@babel/traverse/lib/visitors.js:175:21)
    at NodePath._call (/usr/share/nodejs/@babel/traverse/lib/path/context.js:55:20)
    at NodePath.call (/usr/share/nodejs/@babel/traverse/lib/path/context.js:42:17) {
  code: 'BABEL_TRANSFORM_ERROR'
}
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 1

[toc] | [next] | [standalone]


#282970 — Bug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-07-26 18:30 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwRHb-2Yh-3@gated-at.bofh.it>
In reply to#282395
I'm wondering if this will require another bootstraping cycle as 
node-babel7 autopkgtest is also broken and it depends on itself.

[toc] | [prev] | [next] | [standalone]


#282971 — Bug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-07-26 19:00 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwSad-38w-1@gated-at.bofh.it>
In reply to#282395

On Sun, Jul 26, 2020 at 19:35, Adrian Bunk <bunk@debian.org> wrote:
> On Sun, Jul 26, 2020 at 09:55:47PM +0530, Pirate Praveen wrote:
>>  I'm wondering if this will require another bootstraping cycle as 
>> node-babel7
>>  autopkgtest is also broken and it depends on itself.
> 
> If the problem is in node-lodash and gets fixed there,
> shouldn't this fix everything?

I don't think the problem is in lodash as I can see babel upstream is 
already using lodash 4.17.19 in their yarn.lock 
https://github.com/babel/babel/blob/f7964a9ac51356f7df6404a25b27ba1cffba1ba7/yarn.lock#L7114

I think babel needs to use the same version of lodash it was built with 
and a breaking change in lodash was released as a minor/patch 
release/security release.

I think it is becoming more and more common to break API during 
security releases (we had to face this in rack/rails in ruby team).

Babel build situation is indeed a mess.

They are dicussing removing lodash from babel though see 
https://github.com/babel/babel/pull/11789

[toc] | [prev] | [next] | [standalone]


#282989 — Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-07-26 21:10 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwUc3-4yv-17@gated-at.bofh.it>
In reply to#282395

On Sun, Jul 26, 2020 at 22:43, Pirate Praveen 
<praveen@onenetbeyond.org> wrote:
> 
> 
> On Sun, Jul 26, 2020 at 22:24, Pirate Praveen 
> <praveen@onenetbeyond.org> wrote:
>> Babel build situation is indeed a mess.
> 
> It is even worse than I estimated. We can no longer build it with npm
> 
> DEB_BUILD_PROFILES=pkg.node-babel7.npm sbuild
> ...
> 
> HOME=`pwd` npm i
> npm ERR! code EUNSUPPORTEDPROTOCOL
> npm ERR! Unsupported URL Type "link:": 
> link:./eslint/babel-eslint-config-internal
> 
> we have to change it to yarn.

This did not fix the issue :( So we have to reopen this bug once the 
upload reaches the archive (which will close this bug as fixed).

[toc] | [prev] | [next] | [standalone]


#282991 — Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-07-26 21:10 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwUc3-4yv-23@gated-at.bofh.it>
In reply to#282989
Control: reopen -1

On Mon, Jul 27, 2020 at 00:32, Pirate Praveen 
<praveen@onenetbeyond.org> wrote:
> This did not fix the issue :( So we have to reopen this bug once the 
> upload reaches the archive (which will close this bug as fixed).

Thanks to the brave new world of embedding eveything and reducing the 
number of js packages. Complicated build systems in favor of reducing 
the metadata size, ftw!

[toc] | [prev] | [next] | [standalone]


#283007 — Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromJonas Smedegaard <jonas@jones.dk>
Date2020-07-27 00:30 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwXjz-6oJ-1@gated-at.bofh.it>
In reply to#282991

[Multipart message — attachments visible in raw view] — view raw

Quoting Pirate Praveen (2020-07-26 21:07:19)
> Control: reopen -1
> 
> On Mon, Jul 27, 2020 at 00:32, Pirate Praveen 
> <praveen@onenetbeyond.org> wrote:
> > This did not fix the issue :( So we have to reopen this bug once the 
> > upload reaches the archive (which will close this bug as fixed).
> 
> Thanks to the brave new world of embedding eveything and reducing the 
> number of js packages. Complicated build systems in favor of reducing 
> the metadata size, ftw!

Only the package uploader can be blamed for embedding _everything_!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

[toc] | [prev] | [next] | [standalone]


#282990 — Processed: Re: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-07-26 21:10 +0200
SubjectProcessed: Re: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<AwUc3-4yv-21@gated-at.bofh.it>
In reply to#282395
Processing control commands:

> reopen -1
Bug #965353 {Done: Pirate Praveen <praveen@debian.org>} [node-lodash] node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
'reopen' may be inappropriate when a bug has been closed with a version;
all fixed versions will be cleared, and you may need to re-add them.
Bug reopened
No longer marked as fixed in versions node-babel7/7.10.5+~cs65.71.38-3.

-- 
965353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965353
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#282993 — Bug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-07-26 21:10 +0200
SubjectBug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined)
Message-ID<AwUc3-4yv-37@gated-at.bofh.it>
In reply to#282395

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 26 Jul 2020 19:05:27 +0000
with message-id <E1jzlxf-0007Or-2K@fasolo.debian.org>
and subject line Bug#965353: fixed in node-babel7 7.10.5+~cs65.71.38-3
has caused the Debian Bug report #965353,
regarding node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965353
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#283134 — Bug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-07-28 09:40 +0200
SubjectBug#965353: [Pkg-javascript-devel] Bug#965353: Bug#965353: Bug#965353: Bug#965353: node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
Message-ID<Axsno-6O-5@gated-at.bofh.it>
In reply to#282395
Control: forwarded -1 
https://github.com/lodash-archive/lodash-cli/pull/141

On Sun, Jul 26, 2020 at 16:12, Nicolas Mora <nicolas@babelouest.org> 
wrote:
> I'm not sure yet if this would fix the bug but in all the build log
> errors, I see that the file /usr/share/nodejs/lodash/_baseOrderBy.js 
> is
> always the source of the error.
> 
> The file _baseOrderBy.js in the package seems buggy for an unresolved 
> reson.
> 
> File in node-lodash unstable package:
> 4.17.19+dfsg-1 _baseOrderBy.js https://paste.debian.net/1157886/
> 
> File in node-lodash bullseye package
> 4.17.15+dfsg-2 _baseOrderBy.js https://paste.debian.net/1157887/
> 
> In the unstable version, the call to isArray line 24 is the root of 
> errors.
> 
> Also, I see that the upstream version 4.17.19 isn't tagged as latest
> release, 4.17.16 is, maybe it's worth a try to package 4.17.16 
> instead?

I think I found the correct way,

https://github.com/lodash-archive/lodash-cli/pull/141

and now node-babel7 built fine. I'll upload both now.

[toc] | [prev] | [next] | [standalone]


#283142 — Bug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-07-28 10:40 +0200
SubjectBug#965353: marked as done (node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined)
Message-ID<Axtjr-Gu-9@gated-at.bofh.it>
In reply to#282395

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 28 Jul 2020 08:34:59 +0000
with message-id <E1k0L4d-00073r-W9@fasolo.debian.org>
and subject line Bug#965353: fixed in node-lodash 4.17.19+dfsg1-1
has caused the Debian Bug report #965353,
regarding node-babel7 FTBFS: babel-plugin-dynamic-import-node/src/index.js: isArray is not defined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965353
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web