GNU bug report logs -
#66052
[PATCH gnome-team 0/1] Update tracker, and ignore i686 missing tests
Previous Next
Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>
Date: Sun, 17 Sep 2023 13:02:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 66052 <at> debbugs.gnu.org (full text, mbox):
Am Sonntag, dem 17.09.2023 um 13:29 +0200 schrieb Vivien Kraus:
> * gnu/packages/gnome.scm (tracker): Update to 3.6.0.
> [#:phases]: Add 'disable-failing-tests'.
> ---
>
> > You don't need the clunky #t if you use and
> True. Thank you, I did not think of that.
>
> > but I'm sure there are other places that already have such logic to
> > copy from with more idiomatic code. Case in point: glib, which has
> > patches for i686 and hurd.
>
> I can do the same as glib, but then on x86_64, where nothing is
> spliced in, the phase becomes `(lambda _)' which is a syntax error in
> Guile (lambdas must have at least one item in body). I can do the
> "and" trick, or do as glib and write '("Nothing to do :)") in the
> not-x86-32 branch of the if instead of '(). What would be best?
And that's where my original comment with unspecified comes back in.
If you add *unspecified* after a bunch of conditional code that may or
may not get expanded, you will at least not have an empty body :)
Also remember to use #$@ rather than #$ for reasons (allows you to use
lists rather than forcing begin everywhere).
Cheers
This bug report was last modified 1 year and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.