[Pkg-javascript-devel] Bug#918456: nodejs: Buffer deprecation warning to stderr makes many tests fail

Jérémy Lal kapouer at melix.org
Sun Jan 6 10:04:51 GMT 2019


Package: nodejs
Version: 10.15.0~dfsg-6
Severity: serious


Nodejs 10.15 prints a deprecation warning to stderr when
deprecated Buffer() call is made. (Correct way is now to
use e.g. Buffer.from()).

This makes many packages tests fail because autopkgtest fails
when something is printed to stderr.

It's a false positive, it should be fixed in all those packages,
however to allow quicker migration of nodejs 10 to testing,
i'm going to temporarily silence that warning.

Someone using NODE_PENDING_DEPRECATION=1 or --pending-deprecation flag
will still see it.

Jérémy

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nodejs depends on:
ii  libc-ares2     1.14.0-1
ii  libc6          2.28-4
ii  libgcc1        1:8.2.0-13
ii  libicu63       63.1-5
ii  libnghttp2-14  1.35.1-1
ii  libnode64      10.15.0~dfsg-6
ii  libssl1.1      1.1.1a-1
ii  libstdc++6     8.2.0-13
ii  libuv1         1.24.0-1
ii  zlib1g         1:1.2.11.dfsg-1

Versions of packages nodejs recommends:
ii  ca-certificates  20180409
ii  nodejs-doc       10.15.0~dfsg-6

nodejs suggests no packages.

-- no debconf information


More information about the Pkg-javascript-devel mailing list