From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:54789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFh35-00052n-RX for guix-patches@gnu.org; Sun, 14 Apr 2019 11:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFh34-0002aM-Tf for guix-patches@gnu.org; Sun, 14 Apr 2019 11:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFh34-0002aG-M2 for guix-patches@gnu.org; Sun, 14 Apr 2019 11:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFh34-0000ut-Gu for guix-patches@gnu.org; Sun, 14 Apr 2019 11:28:02 -0400 Subject: [bug#35244] [PATCH 6/6] gnu: python: Fix cross compilation. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-6-m.othacehe@gmail.com> Date: Sun, 14 Apr 2019 17:27:17 +0200 In-Reply-To: <20190412131556.25282-6-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:56 +0200") Message-ID: <87a7gsk3oq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mathieu Othacehe Cc: 35244@debbugs.gnu.org Mathieu Othacehe skribis: > * gnu/packages/python.scm (python-2.7)[arguments]: Add a configure flag to > disable a check failing when cross-compiling. This is covered here: > > https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html [...] > + ;; Disable runtime check failing if cross-compiling, see: > + ;; https://lists.yoctoproject.org/pipermail/poky/2013-June/= 008997.html > + "ac_cv_buggy_getaddrinfo=3Dno" Can you make it conditional on (%current-target-system)? That way we can apply it on master without rebuilding the world. Otherwise LGTM. Thanks, Ludo=E2=80=99.