Re: [PATCH] distro: Add GNU Wget.

2012-11-25 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > (I attached the patch.) Applied. I added this line to fix chroot builds: (arguments '(#:phases (alist-cons-before 'build 'patch-/usr/bin/env (lambda _ (for-each patch-shebang

Re: [PATCH] distro: Add GNU Nano.

2012-11-25 Thread Ludovic Courtès
Applied, thanks! Ludo'.

Re: [PATCH] distro: Add GNU Less.

2012-11-25 Thread Ludovic Courtès
Applied, thanks! Ludo'.

Continuous builds on Hydra

2012-11-25 Thread Ludovic Courtès
Hi! Guix has been under continuous integration at: http://hydra.nixos.org/jobset/gnu/guix-master And now the distro itself is being built at: http://hydra.nixos.org/jobset/gnu/guix-distro-master Binaries can be downloaded from there. You first need to fetch the manifest using: nix-pull

Re: [PATCH] distro: Add GNU Wget.

2012-11-25 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: >> To silence the warning, perhaps we could rename ‘gettext’ to >> ‘gnu-gettext’, as I did for GNU Make. WDYT? > > Are there any downsides? (I can create a patch.) Well, the name is slightly less intuitive. Alternatively, we can keep that name, and use something

Re: Continuous builds on Hydra

2012-11-25 Thread Ludovic Courtès
Nikita Karetnikov skribis: > What's wrong with 'shishi' and 'wget'? There is a yellow icon with a > cross. [1] What does it mean? Do they have any problems with deps? GnuTLS failed to build, because of a segfault while running the Guile module test suite, which seems to appear intermittently. N

Re: [PATCH] distro: Add GNU Cpio.

2012-11-25 Thread Ludovic Courtès
Applied which, time, and cpio. Thanks! Ludo'.

Re: Add GNU fdisk

2012-11-25 Thread Ludovic Courtès
Hi Jason, Thanks for the patch! I believe there are two issues here: > + (sha256 > + (base32 > + > "MM4TMM3EHA2GIZTGGEYWGNBRGIYTAZTGMY4TSNBXGQZGKOLGHEYGCNZSMRTGIY3CGA2DQMLCMNRTIYRVGMYDEMRTMVSDGNJRGFTGENI=" This is not a valid nix-base32 string. It should be shorter, like

Re: Add GNU fdisk

2012-11-26 Thread Ludovic Courtès
Hi! Nikita Karetnikov skribis: > I have some doubts regarding this line: > > (arguments '(#:configure-flags '("CC=gcc"))) > > Ludo, is it needed? It depends on the package, but packages that use Autoconf normally don’t need it. > Ludo is right. 'parted' is the next thing I'm going to package.

Re: Add GNU fdisk

2012-11-26 Thread Ludovic Courtès
"Jason Self" skribis: > I left it out because as a series of facts (package name, version, > URL, hash, dependencies, etc.) I'm not sure that these files are even > copyrightable to begin with. Yes, I’ve been wondering too. The thing is, while most are purely declarative like this, some, like t

Re: Add GNU fdisk

2012-11-27 Thread Ludovic Courtès
Hi, "Jason Self" skribis: > Ludovic Courtès said: >> Yes, I’ve been wondering too. The thing is, while most are purely >> declarative like this, some, like those in base.scm, are trickier >> and definitely copyrightable. In base.scm, the composition of >

Re: [PATCH] distro: Rename 'gettext' to 'guix:gettext'.

2012-11-27 Thread Ludovic Courtès
Nikita Karetnikov skribis: > From 3026baf2a7c37721217567cade9f15d1336d6d9d Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Tue, 27 Nov 2012 20:06:18 + > Subject: [PATCH] distro: Rename 'gettext' to 'guix:gettext'. > > * distro/packages/nano.scm (symbol-prefix-proc), > distro/pac

Re: List of abbreviations for licenses

2012-11-29 Thread Ludovic Courtès
Hello! Nikita Karetnikov skribis: > I'm trying to package 'util-linux'. It uses several licenses: > > - GPLv3+ > - GPLv2+ > - GPLv2 > - LGPLv2+ > - BSD with advertising > - Public Domain > > What are the common abbreviations for Public Domain and BSD with > advertising? Is there a list of

Re: List of abbreviations for licenses

2012-11-29 Thread Ludovic Courtès
Hi, Jeff Mickey skribis: > I think the important part here is if you use strings, have some way > to check if someone is building a package with a new/undocumented > license. Then the graph of license objects could be accomplished > later, if you know you don't have misspellings like "LGLPv2" an

Re: Build failure

2012-12-02 Thread Ludovic Courtès
Hi Simon, Simon Josefsson skribis: > The network I were on had broken IPv6 connectivity, which appears to > have confused the build process. With that fixed, building proceeds. > All other applications (ssh, browser, MUAs) appear to have coped with > the broken IPv6 connectivity, so there may b

Re: [PATCH] distro: Add util-linux.

2012-12-02 Thread Ludovic Courtès
Hi Nikita, Nikita Karetnikov skribis: > There are some issues: > > 1. './pre-inst-env guix-build -K util-linux' raises the following > warning: > > kdupexe: warning: no binary for interpreter `@PERL@' found in $PATH A bug in util-linux’s build system. I worked around it like this: diff --git

Re: [PATCH] distro: Add util-linux.

2012-12-03 Thread Ludovic Courtès
Hi, Simon Josefsson skribis: > Nikita Karetnikov writes: > >> 3. 'util-linux' uses a lot of licenses. According to >> 'README.licensing', it uses GPLv3+, GPLv2+, GPLv2, LGPLv2+, BSD with >> advertising, and Public Domain. GPLv2+ is the default license for code >> without an explicitly defined l

Re: [PATCH] distro: Add util-linux.

2012-12-03 Thread Ludovic Courtès
Hi, Simon Josefsson skribis: > util-linux and net-tools contains a lot of tools that are rarely > needed, it would be nice to limit the number of their tools that are > added as a pre-requisite for a Guix system. Indeed. When we have a bootable distro, the goal is to use primarily GNU versions

Integration of the Nix daemon

2012-12-03 Thread Ludovic Courtès
Hi, I just pushed a new ‘nix-integration’ branch. The goal is to import the subset of Nix that we need to run the daemon in Guix itself, so that 0.1 will hopefully be self-contained. The branch adds a script to synchronize the code with upstream Nix (think ‘gnulib-update’.) It extends the build

Re: Own guix repository (channel)

2012-12-04 Thread Ludovic Courtès
Hi, Alexey Shrub skribis: > For example, package01 depend on package02, package01 described by Scheme > file in current directory, > if I do > guix-package --install=package01 > where guix will search package02? In current directory too? Currently, guix-package and guix-build look for packages

Re: [PATCH] distro: Add util-linux.

2012-12-04 Thread Ludovic Courtès
Hi Nikita, Nikita Karetnikov skribis: > $ wget > https://www.kernel.org/pub/linux/utils/util-linux/v2.21/util-linux-2.21.2.tar.xz > $ wget > https://www.kernel.org/pub/linux/utils/util-linux/v2.21/util-linux-2.21.2.tar.sign > $ mv util-linux-2.21.2.tar.sign util-linux-2.21.2.tar.xz.sign > $ gp

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

2012-12-04 Thread Ludovic Courtès
Hi, Nikita Karetnikov 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 > + (string

Re: Own guix repository (channel)

2012-12-04 Thread Ludovic Courtès
Hi Alexey, Alexey Shrub 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 currently no equivalent

Re: Check: missing signature, mirrors

2012-12-05 Thread Ludovic Courtès
Hi! Nikita Karetnikov skribis: > There are two problems: > > 1. There is no signature. [2] Be prepared to encounter this very often for non-GNU packages... > 2. 'guix-download' hangs after several redirects. > > # ./pre-inst-env guix-download > mirror://sourceforge/check/0.9.9/check-0.9.9.tar.

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

2012-12-05 Thread Ludovic Courtès
Hi, Nikita Karetnikov 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 that has to be run by

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

2012-12-05 Thread Ludovic Courtès
Nikita Karetnikov 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. Patch welcome. :-)

Re: Check: missing signature, mirrors

2012-12-05 Thread Ludovic Courtès
Works for me: --8<---cut here---start->8--- $ ./pre-inst-env guix-download mirror://sourceforge/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2 accepted connection from pid 21195, uid 1000 starting download of `guix-download.7ULb5L' from `http://prdownload

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

2012-12-05 Thread Ludovic Courtès
Nikita Karetnikov 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 _ (zero

Re: Check: missing signature, mirrors

2012-12-05 Thread Ludovic Courtès
I think there are several things going on. First, unlike me, you don’t get redirected to a mirror where things just work. Then there’s this: > `http://citylan.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2'... > ERROR: Throw to key `bad-response' with args `("EOF

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 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 libattr.la, libattr.so, and

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

2012-12-06 Thread Ludovic Courtès
Nikita Karetnikov skribis: > # ls /nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/lib > libattr.a libattr.la libattr.so Could it be that libattr.so is a dangling symlink? Try ‘ls -l’. Ludo’.

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

2012-12-06 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: >> Could it be that libattr.so is a dangling symlink? Try ‘ls -l’. > > You're right. > > # ls -l /nix/store/l2flx95wgcf0i7nlivgz7p4z8h8qfkak-attr-2.4.46/lib > total 8 > libattr.a -> > /nix/store/l2flx95wgcf0i7nlivgz7p4z8h8qfkak-attr-2.4.46/libexec/libattr.a > lib

Re: List of abbreviations for licenses

2012-12-07 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > From eb8229c7834dd1d249e8f5adc8382d00b289aa00 Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Thu, 6 Dec 2012 22:39:57 + > Subject: [PATCH] Add (guix licenses). > > * guix/licenses.scm: New file. > * Makefile.am (MODULES): Add it. Thanks, looks g

Re: List of abbreviations for licenses

2012-12-07 Thread Ludovic Courtès
Hi again, Nikita Karetnikov skribis: > +(define-record-type > + (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’ field to , so that the URL ab

Re: [PATCH] distro: Add Attr.

2012-12-07 Thread Ludovic Courtès
Hi, Applied. I had to add Perl as an input, and a ‘patch-shebang’ line, because ‘tests/run’ had #!/usr/bin/perl, which fails in chroots. BTW, it would be great if you could configure your daemon to run in chroots, so you can catch these “impurities”. Perhaps the daemon in ‘nix-integration’ will

Re: [PATCH] distro: Add ACL.

2012-12-07 Thread Ludovic Courtès
Nikita Karetnikov skribis: > From 465c9970043036770a7c9a55c29e7682304f6169 Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Fri, 7 Dec 2012 01:18:23 + > Subject: [PATCH] distro: Add ACL. > > * distro/packages/acl.scm: New file. > * Makefile.am (MODULES): Add it. Applied with a sim

Re: List of abbreviations for licenses

2012-12-07 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Can you make this a single #:export? > > Which one should I use? (The latter looks better, IMHO.) The latter, yes. >> While we’re at it, we should add a ‘url’ field to , so that the >> URL above would be a field of the license object instead of being a >> comment.

Re: List of abbreviations for licenses

2012-12-08 Thread Ludovic Courtès
Nikita Karetnikov skribis: > From 714e8352e34633edf6721ba32eed0bcc902281a2 Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Sat, 8 Dec 2012 01:48:17 + > Subject: [PATCH] Add (guix licenses). > > * guix/licenses.scm: New file. > * Makefile.am (MODULES): Add it. Applied, thanks! Ne

Re: [PATCH] distro: Add Attr.

2012-12-08 Thread Ludovic Courtès
Nikita Karetnikov skribis: > There are 'config-daemon.ac', 'daemon.am', and 'nix/nix-daemon' with > sources, but I don't know how to create an executable. Run ./bootstrap, which will checkout Nix as a Git submodule, and then copy the relevant bits in the ‘nix’ sub-directory. Then run ‘./configu

Re: tests/builders.scm hangs

2012-12-08 Thread Ludovic Courtès
Hi Andreas, Andreas Enge skribis: > after downloading the lastest git version (a0f16bb), "./autoreconf -vi" and > configuring with >./configure --prefix=/usr/local/guix-git --with-nix- > prefix=/usr/local/nix-1.1 > (by the way, would not "--with-nix" be a more standard choice than "--with-

Re: List of abbreviations for licenses

2012-12-09 Thread Ludovic Courtès
Nikita Karetnikov 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: [PATCH] distro: Add Attr.

2012-12-09 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > # make > make: *** No rule to make target `nix/libstore/schema.sql', needed by > `nix/libstore/schema.sql.hh'. Stop. Did you run ‘./bootstrap’ or ‘./nix/sync-with-upstream’? Normally you should have seen a line like: `./libstore/schema.sql' -> `../../nix/./

Re: GNU Distribution

2012-12-09 Thread Ludovic Courtès
Hi, KarlOskar Rikås skribis: > In GUIX page it says the following: > > "A user-land free software distribution for GNU/Linux comes as part of > Guix." > > Is it possible to get any details on this? “User-land distribution” means that it provides packages for user-land software that can be insta

Re: GNU Distribution

2012-12-09 Thread Ludovic Courtès
Andreas Enge skribis: > This was actually my first deception with Guix: I was looking forward to > contributing a GNU MPC package, since there was no file mpc.scm; but it > is actually available, only via multiprecision.scm :-) > > Why not having one file per package? Currently we have more-or-l

Re: Error messages and progress report

2012-12-09 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > $ guix-package -n -i hello [...] > 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 procedur

Re: Typo in manual

2012-12-09 Thread Ludovic Courtès
Hello, Andreas Enge skribis: > a tiny, but annoying typo in the texinfo manual: > Section 2.2, the option "-x" should read "-i". Indeed. Fixed now. > How about making available one prebuilt package (GNU hello comes to mind) > and giving it as an example in the manual? Is some infrastructure f

Re: Error messages and progress report

2012-12-10 Thread Ludovic Courtès
Hi Andreas, Andreas Enge skribis: > Am Sonntag, 9. Dezember 2012 schrieb Ludovic Courtès: >> Note that you can get pre-built binaries for x86_64-linux from >> hydra.nixos.org: >> <http://lists.gnu.org/archive/html/bug-guix/2012-11/msg00042.html>. > > This is a

Re: Error messages and progress report

2012-12-10 Thread Ludovic Courtès
Hello, Andreas Enge skribis: > ;;; (((up "/tmp/nix-build-dgk2vcwfmniiq2b5bk36whmq815abxva- > guile-2.0.6.drv-0/guile-2.0.6/test-EACCES") (leaf "/tmp/nix-build- > dgk2vcwfmniiq2b5bk36whmq815abxva-guile-2.0.6.drv-0/guile-2.0.6/test- > EACCES/a") (leaf "/tmp/nix-build-dgk2vcwfmniiq2b5bk36whmq815abx

Re: Error messages and progress report

2012-12-10 Thread Ludovic Courtès
Andreas Enge skribis: > Yes, I just tried creating a directory, chmod 000 and ls. root can do this. > However, when I chown the nix-build... directory to some other user, the > test succeeds. Should this problem not also occur when compiling > guile-2.0.6 by root outside of guix? Should the test

Re: List of abbreviations for licenses

2012-12-11 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > There are two ways to fix the problem. We can create new licenses for > such packages (e.g. 'bzip2'), but it will be tricky. I propose to use > the following variable instead: > > (define bsd-like > (license "BSD-like" >#f > "This is not a

Re: List of abbreviations for licenses

2012-12-11 Thread Ludovic Courtès
Nikita Karetnikov 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-11 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > The command >guix-package -i hello > still produces an error, probably related to making the symlinks > in my own environment: Yes. Currently ‘guix-package’ expects the default profile to be under /nix/var/nix/profiles/guix, which typically doesn’t exist, hence

Re: Error messages and progress report

2012-12-11 Thread Ludovic Courtès
Andreas Enge skribis: > Am Dienstag, 11. Dezember 2012 schrieb Ludovic Courtès: >> Anyway, what does work is something like: >> $ guix-package --profile=$HOME/.guix-profile --install=hello > > This worked, but in a rather strange way. .guix-profile did not exist >

Re: Error messages and progress report

2012-12-11 Thread Ludovic Courtès
Andreas Enge skribis: > However, the current behaviour is not consistent with the documentation. It’s more that the documentation is ahead of time. :-) Ludo’.

Re: Error messages and progress report

2012-12-12 Thread Ludovic Courtès
Andreas Enge 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" o

Re: New package: FPLLL

2012-12-12 Thread Ludovic Courtès
Hi Andreas! Andreas Enge 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 "LGPLv2.1") It

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 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 directories listed in ‘buil

Re: [PATCH] licenses: Add 'bsd-style', 'expat', 'gpl1', 'gpl1+', 'lgpl2.0', and 'lgpl2.0+'.

2012-12-12 Thread Ludovic Courtès
Nikita Karetnikov skribis: > From d06bfdf01e5b59d3ce377b8634919c889a39c9e2 Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Wed, 12 Dec 2012 05:41:53 + > Subject: [PATCH] licenses: Add 'bsd-style', 'expat', 'gpl1', 'gpl1+', > 'lgpl2.0', and 'lgpl2.0+'. > > * guix/licenses.scm (bsd

Re: [PATCH] Release 1.0.1 of GNU MPC

2012-12-12 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > Unfortunately, I could not test it yet, since guix-package starts by > building path(s) `/nix/store/9syafc8xvscaywjldyszzgkc8pljwpj6-gcc-cross- > boot0-4.7.2' > > although gcc-4.7.2 (without "coss-boot") is already there. How come? > The previous mpc release built wi

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 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 package store

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. :-) Ludo’

Re: daemon: No rule to make target `nix/libstore/schema.sql'

2012-12-13 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: >>> Also, how should I use it? It's in the >>> 'remotes/origin/nix-integration' branch and I have to work in the >>> 'master' branch. > >> Yeah, I hope to merge that branch soon. Done. :-) > You misunderstood my question. I wanted to know how to use it instead >

Re: [PATCH] Release 1.0.1 of GNU MPC

2012-12-13 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > Okay. There will soon be a new release of gmp (5.1), this would be a good > time for a merge back. OK, good to know. >> Would it be an option for you to send a ‘git format-patch’ kind of >> patch? > > Why not, see attached. [...] > From ed954467bef2fbd381ccaf1bd19

Re: New package: FPLLL

2012-12-13 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > Am Mittwoch, 12. Dezember 2012 schrieb Ludovic Courtès: >> >(license "LGPLv2.1") >> It seems to be LGPLv2.1+ rather. > > The file README.html states: > "fplll is distributed under GNU Lesser General > Public Lic

Re: guix-package --list-* hangs

2012-12-13 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > Currently, >guix-package -A > and >guix-package -I > hang (they worked initially before I succeeded in installing packages). I think you found a bug in Guile’s (srfi srfi-37). The long option names work fine, but the short names work only if an argument is p

Re: daemon: No rule to make target `nix/libstore/schema.sql'

2012-12-13 Thread Ludovic Courtès
Andreas Enge skribis: > Am Donnerstag, 13. Dezember 2012 schrieb Ludovic Courtès: >> You must run ‘./bootstrap’ before anything else. It will take care of >> running autoreconf. >> > # cd nix >> > # ./sync-with-upstream > > When just running ./bootstrap,

Re: Integration of the Nix daemon

2012-12-13 Thread Ludovic Courtès
Andreas Enge skribis: > Am Donnerstag, 13. Dezember 2012 schrieb Ludovic Courtès: >> So now, unless ‘--disable-daemon’ is passed, a ‘guix-daemon’ binary is >> built from C++, mostly taken from upstream Nix. > > I also tried "--disable-daemon". It does not make and

Re: daemon: No rule to make target `nix/libstore/schema.sql'

2012-12-14 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > Am Donnerstag, 13. Dezember 2012 schrieb Ludovic Courtès: >> Andreas Enge skribis: >> >cp: cannot stat `../nix-upstream/{COPYING,AUTHORS}': No such file >> >or >> > directory. >> >> That’s because the

Re: Integration of the Nix daemon

2012-12-14 Thread Ludovic Courtès
Andreas Enge skribis: > The command >./pre-inst-env guix-build hello > fails with > > error: build failed: substituter `/usr/local/guix- > git/libexec/nix/substituters/download-using-manifests.pl' failed: error: > executing `/usr/local/guix-git/libexec/nix/substituters/download-using- > mani

Re: Check: missing signature, mirrors

2012-12-14 Thread Ludovic Courtès
Hi, Nikita Karetnikov 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: > web/client.scm:109:4: Throw to key

Re: daemon: No rule to make target `nix/libstore/schema.sql'

2012-12-14 Thread Ludovic Courtès
Andreas Enge skribis: > The files are there, but the brace expansion in the script is a bashism > that does not work under debain /bin/sh (which is dash). > Trivial patch attached. Applied, thanks! Ludo’.

Re: [PATCH] distro: Use (guix licenses) instead of strings.

2012-12-14 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > Can we test it on a build farm before pushing? (It might break > something.) This is touching meta-data, so normally it can’t break much. I looked for unbound variables, which is the most likely kind of error. So I just rebuilt all the modules and checked for u

Re: Integration of the Nix daemon

2012-12-14 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > Am Freitag, 14. Dezember 2012 schrieb Andreas Enge: >> The command >>./pre-inst-env guix-build hello >> fails with >> >> error: build failed: substituter `/usr/local/guix- >> git/libexec/nix/substituters/download-using-manifests.pl' failed: error: >> executing `/

Re: Integration of the Nix daemon

2012-12-15 Thread Ludovic Courtès
Hi! Andreas Enge 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 build user `nixbl

Re: Integration of the Nix daemon

2012-12-15 Thread Ludovic Courtès
Andreas Enge skribis: > One more comment: The size of guix-daemon is 9 804 696, that of > nix-worker 691 834, and the entire directory nix/bin contains > only 5 312 kB. A bit suspicious. Do you have an explanation? Running ‘strip --strip-debug guix-daemon’ makes it go from 10 MiB to just 1 MiB (

Re: Integration of the Nix daemon

2012-12-15 Thread Ludovic Courtès
Hi, Andreas Enge 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' > | | | found buil

Re: Integration of the Nix daemon

2012-12-16 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > Am Samstag, 15. Dezember 2012 schrieb Ludovic Courtès: [...] >> Can you also try running guix-daemon in strace, and then check then >> fcntl(fd, F_SETLKW, _) calls for user locks? > > I find none of these: >strace ./pre-inst-env guix

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 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 >> distro/packages/bootstrap/*-linux/bash > > Same er

Preparing for an alpha release

2012-12-16 Thread Ludovic Courtès
Hello Guixers! ROADMAP says Guix 0.1 will be released in December. Given that I’ll be on vacation starting from next week, and that there are still some glitches that seem worth fixing, ROADMAP may well be wrong. ;-) Roughly, here’s what I’d like to fix before the release: • things related t

Re: Integration of the Nix daemon

2012-12-16 Thread Ludovic Courtès
Andreas Enge 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, "\24\36\0\0\350\3\0\0\350

Re: Preparing for an alpha release

2012-12-16 Thread Ludovic Courtès
Hello, Nikita Karetnikov skribis: >> things related to command-line tools, such as options documented and >> not implemented in ‘guix-package’; > > I'd like to implement '--roll-back' and '--search'. Cool! > Questions: > > scheme@(guile-user)> ,use (guix-package) > scheme@(guile-user)> %curren

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

2012-12-16 Thread Ludovic Courtès
Nikita Karetnikov skribis: > Then I tried > './pre-inst-env guix-daemon --build-users-group=nixbld -C 0 &'. > > This error [1] appeared again. By default /bin is not in the chroot. So you have to run (using, again, a newly-added option): guix-daemon --build-users-group=nixbld --chroot-direct

Re: [PATCH] distro: Add Check.

2012-12-16 Thread Ludovic Courtès
Nikita Karetnikov skribis: > Can I commit it? > > Nikita > > From e4f44a00debbc52dea2b145a36926b6937a0ce16 Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Sun, 16 Dec 2012 20:14:02 + > Subject: [PATCH] distro: Add Check. > > * distro/packages/check.scm: New file. > * Makefile.am (

Re: Check: missing signature, mirrors

2012-12-16 Thread Ludovic Courtès
Nikita Karetnikov 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 Wget reports “No route to h

Re: Integration of the Nix daemon

2012-12-17 Thread Ludovic Courtès
Hi Andreas, Andreas Enge skribis: > and /etc/passwd: > nixbld1:x:30001:65534:Nix build user 1:/var/empty:/noshell > ... > nixbld10:x:30001:65534:Nix build user 10:/var/empty:/noshell It just occurred to me: here nixbld1 and nixbld10 have the same UID, which is wrong. Can you check whether the

Re: Integration of the Nix daemon

2012-12-17 Thread Ludovic Courtès
Andreas Enge skribis: > Am Montag, 17. Dezember 2012 schrieb Ludovic Courtès: >> It just occurred to me: here nixbld1 and nixbld10 have the same UID, >> which is wrong. Can you check whether the others have a different UID? > > Silly me! I think that was it, a simple copy-a

Re: [PATCH] distro: Add Libusb.

2012-12-17 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > /tmp/nix-build-libusb-1.0.9.drv-0/libusb-1.0.9/libtool: line 1113: > ldconfig: command not found Yes, we don’t use ldconfig(1). This warning is harmless. > strip:/nix/store/1x3fy2fs9p4k80asqcasji82lhhfb5hp-libusb-1.0.9/lib/libusb-1.0.la: > File format not reco

Re: [PATCH] distro: Add Usbutils.

2012-12-17 Thread Ludovic Courtès
Nikita Karetnikov skribis: > From 7f6600ca1c7587251805c7a371eda213ead59a3a Mon Sep 17 00:00:00 2001 > From: Nikita Karetnikov > Date: Mon, 17 Dec 2012 20:29:06 + > Subject: [PATCH] distro: Add Usbutils. > > * distro/packages/linux.scm (usbutils): New variable. Please push! Ludo'.

Re: How to adjust PKG_CONFIG_PATH?

2012-12-19 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > checking for USBUTILS... no > configure: error: Package requirements (usbutils >= 0.82) were not met: Does /nix/store/*-usbutils/lib/pkgconfig/usbutils.pc exist? If it does, is it version >= 0.82? What’s the value of PKG_CONFIG_PATH in the ‘environment-variabl

Re: [PATCH] distro: Add Kmod.

2012-12-19 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: > Can we fix the following? Should we report it instead? > > TESTSUITE: ERR: sizes do not match > /tmp/nix-build-p7bkz7iscax3f0998gss17sfm83k9v7q-kmod-12.drv-0/kmod-12/testsuite/rootfs/test-depmod/modules-order-compressed/lib/modules/3.5.4-1-ARCH/correct-modules.a

Re: New package: FPLLL

2012-12-19 Thread Ludovic Courtès
Hi! Andreas Enge skribis: > Patch attached for a new file algebra.scm containing fplll and mpfrcx. Applied, thanks. > I also tried to add gmp-ecm, but it is only downloadable over https://, > which is not yet implemented. Oh. Would be great if they had an FTP or HTTP mirror. > Then I would

Re: Build of attr fails with non-bash shell

2012-12-20 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > A web search leads me to >http://trac.osgeo.org/gdal/ticket/4102 > It looks as if bash is needed, whereas my /bin/sh is (a symbolic link to) > dash. And indeed compilation succeeds after replacing it by a symbolic link > to bash. Yes, that’s not very surprising.

Re: New package: FPLLL

2012-12-20 Thread Ludovic Courtès
Andreas Enge skribis: > Am Donnerstag, 20. Dezember 2012 schrieb Ludovic Courtès: >> > I also tried to add gmp-ecm, but it is only downloadable over >> > https://, which is not yet implemented. >> Oh. Would be great if they had an FTP or HTTP mirror. > > Woul

Re: New package: FPLLL

2012-12-21 Thread Ludovic Courtès
Andreas Enge skribis: > Agreed, we do not gain anything with TLS here, since we hardcode the hash > values. I just do not see myself asking people to turn off TLS... Yeah, this I can understand. :-) Ludo’.

Re: Errors in "make check" of acl

2012-12-21 Thread Ludovic Courtès
Andreas Enge skribis: > 24 commands (16 passed, 8 failed) > make: *** [setfacl-X.test] Error 8 > make: Leaving directory `/tmp/nix-build-acl-2.2.51.drv-0/acl-2.2.51/test' > starting phase `install' > > It looks as if the "make check" phase failed. Should the build not be > interrupted then? That

Re: Build of attr fails with non-bash shell

2012-12-21 Thread Ludovic Courtès
Andreas Enge skribis: > Am Freitag, 21. Dezember 2012 schrieb Ludovic Courtès: >> For this and related issues, I’m attempting in the ‘core-updates’ branch >> to allow builds without /bin/sh in the chroot. Instead, builds use the >> Bash binary that’s explicitly passed as an

Re: How to adjust PKG_CONFIG_PATH?

2012-12-21 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Does /nix/store/*-usbutils/lib/pkgconfig/usbutils.pc exist? If it does, >> is it version >= 0.82? > > There is no 'lib' at all. Hmm. I just checked and usbutils in Nixpkgs doesn’t have ‘lib’ either. Can you check how udev in Nixpkgs works around the issue? TIA,

Re: [PATCH] distro: Add rsync

2012-12-21 Thread Ludovic Courtès
Andreas Enge skribis: > Am Freitag, 21. Dezember 2012 schrieb Nikita Karetnikov: >> 1. Change 'uri' according to this [1] example. > > What does this change? Especially as it is not done systematically > for the files already in the distribution. Yeah, this is a minor issue, just a formatting co

Re: [PATCH] distro: Add rsync

2012-12-21 Thread Ludovic Courtès
Andreas Enge skribis: > Okay, new patch attached. Works for me, so I pushed it, thanks! > Happy holidays! Thanks, you too. :-) Ludo’.

  1   2   3   4   5   6   7   8   9   10   >