Public bug reported:
The package initially FTBFS due to issues with "-Bsymbolic-functions".
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_MAINT_STRIP=-Wl,-Bsymbolic-functions
+
%:
dh $@
However, removing the flag from the build got us into a different FTBFS
issue also affecting Debian (https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=1067283).
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-wasm-threads" option (this is a Debian patch).
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.
** Affects: node-yarnpkg (Ubuntu)
Importance: Undecided
Status: Triaged
** Affects: node-yarnpkg (Debian)
Importance: Unknown
Status: Unknown
** Tags: update-excuse
** Bug watch added: Debian Bug tracker #1067283
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067283
** Also affects: node-yarnpkg (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067283
Importance: Unknown
Status: Unknown
** Tags added: update-excuse
** Changed in: node-yarnpkg (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068769
Title:
yarn FTBFS with node 20
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-yarnpkg/+bug/2068769/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs