GNU bug report logs - #42616
[PATCH] gnu: python2-setproctitle: fix build.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Thu, 30 Jul 2020 07:36:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42616 in the body.
You can then email your comments to 42616 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42616; Package guix-patches. (Thu, 30 Jul 2020 07:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Rohleder <mike <at> rohleder.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 30 Jul 2020 07:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: python2-setproctitle: fix build.
Date: Thu, 30 Jul 2020 09:32:18 +0200
[Message part 1 (text/plain, inline)]
python2-setproctitle fails in test phase, because the "--embed"
parameter should not be used for python-config, but for python3-config,
it seems.

[0001-gnu-python2-setproctitle-fix-python2-setproctitle-bu.patch (text/x-patch, inline)]
From be8c9241a3dd2d9cf180ec82d787e891731b70e4 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike <at> rohleder.de>
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

[Message part 3 (text/plain, inline)]
-- 
Reality always seems harsher in the early morning.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Thu, 30 Jul 2020 10:11:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Rohleder <mike <at> rohleder.de>:
bug acknowledged by developer. (Thu, 30 Jul 2020 10:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 42616-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 42616-done <at> debbugs.gnu.org
Subject: Re: [bug#42616] [PATCH] gnu: python2-setproctitle: fix build.
Date: Thu, 30 Jul 2020 12:10:45 +0200
[Message part 1 (text/plain, inline)]
Michael Rohleder 写道:
> python2-setproctitle fails in test phase, because the "--embed"
> parameter should not be used for python-config, but for 
> python3-config,
> it seems.

Indeed.  Pushed with tweaked commit message as 
39386de24439c81f1a7c683ae8c5dd1c5f24e09e.

Thanks!

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Aug 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.