nodejs.git
3 years agoMerge nodejs (18.7.0+dfsg-5) import into refs/heads/workingbranch
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
Merge nodejs (18.7.0+dfsg-5) import into refs/heads/workingbranch

3 years agoallow vfp2 and allow setting arm_version option
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
allow vfp2 and allow setting arm_version option

Last-Update: 2022-08-29
Forwarded: https://github.com/nodejs/node/issues/44357

Gbp-Pq: Topic armel
Gbp-Pq: Name configure.patch

3 years ago[PATCH] net, dns: socket should handle its output as input
Adam Majer [Mon, 1 Aug 2022 11:16:23 +0000 (13:16 +0200)]
[PATCH] net, dns: socket should handle its output as input

As a consequence of https://github.com/nodejs/node/issues/43014 ,
server sockets and others, once connected, report string family
names. But when feeding these to Socket.connect(), it passes
these to host resolution with a string for family while a numeric
family is expected internally. This results in wrong hints flags
to be set and resolution to fail.

As solution, is to add ability to handle both numeric and string
family names when doing lookup and connect.

Fixes: https://github.com/nodejs/node/issues/44003
Gbp-Pq: Topic build
Gbp-Pq: Name getaddrinfo_no_iface.patch

3 years agofix_ppc64_regexp
Debian Javascript Maintainers [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
fix_ppc64_regexp

Gbp-Pq: Topic build
Gbp-Pq: Name fix_ppc64_regexp.patch

3 years ago[PATCH] test: fix test-socket-write-after-fin-error
Luigi Pinca [Tue, 12 Jul 2022 20:11:10 +0000 (22:11 +0200)]
[PATCH] test: fix test-socket-write-after-fin-error

The `'error'` event is not emitted because the socket is already
destroyed when `socket.write()` is called. Use the `socket.write()`
callback instead.

Gbp-Pq: Topic build
Gbp-Pq: Name upstream_uv_test_socket_write_after_fin_error.patch

3 years agotest does not pass on riscv64
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
test does not pass on riscv64

Last-Update: 2022-08-05
Forwarded: not-yet

Gbp-Pq: Topic build
Gbp-Pq: Name flaky-cpu-prof-riscv64.patch

3 years agoskip buffer NaN internal representation check this fails on whatever archs having...
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
skip buffer NaN internal representation check this fails on whatever archs having other internal representations of NaN.

Last-Update: 2022-05-02
Forwarded: https://github.com/nodejs/node/issues/42945

Gbp-Pq: Topic build
Gbp-Pq: Name skip-buffer-nan-internal-check.patch

3 years agofix double register usage on mipsel
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
fix double register usage on mipsel

Forwarded: not-yet
Last-Update: 2022-06-15

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_even_register_fix.patch

3 years agomipsel in debian supports 32-bit processors
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
mipsel in debian supports 32-bit processors

Forwarded: not-needed
Last-Update: 2021-11-03

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_is_32.patch

3 years agoon mipsel, mips64el, node --jitless segfaults
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
on mipsel, mips64el, node --jitless segfaults

Last-Update: 2020-06-03
Forwarded: https://github.com/nodejs/node/issues/33703

Gbp-Pq: Topic mips
Gbp-Pq: Name no_jitless.patch

3 years agomksnapshot uses too much memory on 32-bit mipsel
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
mksnapshot uses too much memory on 32-bit mipsel

Last-Update: 2020-06-03
Forwarded: https://bugs.chromium.org/p/v8/issues/detail?id=10586

Gbp-Pq: Topic mips
Gbp-Pq: Name less_mem.patch

3 years agouse configuration directive to set mips fpu mode
YunQiang Su [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
use configuration directive to set mips fpu mode

Forwarded: https://github.com/paul99/v8m-rb/issues/192
Last-Update: 2015-09-29

Gbp-Pq: Topic mips
Gbp-Pq: Name fpu.patch

3 years agofix compilation error on mipsel target
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
fix compilation error on mipsel target

Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

3 years agoremove google font from template.html, and link to local
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
remove google font from template.html, and link to local

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name privacy_breach.patch

3 years agocannot rebuilt dist/lexer.js, just use pure-js lexer
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
cannot rebuilt dist/lexer.js, just use pure-js lexer

Last-Update: 2020-11-24
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name native_lexer.patch

3 years agoMultiarch search path, arch triplet, DFHS path for modules
Bastien ROUCARIÈS [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
Multiarch search path, arch triplet, DFHS path for modules

Last-Update: 2018-09-30
Last-Update: 2020-03-04
Forwarded: https://github.com/nodejs/node/issues/22745
Reviewed-By: Xavier Guimard <yadd@debian.org>
Gbp-Pq: Topic dfsg
Gbp-Pq: Name multilib_modules.patch

3 years agoa test uses a benchmark that read alice.html, dfsg excluded
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
a test uses a benchmark that read alice.html, dfsg excluded

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

3 years agouse system-installed node-gyp for building test modules
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
use system-installed node-gyp for building test modules

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

3 years agodo not use dns.ADDRCONFIG for localhost
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
do not use dns.ADDRCONFIG for localhost

Last-Update: 2020-06-11
Bug-Debian: https://bugs.debian.org/962318
Forwarded: https://github.com/nodejs/node/issues/33816

it fails on IPv6-only systems. Setting it with libc fails on linux.
https://github.com/nodejs/node/issues/33279

Gbp-Pq: Topic deps
Gbp-Pq: Name localhost-no-addrconfig.patch

3 years agokeep nodejs compatible with libc-ares public headers
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
keep nodejs compatible with libc-ares public headers

Forwarded: not-needed
Last-Update: 2021-10-20

Gbp-Pq: Topic deps
Gbp-Pq: Name cares.patch

3 years agoadapt test-ci build target for buildd
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
adapt test-ci build target for buildd

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-02-09

* run tests with ./node
* remove addons from test-ci suite, because it creates a dependency loop
  nodejs -> node-gyp -> nodejs which is painful to manage.
* disabled because it requires stdin:
  + test-stdout-close-unref
  + test-regress-GH-746
* test-tick-processor fails on ppc64 and s390x, currently investigated
  https://github.com/nodejs/node/issues/2471
* test-cluster-disconnect sometimes fails on busy buildd, forwarded upstream
  https://github.com/nodejs/node/issues/3383
* test-fs-watch is flaky, might be related to https://github.com/nodejs/node/issues/4082
* huge timeout value for all platforms, buildd could be busy
* test-npm-install and test-release-npm must fail, debian package dfsg-repacked npm out
* ability to override CI_NATIVE_SUITES, CI_JS_SUITES
* disable tests failing because DNS is disabled
* sequential/test-http2-session-timeout is flaky https://github.com/nodejs/node/issues/20628

Gbp-Pq: Topic build
Gbp-Pq: Name test_ci.patch

3 years agoLink to -latomic by default
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
Link to -latomic by default

Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

This avoids surprises on mips*el/ppc*el

Gbp-Pq: Topic build
Gbp-Pq: Name flag_atomic.patch

3 years agobuild doc using marked and js-yaml
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
build doc using marked and js-yaml

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2021-03-03

While waiting for unified/remarked/rehyped modules to be available in debian

Gbp-Pq: Topic build
Gbp-Pq: Name doc.patch

3 years agodo not build cctest, build broken on debian
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
do not build cctest, build broken on debian

Last-Update: 2017-12-18
Forwarded: not yet !

Gbp-Pq: Topic build
Gbp-Pq: Name cctest_disable.patch

3 years agonodejs (18.7.0+dfsg-5) unstable; urgency=medium
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
nodejs (18.7.0+dfsg-5) unstable; urgency=medium

  * Tighten dependency with armv6k-support

[dgit import unpatched nodejs 18.7.0+dfsg-5]

3 years agoImport nodejs_18.7.0+dfsg-5.debian.tar.xz
Jérémy Lal [Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)]
Import nodejs_18.7.0+dfsg-5.debian.tar.xz

[dgit import tarball nodejs 18.7.0+dfsg-5 nodejs_18.7.0+dfsg-5.debian.tar.xz]

3 years agoMerge nodejs (18.7.0+dfsg-1) import into refs/heads/workingbranch
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Merge nodejs (18.7.0+dfsg-1) import into refs/heads/workingbranch

3 years agoImport nodejs_18.7.0+dfsg.orig.tar.xz
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Import nodejs_18.7.0+dfsg.orig.tar.xz

[dgit import orig nodejs_18.7.0+dfsg.orig.tar.xz]

3 years agoImport nodejs_18.7.0+dfsg.orig-types-node.tar.xz
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Import nodejs_18.7.0+dfsg.orig-types-node.tar.xz

[dgit import orig nodejs_18.7.0+dfsg.orig-types-node.tar.xz]

3 years ago[PATCH] net, dns: socket should handle its output as input
Adam Majer [Mon, 1 Aug 2022 11:16:23 +0000 (13:16 +0200)]
[PATCH] net, dns: socket should handle its output as input

As a consequence of https://github.com/nodejs/node/issues/43014 ,
server sockets and others, once connected, report string family
names. But when feeding these to Socket.connect(), it passes
these to host resolution with a string for family while a numeric
family is expected internally. This results in wrong hints flags
to be set and resolution to fail.

As solution, is to add ability to handle both numeric and string
family names when doing lookup and connect.

Fixes: https://github.com/nodejs/node/issues/44003
Gbp-Pq: Topic build
Gbp-Pq: Name getaddrinfo_no_iface.patch

3 years agofix_ppc64_regexp
Debian Javascript Maintainers [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
fix_ppc64_regexp

Gbp-Pq: Topic build
Gbp-Pq: Name fix_ppc64_regexp.patch

3 years ago[PATCH] test: fix test-socket-write-after-fin-error
Luigi Pinca [Tue, 12 Jul 2022 20:11:10 +0000 (22:11 +0200)]
[PATCH] test: fix test-socket-write-after-fin-error

The `'error'` event is not emitted because the socket is already
destroyed when `socket.write()` is called. Use the `socket.write()`
callback instead.

Gbp-Pq: Topic build
Gbp-Pq: Name upstream_uv_test_socket_write_after_fin_error.patch

3 years agotest does not pass on riscv64
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
test does not pass on riscv64

Last-Update: 2022-08-05
Forwarded: not-yet

Gbp-Pq: Topic build
Gbp-Pq: Name flaky-cpu-prof-riscv64.patch

3 years agoskip buffer NaN internal representation check this fails on whatever archs having...
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
skip buffer NaN internal representation check this fails on whatever archs having other internal representations of NaN.

Last-Update: 2022-05-02
Forwarded: https://github.com/nodejs/node/issues/42945

Gbp-Pq: Topic build
Gbp-Pq: Name skip-buffer-nan-internal-check.patch

3 years agofix double register usage on mipsel
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
fix double register usage on mipsel

Forwarded: not-yet
Last-Update: 2022-06-15

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_even_register_fix.patch

3 years agomipsel in debian supports 32-bit processors
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
mipsel in debian supports 32-bit processors

Forwarded: not-needed
Last-Update: 2021-11-03

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_is_32.patch

3 years agoon mipsel, mips64el, node --jitless segfaults
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
on mipsel, mips64el, node --jitless segfaults

Last-Update: 2020-06-03
Forwarded: https://github.com/nodejs/node/issues/33703

Gbp-Pq: Topic mips
Gbp-Pq: Name no_jitless.patch

3 years agomksnapshot uses too much memory on 32-bit mipsel
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
mksnapshot uses too much memory on 32-bit mipsel

Last-Update: 2020-06-03
Forwarded: https://bugs.chromium.org/p/v8/issues/detail?id=10586

Gbp-Pq: Topic mips
Gbp-Pq: Name less_mem.patch

3 years agouse configuration directive to set mips fpu mode
YunQiang Su [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
use configuration directive to set mips fpu mode

Forwarded: https://github.com/paul99/v8m-rb/issues/192
Last-Update: 2015-09-29

Gbp-Pq: Topic mips
Gbp-Pq: Name fpu.patch

3 years agofix compilation error on mipsel target
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
fix compilation error on mipsel target

Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

3 years agoremove google font from template.html, and link to local
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
remove google font from template.html, and link to local

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name privacy_breach.patch

3 years agocannot rebuilt dist/lexer.js, just use pure-js lexer
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
cannot rebuilt dist/lexer.js, just use pure-js lexer

Last-Update: 2020-11-24
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name native_lexer.patch

3 years agoMultiarch search path, arch triplet, DFHS path for modules
Bastien ROUCARIÈS [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Multiarch search path, arch triplet, DFHS path for modules

Last-Update: 2018-09-30
Last-Update: 2020-03-04
Forwarded: https://github.com/nodejs/node/issues/22745
Reviewed-By: Xavier Guimard <yadd@debian.org>
Gbp-Pq: Topic dfsg
Gbp-Pq: Name multilib_modules.patch

3 years agoa test uses a benchmark that read alice.html, dfsg excluded
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
a test uses a benchmark that read alice.html, dfsg excluded

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

3 years agouse system-installed node-gyp for building test modules
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
use system-installed node-gyp for building test modules

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

3 years agodo not use dns.ADDRCONFIG for localhost
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
do not use dns.ADDRCONFIG for localhost

Last-Update: 2020-06-11
Bug-Debian: https://bugs.debian.org/962318
Forwarded: https://github.com/nodejs/node/issues/33816

it fails on IPv6-only systems. Setting it with libc fails on linux.
https://github.com/nodejs/node/issues/33279

Gbp-Pq: Topic deps
Gbp-Pq: Name localhost-no-addrconfig.patch

3 years agokeep nodejs compatible with libc-ares public headers
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
keep nodejs compatible with libc-ares public headers

Forwarded: not-needed
Last-Update: 2021-10-20

Gbp-Pq: Topic deps
Gbp-Pq: Name cares.patch

3 years agoadapt test-ci build target for buildd
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
adapt test-ci build target for buildd

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-02-09

* run tests with ./node
* remove addons from test-ci suite, because it creates a dependency loop
  nodejs -> node-gyp -> nodejs which is painful to manage.
* disabled because it requires stdin:
  + test-stdout-close-unref
  + test-regress-GH-746
* test-tick-processor fails on ppc64 and s390x, currently investigated
  https://github.com/nodejs/node/issues/2471
* test-cluster-disconnect sometimes fails on busy buildd, forwarded upstream
  https://github.com/nodejs/node/issues/3383
* test-fs-watch is flaky, might be related to https://github.com/nodejs/node/issues/4082
* huge timeout value for all platforms, buildd could be busy
* test-npm-install and test-release-npm must fail, debian package dfsg-repacked npm out
* ability to override CI_NATIVE_SUITES, CI_JS_SUITES
* disable tests failing because DNS is disabled
* sequential/test-http2-session-timeout is flaky https://github.com/nodejs/node/issues/20628

Gbp-Pq: Topic build
Gbp-Pq: Name test_ci.patch

3 years agoLink to -latomic by default
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Link to -latomic by default

Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

This avoids surprises on mips*el/ppc*el

Gbp-Pq: Topic build
Gbp-Pq: Name flag_atomic.patch

3 years agobuild doc using marked and js-yaml
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
build doc using marked and js-yaml

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2021-03-03

While waiting for unified/remarked/rehyped modules to be available in debian

Gbp-Pq: Topic build
Gbp-Pq: Name doc.patch

3 years agodo not build cctest, build broken on debian
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
do not build cctest, build broken on debian

Last-Update: 2017-12-18
Forwarded: not yet !

Gbp-Pq: Topic build
Gbp-Pq: Name cctest_disable.patch

3 years agonodejs (18.7.0+dfsg-1) unstable; urgency=medium
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
nodejs (18.7.0+dfsg-1) unstable; urgency=medium

  * New upstream version 18.7.0+dfsg
  * Update flaky riscv64: sequential/test-cpu-prof-drained.
Closes: #1016707.
  * copyright: deps/base64 BSD-2-clause

[dgit import unpatched nodejs 18.7.0+dfsg-1]

3 years agoImport nodejs_18.7.0+dfsg-1.debian.tar.xz
Jérémy Lal [Fri, 12 Aug 2022 15:21:50 +0000 (16:21 +0100)]
Import nodejs_18.7.0+dfsg-1.debian.tar.xz

[dgit import tarball nodejs 18.7.0+dfsg-1 nodejs_18.7.0+dfsg-1.debian.tar.xz]

3 years agoMerge nodejs (18.6.0+dfsg-5) import into refs/heads/workingbranch
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
Merge nodejs (18.6.0+dfsg-5) import into refs/heads/workingbranch

3 years ago[PATCH] net, dns: socket should handle its output as input
Adam Majer [Mon, 1 Aug 2022 11:16:23 +0000 (13:16 +0200)]
[PATCH] net, dns: socket should handle its output as input

As a consequence of https://github.com/nodejs/node/issues/43014 ,
server sockets and others, once connected, report string family
names. But when feeding these to Socket.connect(), it passes
these to host resolution with a string for family while a numeric
family is expected internally. This results in wrong hints flags
to be set and resolution to fail.

As solution, is to add ability to handle both numeric and string
family names when doing lookup and connect.

Fixes: https://github.com/nodejs/node/issues/44003
Gbp-Pq: Topic build
Gbp-Pq: Name getaddrinfo_no_iface.patch

3 years agofix_ppc64_regexp
Debian Javascript Maintainers [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
fix_ppc64_regexp

Gbp-Pq: Topic build
Gbp-Pq: Name fix_ppc64_regexp.patch

3 years ago[PATCH] test: fix test-socket-write-after-fin-error
Luigi Pinca [Tue, 12 Jul 2022 20:11:10 +0000 (22:11 +0200)]
[PATCH] test: fix test-socket-write-after-fin-error

The `'error'` event is not emitted because the socket is already
destroyed when `socket.write()` is called. Use the `socket.write()`
callback instead.

Gbp-Pq: Topic build
Gbp-Pq: Name upstream_uv_test_socket_write_after_fin_error.patch

3 years agotest does not pass on riscv64
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
test does not pass on riscv64

Last-Update: 2022-07-17
Forwarded: not-yet

Gbp-Pq: Topic build
Gbp-Pq: Name flaky-cpu-prof-riscv64.patch

3 years agoskip buffer NaN internal representation check this fails on whatever archs having...
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
skip buffer NaN internal representation check this fails on whatever archs having other internal representations of NaN.

Last-Update: 2022-05-02
Forwarded: https://github.com/nodejs/node/issues/42945

Gbp-Pq: Topic build
Gbp-Pq: Name skip-buffer-nan-internal-check.patch

3 years agofix double register usage on mipsel
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
fix double register usage on mipsel

Forwarded: not-yet
Last-Update: 2022-06-15

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_even_register_fix.patch

3 years agomipsel in debian supports 32-bit processors
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
mipsel in debian supports 32-bit processors

Forwarded: not-needed
Last-Update: 2021-11-03

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_is_32.patch

3 years agoon mipsel, mips64el, node --jitless segfaults
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
on mipsel, mips64el, node --jitless segfaults

Last-Update: 2020-06-03
Forwarded: https://github.com/nodejs/node/issues/33703

Gbp-Pq: Topic mips
Gbp-Pq: Name no_jitless.patch

3 years agomksnapshot uses too much memory on 32-bit mipsel
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
mksnapshot uses too much memory on 32-bit mipsel

Last-Update: 2020-06-03
Forwarded: https://bugs.chromium.org/p/v8/issues/detail?id=10586

Gbp-Pq: Topic mips
Gbp-Pq: Name less_mem.patch

3 years agouse configuration directive to set mips fpu mode
YunQiang Su [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
use configuration directive to set mips fpu mode

Forwarded: https://github.com/paul99/v8m-rb/issues/192
Last-Update: 2015-09-29

Gbp-Pq: Topic mips
Gbp-Pq: Name fpu.patch

3 years agofix compilation error on mipsel target
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
fix compilation error on mipsel target

Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

3 years agoremove google font from template.html, and link to local
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
remove google font from template.html, and link to local

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name privacy_breach.patch

3 years agocannot rebuilt dist/lexer.js, just use pure-js lexer
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
cannot rebuilt dist/lexer.js, just use pure-js lexer

Last-Update: 2020-11-24
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name native_lexer.patch

3 years agoMultiarch search path, arch triplet, DFHS path for modules
Bastien ROUCARIÈS [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
Multiarch search path, arch triplet, DFHS path for modules

Last-Update: 2018-09-30
Last-Update: 2020-03-04
Forwarded: https://github.com/nodejs/node/issues/22745
Reviewed-By: Xavier Guimard <yadd@debian.org>
Gbp-Pq: Topic dfsg
Gbp-Pq: Name multilib_modules.patch

3 years agoa test uses a benchmark that read alice.html, dfsg excluded
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
a test uses a benchmark that read alice.html, dfsg excluded

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

3 years agouse system-installed node-gyp for building test modules
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
use system-installed node-gyp for building test modules

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

3 years agodo not use dns.ADDRCONFIG for localhost
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
do not use dns.ADDRCONFIG for localhost

Last-Update: 2020-06-11
Bug-Debian: https://bugs.debian.org/962318
Forwarded: https://github.com/nodejs/node/issues/33816

it fails on IPv6-only systems. Setting it with libc fails on linux.
https://github.com/nodejs/node/issues/33279

Gbp-Pq: Topic deps
Gbp-Pq: Name localhost-no-addrconfig.patch

3 years agokeep nodejs compatible with libc-ares public headers
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
keep nodejs compatible with libc-ares public headers

Forwarded: not-needed
Last-Update: 2021-10-20

Gbp-Pq: Topic deps
Gbp-Pq: Name cares.patch

3 years agoadapt test-ci build target for buildd
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
adapt test-ci build target for buildd

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-02-09

* run tests with ./node
* remove addons from test-ci suite, because it creates a dependency loop
  nodejs -> node-gyp -> nodejs which is painful to manage.
* disabled because it requires stdin:
  + test-stdout-close-unref
  + test-regress-GH-746
* test-tick-processor fails on ppc64 and s390x, currently investigated
  https://github.com/nodejs/node/issues/2471
* test-cluster-disconnect sometimes fails on busy buildd, forwarded upstream
  https://github.com/nodejs/node/issues/3383
* test-fs-watch is flaky, might be related to https://github.com/nodejs/node/issues/4082
* huge timeout value for all platforms, buildd could be busy
* test-npm-install and test-release-npm must fail, debian package dfsg-repacked npm out
* ability to override CI_NATIVE_SUITES, CI_JS_SUITES
* disable tests failing because DNS is disabled
* sequential/test-http2-session-timeout is flaky https://github.com/nodejs/node/issues/20628

Gbp-Pq: Topic build
Gbp-Pq: Name test_ci.patch

3 years agoLink to -latomic by default
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
Link to -latomic by default

Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

This avoids surprises on mips*el/ppc*el

Gbp-Pq: Topic build
Gbp-Pq: Name flag_atomic.patch

3 years agobuild doc using marked and js-yaml
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
build doc using marked and js-yaml

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2021-03-03

While waiting for unified/remarked/rehyped modules to be available in debian

Gbp-Pq: Topic build
Gbp-Pq: Name doc.patch

3 years agodo not build cctest, build broken on debian
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
do not build cctest, build broken on debian

Last-Update: 2017-12-18
Forwarded: not yet !

Gbp-Pq: Topic build
Gbp-Pq: Name cctest_disable.patch

3 years agonodejs (18.6.0+dfsg-5) unstable; urgency=medium
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
nodejs (18.6.0+dfsg-5) unstable; urgency=medium

  * Build-Depends gcc-11, g++-11.
    Allow transition while waiting for #1016628 to be sorted out.

[dgit import unpatched nodejs 18.6.0+dfsg-5]

3 years agoImport nodejs_18.6.0+dfsg-5.debian.tar.xz
Jérémy Lal [Thu, 4 Aug 2022 15:32:43 +0000 (16:32 +0100)]
Import nodejs_18.6.0+dfsg-5.debian.tar.xz

[dgit import tarball nodejs 18.6.0+dfsg-5 nodejs_18.6.0+dfsg-5.debian.tar.xz]

3 years agoImport nodejs_18.6.0+dfsg.orig.tar.xz
Jérémy Lal [Sat, 16 Jul 2022 13:35:17 +0000 (14:35 +0100)]
Import nodejs_18.6.0+dfsg.orig.tar.xz

[dgit import orig nodejs_18.6.0+dfsg.orig.tar.xz]

3 years agoImport nodejs_18.6.0+dfsg.orig-types-node.tar.xz
Jérémy Lal [Sat, 16 Jul 2022 13:35:17 +0000 (14:35 +0100)]
Import nodejs_18.6.0+dfsg.orig-types-node.tar.xz

[dgit import orig nodejs_18.6.0+dfsg.orig-types-node.tar.xz]

3 years agoMerge nodejs (16.15.1+dfsg-1) import into refs/heads/workingbranch
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
Merge nodejs (16.15.1+dfsg-1) import into refs/heads/workingbranch

3 years agoexplicitely load all error strings - w/a bug on mipsel
Sebastian Andrzej Siewior [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
explicitely load all error strings - w/a bug on mipsel

Forwarded: https://github.com/openssl/openssl/issues/18535
Reviewed-by: Jérémy Lal <kapouer@melix.org>
Last-Update: 2022-06-13

Gbp-Pq: Topic deps
Gbp-Pq: Name openssl-mips-18535.patch

3 years agoupdate openssl.cnf for openssl 3.0
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
update openssl.cnf for openssl 3.0

Forwarded: not-needed
Last-Update: 2022-05-26

Gbp-Pq: Topic deps
Gbp-Pq: Name openssl-cnf.patch

3 years agotest does not pass on riscv64
J�r�my Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
test does not pass on riscv64

Last-Update: 2022-06-13
Forwarded: not-yet

Gbp-Pq: Topic build
Gbp-Pq: Name flaky-cpu-prof-riscv64.patch

3 years agoskip buffer NaN internal representation check this fails on whatever archs having...
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
skip buffer NaN internal representation check this fails on whatever archs having other internal representations of NaN.

Last-Update: 2022-05-02
Forwarded: https://github.com/nodejs/node/issues/42945

Gbp-Pq: Topic build
Gbp-Pq: Name skip-buffer-nan-internal-check.patch

3 years agomipsel in debian supports 32-bit processors
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
mipsel in debian supports 32-bit processors

Forwarded: not-needed
Last-Update: 2021-11-03

Gbp-Pq: Topic mips
Gbp-Pq: Name mipsel_is_32.patch

3 years agoon mipsel, mips64el, node --jitless segfaults
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
on mipsel, mips64el, node --jitless segfaults

Last-Update: 2020-06-03
Forwarded: https://github.com/nodejs/node/issues/33703

Gbp-Pq: Topic mips
Gbp-Pq: Name no_jitless.patch

3 years agomksnapshot uses too much memory on 32-bit mipsel
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
mksnapshot uses too much memory on 32-bit mipsel

Last-Update: 2020-06-03
Forwarded: https://bugs.chromium.org/p/v8/issues/detail?id=10586

Gbp-Pq: Topic mips
Gbp-Pq: Name less_mem.patch

3 years agouse configuration directive to set mips fpu mode
YunQiang Su [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
use configuration directive to set mips fpu mode

Forwarded: https://github.com/paul99/v8m-rb/issues/192
Last-Update: 2015-09-29

Gbp-Pq: Topic mips
Gbp-Pq: Name fpu.patch

3 years agofix compilation error on mipsel target
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
fix compilation error on mipsel target

Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

3 years agoremove google font from template.html, and link to local
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
remove google font from template.html, and link to local

Last-Update: 2015-09-09
Forwarded: not-needed

===================================================================

Gbp-Pq: Topic dfsg
Gbp-Pq: Name privacy_breach.patch

3 years agocannot rebuilt dist/lexer.js, just use pure-js lexer
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
cannot rebuilt dist/lexer.js, just use pure-js lexer

Last-Update: 2020-11-24
Forwarded: not-needed

Gbp-Pq: Topic dfsg
Gbp-Pq: Name native_lexer.patch

3 years agoMultiarch search path, arch triplet, DFHS path for modules
Bastien ROUCARIÈS [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
Multiarch search path, arch triplet, DFHS path for modules

Last-Update: 2018-09-30
Last-Update: 2020-03-04
Forwarded: https://github.com/nodejs/node/issues/22745
Reviewed-By: Xavier Guimard <yadd@debian.org>
Gbp-Pq: Topic dfsg
Gbp-Pq: Name multilib_modules.patch

3 years agoa test uses a benchmark that read alice.html, dfsg excluded
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
a test uses a benchmark that read alice.html, dfsg excluded

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

3 years agouse system-installed node-gyp for building test modules
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
use system-installed node-gyp for building test modules

Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

3 years agodo not use dns.ADDRCONFIG for localhost
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
do not use dns.ADDRCONFIG for localhost

Last-Update: 2020-06-11
Bug-Debian: https://bugs.debian.org/962318
Forwarded: https://github.com/nodejs/node/issues/33816

it fails on IPv6-only systems. Setting it with libc fails on linux.
https://github.com/nodejs/node/issues/33279

Gbp-Pq: Topic deps
Gbp-Pq: Name localhost-no-addrconfig.patch

3 years agokeep nodejs compatible with libc-ares public headers
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
keep nodejs compatible with libc-ares public headers

Forwarded: not-needed
Last-Update: 2021-10-20

Gbp-Pq: Topic deps
Gbp-Pq: Name cares.patch

3 years agoadapt test-ci build target for buildd
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
adapt test-ci build target for buildd

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-02-09

* run tests with ./node
* remove addons from test-ci suite, because it creates a dependency loop
  nodejs -> node-gyp -> nodejs which is painful to manage.
* disabled because it requires stdin:
  + test-stdout-close-unref
  + test-regress-GH-746
* test-tick-processor fails on ppc64 and s390x, currently investigated
  https://github.com/nodejs/node/issues/2471
* test-cluster-disconnect sometimes fails on busy buildd, forwarded upstream
  https://github.com/nodejs/node/issues/3383
* test-fs-watch is flaky, might be related to https://github.com/nodejs/node/issues/4082
* huge timeout value for all platforms, buildd could be busy
* test-npm-install and test-release-npm must fail, debian package dfsg-repacked npm out
* ability to override CI_NATIVE_SUITES, CI_JS_SUITES
* disable tests failing because DNS is disabled
* sequential/test-http2-session-timeout is flaky https://github.com/nodejs/node/issues/20628

Gbp-Pq: Topic build
Gbp-Pq: Name test_ci.patch

3 years agoLink to -latomic by default
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
Link to -latomic by default

Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093

This avoids surprises on mips*el/ppc*el

Gbp-Pq: Topic build
Gbp-Pq: Name flag_atomic.patch

3 years agobuild doc using marked and js-yaml
Jérémy Lal [Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)]
build doc using marked and js-yaml

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2021-03-03

While waiting for unified/remarked/rehyped modules to be available in debian

Gbp-Pq: Topic build
Gbp-Pq: Name doc.patch