Re: Porting to mips64el

2013-01-19 Thread Nikita Karetnikov
> Great! Crossing fingers. ;-) # cat /usr/local/etc/nix/nix.conf build-users-group=nixbld # ./pre-inst-env guix-build -K \ > -e '(@ (gnu packages make-bootstrap) %bootstrap-tarballs)' \ > --system=mips64el-linux [...] I've tried to compile and run the following simple program: #include int

Re: starting using guix

2013-01-19 Thread Aleix Conchillo Flaqué
On Sat, Jan 19, 2013 at 3:11 PM, Aleix Conchillo Flaqué wrote: > # groupadd guix-builder > # for i in `seq 1 10`; >do > useradd -g guix-builder -d /var/empty -s `which nologin` \ > -c "Guix build user $i" guix-builder$i; >done > > I get this err

[PATCH] Add GNU Screen.

2013-01-19 Thread Cyril Roelandt
* gnu/packages/screen.scm: New file. * Makefile.am (MODULES): Add it. --- Makefile.am |1 + gnu/packages/screen.scm | 60 +++ 2 files changed, 61 insertions(+) create mode 100644 gnu/packages/screen.scm diff --git a/Makefile.am b/Make

guix-package --search

2013-01-19 Thread Nikita Karetnikov
Hi, I've decided to let you know that I'm going to implement 'search'. Nikita pgpWFUUdym6z4.pgp Description: PGP signature

[PATCH] Add vim.

2013-01-19 Thread Cyril Roelandt
* gnu/packages/vim.scm: New file. * Makefile.am (MODULES): Add it. --- This patch adds the vim text editor. During compilation, I get this error message : nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh: hostname: command not found "make test" runs the test suite, but quickly fails :

Re: [PATCH] Add vim.

2013-01-19 Thread Cyril Roelandt
On 01/19/2013 02:51 PM, Ludovic Courtès wrote: Andreas Enge skribis: This is strange - as if the bash binary called /bin/sh. I actually do not have this nix store path; I think he’s on i686, whereas you’re on x86_64, hence the different paths. Yes. Cyril.

starting using guix

2013-01-19 Thread Aleix Conchillo Flaqué
Hi, just started using guix yesterday by following "info guix". I found a couple of problems: 1. After adding guix build groupd and users, as suggested: # groupadd guix-builder # for i in `seq 1 10`; do useradd -g guix-builder -d /var/empty -s `which nologin` \

Re: GNU Bazaar doesn't support the GNU build system

2013-01-19 Thread Nikita Karetnikov
> Does that clarify? I understand how 'system*' works, but I don't know where to use it. AFAICT, the '#:phases' keyword can't be used because it requires '%standard-phases'. There is also '#:builder', but I haven't found a way to use it. Nikita pgpsBqAH6uEZz.pgp Description: PGP signature

Re: Netpbm

2013-01-19 Thread Andreas Enge
Am Samstag, 19. Januar 2013 schrieb Ludovic Courtès: > Andreas Enge skribis: > > Could someone else please test the package? > I just tried, and it builds perfectly as > /nix/store/agjc4rdsvi4wvbz6dymgid5pb85nqcf7-netpbm-10.61.01. Thanks! For me also, it builds well, but I cannot install it: $ g

Re: tests/packages.scm fails with make check

2013-01-19 Thread Andreas Enge
Hello, I get a test failure in guix-download.sh, the last line of which reads: guix-download "file://$abs_top_srcdir/README" As $abs_top_srcdir is undefined, it tries to download /README, which does not exist. Andreas

Re: Netpbm

2013-01-19 Thread Ludovic Courtès
Andreas Enge skribis: > Could someone else please test the package? I just tried, and it builds perfectly as /nix/store/agjc4rdsvi4wvbz6dymgid5pb85nqcf7-netpbm-10.61.01. There are extraneous file in the root of that directory: $ ls /nix/store/agjc4rdsvi4wvbz6dymgid5pb85nqcf7-netpbm-10.61.01/

Re: [PATCH] distro: Add GLib.

2013-01-19 Thread Ludovic Courtès
Hi! I just pushed my GLib changes in a single patch, 943f33a. Apologies for not splitting them in several patches, but apparently the renaming had made this pretty much impossible. So the patch adds DBus, adds a “doc” output for GLib, fixes a bunch of /bin/sh references, and adds three larger-th

Re: libjpeg-8 not installable

2013-01-19 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > libjpeg-8 is listed by "guix-package --list-available", and built without > problem by "guix-build libjpeg-8". However: > > $ guix-package -i libjpeg-8 > libjpeg-8: package not found (Note that you could do: guix-package -i `guix-build libjpeg-8`.) > Could this be

Re: Porting to mips64el

