#1069539 softhsm2: FTBFS on armel: dh_auto_test: error: make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 returned exit code 2 #1069539
- Package:
- src:softhsm2
- Source:
- src:softhsm2
- Submitter:
- Lucas Nussbaum
- Date:
- 2025-07-09 07:21:03 UTC
- Severity:
- normal
- Tags:
Hi, During a rebuild of all packages in sid, your package failed to build on armel. Relevant part (hopefully): The full build log is available from: http://qa-logs.debian.net/2024/04/20/softhsm2_2.6.1-2.2_unstable-armel.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.
Hi, I've tried to reproduce this on amdahl in an armel chroot, but it builds just fine there. Chris
retitle 1069539 softhsm2: FTBFS randomly (failing tests) severity 1069539 important thanks Hello. This one has been failing 20% of the time for me for the last months/years but never got to the point of reporting it myself. See the bunch of build logs I accumulated so far: https://people.debian.org/~sanvila/build-logs/softhsm2/ I'm changing the title because I think it's not arch-specific at all. See also this test failure on i386: https://tests.reproducible-builds.org/debian/rbuild/bookworm/i386/softhsm2_2.6.1-2.1.rbuild.log.gz Just try building on amd64, but do it a bunch of times. If that does not work please contact me privately as I can provide a machine where the package ftbfs "randomly in a consistent way". The tests in src/lib/test are based on random data, which explains why they sometimes fail, but IMHO a 20% failure rate is too much for a Debian package (I feel the upstream authors should have fine-tuned the tests before making any release). Thanks.
severity 1069539 serious found 1069539 2.6.1-2.1 tags 1069539 patch thanks Hi. The most recent failure rate I've calculated for this package is around 50%, which exceeds the common thresholds used by the RT. Fortunately I found an explanation and a fix here: https://github.com/softhsm/SoftHSMv2/pull/783/commits/d42b94763eb16c75dba227d6b670eee7ab84585e which I'm attaching to this message (to be imported by quilt). I've built the package in my setup with the patch more than 50 times and now it builds ok, so I believe it's correct. [ Cc: to Ondřej, the usual uploader. I hope you find some minutes to apply the patch and make an upload. If you want a VM to reproduce, the offer still holds ]. Thanks.
tags -1 - moreinfo I repro the failure in 28 out of 80 builds without the patch and 0 out of 30 builds with the patch on amd64, so I think we can say this is a confirmed reproduction! (Is "RT", "release team"? What threshold would they use, out of interest?) The explanation for the patch is plausible - would be nice if upstream had reviewed it but it was part of a larger pull request so we probably ought not to hold our breath for that! Hope this helps.
Yes. Paul Gevers use 1/6 as a threshold (with some caveats, but they do not apply to this case). Thanks.
Thanks, I am doing the upload now. The problem with SoftHSM is that the upstream is mostly dead. Perhaps we should rather drop the package after trixie has been released than keeping it barely afloat, but that's a decision for the other day. Ondrej -- Ondřej Surý (He/Him) ondrej@sury.org <mailto:ondrej@sury.org>
We believe that the bug you reported is fixed in the latest version of
softhsm2, 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 1069539@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated softhsm2 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 09 Jul 2025 09:02:27 +0200
Source: softhsm2
Architecture: source
Version: 2.6.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Team <team+dns@tracker.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Closes: 1069539
Changes:
softhsm2 (2.6.1-3) unstable; urgency=medium
.
* Add upstream patch to 'Fix ForkTest by exiting from child'
(Closes: #1069539)
Checksums-Sha1:
8211a5ac381e24d1744a3b068fe306b5d4618bb9 2284 softhsm2_2.6.1-3.dsc
a09a86b3ef148ec78b364bc5e51cbb11b409bc47 15644 softhsm2_2.6.1-3.debian.tar.xz
4fa5dc0a2ad6dc1f4003290771cf5d78d6d869a6 7876 softhsm2_2.6.1-3_amd64.buildinfo
Checksums-Sha256:
bfc3ce2c5f4ef99a545263c28f15d34d01b1815cb222a1be2490f5fdf06a25d3 2284 softhsm2_2.6.1-3.dsc
18dae4870fa714733a8daf0f13809eaef4024a3cbcd736cc82b9fb224d61bc98 15644 softhsm2_2.6.1-3.debian.tar.xz
021933e73c29cbac8a678aeb0ec7fc52b2cbf978ad1b87ad9b7f85dfbbfc21e0 7876 softhsm2_2.6.1-3_amd64.buildinfo
Files:
2a950e5d45083556e0a2dbb7e3758bd0 2284 admin optional softhsm2_2.6.1-3.dsc
cc285ff8e22862961355ec423e010855 15644 admin optional softhsm2_2.6.1-3.debian.tar.xz
61091645d8a620a7d3f9332d6c0890b9 7876 admin optional softhsm2_2.6.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAmhuFJRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz
NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u
WcK0Lg//TkhHeCu/1KkrhJmsA3msVItsV7l1df7M2yvg1Q6jYrh+iPi7XdB3qv6m
UFnS5X1SIAo4Qy/JBxdd+uQYv8eAc1SRTURX3yUgd/t4/kqO7TVlaz41iSnofmJx
4Gs0k5dlZwh/8Ps5kt7HhUty9XVwsx/7llH58PwpycHwxtMY86j02U+8C2m/VfCK
1yBnYaT0a19OZ6urF2+r6G78JBGP+/OUQO8ZAFMbOQlWsIteykcfjdviDyvYcr8/
wCZwagsaBYEQepsq+WMnEDnRjeXaHR3SsL6W55Vr5d76zJSDIT740LHUAwsxGFpv
zk/vdI68oHG1HQ/zP/hN2a31HJcKalUakckIQHlAvVC5bz4GajYp2TFXenSZN/vm
T6nJPM3BXyS/QUUv1Hd2RgnIeKr/f8G3ww9zkOcoRoUE6Yfjg0b9snkXb5Xex21Y
S1sUSF8yfGXBsB4c7XHsKx4hPlz13n8f058sDraXo+UnbSLYlSKguPS7NQoaoPSr
wp9j0hjouFRCIak1ZLeX/InNbpt3HODYPtkOdjZJzICSmlEBEoAFsU36BF11S6f8
IMuMJXGjhOiDyDlrFbsfFnRqA9XCV+3RmYoewksut3YXt1A1ArQkEFExq+2lJHQZ
sO5LzoXPZcaaO+gS0paJ5Sv2YxBXu3Ok3A6IaDQyjKdHk4eoKmc=
=1lgC
-----END PGP SIGNATURE-----