Your message dated Mon, 28 Jul 2025 22:43:07 +0200
with message-id <[email protected]>
and subject line Re: Bug#1077808: jquery: FTBFS on amd64/unstable: Error:
Cannot find module '/usr/lib/nodejs/requirejs/r.js'
has caused the Debian Bug report #1077808,
regarding jquery: FTBFS on amd64/unstable: Error: Cannot find module
'/usr/lib/nodejs/requirejs/r.js'
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.)
--
1077808: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077808
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jquery
Version: 3.3.1~dfsg-3
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
jquery.3.3.1~dfsg-3.unstable.amd64.log.txt.gz
Description: Binary data
--- End Message ---
--- Begin Message ---
On Thu, Feb 27, 2025 at 09:46:37PM +0800, Tianyu Chen wrote:
> src:jquery is already renamed to src:node-jquery.
node-jquery correctly builds.
Closing.
Chris
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel