From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: libjpeg-8 not installable Date: Wed, 23 Jan 2013 21:28:14 +0100 Message-ID: <201301232128.14352.andreas@enge.fr> References: <201301191216.29184.andreas@enge.fr> <201301201258.01463.andreas@enge.fr> <87zk006gmb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_efEARGhTg6DMZ3I" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty6vs-00015J-T0 for bug-guix@gnu.org; Wed, 23 Jan 2013 15:28:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ty6vo-0007v2-4L for bug-guix@gnu.org; Wed, 23 Jan 2013 15:28:28 -0500 In-Reply-To: <87zk006gmb.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: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org --Boundary-01=_efEARGhTg6DMZ3I Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, 22. Januar 2013 schrieb Ludovic Court=C3=A8s: > Commit 5401dd7 does that. It almost works now, thanks! I can do $ guix-build libjpeg-8d and $ guix-build libjpeg-9 but $ guix-build libjpeg fails: Backtrace: In ice-9/boot-9.scm: 149: 12 [catch #t # ...] 157: 11 [#] In unknown file: ?: 10 [catch-closure] In ice-9/boot-9.scm: 63: 9 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 407: 8 [eval # #] In unknown file: ?: 7 [call-with-input-string "(apply (module-ref (resolve-interface=20 '(guix-build)) 'guix-build) (cdr (command-line)))" ...] In ice-9/command-line.scm: 174: 6 [#=20 #] In unknown file: ?: 5 [eval (apply (module-ref # #) (cdr #)) #] In ice-9/boot-9.scm: 149: 4 [catch srfi-34 # ...] 157: 3 [#] In /usr/local/bin/guix-build: 231: 2 [#] In srfi/srfi-1.scm: 664: 1 [filter-map # ...] In /usr/local/bin/guix-build: 210: 0 [# #] /usr/local/bin/guix-build:210:17: In procedure #: /usr/local/bin/guix-build:210:17: Wrong type to apply: (#) Concerning guix-package, $ guix-package -i libjpeg installs version 8d, not the newer 9. Even by exchanging the order of the variables, the older one gets=20 installed. It looks to me as if the first found in alphabetical order is=20 taken, while it should rather be the last one (not in alphabetical order,=20 but lexicographically on the version number). Andreas --Boundary-01=_efEARGhTg6DMZ3I Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Dienstag= , 22. Januar 2013 schrieb Ludovic Court=C3=A8s:

> Commit= 5401dd7 does that.

&nb= sp;

It almost w= orks now, thanks! I can do

&nb= sp;

$ guix-buil= d libjpeg-8d

and

$ guix-buil= d libjpeg-9

but

$ guix-buil= d libjpeg

fails:

&nb= sp;

Backtrace:<= /p>

In ice-9/bo= ot-9.scm:

149: 12 [c= atch #t #<catch-closure 1e3e9c0> ...]

157: 11 [#= <procedure 1dda0f0 ()>]

In unknown = file:

?: 10 [c= atch-closure]

In ice-9/bo= ot-9.scm:

63: 9 [ca= ll-with-prompt prompt0 ...]

In ice-9/ev= al.scm:

407: 8 [ev= al # #]

In unknown = file:

?: 7 [ca= ll-with-input-string "(apply (module-ref (resolve-interface '(guix-bui= ld)) 'guix-build) (cdr (command-line)))" ...]

In ice-9/co= mmand-line.scm:

174: 6 [#&= lt;procedure 1d592e0 at ice-9/command-line.scm:169:3 (port)> #<input:= string 1c02410>]

In unknown = file:

?: 5 [ev= al (apply (module-ref # #) (cdr #)) #<directory (guile-user) 1e40d80>= ]

In ice-9/bo= ot-9.scm:

149: 4 [ca= tch srfi-34 #<procedure 22ce560 at guix/ui.scm:71:2 ()> ...]

157: 3 [#&= lt;procedure 22d2f00 ()>]

In /usr/loc= al/bin/guix-build:

231: 2 [#&= lt;procedure 22c9420 at /usr/local/bin/guix-build:228:2 ()>]

In srfi/srf= i-1.scm:

664: 1 [fi= lter-map #<procedure 22c9120 at /usr/local/bin/guix-build:233:33 (expr)&= gt; ...]

In /usr/loc= al/bin/guix-build:

210: 0 [#&= lt;procedure 22c9120 at /usr/local/bin/guix-build:233:33 (expr)> #]

&nb= sp;

/usr/local/= bin/guix-build:210:17: In procedure #<procedure 22c9120 at /usr/local/bi= n/guix-build:233:33 (expr)>:

/usr/local/= bin/guix-build:210:17: Wrong type to apply: (#<package libjpeg-8d gnu/pa= ckages/libjpeg.scm:27 20fd0b0>)

&nb= sp;

&nb= sp;

Concerning = guix-package,

$ guix-pack= age -i libjpeg

installs ve= rsion 8d, not the newer 9.

&nb= sp;

Even by exc= hanging the order of the variables, the older one gets installed. It looks = to me as if the first found in alphabetical order is taken, while it should= rather be the last one (not in alphabetical order, but lexicographically o= n the version number).

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_efEARGhTg6DMZ3I--