[Pkg-javascript-devel] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

2022-01-03 Thread Ayoyimika Ajibade
Hello Nicolas!

Am good for now.

Thanks for asking

On Fri, Dec 31, 2021 at 3:47 PM Nicolas Mora  wrote:
>
> Hello Ayoyimika,
>
> I've updated the webpack patch for webpack 5. Now the build goes
> further, but it fails anyway:
>
> make[1]: Entering directory '/<>'
> webpack -p
> internal/modules/cjs/loader.js:818
>throw err;
>^
>
> Error: Cannot find module 'import-local'
> Require stack:
> - /usr/share/nodejs/webpack-cli/bin/cli.js
> - /usr/share/nodejs/webpack/bin/webpack.js
>  at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:815:15)
>  at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>  at Module.require (internal/modules/cjs/loader.js:887:19)
>  at require (internal/modules/cjs/helpers.js:74:18)
>  at Object. (/usr/share/nodejs/webpack-cli/bin/cli.js:5:21)
>  at Module._compile (internal/modules/cjs/loader.js:999:30)
>  at Object.Module._extensions..js
> (internal/modules/cjs/loader.js:1027:10)
>  at Module.load (internal/modules/cjs/loader.js:863:32)
>  at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>  at Module.require (internal/modules/cjs/loader.js:887:19) {
>code: 'MODULE_NOT_FOUND',
>requireStack: [
>  '/usr/share/nodejs/webpack-cli/bin/cli.js',
>  '/usr/share/nodejs/webpack/bin/webpack.js'
>]
> }
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
> make[1]: Leaving directory '/<>'
> make: *** [debian/rules:8: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
>
> I'll upload a new package to unstable with the new patch, let me know if
> you need further help.
>
> /Nicolas

-- 
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] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

2021-12-31 Thread Nicolas Mora

Hello Ayoyimika,

I've updated the webpack patch for webpack 5. Now the build goes 
further, but it fails anyway:


make[1]: Entering directory '/<>'
webpack -p
internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'import-local'
Require stack:
- /usr/share/nodejs/webpack-cli/bin/cli.js
- /usr/share/nodejs/webpack/bin/webpack.js
at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:815:15)

at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/share/nodejs/webpack-cli/bin/cli.js:5:21)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:1027:10)

at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
'/usr/share/nodejs/webpack-cli/bin/cli.js',
'/usr/share/nodejs/webpack/bin/webpack.js'
  ]
}
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2


I'll upload a new package to unstable with the new patch, let me know if 
you need further help.


/Nicolas

--
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] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

2021-12-30 Thread Ayoyimika Ajibade
Thanks a lot!

no specific dates yet, if the majority of reverse build dependencies
of node-webpack are fixed we can upload to unstable

On Thu, Dec 30, 2021 at 3:01 PM Nicolas Mora  wrote:
>
> Hello,
>
> Le 2021-12-30 à 06 h 22, Ayoyimika Ajibade a écrit :
> >
> > We are starting to build against webpack5 in experimental and the
> > package needed for local build is webpack and node-webpack-source from
> > experimental.
> > During a test rebuild, node-react-audio-player was found to fail to
> > build in that situation.
> >
> Thanks for reporting, I'll fix the package for experimental.
>
> Do you have an expected date when webpack 5 will be uploaded in unstable?
>
> /Nicolas

-- 
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] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

2021-12-30 Thread Nicolas Mora

Hello,

Le 2021-12-30 à 06 h 22, Ayoyimika Ajibade a écrit :


We are starting to build against webpack5 in experimental and the 
package needed for local build is webpack and node-webpack-source from 
experimental.
During a test rebuild, node-react-audio-player was found to fail to 
build in that situation.



Thanks for reporting, I'll fix the package for experimental.

Do you have an expected date when webpack 5 will be uploaded in unstable?

/Nicolas

--
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] Bug#1002863: node-react-audio-player: FTBFS with webpack5: Error: Invalid webpack options

2021-12-30 Thread Ayoyimika Ajibade

