Subject: bug#46334: closed (Re: bug#46334: mbedtls-apache fails to build on aarch64)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 20 Jul 2023 19:44:02 +0000

Your bug report

#46334: mbedtls-apache fails to build on aarch64

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46334: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46334
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#46334: mbedtls-apache fails to build on aarch64
From: Vagrant Cascadian <[email-masked]>
To: Leo Famulari <[email-masked]>
Cc: [email-masked]
Date: Thu, 20 Jul 2023 12:43:29 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: mbedtls-apache fails to build on aarch64
From: Vagrant Cascadian <[email-masked]>
To: [email-masked]
Date: Fri, 05 Feb 2021 13:19:39 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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