Your message dated Sun, 12 Feb 2023 19:32:12 +0000
with message-id <[email protected]>
and subject line Bug#1025220: fixed in passenger 5.0.30-1.2+deb11u1
has caused the Debian Bug report #1025220,
regarding passenger: Passenger startup fails with nodejs applications using 
node versions later than 14.x
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 [email protected]
immediately.)


-- 
1025220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025220
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: passenger
Version: 5.0.30-1.2
Severity: important

Dear Maintainer,

Passenger errors out when starting a nodejs application when using a
nodejs version later than 14.x. It throws the following error:

/usr/share/passenger/helper-scripts/node-loader.js:41
GLOBAL.PhusionPassenger = exports.PhusionPassenger = new EventEmitter();
^

ReferenceError: GLOBAL is not defined
    at Object.<anonymous> 
(/usr/share/passenger/helper-scripts/node-loader.js:41:1)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

(Nodejs version: v18.12.1)

It seems that after 14.x the "GLOBAL" alias to the "global" object was
removed. Replacing the usage of "GLOBAL" with its lowercase variant in
the node-loader.js file seems to be the way to fix this.


-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-17-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages passenger depends on:
ii  libc6       2.31-13+deb11u5
ii  libcurl4    7.74.0-1.3+deb11u3
ii  libgcc-s1   10.2.1-6
ii  libruby2.7  2.7.4-1+deb11u1
ii  libstdc++6  10.2.1-6
ii  libuv1      1.40.0-2
ii  ruby        1:2.7+2
ii  ruby-rack   2.1.4-3
ii  zlib1g      1:1.2.11.dfsg-2+deb11u2

passenger recommends no packages.

Versions of packages passenger suggests:
ii  nodejs         18.12.1-deb-1nodesource1
pn  passenger-doc  <none>
ii  python3        3.9.2-3
pn  rails          <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: passenger
Source-Version: 5.0.30-1.2+deb11u1
Done: Antonio Terceiro <[email protected]>

We believe that the bug you reported is fixed in the latest version of
passenger, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated passenger 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 13 Dec 2022 19:48:20 -0300
Source: passenger
Architecture: source
Version: 5.0.30-1.2+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 1025220
Changes:
 passenger (5.0.30-1.2+deb11u1) bullseye; urgency=medium
 .
   * Add patch to enable usage with newer NodeJS versions (Closes: #1025220)
Checksums-Sha1:
 a5a08894ee0cf5d2114544db1c6a0002bd8a36a1 2605 passenger_5.0.30-1.2+deb11u1.dsc
 204ad50bf09f0112c4b61c6f4459ce0df69f088f 19248 
passenger_5.0.30-1.2+deb11u1.debian.tar.xz
 2651643e34d7631dad3f90697e03ba8fcbb011ec 15347 
passenger_5.0.30-1.2+deb11u1_source.buildinfo
Checksums-Sha256:
 a13f2baee5e0ced84bc3356cf2071bd37282955b26d74258895565e93790752e 2605 
passenger_5.0.30-1.2+deb11u1.dsc
 1b801092f1cd7692e3ed448f96cee2687089f2e8ae6fd5f8177b6ca0c0ef3665 19248 
passenger_5.0.30-1.2+deb11u1.debian.tar.xz
 19db94de59c842baa843f7a95351a70f18aab569ecd3008d7b4c25ae4ec61d58 15347 
passenger_5.0.30-1.2+deb11u1_source.buildinfo
Files:
 864c9c59de444edd35425e0f70b1c889 2605 ruby optional 
passenger_5.0.30-1.2+deb11u1.dsc
 e81462b42f0a0532d0ddf919c3e3a574 19248 ruby optional 
passenger_5.0.30-1.2+deb11u1.debian.tar.xz
 cc38131bd8dcab086cfffd1ac07f06af 15347 ruby optional 
passenger_5.0.30-1.2+deb11u1_source.buildinfo

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

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmPhPs0ACgkQ/A2xu81G
C97lshAAjZrmjhQT69xXP8wiw8gv6jemEhY3kMSaNb8Kelj9BUnRHX8PKtwzW1te
WJTAY89+9HLk+Q40j4G0BJF1CrLj39Kf+onkhcbn9ttg+Lcf2SCm8wVmjhUQfVA7
D3/CslDBj36xlVsyMIC2yWQ6keUYQJRG2Njjk4wA+PuPuj1LAJIpgKlXkfqCm9GB
ttlek3t7Jt7LO41Raut5j5/+moipoosmurDpeMjbf2D/rcqVa6PxJhPYcLkans01
jMUk6WXz+4o9FNewjvGughZC/expuEq+aL5icMgK8ukHKJzfPVl+T6/2LfoP8jxj
BIigCFodUV09LemRtcHVxQOQbzzOxgGlsW1ZzV/eI9I4dSAV+/CZB4b01NBvjpj/
VoJRdOHsfqfk4NboLca01iQm9bI25kF+Y8NuRBKkrQobhz7c+KoXbhgEEBtVrCOo
7OkhSfSytxBH2phZJXOB0VJokrLlRJElD5H1T9H1Skpix/KA2Ajp6GvAGtRvQ3eD
JI+d6M9XUWDl+gjkG+8PweXNhEE2BjDZ8FIlqQrqwCtzoUpVNXznotRfeterd1p1
iPKNG6un4oyvVYRrjK0CF7HN0nlXkm55sYGWBFOEXLSaEaUOihiSFM/678NfPwZL
1doYWho0KpMoCuJ1wxtsxPm0bJLMapPDMvEs1eemrLgo8psc0E8=
=tsPN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to