Source: jquery
Version: 3.3.1~dfsg-3
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Tags: fbtfs

Dear maintainer,

jquery fails to build from source in unstable/amd64:

  […]

  Error: Cannot find module '/usr/lib/nodejs/requirejs/r.js'
      at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
      at Module._load (node:internal/modules/cjs/loader:986:27)
      at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:174:12)
      at node:internal/main/run_main_module:28:49 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
  }
  […]

This looked similar to #847740, so I updated the reference in
debian/rules to /usr/share/nodejs/requirejs/r.js. But it then fails
with a different error:

  TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string 
or an instance of Buffer, TypedArray, or DataView. Received an instance of 
Object
      at Object.writeFileSync (node:fs:2376:5)
      at done (/usr/lib/nodejs/uglify-js/bin/uglifyjs:516:20)
      at cb (/usr/lib/nodejs/uglify-js/bin/uglifyjs:324:39)
      at /usr/lib/nodejs/uglify-js/bin/uglifyjs:391:9
      at FSReqCallback.readFileAfterClose [as oncomplete] 
(node:internal/fs/read/context:68:3) {
    code: 'ERR_INVALID_ARG_TYPE'
  }


The full build log of the (first) FTBFS is attached.

Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: jquery.3.3.1~dfsg-3.unstable.amd64.log.txt.gz
Description: Binary data

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to