Your message dated Thu, 10 Apr 2025 13:21:00 +0000
with message-id <[email protected]>
and subject line Bug#1095653: fixed in ruby-build 20241225.2-1.1
has caused the Debian Bug report #1095653,
regarding ruby-build: fails test build-ruby-openssl on unstable/armhf
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.)
--
1095653: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095653
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-build
Version: 20241225.2-1
Severity: serious
Hi,
See
https://ci.debian.net/packages/r/ruby-build/unstable/armhf/
The error message in the build log is:
cc -I. -Iinclude -Iapps/include -fPIC -pthread -march=armv7-a
-Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC
-DOPENSSLDIR="\"/tmp/autopkgtest.TtHp4o/autopkgtest_tmp/openssl/ssl\""
-DENGINESDIR="\"/tmp/autopkgtest.TtHp4o/autopkgtest_tmp/openssl/lib/engines-3\""
-DMODULESDIR="\"/tmp/autopkgtest.TtHp4o/autopkgtest_tmp/openssl/lib/ossl-modules\""
-DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -MMD -MF
apps/lib/libapps-lib-app_rand.d.tmp -MT apps/lib/libapps-lib-app_rand.o -c -o
apps/lib/libapps-lib-app_rand.o apps/lib/app_rand.c
cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
make[1]: *** [Makefile:4291: apps/lib/libapps-lib-app_params.o] Error 1
I think that what happens is:
* the 'build-ruby-openssl' test builds the ruby interpreter with a
vendored openssl (not the system one), so first it builds openssl
(3.0.15)
* openssl's configure results in explicitely using -march=armv7-a
(rather than using the compiler's default, which would be
-march=armv7-a+fp)
* but the code being compiled has FP instructions
* so GCC refuses to compile that code
Those links sound relevant:
1/ https://github.com/checkpoint-restore/criu/issues/1653
> Starting with gcc-11, Debian's armhf compiler no longer builds with a
> default -mfpu= option. Instead it enables the FPU via an extension to
> the -march flag (--with-arch=armv7-a+fp). criu's Makefile explicitly
> passes its own -march=armv7-a setting, which overrides the +fp
> default, so we end up with no FPU:
> cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
This was fixed with
https://salsa.debian.org/debian/criu/-/commit/55d4dc414e6542c69c4fae95d31160256d726013
2/ https://github.com/openssl/openssl/issues/21630 (closed)
The last comment is:
> I've read the note several times but the behaviour of Configure does
> not seem to match it. Rather than actually leaving the options open,
> it adds the -march=armv7-a. If it had just picked the base linux-armv4
> target, things would have been fine.
So, this is not going to be fixed in openssl. This could be worked
around in ruby-build.
Lucas
--- End Message ---
--- Begin Message ---
Source: ruby-build
Source-Version: 20241225.2-1.1
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-build, 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.
Adrian Bunk <[email protected]> (supplier of updated ruby-build 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: Thu, 10 Apr 2025 15:46:24 +0300
Source: ruby-build
Architecture: source
Version: 20241225.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1095653
Changes:
ruby-build (20241225.2-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply patch from Simon Quigley to not run the build-ruby-openssl
autopkgtest on armhf. (Closes: #1095653)
Checksums-Sha1:
b3f9a6ec9c4a92eb615ac59ff3b92bb4bb66bfdc 2117 ruby-build_20241225.2-1.1.dsc
ba49b042b978d9a0d8b841bf8b23b22753cd97d9 6524
ruby-build_20241225.2-1.1.debian.tar.xz
Checksums-Sha256:
ee86e4e22b14a60c83c6c749c81acf01f44501a4b839d5d8c5b27659b6a318ab 2117
ruby-build_20241225.2-1.1.dsc
634d79de9369d37a7bc555fffa305bed294d78b372bcbf5f899dc5dead199afe 6524
ruby-build_20241225.2-1.1.debian.tar.xz
Files:
e8a176fb1d92a55a8a01c769de6b0c76 2117 devel optional
ruby-build_20241225.2-1.1.dsc
249288f4b4169bf841080d3e328f21e7 6524 devel optional
ruby-build_20241225.2-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmf3vzMACgkQiNJCh6LY
mLGxZRAAwasD0GV+XpYGT2ff5z75tbMcmcRcV/EkBQzM74792fAC6vNv69j0W0rx
FwzD0MBEX6qTGYzmCyBAmk+jXu1y1V84A7MBLn/6rz2rDvrlSIDo7Tzw17FCzvzo
8X5Ux/BDIsIMyizOnA1xrS6LUEUnqhQK6XeA0HNuIr4ijn7MFEQUAKxWXUtuNGEy
EsJXD3rxykbyV90lsc2cZRnh78hOFNKj0MwrAjwlyD3rxlg5qfcQBQCGJfDsLDJJ
onNUFj3lx5vDcfOCp7lccob63XRoGx+/QRu/50KfI4sc390zL6/6OxO2IxKzDeLv
wLKwYq2eJKNpSLgoPIPcS8vxJTu3uxsz+16zcjemkZe7F9rWLGKqeMunpb0TAiZn
zeP64I9A7zzOaxv7MXPoaUdpJNildDrgCdd1eCwGYBmZJrd8248aUM6JvYUdKnUs
hcjkLfMeQejTWEaMbXfn4WR/Lh08P3ioM9oX2Nz9AgD0Tt4sx5nykYqmvz9ODxNq
m55O2iREZ+M3OqtATuxx9ntEBdVb61h03Z1R286X8ZQ1X2YkaxDVnXeGT2IUVHqe
Hytutp4s67+uChznlBaRuw99Wyeb57fJumAqeR+scR/wZBTMqwfphrmuzEpEKC1q
yT13yxY+mDzd95crqnoOWeH8kThMKt/mnNQfOjhIXwRfd5H8uR4=
=yasT
-----END PGP SIGNATURE-----
pgpeMDN9nlkKd.pgp
Description: PGP signature
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers