Hi Adrian,

Le 12/12/2025 à 09:03, Adrian Bunk a écrit :
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.

Thank you for your bug report and the explanations, this is much useful!


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.


Understood. Should I wait for your bug report related to item 3 before uploading with the workaround you suggest?

Best regards,

--
Pierre

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to