From patchwork Thu Jul 30 07:32:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Rohleder X-Patchwork-Id: 23458 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 61D3D27BBE3; Thu, 30 Jul 2020 08:36:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 06D7927BBE1 for ; Thu, 30 Jul 2020 08:36:09 +0100 (BST) Received: from localhost ([::1]:41486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k136m-0006yC-Ho for patchwork@mira.cbaines.net; Thu, 30 Jul 2020 03:36:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k136g-0006y4-OF for guix-patches@gnu.org; Thu, 30 Jul 2020 03:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k136g-0007NJ-Em for guix-patches@gnu.org; Thu, 30 Jul 2020 03:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k136g-0000SD-7E for guix-patches@gnu.org; Thu, 30 Jul 2020 03:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42616] [PATCH] gnu: python2-setproctitle: fix build. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jul 2020 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42616 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42616@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15960945021630 (code B ref -1); Thu, 30 Jul 2020 07:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jul 2020 07:35:02 +0000 Received: from localhost ([127.0.0.1]:34681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k135i-0000QE-Bs for submit@debbugs.gnu.org; Thu, 30 Jul 2020 03:35:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:43922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k135e-0000Ph-5o for submit@debbugs.gnu.org; Thu, 30 Jul 2020 03:35:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k135e-0006nw-0J for guix-patches@gnu.org; Thu, 30 Jul 2020 03:34:58 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:58600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k135W-00074g-Rh for guix-patches@gnu.org; Thu, 30 Jul 2020 03:34:57 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1k133C-0001yn-NN; Thu, 30 Jul 2020 09:32:26 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k133B-0005ZE-PC for guix-patches@gnu.org; Thu, 30 Jul 2020 09:32:25 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Thu, 30 Jul 2020 09:32:18 +0200 Message-ID: <87sgd9e9vh.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1596094490;a21f46d6; X-HE-SMSGID: 1k133C-0001yn-NN Received-SPF: permerror client-ip=80.237.132.231; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/30 01:42:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_SPF_HELO_TEMPERROR=0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches python2-setproctitle fails in test phase, because the "--embed" parameter should not be used for python-config, but for python3-config, it seems. From be8c9241a3dd2d9cf180ec82d787e891731b70e4 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Thu, 30 Jul 2020 09:22:22 +0200 Subject: [PATCH] gnu: python2-setproctitle: fix build. * gnu/packages/python-xyz.scm (python2-setproctitle): fix build. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0b33fb3a4c..a5c2e60ce4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13529,9 +13529,9 @@ English stemmer.") (replace 'check (lambda _ (setenv "PYTHON" (or (which "python3") (which "python"))) - (setenv "PYCONFIG" (string-append (or (which "python3-config") - (which "python-config")) - " --embed")) + (setenv "PYCONFIG" (if (which "python3-config") + "python3-config --embed" + "python-config")) (setenv "CC" "gcc") ;; No need to extend PYTHONPATH to find the built package, since ;; the Makefile will build anyway -- 2.27.0