2013-01-19 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > I'm using 3.4 and ext3. That error occurred because of these options: > > # CONFIG_EXT3_FS is not set > CONFIG_EXT4_FS=y > CONFIG_EXT4_USE_FOR_EXT23=y > CONFIG_EXT4_FS_XATTR=y > CONFIG_EXT4_FS_POSIX_ACL=y > CONFIG_EXT4_FS_SECURITY=y > > I've been told that ext4

Netpbm

2013-01-19 Thread Andreas Enge
Hello, the attached patch is a first attempt at adding netpbm. I disabled four tests for which I do not know why they failed. Now the package builds, but "guix-package -i netpbm" results in an error message that a user environment in the nix store could not be created. Could someone else pleas

Re: Porting to mips64el

2013-01-19 Thread Nikita Karetnikov
Hi, > So please, make sure to run a Linux(-Libre) kernel known to have the fix > (3.5 and 3.6 are known broken, AIUI.) I'm using 3.4 and ext3. That error occurred because of these options: # CONFIG_EXT3_FS is not set CONFIG_EXT4_FS=y CONFIG_EXT4_USE_FOR_EXT23=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT

Re: GNU Guix 0.1 released (alpha)

2013-01-19 Thread Alex Sassmannshausen
Fantastic — congratulations. I might have to reschedule my prolonged Skyrim session planned for tomorrow in light of this… ~acs Atom X writes: > l...@gnu.org (Ludovic Courtès) writes: > >> ;; Announcement. -*- scheme -*- >> >> (define guix >> (package

Re: tests/packages.scm fails with make check

2013-01-19 Thread Alen Skondro
On 01/19/2013 02:56 PM, Ludovic Courtès wrote: Hi, Alen Skondro skribis: test/packages.scm failes on my machine. I cleaned out my whole git repository but this test always fails. Do you run ‘make check -jX’, with X > 1? yes, that was it. When building aur packages it automatically uses -j

Re: tests/packages.scm fails with make check

2013-01-19 Thread Ludovic Courtès
Hi, Alen Skondro skribis: > test/packages.scm failes on my machine. > I cleaned out my whole git repository but this test always fails. Do you run ‘make check -jX’, with X > 1? Can you try running tests sequentially, with ‘make check’? I’ve noticed this failure sometimes when running tests in

Re: guix-package -A doesn't end

2013-01-19 Thread Ludovic Courtès
Hi Aleix, Aleix Conchillo Flaqué skribis: > First thing I've found is that executing: > > guix-package -A > > does not end (I haven't wait for a long time). > > While > > guix-package --list-available > > works fine. Yes, you hit an unfortunate bug in Guile’s SRFI-37 option parser: http://de

Re: [PATCH] Add vim.

2013-01-19 Thread Ludovic Courtès
Andreas Enge skribis: > This is strange - as if the bash binary called /bin/sh. I actually do not > have this nix store path; I think he’s on i686, whereas you’re on x86_64, hence the different paths. Ludo’.

Re: GNU Bazaar doesn't support the GNU build system

2013-01-19 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Like this: (system* "python" "setup.py" "install"). > > Could you elaborate? ‘system*’ is a Guile procedure that works like system(3), except that it executes the command directly, instead of via a shell. So: (system* "python" "setup.py" "install") runs the pro

Re: [PATCH] Add vim.

2013-01-19 Thread Ludovic Courtès
Hi, Cyril Roelandt skribis: > On 01/18/2013 10:45 PM, Ludovic Courtès wrote: [...] >> Then just include (guix licenses) in vim.scm, and use it. >> You’ll need a #:renamer to avoid a name clash, as is done in openssl.scm. >> > > Why would there be a clash ? Because within the (gnu packages vim

Re: guix-gc

2013-01-19 Thread Andreas Enge
Am Donnerstag, 10. Januar 2013 schrieb Ludovic Courtès: > Nix provides other options that extend this model to something closer to > what you say, namely ‘gc-keep-outputs’ (see > .) > > I guess we should add a guix-daemon option for

libjpeg-8 not installable

2013-01-19 Thread Andreas Enge
Hello, libjpeg-8 is listed by "guix-package --list-available", and built without problem by "guix-build libjpeg-8". However: $ guix-package -i libjpeg-8 libjpeg-8: package not found Could this be related to the definition with inheritance? (define-public libjpeg-8 (package (inherit libjpeg)

Re: [PATCH] Add vim.

2013-01-19 Thread Andreas Enge
Am Samstag, 19. Januar 2013 schrieb Cyril Roelandt: > Right. I did that, and the test suite fails : > /nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/bash: /bin/sh: > No such file or directory This is strange - as if the bash binary called /bin/sh. I actually do not have this nix store p

guix-package -A doesn't end

2013-01-19 Thread Aleix Conchillo Flaqué
Hi! First of all: Nice job! Let's see if I can help a bit with this, at least trying to report bugs. First thing I've found is that executing: guix-package -A does not end (I haven't wait for a long time). While guix-package --list-available works fine. Aleix