Source: node-react-audio-player
Version: 0.17.0-1
Severity: important
Justification: ftbfs
Tags: ftbfs
User: pkg-javascript-devel@alioth-lists.debian.net
Usertags: webpack5


Hi,

We are starting to build against webpack5 in experimental and the 
package needed for local build is webpack and node-webpack-source from 
experimental.
During a test rebuild, node-react-audio-player was found to fail to 
build in that situation.


Relevant part (hopefully):

   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
webpack -p
[webpack-cli] Error: Unknown option '-p'
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2


The full log is attached to this mail
sbuild (Debian sbuild) 0.81.2 (31 January 2021) on Ayoyimika-PC.localdomain

+==+
| node-react-audio-player 0.17.0-1 (amd64) Thu, 30 Dec 2021 10:03:44 + |
+==+

Package: node-react-audio-player
Version: 0.17.0-1
Source Version: 0.17.0-1
Distribution: unstable
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

I: NOTICE: Log filtering will replace 
'var/run/schroot/mount/unstable-amd64-sbuild-edd8bfd5-56d2-4cf6-830c-30a8e27dfc11'
 with '<>'
I: NOTICE: Log filtering will replace 
'build/node-react-audio-player-5xBmM0/resolver-AQ2HwR' with '<>'

+--+
| Update chroot|
+--+

Get:1 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
InRelease
Ign:1 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
InRelease
Get:2 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Release [951 B]
Get:2 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Release [951 B]
Get:3 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Release.gpg
Ign:3 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Release.gpg
Get:4 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Packages [798 B]
Err:4 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Packages
  Could not open file 
/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive/./Packages - 
open (13: Permission denied)
Get:4 file:/build/node-react-audio-player-5xBmM0/resolver-T2XFCG/apt_archive ./ 
Packages [1381 B]
Get:5 http://deb.debian.org/debian unstable InRelease [165 kB]
Get:6 http://deb.debian.org/debian experimental InRelease [75.4 kB]
Get:7 http://deb.debian.org/debian unstable/main Sources.diff/Index [63.6 kB]
Get:8 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index 
[63.6 kB]
Get:9 http://deb.debian.org/debian unstable/main all Contents (deb).diff/Index 
[63.8 kB]
Get:10 http://deb.debian.org/debian unstable/main amd64 Contents 
(deb).diff/Index [63.8 kB]
Get:11 http://deb.debian.org/debian experimental/main Sources.diff/Index [63.3 
kB]
Get:12 http://deb.debian.org/debian experimental/main amd64 Packages.diff/Index 
[63.3 kB]
Get:13 http://deb.debian.org/debian experimental/main amd64 Contents 
(deb).diff/Index [63.6 kB]
Get:14 http://deb.debian.org/debian experimental/main all Contents 
(deb).diff/Index [63.6 kB]
Get:15 http://deb.debian.org/debian unstable/main Sources 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [266 kB]
Get:16 http://deb.debian.org/debian unstable/main amd64 Packages 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [277 kB]
Get:15 http://deb.debian.org/debian unstable/main Sources 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [266 kB]
Get:17 http://deb.debian.org/debian unstable/main all Contents (deb) 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [152 kB]
Get:16 http://deb.debian.org/debian unstable/main amd64 Packages 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [277 kB]
Get:18 http://deb.debian.org/debian unstable/main amd64 Contents (deb) 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [90.8 kB]
Get:17 http://deb.debian.org/debian unstable/main all Contents (deb) 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [152 kB]
Get:19 http://deb.debian.org/debian experimental/main Sources 
T-2021-12-30-0201.21-F-2021-12-22-2012.55.pdiff [48.5 kB]
Get:18 http://deb.debian.org/debian unstable/main amd64 Contents (deb) 
T-2021-12-30-0801.19-F-2021-12-22-2012.55.pdiff [90.8 kB]
Get:20 http://deb.debian.org/debian experimental/main amd64 Packages 
T-2021-12-29-2008.02-F-2021-12-22-2012.55.pdiff [76.8 kB]
Get:19 http://deb.debian.org/debian experimental/main Sources