guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] utils: Allow wrap-program to be called multiple times.


From: Ludovic Courtès
Subject: Re: [PATCH] utils: Allow wrap-program to be called multiple times.
Date: Sun, 14 Sep 2014 16:27:08 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

address@hidden skribis:

> When compiling core-updates, I now see the following warning:
>
> LC_ALL=C                                                      \
> ./pre-inst-env                                        \
> /home/mhw/.guix-profile/bin/guild compile -L "." -L "."       \
>   -Wformat -Wunbound-variable -Warity-mismatch                        \
>   --target="i686-pc-linux-gnu"                                                
> \
>   -o "guix/build/utils.go" "guix/build/utils.scm"
> guix/build/utils.scm:718:4: warning: "~a/.~a-wrap-~2'0d": unsupported format 
> option ~2, use (ice-9 format) instead
> wrote `guix/build/utils.go'

Oops, this needs to be fixed, indeed.

> Have you verified that this call to 'format' works as expected in all
> the relevant cases?

It could be that it works in practice, because (ice-9 format) does this
crazy thing:

  (module-set! the-root-module 'format format)

(-Wformat is purposefully stricter, because this crazy thing should
vanish eventually.)

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]