From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sBbtCkkSKV8pFwAA0tVLHw (envelope-from ) for ; Tue, 04 Aug 2020 07:46:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gAWhBkkSKV9IEAAAbx9fmQ (envelope-from ) for ; Tue, 04 Aug 2020 07:46:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 82EDA9404D3 for ; Tue, 4 Aug 2020 07:46:16 +0000 (UTC) Received: from localhost ([::1]:44230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2reI-0000T8-CP for larch@yhetil.org; Tue, 04 Aug 2020 03:46:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2re6-0000RY-S5 for bug-guix@gnu.org; Tue, 04 Aug 2020 03:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2re6-0003Ex-Iz for bug-guix@gnu.org; Tue, 04 Aug 2020 03:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2re6-0005IH-Hn for bug-guix@gnu.org; Tue, 04 Aug 2020 03:46:02 -0400 Subject: bug#42702: catch2 build failure on ARM Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 04 Aug 2020 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42702 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: maxim.cournoyer@gmail.com Mail-Followup-To: 42702@debbugs.gnu.org, efraim@flashner.co.il, maxim.cournoyer@gmail.com Received: via spool by 42702-done@debbugs.gnu.org id=D42702.159652711520285 (code D ref 42702); Tue, 04 Aug 2020 07:46:02 +0000 Received: (at 42702-done) by debbugs.gnu.org; 4 Aug 2020 07:45:15 +0000 Received: from localhost ([127.0.0.1]:46671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2rdL-0005H7-91 for submit@debbugs.gnu.org; Tue, 04 Aug 2020 03:45:15 -0400 Received: from flashner.co.il ([178.62.234.194]:34736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2rdG-0005Gm-VS for 42702-done@debbugs.gnu.org; Tue, 04 Aug 2020 03:45:14 -0400 Received: from localhost (unknown [31.210.177.175]) by flashner.co.il (Postfix) with ESMTPSA id B88BD4000B; Tue, 4 Aug 2020 07:45:04 +0000 (UTC) Date: Tue, 4 Aug 2020 10:44:32 +0300 From: Efraim Flashner Message-ID: <20200804074432.GN1134@E5400> References: <87pn87oahu.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Zvl510+jvRFHh8wJ" Content-Disposition: inline In-Reply-To: <87pn87oahu.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42702-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: uCGxydkRxjna --Zvl510+jvRFHh8wJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 03, 2020 at 02:22:21PM -0400, maxim.cournoyer@gmail.com wrote: > On ARM systems, (armhf-linux, aarch64-linux), the catch2 package fails to= build, due to a > compilation warning treated as an error: >=20 > [ 90%] Building CXX object CMakeFiles/SelfTest.dir/include/reporters/catc= h_reporter_xml.cpp.o > /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/c++ -I/tmp/gu= ix-build-catch2-2.1.2.drv-0/source/include -O2 -g -DNDEBUG -Wall -Wextra= -Wunreachable-code -Wpedantic -Werror -std=3Dc++11 -o CMakeFiles/SelfTest.= dir/include/reporters/catch_reporter_xml.cpp.o -c /tmp/guix-build-catch2-2.= 1.2.drv-0/source/include/reporters/catch_reporter_xml.cpp > /tmp/guix-build-catch2-2.1.2.drv-0/source/include/internal/catch_tostring= =2Ecpp: In static member function =E2=80=98static std::__cxx11::string Catc= h::StringMaker::convert(char)=E2=80=99: > /tmp/guix-build-catch2-2.1.2.drv-0/source/include/internal/catch_tostring= =2Ecpp:202:21: error: comparison is always true due to limited range of dat= a type [-Werror=3Dtype-limits] > } else if ('\0' <=3D value && value < ' ') { > ~~~~~^~~~~~~~ Fixed in 7f101e7ceb869882b9a959cb7801aea64c26704d Do note that this breaks libfive, which has no dependants. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Zvl510+jvRFHh8wJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8pEdgACgkQQarn3Mo9 g1HVhhAAgi7BAqHhlOPVkItVQPWAZ0pf0jQzg7G+HOSEpiG6lOgfcjP7bPmWUdIr xP9LQEBY68okBHqEfgS+/ViroqDc4t2Awd5ik27A6ykTD3LHWAGVHqR1np1o9M3q zzgkqWB70xPgb18Hug/MV+pldcIfF8Q6dFZYVYzHvCf9LyDS2ieFHcl/ZLOu7VQm HpX2AafjSklBdDtb9dL0g5CeTfzdMbEmV4E1pBI8V+RsXwJ9gXTqnxZLKiPu8jOd gL3aF9xXnjM38GyUgq35WT/ikR8Ay4rc6X4AprBbDBbbHvw1E7AAQwSZcs297VT0 NJNOiVmIqxkEXWudcGMcDR5jadz+iaMq428+02hSnLYTK6V+ZMtlmhke2zwbmL2d s8EM9O45wgKLw3ZPcMRsA2kmGQgufR9eD4aDNl61DeMJ+FXVuv4bADLVew/VIyi6 161hLUYfzLLlXgyl7iSD3zV699ZcZjN6GQRlwOfebdEVwRpUVGpt2z4Gy6cvWy8O f/BdK4aDxyjig6uAuF/O7JN+xBYtLOPag6JIdJqiKBLw4tT+mTRXbJvNLaDuJ1vL q5KP9oWKEGqCQ7deDjwSYdsgnlT1wAvOARLkr4z/QprRjZ45pH3YJ1w8O96L2g9u 4/1MRL6e3vAsTJ6HAyBHwzXRhLqiwKm1TDdng8Iv66FcNYSO7R8= =QDRF -----END PGP SIGNATURE----- --Zvl510+jvRFHh8wJ--