GNU bug report logs -
#66888
[PATCH 1/2] gnu: babeltrace: Do not install bindings as egg.
Previous Next
Reported by: odion <at> efficios.com
Date: Wed, 1 Nov 2023 20:32:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#66888: [PATCH 1/2] gnu: babeltrace: Do not install bindings as egg.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 66888 <at> debbugs.gnu.org.
--
66888: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66888
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
odion <at> efficios.com skribis:
> From: Olivier Dion <odion <at> efficios.com>
>
> Oddly enough, bindings were now installed as an egg. Fix this by
> forcing setuptools to install individual files with
> `--single-version-externally-managed'
>
> *
> gnu/packages/instrumentation.scm (babeltrace)[arguments]<#:make-flags>:
> Pass it via DISTSETUPOPTS.
>
> Change-Id: I143dd16179e1e4728cb8e5d6b00b06359da83389
[...]
> From: Olivier Dion <odion <at> efficios.com>
>
> This dev variant of the package babeltrace is slower, but allows better
> developement of plugins as recommended by the authors.
>
> * gnu/packages/instrumentation.scm (babeltrace/dev): New variable.
>
> Change-Id: Ib54ced9a1ede5d9acc9a53ff325663a28a3b447f
I applied both after turning comments in the commit log into comments in
the source so they’re directly visible.
Thanks,
Ludo’.
[Message part 3 (message/rfc822, inline)]
From: Olivier Dion <odion <at> efficios.com>
Oddly enough, bindings were now installed as an egg. Fix this by
forcing setuptools to install individual files with
`--single-version-externally-managed'
*
gnu/packages/instrumentation.scm (babeltrace)[arguments]<#:make-flags>:
Pass it via DISTSETUPOPTS.
Change-Id: I143dd16179e1e4728cb8e5d6b00b06359da83389
---
gnu/packages/instrumentation.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 7fa7b2f7ba..0d6513aaca 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -85,7 +85,9 @@ (define-public babeltrace
`(#:tests? #f ; FIXME - When Python's bindings are enabled, tests do not
; pass.
#:make-flags
- ,#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
+ ,#~(list
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
+ "DISTSETUPOPTS=--single-version-externally-managed")
#:configure-flags
'("--enable-debug-info"
"--enable-man-pages"
--
2.41.0
This bug report was last modified 1 year and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.