mbedtls-apache fails to build on aarch64

  • Done
  • quality assurance status badge
Details
2 participants
  • Leo Famulari
  • Vagrant Cascadian
Owner
unassigned
Submitted by
Vagrant Cascadian
Severity
normal
V
V
Vagrant Cascadian wrote on 5 Feb 2021 22:19
(address . bug-guix@gnu.org)
87a6sib4b8.fsf@yucca
I get the following error when building mbedtls-apache on aarch64:

/tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:
In function ‘read_next_b64_code’:
/tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:384:16:
error: comparison is always\
true due to limited range of data type [-Werror=type-limits]
while( EOF != c )
^~
cc1: all warnings being treated as errors
make[2]: ***
[programs/ssl/CMakeFiles/ssl_context_info.dir/build.make:66:
programs/ssl/CMakeFiles/ssl_context_info.dir\
/ssl_context_info.c.o] Error 1
make[2]: Leaving directory
'/tmp/guix-build-mbedtls-apache-2.23.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:2252:
programs/ssl/CMakeFiles/ssl_context_info.dir/all] Error 2
make[1]: Leaving directory
'/tmp/guix-build-mbedtls-apache-2.23.0.drv-0/build'
make: *** [Makefile:144: all] Error 2
command "make" "-j" "1" failed with status 2

The version which produced this particular error was guix commit
7382b1027a319e505be6cfcadf1f5bd761dadccc, though the issue has been
present for quite some time.

Full build log attached.

live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHQEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYB22awAKCRDcUY/If5cW
qn9mAPi0xLblDMyyI1h1z7ydGlNtpCRcRjv1XKfcsZJCTMIDAP9WcnvELgp54G5k
etGX1jXHszIfcpOIJ75see+PBdqcAw==
=j6/p
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 5 Feb 2021 22:32
(name . Vagrant Cascadian)(address . vagrant@debian.org)(address . 46334@debbugs.gnu.org)
YB25fVUO7wiyWnQ7@jasmine.lan
On Fri, Feb 05, 2021 at 01:19:39PM -0800, Vagrant Cascadian wrote:
Toggle quote (10 lines)
> I get the following error when building mbedtls-apache on aarch64:
>
> /tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:
> In function ‘read_next_b64_code’:
> /tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:384:16:
> error: comparison is always\
> true due to limited range of data type [-Werror=type-limits]
> while( EOF != c )
> ^~

Hm, we should report this upstream. Maybe it already has been?
V
V
Vagrant Cascadian wrote on 20 Jul 2023 21:43
(name . Leo Famulari)(address . leo@famulari.name)(address . 46334-done@debbugs.gnu.org)
877cqu1i8u.fsf@wireframe
On 2021-02-05, Leo Famulari wrote:
Toggle quote (13 lines)
> On Fri, Feb 05, 2021 at 01:19:39PM -0800, Vagrant Cascadian wrote:
>> I get the following error when building mbedtls-apache on aarch64:
>>
>> /tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:
>> In function ‘read_next_b64_code’:
>> /tmp/guix-build-mbedtls-apache-2.23.0.drv-0/source/programs/ssl/ssl_context_info.c:384:16:
>> error: comparison is always\
>> true due to limited range of data type [-Werror=type-limits]
>> while( EOF != c )
>> ^~
>
> Hm, we should report this upstream. Maybe it already has been?

Seems it has been fixed:

$ guix weather --system=aarch64-linux mbedtls-apache
computing 1 package derivations for aarch64-linux...
looking for 1 store items on https://ci.guix.gnu.org...
100.0% substitutes available (1 out of 1)
at least 1.4 MiB of nars (compressed)
5.1 MiB on disk (uncompressed)
1.354 seconds per request (1.4 seconds in total)
0.7 requests per second

at least 1,000 queued builds
aarch64-linux: 636 (63.6%)
x86_64-linux: 363 (36.3%)
i686-linux: 1 (.1%)
build rate: 32.03 builds per hour
powerpc64le-linux: 12.39 builds per hour
i686-linux: 3.78 builds per hour
x86_64-linux: 12.39 builds per hour
aarch64-linux: 3.89 builds per hour
armhf-linux: 0.04 builds per hour
looking for 1 store items on https://bordeaux.guix.gnu.org...
100.0% substitutes available (1 out of 1)
at least 1.4 MiB of nars (compressed)
5.1 MiB on disk (uncompressed)
1.284 seconds per request (1.3 seconds in total)
0.8 requests per second
(continuous integration information unavailable)

When it was fixed, who knows... but marking as done.

live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLmOYQAKCRDcUY/If5cW
qurAAP9f8xMHG/GL0wtSNMTnJSzgzfyb1mQJHXd9kQ3L3Fuv4wD+I9YV5rGmGQLf
Y6Vt6+wLd/jyeWDcOISmh9gfBcoe1g8=
=7ZjQ
-----END PGP SIGNATURE-----

Closed
?