From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Error messages and progress report Date: Tue, 11 Dec 2012 13:22:35 +0100 Message-ID: <201212111322.35235.andreas@enge.fr> References: <201212092101.21170.andreas@enge.fr> <871uex1pkx.fsf@gnu.org> <201212110022.10744.andreas@enge.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_LWyxQF8roQ+RuXz" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiOrH-0007CF-Pc for bug-guix@gnu.org; Tue, 11 Dec 2012 07:22:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiOrA-0005JG-Ak for bug-guix@gnu.org; Tue, 11 Dec 2012 07:22:47 -0500 In-Reply-To: <201212110022.10744.andreas@enge.fr> 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=_LWyxQF8roQ+RuXz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, I am getting there! Everything compiled, and there is now a hello package. Or rather, lots of them. /nix/store contains 1 hello-2.8.tar.gz 3 hello-2.8.tar.gz.drv 3 hello-2.8.tar.gz-guile-builder 2 hello-2.8 2 hello-2.8.drv 2 hello-2.8-guile-builder Altogether 13 files or directories, with different hashes prepended. Unfortunately, all files have the date "Jan 1 1970". It would be nice to use the real date of modification instead. The command guix-package -i hello still produces an error, probably related to making the symlinks in my own environment: 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 '(guix-package)) 'guix-package) (cdr (command-line)))" ...] In ice-9/command-line.scm: 174: 6 [# #] 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-package: 438: 2 [#] 379: 1 [process-actions (# #)] In unknown file: ?: 0 [symlink "/nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user- environment" ...] ERROR: In procedure symlink: ERROR: In procedure symlink: No such file or directory The directory "/nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user-environment" exists, and its subdirectory "bin" contains a link "hello" to /nix/store/g0izbi5fdmnpgc6mwi45sxks390fkm1v-hello-2.8/bin/hello. So far, there is no ".guix-profile" in my home directory; but creating it does not change the error message. Do I need to do anything special? If yes, it would be good to add a section "installation" to the manual. I suppose I also need to add a line to my .bashrc to modify $PATH ? Andreas --Boundary-01=_LWyxQF8roQ+RuXz Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

Hello,

 

I am getting there! Everything compiled, and there is now a hello package.

Or rather, lots of them. /nix/store contains

1 hello-2.8.tar.gz

3 hello-2.8.tar.gz.drv

3 hello-2.8.tar.gz-guile-builder

2 hello-2.8

2 hello-2.8.drv

2 hello-2.8-guile-builder

Altogether 13 files or directories, with different hashes prepended.

Unfortunately, all files have the date "Jan 1 1970". It would be nice to

use the real date of modification instead.

 

 

The command

guix-package -i hello

still produces an error, probably related to making the symlinks

in my own environment:

 

Backtrace:

In ice-9/boot-9.scm:

149: 12 [catch #t #<catch-closure 1e035c0> ...]

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

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 '(guix-package)) 'guix-package) (cdr (command-line)))" ...]

In ice-9/command-line.scm:

174: 6 [#<procedure 1e172c0 at ice-9/command-line.scm:169:3 (port)> #<input: string 1bd0340>]

In unknown file:

?: 5 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user) 1e08d80>]

In ice-9/boot-9.scm:

149: 4 [catch srfi-34 #<procedure 2365c40 at guix/ui.scm:61:2 ()> ...]

157: 3 [#<procedure 2364d70 ()>]

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

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

379: 1 [process-actions (# #)]

In unknown file:

?: 0 [symlink "/nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user-environment" ...]

 

ERROR: In procedure symlink:

ERROR: In procedure symlink: No such file or directory

 

 

The directory

"/nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user-environment"

exists, and its subdirectory "bin" contains a link "hello" to

/nix/store/g0izbi5fdmnpgc6mwi45sxks390fkm1v-hello-2.8/bin/hello.

 

So far, there is no ".guix-profile" in my home directory; but

creating it does not change the error message.

 

Do I need to do anything special? If yes, it would be good to add a

section "installation" to the manual. I suppose I also need to add a line

to my .bashrc to modify $PATH ?

 

Andreas

 

--Boundary-01=_LWyxQF8roQ+RuXz--