Bug#1122652: openturns FTBFS on riscv64: timeout during linking
Pierre Gruet
pgt at debian.org
Sat Dec 13 14:05:17 GMT 2025
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: debian-riscv at lists.debian.org, Pierre Gruet <pgt at debian.org>
> User: debian-riscv at lists.debian.org
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20251213/57ee779a/attachment.sig>
More information about the debian-science-maintainers
mailing list