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

Debbugs page

Vagrant Cascadian wrote 4 years ago
(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-----

Leo Famulari wrote 4 years ago
(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?
Vagrant Cascadian wrote 2 years ago
(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
?
Your comment

This issue is archived.

To comment on this conversation send an email to 46334@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 46334
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help