Dear Étienne,
Thanks for your quick answer.
I managed to add the required safeguards around the ctest instructions
so that they are not executed when test is disabled and when the nocheck
build profile is used.
The patch is pushed on salsa, and it should be OK to upload.
Best regards,
Emmanuel
On 18/04/2025 11:14, Étienne Mollier wrote:
Hi Emmanuel,
Emmanuel Promayon, on 2025-04-18:
Would that be important to fix in the current trixie timeline (or just nice
to have)?
This is a bug with severity rating important: it is not a
necessity to fix it for the trixie timeline, but it is
acceptable to fix it during the freeze, probably even after
trixie is stable (via a trixie-pu).
Last question: I tried to reproduce the bug in a normal/non packaging
situation using
cmake ... -DBUILD_TESTING=OFF.
Is that enough, or did I miss some other settings?
From quick glimpse at the code, I can't tell for sure. You
would need to run the build via pbuilder or sbuild (in an
isolate chroot), making sure both DEB_BUILD_OPTIONS and
DEB_BUILD_PROFILES environment variables are set to "nocheck".
Have a nice day, :)