From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Babenhauserheide Subject: bug#15283: on guix 0.3 package -e '(@ =?UTF-8?Q?=E2=80=A6?=)' has to be run twice to install a new package (not build yet) Date: Sat, 14 Sep 2013 01:07:20 +0200 Message-ID: <3350481.thgqKpQfMT@fluss> References: <877geuqq9a.wl%arne_bab@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2811017.Pez8fo7u3A"; micalg="pgp-sha256"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcTB-0003ce-DB for bug-guix@gnu.org; Fri, 13 Sep 2013 19:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKcT4-0007ON-PO for bug-guix@gnu.org; Fri, 13 Sep 2013 19:08:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:54894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcT4-0007OI-Li for bug-guix@gnu.org; Fri, 13 Sep 2013 19:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKcT4-0006in-0D for bug-guix@gnu.org; Fri, 13 Sep 2013 19:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcSU-0003c3-A5 for bug-guix@gnu.org; Fri, 13 Sep 2013 19:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKcSP-0007Ci-Q0 for bug-guix@gnu.org; Fri, 13 Sep 2013 19:07:26 -0400 Received: from mout.web.de ([212.227.15.4]:55207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcSP-0007Bf-HE for bug-guix@gnu.org; Fri, 13 Sep 2013 19:07:21 -0400 Received: from fluss.localnet ([212.255.235.232]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MFcDF-1V8GeT3lZN-00EcQf for ; Sat, 14 Sep 2013 01:07:21 +0200 In-Reply-To: <877geuqq9a.wl%arne_bab@web.de> 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: 15283@debbugs.gnu.org --nextPart2811017.Pez8fo7u3A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The referenced file: ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Nikita Karetnikov ;;; Copyright =C2=A9 2013 Cyril Roelandt ;;; Copyright =C2=A9 2013 Ludovic Court=C3=A8s ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it= ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (= at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (mercurial) #:use-module ((guix licenses) #:select (asl2.0 gpl1+ gpl2+ gpl3+)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build utils) #:use-module ((gnu packages gettext) #:renamer (symbol-prefix-proc 'guix:)) #:use-module (gnu packages libapr) #:use-module (gnu packages nano) #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages sqlite) #:use-module (gnu packages system) #:use-module (gnu packages emacs) #:use-module (gnu packages compression)) (define-public hg (package (name "mercurial") (version "2.7.1") (source (origin (method url-fetch) (uri (string-append "http://mercurial.selenic.com/release/mercuri= al-" version ".tar.gz")) (sha256 (base32 "121m8f7vmipmdg00cnzdz2rjkgydh28mwfirqkrbs5fv089vywl4")))) (build-system python-build-system) (home-page "http://mercurial.selenic.com") (synopsis "Decentralized version control system") (description "Mercurial is a free, distributed source control management tool.=20= It efficiently handles projects of any size and offers an easy and intu= itive interface.") (license gpl2+))) Am Freitag, 6. September 2013, 11:00:01 schrieb Arne Babenhauserheide: > To test the bug, save this file as mercurial.scm: http://bpaste.net/r= aw/129793/ >=20 > Now run > =20 > GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' >=20 >=20 > On the first run I got the following backtrace:=20 >=20 > @ build-succeeded /nix/store/9rajwkq02sk4nq7cvrxilbsvxrywh2zs-mercuri= al-2.7.1.drv - > Backtrace: > In ice-9/boot-9.scm: > 157: 14 [catch #t # ...] > In unknown file: > ?: 13 [apply-smob/1 #] > In ice-9/boot-9.scm: > 63: 12 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 11 [eval # #] > In ice-9/boot-9.scm: > 2320: 10 [save-module-excursion #] > 3966: 9 [#] > In unknown file: > ?: 8 [load-compiled/vm "/home/arne/.cache/guile/ccache/2.0-LE-8-2.= 0/usr/local/bin/guix.go"] > In guix/ui.scm: > 475: 7 [run-guix-command package "-e" "(@ (mercurial) hg)"] > In ice-9/boot-9.scm: > 157: 6 [catch srfi-34 # ..= .] > 157: 5 [catch system-error ...] > In guix/scripts/package.scm: > 951: 4 [#] > 866: 3 [process-actions (# # # #)] > In guix/store.scm: > 483: 2 [build-derivations # #] > 334: 1 [process-stderr #] > In guix/serialization.scm: > 49: 0 [read-int #] >=20 > guix/serialization.scm:49:4: In procedure read-int: > guix/serialization.scm:49:4: In procedure bv-u32-ref: Wrong type argu= ment in position 1 (expecting bytevector): # >=20 > The second run succeeds. --=20 1w6 sie zu achten, sie alle zu finden, in Spiele zu leiten und sacht zu verbinden. =E2=86=92 http://1w6.org --nextPart2811017.Pez8fo7u3A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iJwEAAEIAAYFAlIzmqgACgkQ3M8NswvBBUiIWQP/W2TEM6Z+VMN1rkDulDzuliTr VUe8KfP9bbLbExMq6fOlBaWRfzfIOXi+z/fHiRLTU0wczL+X2rwdA+Uj56bgkx7l s2nT+goP/5/+7VdQGqNW96N7wi4lOGHkp7PDXE5H3seDUAX9KrT85Mjpfel9gexp f5CflRalQW/Q30y8/v0= =C8aD -----END PGP SIGNATURE----- --nextPart2811017.Pez8fo7u3A--