Debian Bug report logs - #954993
core-js and webpack is not working well together (breaks gitlab ui)

version graph

Package: gitlab; Maintainer for gitlab is Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for gitlab is src:gitlab (PTS, buildd, popcon).

Reported by: Pirate Praveen <praveen@onenetbeyond.org>

Date: Thu, 26 Mar 2020 13:00:02 UTC

Severity: grave

Found in version gitlab/12.8.6-1

Fixed in version gitlab/12.8.8-2

Done: Pirate Praveen <praveen@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#954993; Package webpack,gitlab,node-core-js. (Thu, 26 Mar 2020 13:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
New Bug report received and forwarded. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Thu, 26 Mar 2020 13:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: core-js and webpack is not working well together (breaks gitlab ui)
Date: Thu, 26 Mar 2020 18:27:44 +0530
Package: webpack,gitlab,node-core-js
severity: important

With node-core-js from system, web console while visiting the gitlab 
instance (gitlab 12.8.6 in experimental)

the following error is shown and some ui elements don't work as 
expected (text are when trying to edit a file, clone button drop down 
etc)

TypeError: isObject is not a function
main.chunk.js line 11432 > eval:7:22
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/document-create-element.js:7
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11432
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/ie8-dom-define.js:5
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11654
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/object-define-property.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11965
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/create-non-enumerable-property.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11364
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/set-global.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12257
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/shared-store.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12302
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/shared.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12313
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/well-known-symbol.js:9
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12591
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/to-string-tag-support.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12502
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.object.to-string.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13012
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.function.name.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12789
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.regexp.to-string.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13092
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.regexp.constructor.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13069
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.string.split.js:5
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13223
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/indexed-object.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11676
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/to-indexed-object.js:2
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12425
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.iterator.js:3
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12730
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/webpack/buildin/global.js:7
   js http://gitlab.lxc/assets/webpack/main.chunk.js:14273
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/global.js:27
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11599
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/path.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12110
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/define-well-known-symbol.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11410
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.iterator.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13270
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/is-object.js:5
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11775
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.slice.js:7
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12766
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.description.js:9
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13259
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.symbol.js:5
   js http://gitlab.lxc/assets/webpack/main.chunk.js:13282
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/internals/export.js:1
   js http://gitlab.lxc/assets/webpack/main.chunk.js:11465
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> 
webpack-internal:///../../../../nodejs/core-js/modules/es.array.concat.js:5
   js http://gitlab.lxc/assets/webpack/main.chunk.js:12637
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   <anonymous> webpack-internal:///./main.js:2
   <anonymous> webpack-internal:///./main.js:342
   js http://gitlab.lxc/assets/webpack/main.chunk.js:15689
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   166 
http://gitlab.lxc/assets/webpack/pages.projects.show.chunk.js:369
   __webpack_require__ 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:84
   checkDeferredModules 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:46
   webpackJsonpCallback 
http://gitlab.lxc/assets/webpack/runtime.bundle.js:33
   <anonymous> 
http://gitlab.lxc/assets/webpack/pages.projects.show.chunk.js:1

​When using core-js from npmjs.com, the following error is shown

TypeError: Symbol is undefined
main.chunk.js line 2336 > eval:10:3
   exports well-known-symbol.js:10
   <anonymous> set-to-string-tag.js:5
   js main.chunk.js:2080
   __webpack_require__ runtime.bundle.js:84
   <anonymous> es.symbol.js:33
   js main.chunk.js:2938
   __webpack_require__ runtime.bundle.js:84
   <anonymous> global.js:1
   js main.chunk.js:14026
   __webpack_require__ runtime.bundle.js:84
   <anonymous> global.js:16
   js main.chunk.js:1433
   __webpack_require__ runtime.bundle.js:84
   <anonymous> export.js:1
   js main.chunk.js:1288
   __webpack_require__ runtime.bundle.js:84
   <anonymous> es.array.concat.js:2
   js main.chunk.js:2382
   __webpack_require__ runtime.bundle.js:84
   <anonymous> main.js:2
   <anonymous> main.js:342
   js main.chunk.js:15442
   __webpack_require__ runtime.bundle.js:84
   166 pages.projects.show.chunk.js:369
   __webpack_require__ runtime.bundle.js:84
   checkDeferredModules runtime.bundle.js:46
   webpackJsonpCallback runtime.bundle.js:33
   <anonymous> pages.projects.show.chunk.js:1

