Your message dated Sat, 13 Dec 2025 21:36:06 +0000
with message-id <[email protected]>
and subject line Bug#1122652: fixed in openturns 1.26-3
has caused the Debian Bug report #1122652,
regarding openturns FTBFS on riscv64: timeout during linking
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1122652: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122652
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openturns
Version: 1.26-2
Severity: serious
Tags: ftbfs patch
X-Debbugs-Cc: [email protected], Pierre Gruet <[email protected]>
User: [email protected]
Usertags: riscv64
https://buildd.debian.org/status/fetch.php?pkg=openturns&arch=riscv64&ver=1.26-2&stamp=1765410478&raw=0
...
[ 40%] Linking CXX shared module _func.so
cd /build/reproducible-path/openturns-1.26/builddir/python/src &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/func.dir/link.txt --verbose=1
E: Build killed with signal TERM after 720 minutes of inactivity
The patch below does the following:
1. Debug information is useful, but it can take a surprising large
part of the build time. As a workaround, reduce debug information
on riscv64.
2. I have not verified whether this helps with the build hang on
the real-hardware Alpha buildd, but let's try 1. also there.
3. What got the build killed was one linker invocation that took
longer than 12 hours. mold is a much faster linker, use it on riscv64.
The combination of 1. and 3. made the riscv64 build go from one linker
invocation getting killed after 12 hours to a successful build after
9.5 hours.
This is just a workaround:
Faster buildd hardware would help with both.
Item 1 is an issue where it is unclear whether improvements are possible,
I'll gather data for a bug report for the linker issue in item 3.
diff -Nru openturns-1.26/debian/control openturns-1.26/debian/control
--- openturns-1.26/debian/control 2025-12-04 23:38:45.000000000 +0200
+++ openturns-1.26/debian/control 2025-12-09 12:08:02.000000000 +0200
@@ -28,6 +28,7 @@
libspectra-dev,
libtbb-dev,
libxml2-dev,
+ mold [riscv64],
python3-dev,
swig
Standards-Version: 4.7.2
diff -Nru openturns-1.26/debian/rules openturns-1.26/debian/rules
--- openturns-1.26/debian/rules 2025-12-04 23:11:11.000000000 +0200
+++ openturns-1.26/debian/rules 2025-12-09 12:08:02.000000000 +0200
@@ -23,6 +23,16 @@
test_discardflags := -E \\\"Dlib_.*|OptimizationAlgorithm_std\\\"
endif
+# build time reduction
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha riscv64))
+ export DEB_CXXFLAGS_MAINT_APPEND += -g1
+endif
+
+# mold links faster, but is not yet mature on all architectures
+ifneq (,$(filter $(DEB_HOST_ARCH), riscv64))
+ export DEB_LDFLAGS_MAINT_APPEND += -fuse-ld=mold
+endif
+
BUILD_DATE = $(shell date --utc --date="@$(SOURCE_DATE_EPOCH)" "+%a, %d %b %Y
%H:%M:%S %z")
%:
--- End Message ---
--- Begin Message ---
Source: openturns
Source-Version: 1.26-3
Done: Pierre Gruet <[email protected]>
We believe that the bug you reported is fixed in the latest version of
openturns, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pierre Gruet <[email protected]> (supplier of updated openturns 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Dec 2025 21:39:40 +0100
Source: openturns
Architecture: source
Version: 1.26-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Closes: 1122652
Changes:
openturns (1.26-3) unstable; urgency=medium
.
* Producing less debug symbols and using mold on riscv64 to reduce build
time, thanks to Adrian Bunk! (Closes: #1122652)
Checksums-Sha1:
70ed519d006a68df4e34c67db362b765f07edbf7 2620 openturns_1.26-3.dsc
8af9f8c72b0921495c8f852a5e2cdb35593edd01 27388 openturns_1.26-3.debian.tar.xz
9af34ac08719353515d3072a5c6c06ebfb5a38bf 8768 openturns_1.26-3_source.buildinfo
Checksums-Sha256:
744f9a52cb4df4c81ff94ab587be33b8e9d923f23d9773f76acd94886886f635 2620
openturns_1.26-3.dsc
14585772f7cd8d7df18996c065c8a74df04c827e6ee8bacc72d232d9196036f1 27388
openturns_1.26-3.debian.tar.xz
5f02e197b17ce60a4e2cf1985f540baef4ba1f330208f74b9df1fe97ee7fe411 8768
openturns_1.26-3_source.buildinfo
Files:
d2b271378c835e73f655afe7b9c25373 2620 science optional openturns_1.26-3.dsc
92051ac82793be2df83731d36ccaa1bc 27388 science optional
openturns_1.26-3.debian.tar.xz
3ac20ff25f4592a8942f0e2db8451776 8768 science optional
openturns_1.26-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmk9z1AACgkQYAMWptwn
dHbxdA/6A+IQ1PU+nqVKEyNtKgBIFi03OU4cJeon2oKIs4Yb56UdoqWibJPfzbqq
6HQrOV8Nuiwo6y29ACAmOIlPlTQtPM/XB+wVH8o0eUNKc451EA0ZjLuHc7cQRAcj
fy7JTjLGxXhAqE96E4mGuu19zMD4HTvJBvv0D503oSnN1yUmPVjg6p+xjvNUISQG
flBx25ommAVnE2nslOPSqioBoX7B1bV3Zz3e8e+7AaDD1Pp74po02yr+dcZWphC4
kSGw8v6WtSP8q63BxSNhQwhwP/Vm7uBAYBp0gq4uFxgXEsERLtj8k3blZ7pY2lQ3
mqMNe2WIwnfXSVtsah4I3YGY1RMnmjT6c2YBTMgl5jls/3QIdsew5wJp2BwzN8Vp
zQDZjzaSoO2p/WLacYl0DWtrUhsWHyVAqhWISRiFeYOIeaODFsVRgICJJlDLNpOy
m2hde9jwNnBysNG2PHf7EmJ4dUoPhW4bBI13F0sLbXOmHKqtU5sJiz37NUEbwdrX
IEwsEAOP+SXVGDpvuW/VrODyk2Xg+zEqsUjrxeW1/573sTXnU5jRkSTI394/uxy+
pKVXG87hS1f1GkGlgwDiVPAzx8NC2PgNhZKQRPddO8LPHYEtFaRgH9J6yw2MNt30
y4Z4i0+CgeJ/hj/v7cDFFUm4QaA9K0F+XXN6N/pmqV3r98NjL34=
=Wr6E
-----END PGP SIGNATURE-----
pgp6RSylp3mMK.pgp
Description: PGP signature
--- End Message ---