Re: The fixed-point project

2013-09-20 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: However, in theory, that doesn’t save us from trusting-trust attacks [1]: the bootstrap GCC could contain a trap, such that the trap is always preserved across recompilations of GCC, even if it’s absent From the GCC source being compiled.

Re: QEMU image boots into dmd

2013-09-21 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: So (gnu system vm) and its friends are now able to build a bootable QEMU image. That’s still *very* rough on the edges, but it boots into dmd (version -0.4 is out BTW, 10 years later ;-)). That's great news! :) (: :) Once logged in you can run

Re: Installing multiple packages at once

2013-09-22 Thread Mark H Weaver
Nikita Karetnikov nik...@karetnikov.org writes: Someone on IRC said that they would prefer to write ‘-i foo bar baz’ instead of ‘-i foo -i bar -i baz’. Should we change this or allow both variants? And how hard would it be? You can do this: guix package --install={foo,bar,baz} which the

Re: MIPS64/N64 support

2013-10-09 Thread Mark H Weaver
Nikita Karetnikov nik...@karetnikov.org writes: OK, I fetched the tarballs. Now I’m getting this error. $ ./pre-inst-env guix build -K hello [...] make-3.82/main.c make-3.82/README.OS2 make-3.82/remote-cstms.c phase `unpack' succeeded after 4 seconds [...] pwd: error retrieving

Re: Qt

2013-10-10 Thread Mark H Weaver
Andreas Enge andr...@enge.fr writes: On Thu, Oct 10, 2013 at 03:09:09PM +0200, Ludovic Courtès wrote: Andreas Enge andr...@enge.fr skribis: I do not know how much this slows down qt applications. According to wikipedia, sse2 arrived in 2001. So one could argue that adding it would

Re: Preliminary MIPS N32 port now available

2013-10-18 Thread Mark H Weaver
Hi Andreas and Ludovic! l...@gnu.org (Ludovic Courtès) writes: Andreas Enge andr...@enge.fr skribis: Personally, I think mips64el should be a fully qualified release architecture just as i686 and x86_64. So it would be better to have it in master and not in a separate branch. So far, the

Re: Preliminary MIPS N32 port now available

2013-10-18 Thread Mark H Weaver
Hi Nikita, Nikita Karetnikov nik...@karetnikov.org writes: I tried to build ‘hello’ twice, and the following error occurred each time: stripping binaries in /nix/store/hl8khv4qip9nwbm1qm93irbz9has4wrd-gcc-cross-boot0-4.7.3/bin with strip and flags (--strip-debug) phase `strip' succeeded

Re: Preliminary MIPS N32 port: IMPORTANT CAVEAT

2013-10-19 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: If you own a 64-bit MIPS system (including Loongson 2F), are willing to build everything on your own machine, and would like to try out the preliminary port of Guix to MIPS N32, the loongson branch of the Guix git repo is ready for your early testing

Re: Important libffi bug fix for MIPS N32

2013-10-26 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: Andreas Enge andr...@enge.fr writes: On Wed, Oct 23, 2013 at 01:11:50AM -0400, Mark H Weaver wrote: A failing test in glib alerted me to a bug in libffi on MIPS N32. I've pushed a fix[*] to the 'loongson' branch. Excellent! Did you report it upstream

The new patch method and mit-krb5

2013-10-29 Thread Mark H Weaver
Hello all, A patch is needed to allow mit-krb5 to build on MIPS N32. However, the new method, where 'patches' is part of 'origin', does not work for mit-krb5. mit-krb5 is distributed in a strange way. It's distributed as a tar file that contains two files: a .tar.gz file with the actual source

Loongson/MIPS N32 support merged into core-updates

2013-11-03 Thread Mark H Weaver
Hello all, FYI, I've pushed almost all of the Loongson/MIPS N32 support patches from 'loongson' into 'core-updates', with minor improvements in some cases. The only patch I've not yet merged is the one for mit-krb5, since the new patch system doesn't work for that package. I'm currently working

Re: The new patch method and mit-krb5

2013-11-04 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: What we could do is to add a ‘snippet’ field in origin where users could provide an expression to use as the patch phase. How about adding a 'snippet' field to origin where users could provide an expression to use as the _unpack_ phase? That's really what

Re: The new patch method and mit-krb5

