[Pkg-javascript-devel] Bug#1022386: libjs-webrtc-adapter: FTBFS: make[1]: *** [debian/rules:26: out/adapter.js] Error 1

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:21:06 BST 2022


Source: libjs-webrtc-adapter
Version: 8.1.2~ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> babeljs --no-babelrc --presets @babel/preset-env \
> 	--source-root src/js/index.js \
> 	--out-dir dist \
> 	-- src/js
> Successfully compiled 12 files with Babel (994ms).
> rollup --strict --config=debian/rollup.config.js --format=iife --name=adapter --file=out/adapter.js dist/adapter_core5.js
> [!] Error: `moduleDirectories` option must only contain directory names. If you want to load modules from somewhere not supported by the default module resolution algorithm, see `modulePaths`.
> Error: `moduleDirectories` option must only contain directory names. If you want to load modules from somewhere not supported by the default module resolution algorithm, see `modulePaths`.
>     at Object.nodeResolve (/usr/share/nodejs/@rollup/plugin-node-resolve/dist/cjs/index.js:980:11)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/rollup.config.js:15:32)
>     at Module._compile (node:internal/modules/cjs/loader:1149:14)
>     at Object.require.extensions.<computed> [as .js] (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:621:20)
>     at Module.load (node:internal/modules/cjs/loader:1027:32)
>     at Function.Module._load (node:internal/modules/cjs/loader:868:12)
>     at Module.require (node:internal/modules/cjs/loader:1051:19)
>     at require (node:internal/modules/cjs/helpers:103:18)
>     at loadConfigFromBundledFile (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:631:42)
>     at getDefaultFromTranspiledConfigFile (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:613:12)
> 
> make[1]: *** [debian/rules:26: out/adapter.js] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/libjs-webrtc-adapter_8.1.2~ds-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list