​





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#954993; Package webpack,gitlab,node-core-js. (Fri, 27 Mar 2020 11:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Fri, 27 Mar 2020 11:30:02 GMT) (full text, mbox, link).


Message #10 received at 954993@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 954993@bugs.debian.org
Subject: public gitlab instance to troubleshoot this is now available
Date: Fri, 27 Mar 2020 16:56:49 +0530
You can see this error live at this instance,

https://4cc79c09-b1ac-4435-9f91-572bdd2e4a8b.pub.cloud.scaleway.com/users/sign_in?redirect_to_referer=yes#register-pane

click on the register button and look in web console.





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#954993; Package webpack,gitlab,node-core-js. (Sat, 28 Mar 2020 14:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 28 Mar 2020 14:09:04 GMT) (full text, mbox, link).


Message #15 received at 954993@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 954993@bugs.debian.org
Subject: Re: public gitlab instance to troubleshoot this is now available
Date: Sat, 28 Mar 2020 19:37:33 +0530
Control: reassign -1 gitlab
Control: found -1 12.8.6-1

On Fri, 27 Mar 2020 16:56:49 +0530 Pirate Praveen <
praveen@onenetbeyond.org> wrote:
> 
> You can see this error live at this instance,
> 
> 
https://4cc79c09-b1ac-4435-9f91-572bdd2e4a8b.pub.cloud.scaleway.com/users/sign_in?redirect_to_referer=yes#register-pane
> 
> click on the register button and look in web console.
> 

Found a similar issue here
https://github.com/zloirock/core-js/issues/743

and gitlab's webpack.config.js excludes node_modules but since we are
using core-js from system, babel is transpiling core-js as well,
creating the problem.






Bug reassigned from package 'webpack,gitlab,node-core-js' to 'gitlab'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to 954993-submit@bugs.debian.org. (Sat, 28 Mar 2020 14:09:04 GMT) (full text, mbox, link).


Marked as found in versions gitlab/12.8.6-1. Request was from Pirate Praveen <praveen@onenetbeyond.org> to 954993-submit@bugs.debian.org. (Sat, 28 Mar 2020 14:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#954993; Package gitlab. (Sat, 28 Mar 2020 14:27:02 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 28 Mar 2020 14:27:02 GMT) (full text, mbox, link).


Message #24 received at 954993@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 954993@bugs.debian.org
Subject: Re: public gitlab instance to troubleshoot this is now available
Date: Sat, 28 Mar 2020 19:55:04 +0530
Control: severity -1 grave
Control: tags -1 pending

On Sat, 28 Mar 2020 19:37:33 +0530 Pirate Praveen <
praveen@onenetbeyond.org> wrote:
> Found a similar issue here
> https://github.com/zloirock/core-js/issues/743
> 
> and gitlab's webpack.config.js excludes node_modules but since we are
> using core-js from system, babel is transpiling core-js as well,
> creating the problem.

Fixed by excluding core-js from transpiling




Severity set to 'grave' from 'important' Request was from Pirate Praveen <praveen@onenetbeyond.org> to 954993-submit@bugs.debian.org. (Sat, 28 Mar 2020 14:27:02 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Pirate Praveen <praveen@onenetbeyond.org> to 954993-submit@bugs.debian.org. (Sat, 28 Mar 2020 14:27:03 GMT) (full text, mbox, link).


Reply sent to Pirate Praveen <praveen@debian.org>:
You have taken responsibility. (Sat, 28 Mar 2020 15:57:04 GMT) (full text, mbox, link).


Notification sent to Pirate Praveen <praveen@onenetbeyond.org>:
Bug acknowledged by developer. (Sat, 28 Mar 2020 15:57:04 GMT) (full text, mbox, link).


Message #33 received at 954993-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 954993-close@bugs.debian.org
Subject: Bug#954993: fixed in gitlab 12.8.8-2
Date: Sat, 28 Mar 2020 15:53:04 +0000
Source: gitlab
Source-Version: 12.8.8-2
Done: Pirate Praveen <praveen@debian.org>

We believe that the bug you reported is fixed in the latest version of
gitlab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 954993@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <praveen@debian.org> (supplier of updated gitlab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 28 Mar 2020 19:55:14 +0530
Source: gitlab
Architecture: source
Version: 12.8.8-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Pirate Praveen <praveen@debian.org>
Closes: 954993
Changes:
 gitlab (12.8.8-2) experimental; urgency=medium
 .
   * Exclude core-js from transpiling (Closes: #954993)
Checksums-Sha1:
 4e643b948b29b996d82cc533f091afac4a7da735 3827 gitlab_12.8.8-2.dsc
 875d0bc7778099003b199ba6ca5e479db305be54 84160 gitlab_12.8.8-2.debian.tar.xz
 31af1984b0e6eab8ccec70812c14f55a5fb9160a 8910 gitlab_12.8.8-2_amd64.buildinfo
Checksums-Sha256:
 950f9a6acfe93b56e68351295305d578cf34d5b512973170f3f64f7bf4934b31 3827 gitlab_12.8.8-2.dsc
 0fbbf08566b4bbb4d74323f803c1f44d02b860658b24463038510b7d6194dec2 84160 gitlab_12.8.8-2.debian.tar.xz
 6d2d0e8e5c9d5827ee0f0ee42b897f488e49acf495ab559f28080b8655d1b4a3 8910 gitlab_12.8.8-2_amd64.buildinfo
Files:
 171461a2ec5948b7511db5b260d37331 3827 net optional gitlab_12.8.8-2.dsc
 ab25d312162b0dc24f9b335a2013901a 84160 net optional gitlab_12.8.8-2.debian.tar.xz
 2ae98986863b8f84ae463be302e8cf58 8910 net optional gitlab_12.8.8-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAl5/X2UACgkQj1PgGTsp
S3XEoQ//Y3S469zdKEW1b4KRvPyUNpO4m9mhpCmLRJqLh6Pu7nG16xG+GLpyHVre
b4Aqb2URKD+ZUqrCeJkgraEUIMSCXC3qQwm2h6JbNWV+03Odwm3EJxrPKnrak3Ny
7HVq3Uof9voysrbJTshDnOVm0YtB5AMycFHa8GQW/asJBF1XBfEgBrUqBH255jm4
X7AuLPE6jYlCOIwXtyA7o1cWkhuyZkIjGAJsJk5MwYkjTw0I+tBvyvGNL2LGLEY+
Bm9sxDBmbHjOPgnJ7gMonPIQ6Ow9imQgMsirJ9EHiLfyiHHNJHFWmA3VFOQFOdW9
+rWqlUb4uZmYTouDtsmiNd8op7M5nZqaiE2mMj+AOYH5h21tobOHWwfRlaHv++Cr
a5nJTmZSLxEVmO8gNP6oboCcm6Obgyu38eT0aMMd9OymWYB+VYPjIMItSA8rsnSB
qr/eArjia7Rh022qW88Ucpv+lSsZZbomwugTrz5IXy5pdZt+kuq2fRuTorZ/GNhl
4kySaPL3CwX8ERX2jRdAbju6mHRki/jAR+K4ATSXRB23bZHhoFO5EZCAJKqoFKGE
KwSc1HTYNjUDs7n6QUWkjifJd9x61c4nUrj7lA0xUX6Mbp6+NXXdbypcUiRPAo05
9H5c5y6YE9gudu0jdGwAwpmOzer/UZHzYxVbTcETtFG/pr0l6Fg=
=6ifg
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 27 Apr 2020 07:31:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 09:34:16 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.