GNU bug report logs - #46334
mbedtls-apache fails to build on aarch64

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Fri, 5 Feb 2021 21:20:01 UTC

Severity: normal

Done: Vagrant Cascadian <vagrant <at> debian.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46334 in the body.
You can then email your comments to 46334 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46334; Package guix. (Fri, 05 Feb 2021 21:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 05 Feb 2021 21:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: mbedtls-apache fails to build on aarch64
Date: Fri, 05 Feb 2021 13:19:39 -0800
[Message part 1 (text/plain, inline)]
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
[5mdydmqz9c88gihgzm7m5f906w0fk6-mbedtls-apache-2.23.0.drv.bz2 (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46334; Package guix. (Fri, 05 Feb 2021 21:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 46334 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 46334 <at> debbugs.gnu.org
Subject: Re: bug#46334: mbedtls-apache fails to build on aarch64
Date: Fri, 5 Feb 2021 16:32:45 -0500
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?




Reply sent to Vagrant Cascadian <vagrant <at> debian.org>:
You have taken responsibility. (Thu, 20 Jul 2023 19:44:02 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Thu, 20 Jul 2023 19:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 46334-done <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 46334-done <at> debbugs.gnu.org
Subject: Re: bug#46334: mbedtls-apache fails to build on aarch64
Date: Thu, 20 Jul 2023 12:43:29 -0700
[Message part 1 (text/plain, inline)]
On 2021-02-05, Leo Famulari wrote:
> 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...
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...
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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Aug 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.