GNU bug report logs - #15283
on guix 0.3 package -e '(@ …)' has to be run twice to install a new package (not build yet)

Previous Next

Package: guix;

Reported by: arne_bab <at> web.de

Date: Fri, 6 Sep 2013 09:06:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15283 in the body.
You can then email your comments to 15283 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#15283; Package guix. (Fri, 06 Sep 2013 09:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to arne_bab <at> web.de:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 06 Sep 2013 09:06:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: on guix 0.3 package -e '(@ …)' has to be run twice
 to install a new package (not build yet)
Date: Fri, 06 Sep 2013 11:00:01 +0200
To test the bug, save this file as mercurial.scm: http://bpaste.net/raw/129793/

Now run
 
    GUILE_LOAD_PATH=. guix package -e '(@ (mercurial) hg)'


On the first run I got the following backtrace: 

@ build-succeeded /nix/store/9rajwkq02sk4nq7cvrxilbsvxrywh2zs-mercurial-2.7.1.drv -
Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure 88e540> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure 88e540>]
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 #<procedure 8becc0 at ice-9/boot-9.scm:3961:3 ()>]
3966: 9 [#<procedure 8becc0 at ice-9/boot-9.scm:3961:3 ()>]
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 #<procedure e98aa0 at guix/ui.scm:153:2 ()> ...]
 157: 5 [catch system-error ...]
In guix/scripts/package.scm:
 951: 4 [#<procedure 17c1570 at guix/scripts/package.scm:937:8 ()>]
 866: 3 [process-actions (# # # #)]
In guix/store.scm:
 483: 2 [build-derivations # #]
 334: 1 [process-stderr #]
In guix/serialization.scm:
  49: 0 [read-int #<input-output: socket 9>]

guix/serialization.scm:49:4: In procedure read-int:
guix/serialization.scm:49:4: In procedure bv-u32-ref: Wrong type argument in position 1 (expecting bytevector): #<eof>

The second run succeeds.




Information forwarded to bug-guix <at> gnu.org:
bug#15283; Package guix. (Fri, 13 Sep 2013 23:08:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: Re: on guix 0.3 package -e '(@ …)' has to be run
 twice to install a new package (not build yet)
Date: Sat, 14 Sep 2013 01:07:20 +0200
[Message part 1 (text/plain, inline)]
The referenced file:

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita <at> karetnikov.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml <at> gmail.com>
;;; Copyright © 2013 Ludovic Courtès <ludo <at> gnu.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(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/mercurial-" 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. 
It efficiently handles projects of any size and offers an easy and intuitive 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/raw/129793/
> 
> Now run
>  
>     GUILE_LOAD_PATH=. guix package -e '(@ (mercurial) hg)'
> 
> 
> On the first run I got the following backtrace: 
> 
> @ build-succeeded /nix/store/9rajwkq02sk4nq7cvrxilbsvxrywh2zs-mercurial-2.7.1.drv -
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 14 [catch #t #<catch-closure 88e540> ...]
> In unknown file:
>    ?: 13 [apply-smob/1 #<catch-closure 88e540>]
> 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 #<procedure 8becc0 at ice-9/boot-9.scm:3961:3 ()>]
> 3966: 9 [#<procedure 8becc0 at ice-9/boot-9.scm:3961:3 ()>]
> 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 #<procedure e98aa0 at guix/ui.scm:153:2 ()> ...]
>  157: 5 [catch system-error ...]
> In guix/scripts/package.scm:
>  951: 4 [#<procedure 17c1570 at guix/scripts/package.scm:937:8 ()>]
>  866: 3 [process-actions (# # # #)]
> In guix/store.scm:
>  483: 2 [build-derivations # #]
>  334: 1 [process-stderr #]
> In guix/serialization.scm:
>   49: 0 [read-int #<input-output: socket 9>]
> 
> guix/serialization.scm:49:4: In procedure read-int:
> guix/serialization.scm:49:4: In procedure bv-u32-ref: Wrong type argument in position 1 (expecting bytevector): #<eof>
> 
> The second run succeeds.

-- 
1w6 sie zu achten,
sie alle zu finden,
in Spiele zu leiten
und sacht zu verbinden.
→ http://1w6.org

[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 30 Oct 2013 21:19:02 GMT) Full text and rfc822 format available.

Notification sent to arne_bab <at> web.de:
bug acknowledged by developer. (Wed, 30 Oct 2013 21:19:03 GMT) Full text and rfc822 format available.

Message #13 received at 15283-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Arne Babenhauserheide <arne_bab <at> web.de>
Cc: 15283-done <at> debbugs.gnu.org
Subject: Re: bug#15283: on guix 0.3 package -e '(@ …)'
 has to be run twice to install a new package (not build yet)
Date: Wed, 30 Oct 2013 22:18:05 +0100
Arne Babenhauserheide <arne_bab <at> web.de> skribis:

> To test the bug, save this file as mercurial.scm: http://bpaste.net/raw/129793/
>
> Now run
>  
>     GUILE_LOAD_PATH=. guix package -e '(@ (mercurial) hg)'
>
>
> On the first run I got the following backtrace: 
>
> @ build-succeeded /nix/store/9rajwkq02sk4nq7cvrxilbsvxrywh2zs-mercurial-2.7.1.drv -

[...]

>  866: 3 [process-actions (# # # #)]
> In guix/store.scm:
>  483: 2 [build-derivations # #]
>  334: 1 [process-stderr #]
> In guix/serialization.scm:
>   49: 0 [read-int #<input-output: socket 9>]
>
> guix/serialization.scm:49:4: In procedure read-int:
> guix/serialization.scm:49:4: In procedure bv-u32-ref: Wrong type argument in position 1 (expecting bytevector): #<eof>
>
> The second run succeeds.

I believe this is fixed with commit 1fcc3ba.

I’m closing the bug, but of course do reopen it if you encounter this
issue again.

Thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15283; Package guix. (Thu, 31 Oct 2013 20:17:03 GMT) Full text and rfc822 format available.

Message #16 received at 15283-done <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 15283-done <at> debbugs.gnu.org
Subject: Re: bug#15283: on guix 0.3 package -e '(@ …)' has to
 be run twice to install a new package (not build yet)
Date: Thu, 31 Oct 2013 21:16:38 +0100
[Message part 1 (text/plain, inline)]
Am Mittwoch, 30. Oktober 2013, 22:18:05 schrieb Ludovic Courtès:
> I believe this is fixed with commit 1fcc3ba.

Thank you!

-- 
Unpolitisch sein
heißt politisch sein, 
ohne es zu merken. 
- Arne (http://draketo.de)


[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.