2013-11-04 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: l...@gnu.org (Ludovic Courtès) writes: What we could do is to add a ‘snippet’ field in origin where users could provide an expression to use as the patch phase. How about adding a 'snippet' field to origin where users could provide an expression to use

Status of the Loongson/MIPS N32 port

2013-11-04 Thread Mark H Weaver
Hello MIPS Guix, The Loongson/MIPS N32 port is now able to build a majority of the packages in Guix, on the 'loongson' branch which closely tracks 'master'. See below for a list of specific packages that I've successfully built on my YeeLoong 8101B (with Loongson 2F), but first I should mention

Re: ‘snippet’ in origin

2013-11-07 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: l...@gnu.org (Ludovic Courtès) skribis: + ;; See http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg01383.html. + 'configure 'remove-non-free-files It’s a case where ‘guix build -S’ will return the

[PATCH] guix package: allow multiple arguments after -i, -r, and -u

2013-12-13 Thread Mark H Weaver
For your consideration. Mark From 95c205364cd0cececb0a464fea6f4a328467ef54 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Fri, 13 Dec 2013 15:37:57 -0500 Subject: [PATCH] guix package: allow multiple arguments after -i, -r, and -u. * guix/scripts/package.scm (%options

Re: [PATCH] guix package: allow multiple arguments after -i, -r, and -u

2013-12-14 Thread Mark H Weaver
--upgrade gcc (without the '=') would upgrade everything. * I updated the manual to reflect the new syntax, by adding @dots{} in a few places with small changes to the text. What do you think? Mark From 178bbd252b1b6b5b9b0d775af3d98992188f9849 Mon Sep 17 00:00:00 2001 From: Mark H Weaver

Re: Neon and reverse address lookup

2014-01-18 Thread Mark H Weaver
Andreas Enge andr...@enge.fr writes: when trying to package the neon library: http://www.webdav.org/neon/ , the tests fail inside the chroot with addr_reverse (reverse lookup for 127.0.0.1 failed) Should I disable the corresponding test? I think we should include /etc/hosts in the

Re: Neon and reverse address lookup

2014-01-18 Thread Mark H Weaver
John Darrington j...@darrington.wattle.id.au writes: On Sat, Jan 18, 2014 at 01:48:47PM +0100, Andreas Enge wrote: Hi, when trying to package the neon library: http://www.webdav.org/neon/ , the tests fail inside the chroot with addr_reverse (reverse

Re: Heads-up: daemon update

2014-01-20 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Commit d43eb49 updates the Nix sub-module that provides the daemon’s C++ code. To update, run: ( cd nix ; ./sync-with-upstream ) autoreconf -vfi ./configure ... make make check A few of us ran into problems with these instructions. It led

Re: sqlite upgrade to 3.8.2

2014-01-22 Thread Mark H Weaver
Hi, Sree Harsha Totakura sreehar...@totakura.in writes: From 848d90f4b02cd16417e6488ef9dcbec352e9c2f2 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura sreehar...@totakura.in Date: Wed, 22 Jan 2014 14:34:42 +0100 Subject: [PATCH] gnu: sqlite: Upgrade to 3.8.2 Signed-off-by: Sree Harsha

Re: /dev/shm inconsistency in chroot

2014-01-23 Thread Mark H Weaver
Hi, Sree Harsha Totakura sreehar...@totakura.in writes: It has been known for a while that any access to /dev/shm fails inside chroot if the host system has /dev/shm symlinked to /run/shm. The suggested method to deal with this until now is to remove the symlink from the host system, create

Re: [Nix-dev] /dev/shm inconsistency in chroot

2014-01-24 Thread Mark H Weaver
Shea Levy s...@shealevy.com writes: On 01/24/2014 05:16 AM, Sree Harsha Totakura wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/2014 08:56 PM, Mark H Weaver wrote: We should not inherit /dev from the host system at all, but rather create it from scratch with just the things

Re: statedir locations

2014-01-27 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: John Darrington j...@darrington.wattle.id.au skribis: It has come to my attention that guix packages (at least those with gnu build system) default their statedirs to directories under /nix/store/. Recall that the statedirs (ie: sharedstatedir

Re: Symlinks to generic names

2014-02-01 Thread Mark H Weaver
Nikita Karetnikov nik...@karetnikov.org writes: Some software (rightly or wrongly) tries to build with lex and yacc . Guix does not provide these. Instead we have flex and bison. Most operating systems have symbolic links lex - flex and yacc - bison. Shouldn't we provide these too? I

Re: Installing a C tool chain

2014-02-03 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: To install a working C environment in your profile, run: guix package -i gcc binutils ld-wrapper glibc [...] I believe this could be addressed by having a simple “toolchain” meta-package with the sole purpose of propagating these 4 inputs, and by

Re: none

2014-02-05 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: John Darrington j...@gnu.org skribis: In my opinion the changelog conventions are achronistic, unintuitive, and bring benefit neither to developers nor users. Well, opinions may vary. It benefits me when I review other people’s patches, because it

Changes made to pysqlite-2.6.3 without changing the version number

2014-02-06 Thread Mark H Weaver
Hello all, We don't have a working pysqlite-2.6.3 package in Guix right now. The reason is that the upstream source tarball has changed without changing the version number. For the record, I've attached the diff here. I mailed the author about this, but he never replied. It would be good if

Installing manually built software in Guix

2014-02-07 Thread Mark H Weaver
Hello all, As a Guile developer, I'm in the habit of building Guile from git, and occasionally installing that version with --prefix=/usr. As a Guix enthusiast, I've recently been experimenting with building Guile from git, with my environment variables set to attempt to use only things from

Re: Installing manually built software in Guix

2014-02-08 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: I guess the problem might be related to an -rpath /usr/lib that ends up in 'relink_command' in guile-readline/libguilereadline-v-18.la: # Directory that this library needs to be installed in: libdir='/usr/lib' relink_command=(cd /home/mhw/guile/guile

Problems with handicapped 'bash' from glibc package

2014-02-11 Thread Mark H Weaver
Hello all, The 'bash' in the glibc package is handicapped in at least two ways: * It can't set the locale, because it looks for locales in /nix/store/-glibc-intermediate-2.18-locales * It can't look up anything from NSS, such as passwd data, because it tries

Re: Problems with handicapped 'bash' from glibc package

2014-02-12 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: The 'bash' in the glibc package is handicapped in at least two ways: * It can't set the locale, because it looks for locales in /nix/store/-glibc-intermediate-2.18-locales

[PATCH] gnu: ratpoison: Patch to use $SHELL instead of /bin/sh

2014-02-12 Thread Mark H Weaver
I'm not entirely sure this will be wanted, but it bugged me that ratpoison has /bin/sh hardcoded in its source code. WDYT? Mark From 2218f563424e4154ee24f5f9fdeb1b6e00ffae7f Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Thu, 13 Feb 2014 00:42:41 -0500 Subject: [PATCH

[PATCH] gnu: xterm: Accept $SHELL even if not in /etc/shells

2014-02-13 Thread Mark H Weaver
This patch makes xterm honor $SHELL (or the shell in the user's password entry) even if it's not in /etc/shells. WDYT? Mark From 15d59a2d31794ffa6049bbcf878d568593099dc5 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Thu, 13 Feb 2014 02:00:39 -0500 Subject: [PATCH] gnu

Re: [PATCH] gnu: xterm: Accept $SHELL even if not in /etc/shells

2014-02-13 Thread Mark H Weaver
John Darrington j...@darrington.wattle.id.au writes: On Thu, Feb 13, 2014 at 03:00:29AM -0500, Mark H Weaver wrote: This patch makes xterm honor $SHELL (or the shell in the user's password entry) even if it's not in /etc/shells. WDYT? It sounds like a good idea to me. /etc

Re: [PATCH] gnu: xterm: Accept $SHELL even if not in /etc/shells

2014-02-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: IMO, it's not reasonable to have to add /home/USER/PROFILE/bin/SHELL for every combination of USER, PROFILE, and SHELL to /etc/shells, in order to prevent 'xterm' from overriding your $SHELL setting. On NixOS

[PATCH] gnu: Add ttf-dejavu

2014-02-15 Thread Mark H Weaver
From: Mark H Weaver m...@netris.org Date: Sat, 15 Feb 2014 20:32:57 -0500 Subject: [PATCH] gnu: Add ttf-dejavu. * gnu/packages/fonts.scm (ttf-dejavu): New variable. --- gnu/packages/fonts.scm | 67 ++ 1 file changed, 67 insertions(+) diff --git a/gnu

[PATCH] gnu: dmd: Sleep longer in tests, for slower machines

2014-02-15 Thread Mark H Weaver
I need this to successfully pass the dmd tests on the YeeLoong. Mark From d964bc6f49eba2ba2eed6481aa0a0ceb6dfbd4e5 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Sun, 16 Feb 2014 02:23:18 -0500 Subject: [PATCH] gnu: dmd: Sleep longer in tests, for slower machines

[PATCH] gnu: patchelf: Fix platform page size determination

2014-02-17 Thread Mark H Weaver
64K. FYI, the following packages include 'patchelf' as an input: python, hop, ffmpeg, icu4c, cdparanoia, libssh, and samba. Mark From b95b5d7289c094189c106c5faf3aea45ecabcac9 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Sun, 16 Feb 2014 20:20:10 -0500 Subject: [PATCH

[PATCH] gnu: Add xapian

2014-02-17 Thread Mark H Weaver
This patch adds Xapian, a search engine library. My motivation is that I'm working toward adding notmuch (mail). Mark From b90ce44fbe49a1a346f3f6f5a987affdb51c238a Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Sun, 16 Feb 2014 23:09:18 -0500 Subject: [PATCH] gnu: Add

Re: [PATCH] gnu: dmd: Sleep longer in tests, for slower machines

2014-02-17 Thread Mark H Weaver
Andreas Enge andr...@enge.fr writes: It looks like the patch broke dmd on i686 and x86_64: http://hydra.gnu.org/eval/52352 Wow, those tests must be very fragile. All I did was increase all of the sleep times by a factor of about 3. I didn't look closely at the logic. Mark

[PATCH] gnu: shishi: Add more inputs for libidn and PAM support

2014-02-18 Thread Mark H Weaver
From dec2fd78c2bf9fc0081423854eee9794e7945b08 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 18 Feb 2014 10:34:04 -0500 Subject: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support. * gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input. Add

[PATCH] gnu: gnutls: Configure location of system-wide trust store

2014-02-18 Thread Mark H Weaver
This patch is needed to allow gnutls to find the system-wide trust store (trusted CA certificates). Mark From 51fdea28198bd284949c98bc423e5fcef6169068 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 18 Feb 2014 21:30:53 -0500 Subject: [PATCH] gnu: gnutls: Configure

[PATCH] gnu: curl: Upgrade to 7.35.0

2014-02-18 Thread Mark H Weaver
This patch upgrades cURL to 7.35.0. Mark From 5b2d248c545cfe0383525bb59e9d3c8160651737 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 18 Feb 2014 19:46:57 -0500 Subject: [PATCH] gnu: curl: Upgrade to 7.35.0. * gnu/packages/curl.scm (curl): Upgrade to 7.35.0

[PATCH] gnu: Add gmime

2014-02-18 Thread Mark H Weaver
This adds gmime, another step toward notmuch (mail). Mark From c848b174fc5ab2268f72736fe574a2def50ed095 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 18 Feb 2014 23:08:04 -0500 Subject: [PATCH] gnu: Add gmime. * gnu/packages/mail.scm (gmime): New variable. --- gnu

[PATCH] gnu: tor: Upgrade to 0.2.4.20

2014-02-18 Thread Mark H Weaver
From ae342554c8bc60a2bd238a0869c7bd5ba33619e2 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 19 Feb 2014 02:06:13 -0500 Subject: [PATCH] gnu: tor: Upgrade to 0.2.4.20. * gnu/packages/tor.scm (tor): Upgrade to 0.2.4.20. --- gnu/packages/tor.scm | 4 ++-- 1 file changed, 2

Re: [PATCH] gnu: curl: Upgrade to 7.35.0

2014-02-18 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: This patch upgrades cURL to 7.35.0. Ah, nevermind, I see that Sree already did this. Mark

Re: [PATCH] gnu: gnutls: Configure location of system-wide trust store

2014-02-19 Thread Mark H Weaver
Hi Andreas, Andreas Enge andr...@enge.fr writes: On Tue, Feb 18, 2014 at 09:47:18PM -0500, Mark H Weaver wrote: This patch is needed to allow gnutls to find the system-wide trust store (trusted CA certificates). + --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt

Re: [PATCH] gnu: Add gmime

2014-02-19 Thread Mark H Weaver
Andreas Enge andr...@enge.fr writes: On Tue, Feb 18, 2014 at 11:09:16PM -0500, Mark H Weaver wrote: This adds gmime, another step toward notmuch (mail). + #:use-module (srfi srfi-1)) Is this module needed in the sense that the solution is preferable to what is done, for instance

[PATCH] gnu: Add libgpg-error as propagated inputs to gnupg, gpgme, and pinentry

2014-02-19 Thread Mark H Weaver
This patch is actually a prerequisite to the Add gmime patch. I could have added 'libgpg-error' as another input to 'gmime', but this seemed the more proper solution. What do you think? Mark From e6ddaf74f30ee5d6c8d76a3ae9cacdb14eb060c5 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m

Re: [PATCH] gnu: Add libgpg-error as propagated inputs to gnupg, gpgme, and pinentry

2014-02-19 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: From e6ddaf74f30ee5d6c8d76a3ae9cacdb14eb060c5 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 18 Feb 2014 22:06:34 -0500 Subject: [PATCH] gnu: Add libgpg-error as propagated inputs to gnupg

GNUnet build failure on mips64el

2014-02-20 Thread Mark H Weaver
Hi Sree, I had said on IRC that I successfully built GNUnet on mips64el, but that was due to my faulty memory. In fact, I've not yet successfully passed GNUnet's test suite. Here's what happened with my most recent attempt. Interestingly, although the 'testbed_api_topology' test passed, much

[PATCH] gnu: Add giflib

2014-02-21 Thread Mark H Weaver
This patch adds giflib, which is API and ABI compatible with libungif, but can also write GIFs. My motivation was to add it as an input to emacs (I'll post that patch soon). Mark From adc4a0aa91a14f868d00a9a506c913d9f8dd0549 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date

[PATCH] gnu: emacs: Add more inputs: giflib, libice, libsm, alsa-lib

2014-02-21 Thread Mark H Weaver
This patch adds more features to our emacs, including GIF support and sound support. Mark From 4166b5b6eda81db04f9b2c491719877545575060 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Fri, 21 Feb 2014 04:48:22 -0500 Subject: [PATCH] gnu: emacs: Add more inputs: giflib

Re: GNUnet build failure on mips64el

2014-02-21 Thread Mark H Weaver
Sree Harsha Totakura sreehar...@totakura.in writes: On 02/21/2014 07:22 AM, Mark H Weaver wrote: Any idea what's going on here? In case it's helpful, I've also attached the entire build log. Can you go into the build directory '/tmp/nix-build-gnunet-0.10.0.drv-1/gnunet-0.10.0/src

Re: Calling functions in `make-flags'

2014-02-21 Thread Mark H Weaver
Sree Harsha Totakura sreehar...@totakura.in writes: Hi, I am trying to build a package which does not have 'configure' script. It instead relies solely on a makefile. For this to function, I have to set the 'SH' variable inside the Makefile to a valid shell. I am trying to set the 'SH'

Re: Signed archives (preliminary patch)

2014-02-28 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: The difficulty here will be to compute the hash up to the Signature field. To do that, ‘read-narinfo’ should probably: 1. read everything from PORT with ‘get-string-all’ in a string (make sure PORT’s encoding is UTF-8); 2. isolate the lines

Re: hydra.gnu.org migrates to /gnu/store!

2014-03-04 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: Among other things, it’s migrating from /nix/store to /gnu/store. Stay tuned! :-) Can you give some advice on how best to transition from /nix/store to /gnu/store on an existing Guix system? Can $PREFIX/var/nix and the sqlite database be

[PATCH] gnu: Add lynx

2014-03-05 Thread Mark H Weaver
From f357eb3e00edf494430c1d2d42541b3646643a9f Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 5 Mar 2014 02:16:06 -0500 Subject: [PATCH] gnu: Add lynx. * gnu/packages/lynx.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu

[PATCH] gnu: gnupg: Add support for version 1.4.16

2014-03-05 Thread Mark H Weaver
From 90929b7126a6676ca30f8e968d4b6ca3e10a4d3d Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 5 Mar 2014 16:21:24 -0500 Subject: [PATCH] gnu: gnupg: Add support for version 1.4.16. * gnu/packages/gnupg.scm (gnupg-1): New variable. --- gnu/packages/gnupg.scm | 26

[PATCHES] Add libotr and bitlbee.

2014-03-05 Thread Mark H Weaver
© 2012, 2013, 2014 Ludovic Courtès l...@gnu.org # Copyright © 2013 Andreas Enge andr...@enge.fr -# Copyright © 2013 Mark H Weaver m...@netris.org +# Copyright © 2013, 2014 Mark H Weaver m...@netris.org # # This file is part of GNU Guix. # @@ -144,6 +144,7 @@ GNU_SYSTEM_MODULES =\ gnu

Re: [GSoC] GNUnet binary distribution system

2014-03-10 Thread Mark H Weaver
Pierre-Antoine Rault p...@rigelk.eu writes: On 10/03/2014 22:09, Ludovic Courtès wrote: The initial discussion [0] left open the question of where binaries themselves should be stored. A possibility would be to use GNUnet’s DHT simply as a discovery mechanism, and then to establish a

error: build failed: committing transaction: disk I/O error

2014-03-10 Thread Mark H Weaver
In recent weeks on my system, it has become fairly common for the daemon to get into a bad state, where all build attempts fail with messages like this: --8---cut here---start-8--- mhw:~/guix-core-updates$ ./pre-inst-env guix build -n emacs error (ignored):

Re: [GSoC] GNUnet binary distribution system

2014-03-11 Thread Mark H Weaver
Pierre-Antoine Rault p...@rigelk.eu writes: On 11/03/2014 04:35, Mark H Weaver wrote: FWIW, I think it might be worthwhile to support BitTorrent magnet links as well, as a middle ground between these two extremes. Most users will not be able to host binaries via HTTP; even if they have

Re: Guix - GNUnet binary ditribution roadmap

2014-03-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Ideally, I imagine you could do something like: dht-get /gnu/store/ykmg6ydrmlkn600wklriw3wzc1z3dcli-emacs-24.3 and get as a reply (roughly) a tuple containing: 1. a signature (as a canonical s-expression); Why only one signature? I think this

Re: Guix - GNUnet binary ditribution roadmap

2014-03-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: Ideally, I imagine you could do something like: dht-get /gnu/store/ykmg6ydrmlkn600wklriw3wzc1z3dcli-emacs-24.3 and get as a reply (roughly) a tuple containing: 1

Re: error: build failed: committing transaction: disk I/O error

2014-03-19 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: In recent weeks on my system, it has become fairly common for the daemon to get into a bad state, where all build attempts fail with messages like this: mhw:~/guix-core-updates$ ./pre-inst-env guix build -n emacs

[PATCHES] Fix misplaced man pages in ncurses and bzip2

2014-03-19 Thread Mark H Weaver
These are for core-updates. I've tested them both. Mark From b1d5f5da8417dbd2213b92c1881f9e408d02dad9 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 19 Mar 2014 05:02:25 -0400 Subject: [PATCH 1/2] gnu: ncurses: Install man pages in share/man/man*, not man/man

[PATCH] gnu: util-macros: Install .pc file in lib/pkgconfig; remove INSTALL file.

2014-03-20 Thread Mark H Weaver
From: Mark H Weaver m...@netris.org Date: Thu, 20 Mar 2014 03:52:13 -0400 Subject: [PATCH] gnu: util-macros: Install .pc file in lib/pkgconfig; remove INSTALL file. * gnu/packages/xorg.scm (util-macros): Substitute $(libdir)/pkgconfig for $(datadir)/pkgconfig in Makefile.in. After install

[PATCHES] gnu: netpbm: Move man pages to share/man

2014-03-20 Thread Mark H Weaver
'doc.url' in $PATH, which it helpfully installs in PREFIX/bin. Ugh. Anyway, here are the patches that at least improve things somewhat. Mark From 5015998104802fc512e89a4d84a508e25e788692 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Thu, 20 Mar 2014 04:05:09 -0400

Re: Failed to set up the build environment for…

2014-03-20 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Another idea: does your machine have /dev/kvm? Is /dev/kvm now required by the daemon? If so, I'm concerned about portability. Mark

'Shadow' package home page and tarball no longer accessible

2014-03-21 Thread Mark H Weaver
FYI, for well over a month now, our 'shadow' package cannot be built because the tarball URL is no longer accessible. The home page is no longer accessible either. I finally looked into this, and found this post on the mailing list:

Re: Failed to set up the build environment for…

2014-03-21 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Andreas Enge andr...@enge.fr skribis: Another idea: does your machine have /dev/kvm? No. That’s indeed the problem: 20584 stat(/dev/kvm, 0x7fff2745d348) = -1 ENOENT (No such file or directory) 20584 futex(0x7f01cf335404, FUTEX_WAKE_PRIVATE,

Re: Failed to set up the build environment for…

2014-03-21 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: l...@gnu.org (Ludovic Courtès) writes: Andreas Enge andr...@enge.fr skribis: Another idea: does your machine have /dev/kvm? No. That’s indeed the problem: 20584 stat(/dev/kvm, 0x7fff2745d348) = -1 ENOENT (No such file or directory) 20584 futex

[PATCH] gnu: cmake: Install man pages and docs in share/{man,doc}

2014-03-21 Thread Mark H Weaver
From 2e1bf6d9489306d69f7876797651e91049eed6c7 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Fri, 21 Mar 2014 03:44:03 -0400 Subject: [PATCH] gnu: cmake: Install man pages and docs in share/{man,doc}. * gnu/packages/cmake.scm (cmake): Pass --mandir and --docdir to configure

Spurious failure building apr-utils in core-updates

2014-03-21 Thread Mark H Weaver
I encountered a spurious failure while building apr-utils in core-updates on x86_64. Simply repeating the same build completed successfully, with the same hash as the failed. Here's the log tail of the failure: --8---cut here---start-8---

Optimizing union.scm

2014-03-23 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: I want to optimize it anyway, since it takes over 5 minutes to build my profile, which is a bit painful. Oh, this much? I have 140 packages in my profile and it takes less than 30s to build it; that’s an SSD

libffi cannot be installed in user profile in core-updates

2014-03-24 Thread Mark H Weaver
On the Loongson 3A machine, I finished building all the packages from core-updates that I use in my profile, and then tried installing them. I got this: --8---cut here---start-8--- In

Re: libffi cannot be installed in user profile in core-updates

2014-03-24 Thread Mark H Weaver
Sree Harsha Totakura sreehar...@totakura.in writes: On 03/24/2014 07:07 AM, Mark H Weaver wrote: This problem was introduced in d43547f12d4eae19845f3bf13a53a050af965063 gnu: libffi: Leave a copy of headers where libffi.pc expects them. What we need to do here is to symlink the header files

Re: Optimizing union.scm

2014-03-25 Thread Mark H Weaver
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès l...@gnu.org ;;; Copyright © 2014 Mark H Weaver m...@netris.org ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published

Re: Optimizing union.scm

2014-03-25 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: Here's a first draft of a new union.scm. Thanks for being so fast! On my YeeLoong 8101B, when building my 155-package profile, it uses about 1/14 as much CPU time (25 seconds vs 6 minutes), and about 2/7

Re: Patches for midnight commander

2014-03-25 Thread Mark H Weaver
Eric Bavier ericbav...@gmail.com writes: + #:phases + (alist-replace +'configure +(lambda* (#:key #:allow-other-keys #:rest args) + (let ((configure (assoc-ref %standard-phases 'configure))) +(substitute* configure +

[PATCH] gnu: tcl: Install man pages in share/man

2014-03-26 Thread Mark H Weaver
From a61c7a353fc54c2be630da9fc69f6f711abf96a1 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 26 Mar 2014 15:09:03 -0400 Subject: [PATCH] gnu: tcl: Install man pages in share/man. * gnu/packages/tcl.scm (tcl): Add --mandir configure flag. --- gnu/packages/tcl.scm | 7

Re: Optimizing union.scm

2014-03-27 Thread Mark H Weaver
Here's a second draft of union.scm, incorporating your suggestions. I haven't yet replaced the use of the hash table, though. Mark ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès l...@gnu.org ;;; Copyright © 2014 Mark H Weaver m

[PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines

2014-03-28 Thread Mark H Weaver
This is needed on Loongson 2F machines. Mark From a3f19db3e9f0dd810f23c06f4d9e63d815e29c21 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 26 Mar 2014 23:33:26 -0400 Subject: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines. * gnu

Re: 0.6 is around the corner!

2014-04-01 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: 0.6 is getting ready! The remaining items are Mark’s new union.scm, and Nikita’s signed-substitutes support. I think we can expect to have them in shape within a few days, hopefully. So it’s definitely time to report any issues you may have. I've

Re: 0.6 is around the corner!

2014-04-01 Thread Mark H Weaver
Mark H Weaver m...@netris.org writes: I've run into a build issue with recent master on x86_64 and Loongson 3A (both hosted on Debian wheezy). Python 3 fails in the tests with OSError: out of pty devices and then the guix-daemon sometimes gets stuck in a sleeping state and hangs indefinitely

[PATCHES] Fixes to install man pages and docs in PREFIX/share

2014-04-01 Thread Mark H Weaver
Here's another batch of fixes to install man pages and docs in PREFIX/share. I also cleaned up the 'zip' package build process. Mark From 32699d6c8070522c34e00ddb57d836d6fb0dc3e8 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Tue, 1 Apr 2014 16:13:52 -0400 Subject

[PATCH] gnu: mutt: Upgrade to 1.5.23

2014-04-02 Thread Mark H Weaver
This upgrade includes an important security fix (see DSA-2874-1), and adds a new download URL as ftp.mutt.org is currently offline. Mark From 4160a1b1d307ef07f66fc3e3cfee858294e2cc21 Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 2 Apr 2014 04:16:11 -0400 Subject

[PATCHES] Upgrade sqlite and fix it on systems with page size 32K

2014-04-02 Thread Mark H Weaver
This is needed on systems with 64K page size. It also upgrades sqlite to the latest version and computes the source URL automatically. Mark From 8243f4e481eaf5604dd5c0ad8e069885af40dbdd Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Wed, 2 Apr 2014 12:02:41 -0400

Re: Optimizing ‘guix package’

2014-04-02 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: * Although I can now run union-build in 2 minutes, another full minute is spent in 'display-search-paths', Commit 27c6845 optimizes that (50%!). Oooh, this makes a significant improvement on my YeeLoong

libssh upgraded; guile-ssh fails its tests

2014-04-02 Thread Mark H Weaver
FYI, I upgraded libssh to the latest version in master, to fix a security flaw. Since then, I tried building guile-ssh for the first time. It fails its test suite. I guess this may have been caused by the libssh upgrade. I don't have time to look into it right now, but I don't think we should

[PATCH] union: Rewrite to be faster; handle symlink/directory conflicts

2014-04-02 Thread Mark H Weaver
This patch makes union.scm identical to the last one I posted here, and removes the tests of procedures that no longer exist. Mark From 3f503705098745ddd54251a46b5634e78b209e5f Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Fri, 28 Mar 2014 03:54:01 -0400 Subject: [PATCH

Re: [PATCH] gnu: Add guile-json.

2014-04-02 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: I realized the modules end up in share/guile/site, so commit bf6fcf5 changes that to share/guile/site/2.0. Speaking of which, I noticed that the 'native-search-paths' field of our 'guile' recipe includes share/guile/site, but not share/guile/site/2.0.

Re: 0.6 is around the corner!

2014-04-02 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: I've run into a build issue with recent master on x86_64 and Loongson 3A (both hosted on Debian wheezy). Python 3 fails in the tests with OSError: out of pty devices Any idea what this test is doing? (Maybe

Re: [PATCH] gnu: Add guile-json.

2014-04-02 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: I realized the modules end up in share/guile/site, so commit bf6fcf5 changes that to share/guile/site/2.0. Speaking of which, I noticed that the 'native-search-paths' field

Why is this build considered a failure by hydra?

2014-04-02 Thread Mark H Weaver
Looking at http://hydra.gnu.org/jobset/gnu/master , it seems that a large percentage of our builds have started failing. I was curious so I took a look. The first failure I looked at was 'file', since I recently upgraded it: http://hydra.gnu.org/build/46637 Looking at the tail of the log, it

Re: Python 3 test failures

2014-04-03 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: == ERROR: test_fork (test.test_pty.PtyTest) -- Traceback (most recent call

Can unprivileged users corrupt the store with bad tarballs?

2014-04-03 Thread Mark H Weaver
I was thinking about the security implications of giving out shell access to one of my systems running Guix. When I ask guix-daemon to build package 'foo', it will use as an input the source for package 'foo', usually a tarball. If the tarball is already in the store, it won't download it again,

gdb-7.7 test failures

2014-04-03 Thread Mark H Weaver
I've done some experimenting on my systems, and the pattern seems to be this: * On multiprocessor machines with #:parallel-tests? enabled, gdb-7.7 successfully builds. * On single-processor machines, or with #:parallel-tests? disabled, the build always fails because make check fails.

  1   2   3   4   5   6   7   8   9   10   >