#1140994 node-yarnpkg: FTBFS: RollupError: "default" is not exported by "../../../../../usr/share/nodejs/tar/dist/esm/index.js", imported by "sources/tgzUtilsExt.ts"

#1140994#5
Date:
2026-06-28 20:51:35 UTC
From:
To:
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/202606/

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.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for p in packages/*; do \
	if test -e "$p"/.package.json; then \
		mv -f "$p"/.package.json "$p"/package.json; \
	fi; \
done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean --buildsystem=nodejs_no_lerna
Unable to load algoliasearch-client-javascript
/!\ yoga/package.json not found
Unable to load yoga
/!\ zlib-ng/package.json not found

[... snipped ...]

#1140994#8
Date:
2026-06-29 13:12:33 UTC
From:
To:
Hello,

Bug #1140994 in node-yarnpkg reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-yarnpkg/-/commit/a9a7276ebe06671cd243ad74251b6c5fefdfc84a
------------------------------------------------------------------------
Add fix for node-tar >= 7

Closes: #1140994
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140994