Re: [PATCH] Add (guix gnu-maintenance).

2012-12-04 Thread Ludovic Courtès
Hi, Nikita Karetnikov nikita.karetni...@gmail.com skribis: +(define (http-fetch str) + Fetch a file from STR, which should be a URI. Rather: (define (http-fetch uri) Return a string containing the textual data at URI, a string. ...) + (error download failed: str code +

Re: Own guix repository (channel)

2012-12-04 Thread Ludovic Courtès
Hi Alexey, Alexey Shrub ash...@yandex.ru skribis: I want to use guix for deploying internal software in company where I work. Thanks for your interest. Be aware that Guix is currently alpha software. How I can create my own package repository (channel in nix terminology)? There is

Re: attr: No rule to make target `check'.

2012-12-05 Thread Ludovic Courtès
Hi, Nikita Karetnikov nikita.karetni...@gmail.com skribis: starting phase `check' make: *** No rule to make target `check'. Stop. Two cases: - if there’s not test suite at all, just add: (arguments '(#:tests? #f)). - if there is a test suite, but under a different ‘make’ target, or

Re: [PATCH] Add (guix gnu-maintenance).

2012-12-05 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: Can you post an updated patch? Attached. Applied, thanks! In the future, we may want to use GNU recutils to parse all of the file. Where can I read about 'and='? I haven't found it in the manual. It’s missing from the manual, indeed.

Re: attr: No rule to make target `check'.

2012-12-05 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: I've attached the patch. We have to change it to call 'make install-dev' because of 'acl'. How to do it? Likewise, replace the ‘install’ phase: (arguments '(#:phases (alist-replace 'install (lambda _

Re: Check: missing signature, mirrors

2012-12-05 Thread Ludovic Courtès
Oh, and in the meantime you can use ‘nix-prefetch-url’, or wget + sha256/base32 from Guix. Ludo’.

Re: attr: No rule to make target `check'.

2012-12-05 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: gcc: error: /nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/lib/libattr.so: No such file or directory make[2]: *** [libacl.la] Error 1 You could check whether libattr was built with --enable-shared. It should have installed

Re: List of abbreviations for licenses

2012-12-07 Thread Ludovic Courtès
Hi again, Nikita Karetnikov nikita.karetni...@gmail.com skribis: +(define-record-type license + (license name) + license? + (name license-name)) [...] +;;; https://www.gnu.org/licenses/license-list#apache2 +(define asl2.0 (license ASL 2.0)) While we’re at it, we should add a ‘url’

Re: [PATCH] distro: Add ACL.

2012-12-07 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: From 465c9970043036770a7c9a55c29e7682304f6169 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Fri, 7 Dec 2012 01:18:23 + Subject: [PATCH] distro: Add ACL. * distro/packages/acl.scm: New file. *

Re: List of abbreviations for licenses

2012-12-08 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: From 714e8352e34633edf6721ba32eed0bcc902281a2 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Sat, 8 Dec 2012 01:48:17 + Subject: [PATCH] Add (guix licenses). * guix/licenses.scm: New file. *

Re: List of abbreviations for licenses

2012-12-09 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: How to change the recipes that are already in the repo? Should we do it in a single commit? Yes, in a single commit. Just use a simple ‘sed’ script or similar. Ludo’.

Re: List of abbreviations for licenses

2012-12-11 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: WDYT? That's even better. Why did you use trailing whitespaces? So there are two spaces after sentence-terminating periods. Ludo’.

Re: Error messages and progress report

2012-12-12 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Am Mittwoch, 12. Dezember 2012 schrieb Ludovic Courtès: As for the rough edges, installing the hello package twice results in an error message, too. Commit 1c67d63 fixes that. Thanks! Now I can install hello over and over again :-) Excellent! I

Re: New package: FPLLL

2012-12-12 Thread Ludovic Courtès
Hi Andreas! Andreas Enge andr...@enge.fr skribis: Here is a recipe: Thanks! I could add it, but in the long run I’d prefer patches as produced by ‘git format-patch’, which has the advantage of being readily applicable, and preserving authorship. Would it be possible for you? (license

Re: 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No such file or directory'

2012-12-12 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: build-chroot-dirs = /dev /proc /bin [...] ?: 0 [system* ./configure ...] ERROR: In procedure system*: ERROR: In procedure system*: No such file or directory Is /bin/sh a symlink? If it is, its target has to be in one of the

Re: [PATCH] Typos in documentation

2012-12-12 Thread Ludovic Courtès
Thanks for catching these! I applied most of the changes. See below (nitpicking ahead!). Andreas Enge andr...@enge.fr skribis: --- guix.alt/doc/guix.texi2012-12-11 21:53:49.0 +0100 +++ guix/doc/guix.texi2012-12-11 22:20:49.0 +0100 @@ -105,7 +105,7 @@ @cindex

Re: Integration of the Nix daemon

2012-12-13 Thread Ludovic Courtès
Hello! I just merged that branch in ‘master’. So now, you need to run ‘./bootstrap’ (and not just autoreconf) to initialize the package. So now, unless ‘--disable-daemon’ is passed, a ‘guix-daemon’ binary is built from C++, mostly taken from upstream Nix. Please report any problems. :-)

Re: Check: missing signature, mirrors

2012-12-14 Thread Ludovic Courtès
Hi, Nikita Karetnikov nikita.karetni...@gmail.com skribis: scheme@(guile-user) ,use (web uri) (web client) scheme@(guile-user) (http-get (string-uri http://tenet.dl.sourceforge.net/project/check/check/0.9.9/check-0.9.9.tar.gz;)) web/client.scm:109:4: In procedure http-get:

Re: Integration of the Nix daemon

2012-12-15 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Not much to see. Oh right. Actually, can you instead try this: guix-build --verbosity=4 hello (Yes, this is a brand new option. :-)) On my machine ‘guix-build’ emits messages like: | | | found build user `nixbld1' | | | found

Re: Integration of the Nix daemon

2012-12-15 Thread Ludovic Courtès
Hi, Andreas Enge andr...@enge.fr skribis: | | | found build user `nixbld1' | | | found build user `nixbld2' | | | found build user `nixbld3' | | | found build user `nixbld4' | | | found build user `nixbld5' | | | found build user `nixbld6' | | |

Re: 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No such file or directory'

2012-12-16 Thread Ludovic Courtès
Hi Nikita, Nikita Karetnikov nikita.karetni...@gmail.com skribis: I'm getting the same error with the following command: # ./pre-inst-env guix-daemon --build-users-group=nixbld -C 0 [...] An option is to replace /bin/sh by the statically-linked Bash that’s in

Re: Integration of the Nix daemon

2012-12-16 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: When starting the execution, only the following lines are printed: {sa_family=AF_FILE, NULL}, [2]) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 getsockopt(4, SOL_SOCKET, SO_PEERCRED,

Re: [PATCH] distro: Add Check.

2012-12-16 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: Can I commit it? Nikita From e4f44a00debbc52dea2b145a36926b6937a0ce16 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Sun, 16 Dec 2012 20:14:02 + Subject: [PATCH] distro: Add Check. *

Re: Check: missing signature, mirrors

2012-12-16 Thread Ludovic Courtès
Nikita Karetnikov nikita.karetni...@gmail.com skribis: Commit b3a53fb adds a workaround for this bug. 'http://' works, but 'mirror://' hangs. It’s not a matter or mirror vs. http. This one hangs: guix-download http://kent.dl.sourceforge.net/sourceforge/check/0.9.9/check-0.9.9.tar.gz

Re: [PATCH] distro: Add Berkeley DB

2012-12-30 Thread Ludovic Courtès
Hello! Andreas Enge andr...@enge.fr skribis: the first leaf I came across in a surprisingly deep dependency tree when trying to integrate gnunet... Would be good if they used GDBM instead... From ac20c27b16e7dc5b1fc123f4055a246b469a959b Mon Sep 17 00:00:00 2001 From: Andreas Enge

Re: [PATCH] distro: Add GNU Libidn.

2012-12-30 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: I am still not clear whether we should do one package or more per file. I am tending more and more towards one package, one file, after trying to put cyrus-sasl with its dependencies into one file and ending up with openssl, mit-kerberos5 and

Re: [PATCH] distro: Add MIT Kerberos 5.

2012-12-30 Thread Ludovic Courtès
Hi, Andreas Enge andr...@enge.fr skribis: Resolve library appears to have passed the test LD_LIBRARY_PATH=`echo -L../../lib | sed -e s/-L//g -e s/ /:/g`; export LD_LIBRARY_PATH; ./addrinfo-test -p telnet getaddrinfo(hostname (null), service telnet, hints { no-flags }):

Re: mips64el: No such file or directory: /nix/store/*-glibc-2.13.drv

2012-12-30 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Remove ‘compile-time-value’, which has the effect I described. Here is what I tried: Looks good to me. Can you run ‘make clean make’ in Guix, in case the .drv path was retained elsewhere? Ludo’.

Re: mips64el: No such file or directory: /nix/store/*-glibc-2.13.drv

2012-12-31 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Can you run ‘make clean make’ in Guix, in case the .drv path was retained elsewhere? Same error. Then I’m pretty clueless here. /nix/store/*-glibc-2.13.drv is definitely the result of “nix-instantiate -A glibc /path/to/nixpkgs”. It should be

Re: guix-package error while installing make package

2013-01-01 Thread Ludovic Courtès
Hi Alen, Alen Skondro askon...@gmail.com skribis: FAIL: ftw.test: file-system-fold: EACCES Could it be that you’re running ‘guix-daemon’ as root? (This test is known to fail in 2.0.7 and earlier when run as root.) When doing so, it is highly recommended to use the ‘--build-users-group’

Re: guix-package --roll-back

2013-01-01 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: It should be based on rename(2) to be atomic. See the ‘switchLink’ function in Nix for how to do it. Could you elaborate? Should I call C from Guile? No no, Scheme code can use ‘rename-file’, which calls rename(2). Ludo’.

Re: GLib: GIO's tests fail

2013-01-01 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: This patch fails with the following error. How to fix it? # ./pre-inst-env guix-build -K glib [...] GEN gdbus-test-codegen-generated.h /bin/sh: /usr/bin/env: No such file or directory You would need to add a phase to do:

Re: Openssl missing in CPATH

2013-01-02 Thread Ludovic Courtès
Hi again! Andreas Enge andr...@enge.fr skribis: checking openssl/evp.h usability... no checking openssl/evp.h presence... no checking for openssl/evp.h... no checking for OpenSSL... no Can you post the corresponding config.log excerpt? TIA, Ludo’.

Distro name

2013-01-02 Thread Ludovic Courtès
Hello! And merry new year! :-) The (distro ...) name for modules of the distro wasn’t meant to last. Initially, I thought we could find a name for the distro, and substitute that name to “distro”. Possible names: • Jinn, as in “Jinn is not Nixpkgs/NixOS”; • Guixotic, as Guix + Exotic

Re: [core-updates] [PATCH] distro: coreutils: Add 'acl', 'gmp', and 'perl' to 'inputs'.

2013-01-02 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: From bc37a36ca748aa81f5aa86bf5435e2ea22705d86 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Mon, 31 Dec 2012 04:43:30 + Subject: [PATCH] distro: coreutils: Add 'acl', 'gmp', and 'perl' to 'inputs'. *

Re: Distro name

2013-01-02 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Am Mittwoch, 2. Januar 2013 schrieb Ludovic Courtès: [...] However, I’ve come to think that we don’t necessarily need a separate name for the distro, but we do need a name for the module name space. Do we need a namespace distro? So far

Re: Distro name

2013-01-02 Thread Ludovic Courtès
Jason Self ja...@bluehome.net skribis: Hmm. It might make sense to differentiate when a third party is involved, but not when the GNU Project itself is doing it. [...] I guess it depends on what you define an an official complete GNU system release to be. That would ultimately have to

Re: Distro name

2013-01-03 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Am Mittwoch, 2. Januar 2013 schrieb Ludovic Courtès: You mean (guix packages ...) or (packages ...)? The latter seems like a bad idea, because it could collide with something else, and it’s not sufficiently descriptive (it could be confused

Re: Obsolete packages listed as available

2013-01-03 Thread Ludovic Courtès
Hi, Andreas Enge andr...@enge.fr skribis: when executing guix-package --list-available | grep mit I see two packages: mit-krb51.11distro/packages/mit-krb5.scm:29:3 mit-krb51.11distro/packages/sasl.scm:145:3 The first one is the really available one; the second

Re: Core-updates: Downloads do not work

2013-01-03 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Here is what I get: connect(5, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) connect(5, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) OK, this confirms my

Re: [Nix-dev] Down with /bin/sh!

2013-01-03 Thread Ludovic Courtès
Hi Rob! Rob Vermaas rob.verm...@gmail.com skribis: • Right after unpacking a source tarball, all the source files go through ‘patch-shebang’, which replaces any #!/bin/sh and similar with the right path. I would not like such a change in stdenv of nixpkgs, without an option to

Re: Obsolete packages listed as available

2013-01-03 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Would it make sense to first empty $PREFIX/share/guile/site/2.0 before installing the files during make install? I don’t think so, that’s not what usually happens upon “make install”. Ludo’.

Re: Core-updates: Downloads do not work

2013-01-04 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Am Donnerstag, 3. Januar 2013 schrieb Ludovic Courtès: [...] The C library’s getaddrinfo and other lookup functions can of course be used without nscd, which is what your applications were using. What differs here is that the bootstrap Guile

Re: guix-package --roll-back

2013-01-05 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: It depends on how profiles are stored. It turned out that there are several issues. By the way, what should I do to create a custom profile? The only way to manipulate profiles is via ‘guix-package -p xxx’. Both 'profile-rx' and

Re: Core-updates: Downloads do not work

2013-01-05 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Am Donnerstag, 3. Januar 2013 schrieb Ludovic Courtès: [...] The C library’s getaddrinfo and other lookup functions can of course be used without nscd, which is what your applications were using. What differs here is that the bootstrap Guile

Re: Porting to mips64el

2013-01-08 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: With --localstatedir=/nix/var/nix (see store.scm and config.scm). Actually, it's '--localstatedir=/nix/var', but thanks anyway. Oops, sorry. Remember: to bootstrap things here, you’re using Nixpkgs. Here it’s Nixpkgs’s glibc that uses

Re: Core-updates: Downloads do not work

2013-01-08 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Thanks, it clarifies a lot. To check whether things work, can I simply delete the hello tarball in the nix store? I once deleted a compiled package in the nix store, and that caused an inconsistency with the package database in

Re: Core-updates: Downloads do not work

2013-01-09 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Am Sonntag, 6. Januar 2013 schrieb Ludovic Courtès: Let me know how it works! :-) It does work now. Thanks a lot! Cool, thank you! I think we should merge ‘core-updates’ real soon, if there are no objections, and clear a few rough edges before 0.1

Re: guix-gc

2013-01-10 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: When running guix-gc without specifying any root, the complete content of /nix/store was classified as dead. This looks a bit excessive to me; should not at least the gnu build system that would be used to build a package with the currently

Re: Error messages and progress report

2013-01-10 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Well, it could be slightly improved. I am just downloading http://linux-libre.fsfla.org/pub/linux-libre/releases/3.3.8-gnu/linux-libre-3.3.8-gnu.tar.xz, and the file name is so long that the progress counter does not fit into the same line any more. I

Re: libsigsegnv does not install

2013-01-10 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: stripping binaries in /nix/store/m9hlgg7lymg671n1r38n2sigxpp7rr3x-libsigsegv-2.10-lib/lib with flags (--strip-debug) strip:/nix/store/m9hlgg7lymg671n1r38n2sigxpp7rr3x-libsigsegv-2.10-lib/lib/libsigsegv. la: File format not recognized phase `strip'

Re: guix-package --roll-back

2013-01-10 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: I'm attaching a slightly modified version. Thanks! Yeah, that’s expected. Basically, if you do guix-package -p /dev/null --roll-back it should fail with an error message saying that there is no previous profile or something like

Re: A logo

2013-01-10 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: actually, the logo looks very much like the anarchist symbol, I spontaneously interpreted the lambda as an A. This might be understood by your battle for freedom, Yes. but is maybe a bit extreme. Extremeness is in the eye of the beholder. ;-) In

Re: Porting to mips64el

2013-01-11 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: I think Lluís said that something must be added to ~/.nixpkgs/config.nix to make sure the right platform setup is used, but again, I have no expertise in MIPS64 so I can’t really help. Thanks, I forgot about 'config.nix'. Unfortunately,

Re: guix-package --roll-back

2013-01-11 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: This one doesn't work at all: (option '(foo) #f #t (lambda (opt name arg result) (alist-cons 'foo arg result))) It actually does, but it has no side effect. ‘args-fold’ uses a common functional programming pattern,

Re: Error messages and progress report

2013-01-11 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Am Donnerstag, 10. Januar 2013 schrieb Ludovic Courtès: I find it useful to have the server name printed (esp. in the case of mirror://, ftpmirror.gnu.org, etc.), so I’ve come up with a solution that abbreviates long URIs like this: I’ll commit

‘core-updates’ branch merged

2013-01-11 Thread Ludovic Courtès
Hello! I’ve finally merged the ‘core-updates’ branch. So what this brings is new package versions, improved GNU build system support, and in particular support for building in the absence of /bin/sh, and bootstrap tools that use a libc that does not rely on nscd. Thanks, Ludo’.

Re: Porting to mips64el

2013-01-11 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: You could run ‘nix-build -A stdenv -K /path/to/nixpkgs’. Upon glibc build failure, just get into the failed build tree: Yep, it failed with the same error. Then there may be something wrong with your setup, because glibc is known to build on

Re: Porting to mips64el

2013-01-12 Thread Ludovic Courtès
Hello! Nikita Karetnikov nik...@karetnikov.org skribis: It's a memory issue. How do you know? I tried without Emacs and got 'virtual memory exhausted'. You mean without a running Emacs process alongside? Good luck! ;-) Ludo’.

Release imminent!

2013-01-12 Thread Ludovic Courtès
Hello! The time has come! :-) I think we’ve reached, and even surpassed (integration of the daemon code, /bin/sh, etc.) the goals for the first milestone. So I’d like to release Guix 0.1 (on alpha.gnu.org) by the end of the week (ideally on Friday, 18th). There are a few things to do by then:

Re: Porting to mips64el

2013-01-12 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: It's a memory issue. How do you know? I don't. So you should really try ‘strace -f make’ as I suggested. It may give hints, at least. Ludo’.

Re: Release imminent!

2013-01-13 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: Am Sonntag, 13. Januar 2013 schrieb Andreas Enge: [...] If --build-users-group is not given explicitly, check for the group nixbld and use it if it exists. I’m not sure if we want to automatically use a given group name. What if that name was used

Re: Release imminent!

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Am Sonntag, 13. Januar 2013 schrieb Ludovic Courtès: If --build-users-group is not given explicitly, check for the group nixbld and use it if it exists. I’m not sure if we want to automatically use a given group name. What if that name was used

Re: guix-package --roll-back

2013-01-13 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: It actually does, but it has no side effect. I know that printing is a side effect. Why do you recommend to use 'alist-cons'? If it's not possible to display anything, then 'roll-back' won't be able to print the following messages. It’s

Re: Porting to mips64el

2013-01-13 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: 2774 lseek(7, 745214952, SEEK_SET) = 745214952 2774 getdents(7, ptrace(SYSCALL):No such process 2774 +++ killed by SIGKILL +++ I’m again no expert in that area, but this hints at the readdir/getdirent bug mentioned earlier by Lluís:

Daemon updated to Nix 1.3

2013-01-13 Thread Ludovic Courtès
Hi, Commit a53b000 updates the Git submodule for ‘nix-upstream’ to Nix 1.3. So make sure to run ‘git submodule update’ followed by ./nix/sync-with-upstream to actually use that code. When you run it on your existing store, the first time you run guix-build or some other tool, you’ll see this

Re: Creating user profiles

2013-01-13 Thread Ludovic Courtès
Hello! Andreas Enge andr...@enge.fr skribis: I think the problem is that only the directory /usr/local/guix- git/var/nix/profiles exists, but that it is empty; maybe one should first create the directory $PREFIX/var/nix/profiles/per-user/$USER if it does not exist yet? Right, good point.

Re: /bin/sh in configure tests

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: A package I am trying to build contains the following lines in its configure: case `/bin/sh -c echo -n x` in -n*) case `/bin/sh -c echo 'x\c'` in ... Would it make sense to globally add a rule to patch-shebangs so that `/bin/sh is replaced? If

Re: [PATCH] distro: Add PARI/GP

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: From 1eee03a68efc9891e48777f67e5147fd967b10d9 Mon Sep 17 00:00:00 2001 From: Andreas Enge andr...@enge.fr Date: Sun, 13 Jan 2013 14:27:16 +0100 Subject: [PATCH] distro: Add PARI/GP * distro/packages/algebra.scm (pari-gp): New variable. Applied, thanks!

Re: [PATCH] licenses: Add 'openldap2.8'.

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Patch attached. So far, this is only the openldap license, as not all prerequisites of openldap are packaged. But we might as well get this out of the door. Indeed, applied. Ludo’.

Re: Openssl missing in CPATH

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: whatever the problem was, it apparently disappeared with your modifications to the openssl package. Now cyrus-sasl compiles; I am attaching a patch to add the package. Good. :-) * Plugins are being installed into

Re: Creating user profiles

2013-01-13 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: I simply applied the patch, and it seems to be part of the solution. Upon a first run of guix-package --list-available, I obtained the error message inviting me to create the directory, which I did. The next call succeeded. But now $HOME/.guix-profile

Re: [PATCH] distro: Add Python 2.7.3.

2013-01-14 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: Also, should we explictly mention the licenses for third-party software incorporated in the Python distribution [2]? Perhaps just add the link in a comment. +(arguments `(#:tests? #f)) ; XXX: some tests fail Did you try to

Re: No rule to make target `nix/libutil/immutable.cc'

2013-01-14 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: make[2]: *** No rule to make target `nix/libutil/immutable.cc', needed by `nix/libutil/libutil_a-immutable.o'. Stop. Oops, fixed in f4b60f5. These files were removed in Nix, but I still had them around so I didn’t notice the error. Ludo’.

Re: [PATCH] distro: Add GLib.

2013-01-15 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: This patch adds GLib. Nice! Tests fail: /GDateTime/equal:** GLib:ERROR:gdatetime.c:193:test_GDateTime_equal: assertion failed (g_date_time_get_utc_offset (dt1) / G_USEC_PER_SEC ==

Re: [PATCH] licenses: Add 'psfl'.

2013-01-15 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: From d881cc74046cf0597678f9e88d3d6ed33ff48e4f Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Mon, 14 Jan 2013 22:00:54 + Subject: [PATCH] licenses: Add 'psfl'. * guix/licenses.scm (psfl): New variable.

Re: [PATCH] distro: Add Python 2.7.3.

2013-01-15 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: Python is required by GLib, which is a leaf dependency of GNU Parted. So I would prefer to push Python without tests and spend more time on Parted. (GNU packages are preferred, right?) OK, makes sense. The failing tests don’t look scary,

Re: Openssl missing in CPATH

2013-01-15 Thread Ludovic Courtès
Hi! I just realized that we can just use #:configure-flags with the %outputs variable, so I pushed it. Thanks! Ludo’.

Re: Distro name

2013-01-15 Thread Ludovic Courtès
Hello! l...@gnu.org (Ludovic Courtès) skribis: However, I’ve come to think that we don’t necessarily need a separate name for the distro, but we do need a name for the module name space. The obvious solution would be (gnu ...). There’d be modules like (gnu packages openssl), which does

Re: Integration of the Nix daemon

2013-01-15 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: As well as guix-package --help One more reason to not have guix-package connect to the daemon when the options --help or --version are passed. This is finally fixed, in commit c4d6453. Thanks! Ludo’.

Re: Release imminent!

2013-01-16 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org skribis: 1. Can we change quotes? Not in Texinfo source: Texinfo (and TeX) interpret ASCII quotation marks and emit the right thing. 2. The build procedure for Guix is the same as for other GNU software, and are not covered here. [1] I

Re: [PATCH] distro: Add GLib.

2013-01-16 Thread Ludovic Courtès
Hi! Nikita Karetnikov nik...@karetnikov.org skribis: This patch adds GLib. Tests fail: /GDateTime/equal:** GLib:ERROR:gdatetime.c:193:test_GDateTime_equal: assertion failed (g_date_time_get_utc_offset (dt1) / G_USEC_PER_SEC == (-3 *

Re: [PATCH] distro: Add GLib.

2013-01-17 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Do you have a recipe for DBus? If not, I can add it. Yes, along with GLib changes for the test suite. I’ll post it ASAP. Ludo’.

Re: guix-package --roll-back

2013-01-17 Thread Ludovic Courtès
Hi! Nikita Karetnikov nik...@karetnikov.org skribis: I changed 'roll-back', but didn't add the command-line option. Could you add it? Yes, I just did it in 24e262f, along with a test case and documentation. Thanks a lot for taking the time to work on this, I appreciate. Why do these lines

Re: [PATCH 1/2] distro: Add Indent.

2013-01-17 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: Two patches, one adding Indent to the distribution, one adding it as an input to flex. Looks good to me. So if it builds, please commit! Ludo’.

Re: [PATCH] distro: Add Libjpeg.

2013-01-17 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: From 7c3674c3878e46d40ad5f952df30216ec88aeae8 Mon Sep 17 00:00:00 2001 From: Andreas Enge andr...@enge.fr Date: Thu, 17 Jan 2013 21:42:12 +0100 Subject: [PATCH] distro: Add Libjpeg. * distro/packages/libjpeg.scm: New file. * Makefile.am (MODULES): Add

Re: Distro name

2013-01-17 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: So I’ll rename the (distro ...) modules to (gnu ...), because that’s nicer and more meaningful (“a distro of the GNU system”). Done! Ludo’.

Re: Release imminent!

2013-01-18 Thread Ludovic Courtès
Hi! We did it! ;-) Congratulations, and special thanks to you, Nikita and Andreas, for your hard work and for your confidence. Ludo’. pgpFp6LrlTeRS.pgp Description: PGP signature

GNU Guix 0.1 released (alpha)

2013-01-18 Thread Ludovic Courtès
;; Announcement. -*- scheme -*- (define guix (package (name guix) (version 0.1) ; first alpha release (source (origin (method url-fetch) (uri ftp://alpha.gnu.org/gnu/guix/guix-0.1.tar.gz;)

To-do lists

2013-01-18 Thread Ludovic Courtès
Hi! Andreas Enge andr...@enge.fr skribis: So maybe to avoid working on the same things, I currently have gnunet, libextractor, flac (with a patch), curl, groff, netpbm, openldap and ghostscript in my pipeline. These are all dependencies in one way or another of gnunet. But I think it

Re: [PATCH] gnu: Add GNU Speex.

2013-01-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: From eaac22aaf385e846bbf207886498302405f91208 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Fri, 18 Jan 2013 02:06:35 + Subject: [PATCH] gnu: Add GNU Speex. * gnu/packages/speex.scm: New file. * Makefile.am

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

2013-01-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: I'm packaging GNU Bazaar. Unfortunately, it doesn't support the GNU build system. Yeah, among other things... 'INSTALL' contains the following instructions: When upgrading using setup.py, it is recommended that you first delete the bzrlib

Re: [PATCH] gnu: ddrescue: Fix 'synopsis' and 'description'.

2013-01-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: From 1691be7ff5f0484d503eeb5016d2e0c77c4f0afd Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov nik...@karetnikov.org Date: Fri, 18 Jan 2013 07:27:06 + Subject: [PATCH] gnu: ddrescue: Fix 'synopsis' and 'description'. *

Re: [PATCH] gnu: Add Libogg.

2013-01-18 Thread Ludovic Courtès
Hello! Looking into more details, given that Andreas’s patch adds more stuff, I think it would be wise to commit this one. WDYT? And presumably, Andreas should get the lock on all things Xiph-related. :-) Ludo’.

Re: To-do lists

2013-01-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: That is what I do. But I am not fond of pushing packages for which I would still like to add more inputs; it is possible to push libextractor without lots of optional dependencies. This is what my proposed patch for vorbis-tools does, there is

Re: [PATCH] Add vim.

2013-01-19 Thread Ludovic Courtès
Hi, Cyril Roelandt tipec...@gmail.com 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

Re: [PATCH] Add vim.

2013-01-19 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr 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: guix-package -A doesn't end

2013-01-19 Thread Ludovic Courtès
Hi Aleix, Aleix Conchillo Flaqué aconchi...@gmail.com 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:

Re: tests/packages.scm fails with make check

2013-01-19 Thread Ludovic Courtès
Hi, Alen Skondro askon...@gmail.com 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

Re: Porting to mips64el

2013-01-19 Thread Ludovic Courtès
Hi, Nikita Karetnikov nik...@karetnikov.org 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

  1   2   3   4   5   6   7   8   9   10   >