From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: A pleasant low-hanging fruit Date: Sun, 10 Mar 2013 18:06:33 +0100 Message-ID: <513CBD99.8010808@gmail.com> References: <876215iq7q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEjtD-00066E-IQ for bug-guix@gnu.org; Sun, 10 Mar 2013 13:18:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEjtB-0000pW-HB for bug-guix@gnu.org; Sun, 10 Mar 2013 13:18:27 -0400 In-Reply-To: <876215iq7q.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: bug-guix@gnu.org On 03/05/2013 08:47 PM, Ludovic Courtès wrote: > Hi! > > I just had a brain wave and couldn’t resist: commit ef010c0 changes > ‘guix package --install’ such that, when installing a GNU package, it > automatically reports the availability of a new upstream version. > > So, for instance, if you run it today: > > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix package -i idutils -n > [nothing special here] > > $ ./pre-inst-env guix package -i gettext -n > gnu/packages/gettext.scm:27:3: note: using gettext-0.18.1.1 but gettext-0.18.2.1 is available upstream > --8<---------------cut here---------------end--------------->8--- > This works well with GNU packages, but breaks other packages: $ ./pre-inst-env ./scripts/guix package -i w3m Backtrace: In ice-9/boot-9.scm: 149: 13 [catch #t # ...] 157: 12 [#] In unknown file: ?: 11 [catch-closure] In ice-9/boot-9.scm: 63: 10 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 407: 9 [eval # #] In ice-9/boot-9.scm: 2111: 8 [save-module-excursion #] 3653: 7 [#] In unknown file: ?: 6 [load-compiled/vm "/home/cyril/.cache/guile/ccache/2.0-LE-4-2.0/home/cyril/guix/scripts/guix.go"] In ice-9/boot-9.scm: 149: 5 [catch srfi-34 # ...] 157: 4 [#] In guix/scripts/package.scm: 722: 3 [#] 560: 2 [process-actions (# #)] In srfi/srfi-1.scm: 664: 1 [filter-map # ...] In guix/scripts/package.scm: 592: 0 [# #] guix/scripts/package.scm:592:39: In procedure #: guix/scripts/package.scm:592:39: In procedure string-split: Wrong type argument in position 1 (expecting string): #f Cyril.