[Pkg-javascript-devel] Bug#1029670: node-browser-pack: puts relative path to prelude into source map

Thorsten Glaser tg at mirbsd.de
Thu Jan 26 09:04:54 GMT 2023


Package: node-browser-pack
Version: 6.1.0+ds+~6.1.1-2
Severity: normal
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath toolchain
X-Debbugs-Cc: tg at mirbsd.de
Control: affects -1 src:dygraphs

    var preludePath = opts.preludePath ||  
        path.relative(basedir, defaultPreludePath).replace(/\\/g, '/');

… leads to reproducible-builds differences:

 ····"sources":·[
-········"../../../../usr/share/nodejs/browser-pack/_prelude.js",
+········"../../../../../usr/share/nodejs/browser-pack/_prelude.js",

I think for Debian it should just always write the absolute path in.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages node-browser-pack depends on:
ii  node-combine-source-map  0.8.0+ds-8
ii  node-defined             1.0.1+~1.0.0-1
ii  node-jsonstream          1.3.5-3
ii  node-safe-buffer         5.2.1+~cs2.1.2-3
ii  node-through2            4.0.2-2
ii  node-umd                 3.0.3+ds+~3.0.1-1
ii  nodejs                   18.13.0+dfsg-1

node-browser-pack recommends no packages.

node-browser-pack suggests no packages.

-- no debconf information


More information about the Pkg-javascript-devel mailing list