From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] utils: Allow wrap-program to be called multiple times. Date: Sun, 14 Sep 2014 16:27:08 +0200 Message-ID: <877g16b7lv.fsf@gnu.org> References: <871trk2yis.fsf@member.fsf.org> <8738byti9p.fsf@gnu.org> <87sijw122v.fsf@gmail.com> <87lhpmyhh2.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTAln-0004Pv-9p for guix-devel@gnu.org; Sun, 14 Sep 2014 10:27:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTAlh-0003K4-7G for guix-devel@gnu.org; Sun, 14 Sep 2014 10:27:15 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:42185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTAlh-0003Jv-0G for guix-devel@gnu.org; Sun, 14 Sep 2014 10:27:09 -0400 In-Reply-To: <87lhpmyhh2.fsf@netris.org> (mhw@netris.org's message of "Sun, 14 Sep 2014 00:05:29 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: mhw@netris.org Cc: guix-devel@gnu.org mhw@netris.org skribis: > When compiling core-updates, I now see the following warning: > > LC_ALL=3DC \ > ./pre-inst-env \ > /home/mhw/.guix-profile/bin/guild compile -L "." -L "." \ > -Wformat -Wunbound-variable -Warity-mismatch \ > --target=3D"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 for= mat 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=E2=80=99.