#1141793 node-yarnpkg: FTBFS: RollupError: Could not resolve "./libzipSync" from "../yarnpkg-libzip/sources/sync.ts" #1141793
- Package:
- src:node-yarnpkg
- Source:
- src:node-yarnpkg
- Submitter:
- Santiago Vila
- Date:
- 2026-08-17 19:37:02 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202607/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:node-yarnpkg, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] [ 97%] Building C object lib/CMakeFiles/zip.dir/zip_mkstempm.c.o [ 98%] Building C object lib/CMakeFiles/zip.dir/zip_source_file.c.o [100%] Building C object lib/CMakeFiles/zip.dir/zip_random_unix.c.o [100%] Linking C static library libzip.a [100%] Built target zip make[2]: Leaving directory '/<<PKGBUILDDIR>>/arcanis-libzip/build' Built libzip emcc: error: legacy setting used in strict mode: NODEJS_CATCH_EXIT emcc: error: legacy setting used in strict mode: NODEJS_CATCH_EXIT Found debian/nodejs/packages/yarnpkg-pnp/build cd ./packages/yarnpkg-pnp && sh -ex ../../debian/nodejs/packages/yarnpkg-pnp/build + rollup -c --bundleConfigAsCjs [36m [1m./sources/loader/_entryPoint.ts[22m → [1m./sources/hook.js[22m...[39m [1m[31m[!] [1mRollupError: Could not resolve "./libzipSync" from "../yarnpkg-libzip/sources/sync.ts"[22m[1m[39m[22m ../yarnpkg-libzip/sources/sync.ts [2m at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:321:30) at ModuleLoader.handleInvalidResolvedId (/usr/share/nodejs/rollup/dist/shared/rollup.js:26729:24) at /usr/share/nodejs/rollup/dist/shared/rollup.js:26691:26[22m dh_auto_build: error: cd ./packages/yarnpkg-pnp && sh -ex ../../debian/nodejs/packages/yarnpkg-pnp/build returned exit code 1 make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Using the help of an AI, I built this patch: https://salsa.debian.org/js-team/node-yarnpkg/-/merge_requests/7 Hope this will help
We believe that the bug you reported is fixed in the latest version of
node-yarnpkg, 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 1141793@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-yarnpkg 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 17 Aug 2026 19:42:46 +0200
Source: node-yarnpkg
Architecture: source
Version: 4.1.0+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1141793
Changes:
node-yarnpkg (4.1.0+dfsg-8) unstable; urgency=medium
.
* Team upload
* Fix FTBFS with emscripten 6.0.5 (Closes: #1141793):
* Read the emscripten modules back from the object passed to the MODULARIZE
factory
* Fix build with typescript 6
Checksums-Sha1:
c3bb6b786a3ad89c9b7f28a10ff65aa2f9b3d697 8620 node-yarnpkg_4.1.0+dfsg-8.dsc
eee9d105cf5ce0ac3bfe093c5d991d3ce537ed19 98276 node-yarnpkg_4.1.0+dfsg-8.debian.tar.xz
Checksums-Sha256:
1aac26ec5a2612e05b622c5ee4ae3df5bbf1861b43fd108816e34f77aaec96be 8620 node-yarnpkg_4.1.0+dfsg-8.dsc
00e07c4ffe18593a8ffd497914da391382fda283d7e6591c73b266b107ae8601 98276 node-yarnpkg_4.1.0+dfsg-8.debian.tar.xz
Files:
a3960464fa9608e75784e6ef932c5ef4 8620 javascript optional node-yarnpkg_4.1.0+dfsg-8.dsc
71a932bfa3661bcb854a682e49dcb905 98276 javascript optional node-yarnpkg_4.1.0+dfsg-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqDXlgACgkQ9tdMp8mZ
7unZXQ/9EH0LaD8urUjP4cSOPwodLJlA2ocv5S3feAphK+LGP8QyKDEfb8e6Fisy
++/N/uBCpujzwe+v8/GF35fxlJewrAXVdO578KNG6t5XE/nG9+gxfAsfOkoARIlx
wkJ4pgfREhZueQxpyrg2oqUN0iKYJVlLH5feMh2ZGpxNkqO+WI3yUmOD9kJBaEWF
4WXCEoL6QCoXuSVJ+N28BhRS+eciOUYjZf80LuY0Suhea16I57eLj3qRV4QjseOx
Tl9w8vlK8puqMgddfE69DrA7v9FgxvF9Cgp95xJ2urbLbbdpeJEaVoYGC+8/B/pZ
17PWb+BTKGLwxUX9wLOxID/B2ywwGSKbbQ3mL7LaBkWNQSFKuRvaRXiq4EkMWJFx
h75UJHnXqNM1An422XGFfGzYyuXjtBVEomORv8nGMza8/ZxbETzRqtDCqj1qwueZ
7ZRV6zFAiZyTU5lEECxtBC8933W6oqZlKjQODS61dMt2y2gnRuyBX9Fkd8Qy1vXV
zKsgvSYR3+dmweTVs5tLlGlGAJXFnNTQoX52xZZ10hn7DKwNC6Kr32hBC3YMErnc
zrdXgO1jclEmLGH0nmNxvbP20EurOamXKiFu/NfPqOrqsEQG9ugksEh4LjVG2j6H
FvhOEBjNoEbkeRM87DRj1GXWZRi04cPYB3R024G9V4ZK783I+zI=
=dcTF
-----END PGP SIGNATURE-----