* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
@ 2019-01-13 7:18 ericbavier
2019-01-13 7:18 ` [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation ericbavier
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: ericbavier @ 2019-01-13 7:18 UTC (permalink / raw)
To: 34056; +Cc: Eric Bavier
From: Eric Bavier <bavier@member.fsf.org>
* gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
which is not compatible with the -j for parallelism.
---
gnu/packages/python.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9b43f465cc..dffded738d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -194,7 +194,7 @@
(assoc-ref %outputs "out") "/lib"))
;; With no -j argument tests use all available cpus, so provide one.
#:make-flags
- (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
+ (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
#:modules ((ice-9 ftw) (ice-9 match)
(guix build utils) (guix build gnu-build-system))
--
2.20.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation.
2019-01-13 7:18 [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags ericbavier
@ 2019-01-13 7:18 ` ericbavier
2019-01-14 21:36 ` bug#34057: " Eric Bavier
2019-01-13 7:48 ` [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags Efraim Flashner
2019-01-13 22:56 ` Christopher Baines
2 siblings, 1 reply; 11+ messages in thread
From: ericbavier @ 2019-01-13 7:18 UTC (permalink / raw)
To: 34057; +Cc: Eric Bavier
From: Eric Bavier <bavier@member.fsf.org>
* gnu/packages/groff.scm (groff)[arguments]: Add 'fix-docdir phase.
---
gnu/packages/groff.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
index 9bf8662b9f..a8a31337c8 100644
--- a/gnu/packages/groff.scm
+++ b/gnu/packages/groff.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -65,7 +66,11 @@
(add-after 'unpack 'setenv
(lambda _
(setenv "GS_GENERATE_UUIDS" "0")
- #t)))))
+ #t))
+ (add-after 'unpack 'fix-docdir
+ (lambda _ ;see https://savannah.gnu.org/bugs/index.php?55461
+ (substitute* "Makefile.in"
+ (("^docdir =.*") "docdir = @docdir@\n")))))))
(synopsis "Typesetting from plain text mixed with formatting commands")
(description
"Groff is a typesetting package that reads plain text and produces
--
2.20.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-13 7:18 [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags ericbavier
2019-01-13 7:18 ` [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation ericbavier
@ 2019-01-13 7:48 ` Efraim Flashner
2019-01-13 16:23 ` Eric Bavier
2019-01-13 22:56 ` Christopher Baines
2 siblings, 1 reply; 11+ messages in thread
From: Efraim Flashner @ 2019-01-13 7:48 UTC (permalink / raw)
To: ericbavier; +Cc: 34056, Eric Bavier
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]
On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier@centurylink.net wrote:
> From: Eric Bavier <bavier@member.fsf.org>
>
> * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> which is not compatible with the -j for parallelism.
> ---
> gnu/packages/python.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9b43f465cc..dffded738d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -194,7 +194,7 @@
> (assoc-ref %outputs "out") "/lib"))
> ;; With no -j argument tests use all available cpus, so provide one.
> #:make-flags
> - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>
> #:modules ((ice-9 ftw) (ice-9 match)
> (guix build utils) (guix build gnu-build-system))
> --
> 2.20.1
>
I'm building out python2 now on my aarch64 board but I assume it'll
work. While I do prefer the parallelism in the test suite, between the
two I'd consider the memory leak checks the more important of the two.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-13 7:48 ` [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags Efraim Flashner
@ 2019-01-13 16:23 ` Eric Bavier
2019-01-13 17:16 ` Efraim Flashner
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bavier @ 2019-01-13 16:23 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 34056, Eric Bavier
[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]
On Sun, 13 Jan 2019 09:48:59 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:
> On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier@centurylink.net wrote:
> > From: Eric Bavier <bavier@member.fsf.org>
> >
> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > which is not compatible with the -j for parallelism.
> > ---
> > gnu/packages/python.scm | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 9b43f465cc..dffded738d 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -194,7 +194,7 @@
> > (assoc-ref %outputs "out") "/lib"))
> > ;; With no -j argument tests use all available cpus, so provide one.
> > #:make-flags
> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >
> > #:modules ((ice-9 ftw) (ice-9 match)
> > (guix build utils) (guix build gnu-build-system))
> > --
> > 2.20.1
> >
>
> I'm building out python2 now on my aarch64 board but I assume it'll
> work. While I do prefer the parallelism in the test suite, between the
> two I'd consider the memory leak checks the more important of the two.
>
Are the memory-leak checks something that we need to worry about in our
packaging of python2? Can memory leaks be introduced in the way we
configure and build our python? Otherwise I assume that's something
more interesting to someone developing python itself and not as
interesting in system CI. IMHO.
I see I should probably move the comment about this overriding -l from
the commit message to the code comment.
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-13 16:23 ` Eric Bavier
@ 2019-01-13 17:16 ` Efraim Flashner
0 siblings, 0 replies; 11+ messages in thread
From: Efraim Flashner @ 2019-01-13 17:16 UTC (permalink / raw)
To: Eric Bavier; +Cc: 34056, Eric Bavier
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
On Sun, Jan 13, 2019 at 10:23:20AM -0600, Eric Bavier wrote:
> On Sun, 13 Jan 2019 09:48:59 +0200
> Efraim Flashner <efraim@flashner.co.il> wrote:
>
> > On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier@centurylink.net wrote:
> > > From: Eric Bavier <bavier@member.fsf.org>
> > >
> > > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > > which is not compatible with the -j for parallelism.
> > > ---
> > > gnu/packages/python.scm | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > > index 9b43f465cc..dffded738d 100644
> > > --- a/gnu/packages/python.scm
> > > +++ b/gnu/packages/python.scm
> > > @@ -194,7 +194,7 @@
> > > (assoc-ref %outputs "out") "/lib"))
> > > ;; With no -j argument tests use all available cpus, so provide one.
> > > #:make-flags
> > > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> > >
> > > #:modules ((ice-9 ftw) (ice-9 match)
> > > (guix build utils) (guix build gnu-build-system))
> > > --
> > > 2.20.1
> > >
> >
> > I'm building out python2 now on my aarch64 board but I assume it'll
> > work. While I do prefer the parallelism in the test suite, between the
> > two I'd consider the memory leak checks the more important of the two.
> >
>
> Are the memory-leak checks something that we need to worry about in our
> packaging of python2? Can memory leaks be introduced in the way we
> configure and build our python? Otherwise I assume that's something
> more interesting to someone developing python itself and not as
> interesting in system CI. IMHO.
No idea.
> I see I should probably move the comment about this overriding -l from
> the commit message to the code comment.
>
Sounds like a good idea :)
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-13 7:18 [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags ericbavier
2019-01-13 7:18 ` [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation ericbavier
2019-01-13 7:48 ` [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags Efraim Flashner
@ 2019-01-13 22:56 ` Christopher Baines
2019-01-14 2:42 ` Eric Bavier
2 siblings, 1 reply; 11+ messages in thread
From: Christopher Baines @ 2019-01-13 22:56 UTC (permalink / raw)
To: ericbavier; +Cc: 34056
[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]
ericbavier@centurylink.net writes:
> From: Eric Bavier <bavier@member.fsf.org>
>
> * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> which is not compatible with the -j for parallelism.
> ---
> gnu/packages/python.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9b43f465cc..dffded738d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -194,7 +194,7 @@
> (assoc-ref %outputs "out") "/lib"))
> ;; With no -j argument tests use all available cpus, so provide one.
> #:make-flags
> - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>
> #:modules ((ice-9 ftw) (ice-9 match)
> (guix build utils) (guix build gnu-build-system))
Hey Eric,
I've also been looking at some Python 2 things on core-updates today,
trying to get the linkchecker package building again.
I've just pushed a slightly different patch, but to this effect to
core-updates, and only just seen this message, sorry about that.
Thanks for looking at it though, this approach is probably neater, as I
used substitute* instead.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-13 22:56 ` Christopher Baines
@ 2019-01-14 2:42 ` Eric Bavier
2019-01-21 19:10 ` Christopher Baines
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bavier @ 2019-01-14 2:42 UTC (permalink / raw)
To: Christopher Baines; +Cc: 34056
[-- Attachment #1: Type: text/plain, Size: 1654 bytes --]
On Sun, 13 Jan 2019 22:56:27 +0000
Christopher Baines <mail@cbaines.net> wrote:
> ericbavier@centurylink.net writes:
>
> > From: Eric Bavier <bavier@member.fsf.org>
> >
> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > which is not compatible with the -j for parallelism.
> > ---
> > gnu/packages/python.scm | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 9b43f465cc..dffded738d 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -194,7 +194,7 @@
> > (assoc-ref %outputs "out") "/lib"))
> > ;; With no -j argument tests use all available cpus, so provide one.
> > #:make-flags
> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >
> > #:modules ((ice-9 ftw) (ice-9 match)
> > (guix build utils) (guix build gnu-build-system))
>
> Hey Eric,
>
> I've also been looking at some Python 2 things on core-updates today,
> trying to get the linkchecker package building again.
>
> I've just pushed a slightly different patch, but to this effect to
> core-updates, and only just seen this message, sorry about that.
Not a problem.
>
> Thanks for looking at it though, this approach is probably neater, as I
> used substitute* instead.
>
Would you like to keep your patch, or apply this one instead?
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#34057: [PATCH] core-updates -- gnu: groff: Fix doc installation.
2019-01-13 7:18 ` [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation ericbavier
@ 2019-01-14 21:36 ` Eric Bavier
0 siblings, 0 replies; 11+ messages in thread
From: Eric Bavier @ 2019-01-14 21:36 UTC (permalink / raw)
To: 34057-done
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
On Sun, 13 Jan 2019 01:18:50 -0600
ericbavier@centurylink.net wrote:
> From: Eric Bavier <bavier@member.fsf.org>
>
> * gnu/packages/groff.scm (groff)[arguments]: Add 'fix-docdir phase.
> ---
> gnu/packages/groff.scm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Pushed in 2df4f7020d2c49110900f786af7700d170c3035c
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-14 2:42 ` Eric Bavier
@ 2019-01-21 19:10 ` Christopher Baines
2019-01-22 1:16 ` Eric Bavier
0 siblings, 1 reply; 11+ messages in thread
From: Christopher Baines @ 2019-01-21 19:10 UTC (permalink / raw)
To: Eric Bavier; +Cc: 34056
[-- Attachment #1: Type: text/plain, Size: 1899 bytes --]
Eric Bavier <ericbavier@centurylink.net> writes:
> On Sun, 13 Jan 2019 22:56:27 +0000
> Christopher Baines <mail@cbaines.net> wrote:
>
>> ericbavier@centurylink.net writes:
>>
>> > From: Eric Bavier <bavier@member.fsf.org>
>> >
>> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
>> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
>> > which is not compatible with the -j for parallelism.
>> > ---
>> > gnu/packages/python.scm | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> > index 9b43f465cc..dffded738d 100644
>> > --- a/gnu/packages/python.scm
>> > +++ b/gnu/packages/python.scm
>> > @@ -194,7 +194,7 @@
>> > (assoc-ref %outputs "out") "/lib"))
>> > ;; With no -j argument tests use all available cpus, so provide one.
>> > #:make-flags
>> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
>> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>> >
>> > #:modules ((ice-9 ftw) (ice-9 match)
>> > (guix build utils) (guix build gnu-build-system))
>>
>> Hey Eric,
>>
>> I've also been looking at some Python 2 things on core-updates today,
>> trying to get the linkchecker package building again.
>>
>> I've just pushed a slightly different patch, but to this effect to
>> core-updates, and only just seen this message, sorry about that.
>
> Not a problem.
>
>> Thanks for looking at it though, this approach is probably neater, as I
>> used substitute* instead.
>
> Would you like to keep your patch, or apply this one instead?
I'm quite happy to switch to this approach. I don't know whether the
best way to do that is to switch out the patches by force-pushing to
core-updates, or to just apply your patch on top though...
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-21 19:10 ` Christopher Baines
@ 2019-01-22 1:16 ` Eric Bavier
2019-01-23 4:05 ` bug#34056: " Eric Bavier
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bavier @ 2019-01-22 1:16 UTC (permalink / raw)
To: Christopher Baines; +Cc: 34056
[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]
On Mon, 21 Jan 2019 19:10:06 +0000
Christopher Baines <mail@cbaines.net> wrote:
> Eric Bavier <ericbavier@centurylink.net> writes:
>
> > On Sun, 13 Jan 2019 22:56:27 +0000
> > Christopher Baines <mail@cbaines.net> wrote:
> >
> >> ericbavier@centurylink.net writes:
> >>
> >> > From: Eric Bavier <bavier@member.fsf.org>
> >> >
> >> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> >> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> >> > which is not compatible with the -j for parallelism.
> >> > ---
> >> > gnu/packages/python.scm | 2 +-
> >> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >> >
> >> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> >> > index 9b43f465cc..dffded738d 100644
> >> > --- a/gnu/packages/python.scm
> >> > +++ b/gnu/packages/python.scm
> >> > @@ -194,7 +194,7 @@
> >> > (assoc-ref %outputs "out") "/lib"))
> >> > ;; With no -j argument tests use all available cpus, so provide one.
> >> > #:make-flags
> >> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> >> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >> >
> >> > #:modules ((ice-9 ftw) (ice-9 match)
> >> > (guix build utils) (guix build gnu-build-system))
> >>
> >> Hey Eric,
> >>
> >> I've also been looking at some Python 2 things on core-updates today,
> >> trying to get the linkchecker package building again.
> >>
> >> I've just pushed a slightly different patch, but to this effect to
> >> core-updates, and only just seen this message, sorry about that.
> >
> > Not a problem.
> >
> >> Thanks for looking at it though, this approach is probably neater, as I
> >> used substitute* instead.
> >
> > Would you like to keep your patch, or apply this one instead?
>
> I'm quite happy to switch to this approach. I don't know whether the
> best way to do that is to switch out the patches by force-pushing to
> core-updates, or to just apply your patch on top though...
I can just adjust my patch. I think we don't want to force-push since
there are people working on it.
Thanks for your attention to core-updates :)
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#34056: [PATCH] core-updates -- gnu: python2: Fix test flags.
2019-01-22 1:16 ` Eric Bavier
@ 2019-01-23 4:05 ` Eric Bavier
0 siblings, 0 replies; 11+ messages in thread
From: Eric Bavier @ 2019-01-23 4:05 UTC (permalink / raw)
To: Christopher Baines; +Cc: 34056-done
[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]
On Mon, 21 Jan 2019 19:16:22 -0600
Eric Bavier <ericbavier@centurylink.net> wrote:
> On Mon, 21 Jan 2019 19:10:06 +0000
> Christopher Baines <mail@cbaines.net> wrote:
>
> > Eric Bavier <ericbavier@centurylink.net> writes:
> >
> > > On Sun, 13 Jan 2019 22:56:27 +0000
> > > Christopher Baines <mail@cbaines.net> wrote:
> > >
> > >> ericbavier@centurylink.net writes:
> > >>
> > >> > From: Eric Bavier <bavier@member.fsf.org>
> > >> >
> > >> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > >> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > >> > which is not compatible with the -j for parallelism.
> > >> > ---
> > >> > gnu/packages/python.scm | 2 +-
> > >> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >> >
> > >> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > >> > index 9b43f465cc..dffded738d 100644
> > >> > --- a/gnu/packages/python.scm
> > >> > +++ b/gnu/packages/python.scm
> > >> > @@ -194,7 +194,7 @@
> > >> > (assoc-ref %outputs "out") "/lib"))
> > >> > ;; With no -j argument tests use all available cpus, so provide one.
> > >> > #:make-flags
> > >> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > >> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> > >> >
> > >> > #:modules ((ice-9 ftw) (ice-9 match)
> > >> > (guix build utils) (guix build gnu-build-system))
> > >>
> > >> Hey Eric,
> > >>
> > >> I've also been looking at some Python 2 things on core-updates today,
> > >> trying to get the linkchecker package building again.
> > >>
> > >> I've just pushed a slightly different patch, but to this effect to
> > >> core-updates, and only just seen this message, sorry about that.
> > >
> > > Not a problem.
> > >
> > >> Thanks for looking at it though, this approach is probably neater, as I
> > >> used substitute* instead.
> > >
> > > Would you like to keep your patch, or apply this one instead?
> >
> > I'm quite happy to switch to this approach. I don't know whether the
> > best way to do that is to switch out the patches by force-pushing to
> > core-updates, or to just apply your patch on top though...
>
> I can just adjust my patch.
An adjusted patch, which reverts Christopher's patch was pushed to
core-updates in commit 32922190977f701694880254a71feb2752222f94
`~Eric
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-01-23 4:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-13 7:18 [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags ericbavier
2019-01-13 7:18 ` [bug#34057] [PATCH] core-updates -- gnu: groff: Fix doc installation ericbavier
2019-01-14 21:36 ` bug#34057: " Eric Bavier
2019-01-13 7:48 ` [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags Efraim Flashner
2019-01-13 16:23 ` Eric Bavier
2019-01-13 17:16 ` Efraim Flashner
2019-01-13 22:56 ` Christopher Baines
2019-01-14 2:42 ` Eric Bavier
2019-01-21 19:10 ` Christopher Baines
2019-01-22 1:16 ` Eric Bavier
2019-01-23 4:05 ` bug#34056: " Eric Bavier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).