From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Error messages and progress report Date: Sun, 9 Dec 2012 21:01:21 +0100 Message-ID: <201212092101.21170.andreas@enge.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_R4OxQJanFQCx68m" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thn47-0008No-Jh for bug-guix@gnu.org; Sun, 09 Dec 2012 15:01:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thn44-0008Ky-KT for bug-guix@gnu.org; Sun, 09 Dec 2012 15:01:31 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:56202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thn44-0008Kq-6d for bug-guix@gnu.org; Sun, 09 Dec 2012 15:01:28 -0500 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: bug-guix@gnu.org --Boundary-01=_R4OxQJanFQCx68m Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, advancing with my first steps in guix, I have lots of questions, probably naive ones. $ guix-package -n -i hello throws lots of error messages: Backtrace: In ice-9/boot-9.scm: 63: 19 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 407: 18 [eval # #] In unknown file: ?: 17 [call-with-input-string "(apply (module-ref (resolve-interface '(guix-package)) 'guix-package) (cdr (command-line)))" ...] In ice-9/command-line.scm: 174: 16 [# #] In unknown file: ?: 15 [eval (apply (module-ref # #) (cdr #)) #] In ice-9/boot-9.scm: 149: 14 [catch srfi-34 # ...] 157: 13 [#] In /usr/local/bin/guix-package: 438: 12 [#] 323: 11 [process-actions (# # #)] In srfi/srfi-1.scm: 664: 10 [filter-map # ...] In guix/packages.scm: 295: 9 [package-derivation # # "x86_64-linux"] In srfi/srfi-1.scm: 578: 8 [map # (("gawk" #))] In guix/packages.scm: 247: 7 [expand-input ("gawk" #)] 295: 6 [package-derivation # # "x86_64-linux"] In srfi/srfi-1.scm: 578: 5 [map # (# #)] In guix/packages.scm: 247: 4 [expand-input ("libsigsegv" #)] 301: 3 [package-derivation # # "x86_64-linux"] In guix/derivations.scm: 606: 2 [build-expression->derivation # "libsigsegv-2.10.tar.gz" "x86_64- linux" ...] In guix/store.scm: 408: 1 [add-text-to-store # "libsigsegv-2.10.tar.gz-guile-builder" ...] In unknown file: ?: 0 [put-bytevector # #vu8(8 0 0 0 0 0 0 0) ...] ERROR: In procedure put-bytevector: ERROR: In procedure fport_write: Bad file descriptor the following derivations would be built: /nix/store/ry0il2rwcxl053y01ffddghl9s7mvkck-hello-2.8.drv etc. After that, things seem to proceed well for the moment; $ guix-package -i hello starts by downloading things and compiling them. Concerning the downloads, would it be possible to easily add a progress bar? In particular since the first download was gcc, quite some time passed without any hint as to whether the program was still working. Andreas --Boundary-01=_R4OxQJanFQCx68m Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

Hello,

 

advancing with my first steps in guix, I have lots of questions, probably naive ones.

 

$ guix-package -n -i hello

 

throws lots of error messages:

 

Backtrace:

In ice-9/boot-9.scm:

63: 19 [call-with-prompt prompt0 ...]

In ice-9/eval.scm:

407: 18 [eval # #]

In unknown file:

?: 17 [call-with-input-string "(apply (module-ref (resolve-interface '(guix-package)) 'guix-package) (cdr (command-line)))" ...]

In ice-9/command-line.scm:

174: 16 [#<procedure ccfac0 at ice-9/command-line.scm:169:3 (port)> #<input: string b78270>]

In unknown file:

?: 15 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user) db7d80>]

In ice-9/boot-9.scm:

149: 14 [catch srfi-34 #<procedure 1146b20 at guix/ui.scm:61:2 ()> ...]

157: 13 [#<procedure 12a4d20 ()>]

In /usr/local/bin/guix-package:

438: 12 [#<procedure e37750 at /usr/local/bin/guix-package:430:4 ()>]

323: 11 [process-actions (# # #)]

In srfi/srfi-1.scm:

664: 10 [filter-map #<procedure 1141ae0 at /usr/local/bin/guix-package:332:33 (expr)> ...]

In guix/packages.scm:

295: 9 [package-derivation # # "x86_64-linux"]

In srfi/srfi-1.scm:

578: 8 [map #<procedure expand-input (expr)> (("gawk" #))]

In guix/packages.scm:

247: 7 [expand-input ("gawk" #)]

295: 6 [package-derivation # # "x86_64-linux"]

In srfi/srfi-1.scm:

578: 5 [map #<procedure expand-input (expr)> (# #)]

In guix/packages.scm:

247: 4 [expand-input ("libsigsegv" #)]

301: 3 [package-derivation # # "x86_64-linux"]

In guix/derivations.scm:

606: 2 [build-expression->derivation # "libsigsegv-2.10.tar.gz" "x86_64-linux" ...]

In guix/store.scm:

408: 1 [add-text-to-store # "libsigsegv-2.10.tar.gz-guile-builder" ...]

In unknown file:

?: 0 [put-bytevector #<input-output: socket 5> #vu8(8 0 0 0 0 0 0 0) ...]

 

ERROR: In procedure put-bytevector:

ERROR: In procedure fport_write: Bad file descriptor

the following derivations would be built:

/nix/store/ry0il2rwcxl053y01ffddghl9s7mvkck-hello-2.8.drv

etc.

 

 

After that, things seem to proceed well for the moment;

$ guix-package -i hello

starts by downloading things and compiling them.

Concerning the downloads, would it be possible to easily add a progress

bar? In particular since the first download was gcc, quite some time passed

without any hint as to whether the program was still working.

 

Andreas

 

 

 

 

 

--Boundary-01=_R4OxQJanFQCx68m--