From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59097) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJIZb-0008Mi-GZ for guix-patches@gnu.org; Tue, 31 Mar 2020 11:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJIZa-0002Pc-Es for guix-patches@gnu.org; Tue, 31 Mar 2020 11:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJIZa-0002PR-8s for guix-patches@gnu.org; Tue, 31 Mar 2020 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJIZa-00071b-3X for guix-patches@gnu.org; Tue, 31 Mar 2020 11:13:02 -0400 Subject: [bug#40283] [WIP PATCH] gnu: flint: Build with ntl. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20200329203224.27052-1-kuba@kadziolka.net> References: <20200329203224.27052-1-kuba@kadziolka.net> Date: Tue, 31 Mar 2020 17:12:24 +0200 Message-ID: <87pncstv6v.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= , 40283@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jakub K=C4=85dzio=C5=82ka writes: > * gnu/packages/algebra.scm (flint)[inputs]: Add ntl. > [arguments]: Pass --with-ntl to configure. > --- > This is required by sagemath, but the patch as written makes the build > error: > > /gnu/store/9yzqiiyfhxi4yhndp46nndi77ica9g4i-ntl-11.4.3/include/NTL/vector= .h:201:31: error: invalid conversion from =E2=80=98const NTL::Vec*= =E2=80=99 to =E2=80=98int=E2=80=99 [-fpermissive] > 201 | { VecStrategy::do_BlockConstructFromVec(p, n, q); } > | ^~~~~~~~~~~~~~~~~~~~~~~~ > | | > | const NTL::Vec* > > Arch Linux seems to be using the same version of ntl and flint, and I > don't see any special workarounds in their PKGBUILDs. I guessed that the > gcc version might be influencing things, but adding gcc-9 to > native-inputs didn't help. Does Guix set up GCC with some non-standard > default flags, maybe? This is because of -Werror, which is not supposed to trigger on external dependencies. The issue has been fixed on 'core-updates' where dependencies are added on C_INCLUDE_PATH (which behave like -isystem) instead of CPATH (which behave like -I). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6DXdgACgkQoqBt8qM6 VPpfjgf7BHGcuFYcUyL9Gq7xC6nZRjSbnUp1IyeVt+bUNrsG2jZQjxjY9HzZk9sJ FaNJbJ9JoeaTyHF0ycZKUeLL+0Ik2SggcsSVE3Plfn6zsnYQVxGdPyW2vmgxj7Hy 7CuRZNovPkag9KiYc15yesuNisc7NZws+ipaRHeDIzgxCCvlNhnWyDdTZ6PTLx0t HIMJquOC4UxvJjRWdKftJ43wOawHJC16Yf3HnNv0+lN7+Ou5lyc530HYfzmJjOmo rGY752PlPC2yCDpAE3R7hmfC4JaJkarWdzIJnYFYBXJnfLTvV/VYCmdqQaHAQKf8 8k6fE4KuD9KdMW+BiCOXA7z5r++WXA== =rcAG -----END PGP SIGNATURE----- --=-=-=--