From patchwork Fri Apr 12 13:15:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 3274 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 158BB16E5C; Fri, 12 Apr 2019 14:25:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8B26E16DEE for ; Fri, 12 Apr 2019 14:25:35 +0100 (BST) Received: from localhost ([127.0.0.1]:37279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEwBT-0004pw-3F for patchwork@mira.cbaines.net; Fri, 12 Apr 2019 09:25:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEw3Q-000208-Br for guix-patches@gnu.org; Fri, 12 Apr 2019 09:17:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEw3M-000597-Og for guix-patches@gnu.org; Fri, 12 Apr 2019 09:17:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEw3G-00053P-1O for guix-patches@gnu.org; Fri, 12 Apr 2019 09:17:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hEw3F-0003Mk-SI for guix-patches@gnu.org; Fri, 12 Apr 2019 09:17:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35244] [PATCH 6/6] gnu: python: Fix cross compilation. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Apr 2019 13:17:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35244 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35244@debbugs.gnu.org Received: via spool by 35244-submit@debbugs.gnu.org id=B35244.155507498712835 (code B ref 35244); Fri, 12 Apr 2019 13:17:05 +0000 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:27 +0000 Received: from localhost ([127.0.0.1]:55633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2c-0003Ks-MZ for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:27 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:33685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2P-0003JP-Kf for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:17 -0400 Received: by mail-wr1-f44.google.com with SMTP id q1so11954942wrp.0 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/B/lUy/YsdEySqztggbh917WkL56txfDwBa4dmcxhCM=; b=kfWukoL8VXR/nHQmxSasphD+vFPtRvx4OEEjbt/80gCqGC4NUXf4pAjp/ObaC9gxZ3 MtRqsYtI6UHzjd0zfgMziO3bl+676482Cqg1eooERzXnYTEj12CLUfmtAtcy5zz2z4ec YkKtZHPtagafhSqc7/u9VtfPiVSrS2hp5nlxWiU0jwy2ShLmERMx5HEQq+P0WwDzOPTF NrM3tPyefmnv861fVlzFmBhRrjOIzfzbty0XdmSYfFhLY88uk5WpM6ynzSkZAzxWLpn2 /0GGnHWG8q0nUYNvH4tn1Mn1GZw5pL7iPc7kIixs29HsdupPBJJUfLLKPnM2lRvfcbXl 2c0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/B/lUy/YsdEySqztggbh917WkL56txfDwBa4dmcxhCM=; b=pcQHjVm2zbjNuh3xG3TXjP7QKs7NKThh9tIxb/9xJnjju9Wr58auUrXSviE5dAB3Km 6Nm6357LxyCnP8tna2sKj7t0urCSUsYEa92469sZGX6NZyx6pikmFqbtsLERnKIhxYBd /VJV4pPaFJG2ViwyEzUmGjcqGz0ELRJOLWM3SfJXlluL5AWrjHthqEC81/piA39KbPLT zGl1noRpmHdFO9EzdQtA59SSbRj5eCKZQlYStmeKlr+6qrcC8oIWcSXg3cNohiPoSrW2 sSTVNYCxyxg09j0MvS9N4lMFuUVeNGYeGo+1DmIsLsXAdQf8jsVAajQWbqJS71PVEGqO JtGQ== X-Gm-Message-State: APjAAAVqCqpJ3JxYyjNSozQQx11iNgYBnEuL2aeDEUF4RyxS8ukg04KS FR0mj07ADLpBh+iSbVFlFwkuZsEQ X-Google-Smtp-Source: APXvYqxO+rvbawMtHEcwv577XKjeGV0Mny/Iucbl07w/+btrFojO3RGwHRal32NdrzWHnXS6y7i9Cw== X-Received: by 2002:adf:db0c:: with SMTP id s12mr35913572wri.184.1555074967665; Fri, 12 Apr 2019 06:16:07 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:06 -0700 (PDT) From: Mathieu Othacehe Date: Fri, 12 Apr 2019 15:15:56 +0200 Message-Id: <20190412131556.25282-6-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Fri, 12 Apr 2019 09:25:07 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 --- gnu/packages/python.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 57ced499cb..e3a484f5cd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -38,7 +38,7 @@ ;;; Copyright © 2017 Frederick M. Muriithi ;;; Copyright © 2017, 2018 Adriano Peluso ;;; Copyright © 2017 Ben Sturmfels -;;; Copyright © 2017, 2018 Mathieu Othacehe +;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017, 2018 Kei Kebreau @@ -134,6 +134,9 @@ "--with-system-ffi" ;build ctypes "--with-ensurepip=install" ;install pip and setuptools "--enable-unicode=ucs4" + ;; Disable runtime check failing if cross-compiling, see: + ;; https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html + "ac_cv_buggy_getaddrinfo=no" (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib"))