yarn FTBFS with node 20
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
node-yarnpkg (Debian) |
New
|
Unknown
|
|||
node-yarnpkg (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
The package initially FTBFS due to issues with "-Bsymbolic-
Adding the following to d/rules is enough to get past this error for now:
diff --git a/debian/rules b/debian/rules
index d95588f..3259611 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DEB_LDFLAGS_
+
%:
dh $@
However, removing the flag from the build got us into a different FTBFS issue also affecting Debian (https:/
This happens because the off_t type is being configured to be 72-bit long by cmake. After some investigation, we found out that the build of an embedded library injects a hook into cmake to call "node" (JS) with the "--experimental
This option has been removed from node 20 and node now exits with a code 9 error. This error code ends up being propageted during the embeded library cmake checks, which ends up being set as the size of off_t (9 bytes), leading to a build failure later on.
Related branches
- Lucas Kanashiro (community): Approve
-
Diff: 200 lines (+156/-1)5 files modifieddebian/changelog (+12/-0)
debian/patches/disable-network-tests.patch (+139/-0)
debian/patches/fix-yarnpkg-libzip.patch (+1/-1)
debian/patches/series (+1/-0)
debian/rules (+3/-0)
tags: | added: update-excuse |
Changed in node-yarnpkg (Ubuntu): | |
status: | New → Triaged |
Changed in node-yarnpkg (Debian): | |
status: | Unknown → New |