Re: make packagers life easier

2015-03-17 Thread Sree Harsha Totakura
On 03/15/2015 06:00 PM, Tomáš Čech wrote: How to implement? - inject always failing phase into phases list Another level of this feature could be even continuing of the build. I have a similar feature request. Long time ago when I was packaging gnunet and curl, I had to spend a lot of

Re: [GNUnet-developers] GNU in GSOC 2015 - Application sent

2015-03-10 Thread Sree Harsha Totakura
...@in.tum.de;Sree Harsha Totakura/a, a href=mailto:bart.po...@gmail.com;Bart Polot/a Thanks, Ludo'.

Re: [GNUnet-developers] Guix + GNUnet at GSoC?

2015-03-09 Thread Sree Harsha Totakura
On 03/05/2015 11:33 PM, Ludovic Courtès wrote: Who would like to (co-)mentor it? Hi! I and Bart would like to co-mentor this project. Should I write to summer-of-c...@gnu.org for including this project in the list of ideas? Regards, Sree

Re: Server unrresponsive

2015-01-27 Thread Sree Harsha Totakura
On 01/21/2015 04:04 PM, Ludovic Courtès wrote: This message suggests that hydra.gnu.org, the server that provides pre-compiled binaries, is somewhat slow. This is unfortunately too frequent and we hope to switch to a more powerful front-end server. I believe switching to hydra.gnunet.org

Re: Gnunet update

2014-08-13 Thread Sree Harsha Totakura
On 08/12/2014 08:25 PM, Ludovic Courtès wrote: the attached patch attempts to update gnunet to its current release 0.10.1. It fails one of its tests; Sree, could you maybe look into it? It would be nice to be up-to-date before coming to the GHM in gnunet's birth place! Indeed. :-)

Re: Troubles with install image

2014-07-15 Thread Sree Harsha Totakura
On 07/15/2014 05:34 PM, Thompson, David wrote: Are you referring to offloading builds or using a replacement to hydra.gnu.org for serving substitutes? I was talking about an addition (local cache) to hydra.gnu.org. Sree

Re: [PATCH] gnu: Add perl-tk, perl-x11-protocol, and clusterssh

2014-04-04 Thread Sree Harsha Totakura
On 04/04/2014 05:15 PM, Eric Bavier wrote: * gnu/packages/admin.scm (clusterssh): New variable I am actually in need of something like this. I am using parallel-ssh, but this looks very promising. Thank you! +(description + ClusterSSH controls a number of xterm windows via a single

Re: Guix, Hydra Nix

2014-03-31 Thread Sree Harsha Totakura
Hi Ludo, Thank you very much. Please ACK my understanding. On 03/28/2014 10:26 PM, Ludovic Courtès wrote: Sree Harsha Totakura sreehar...@totakura.in skribis: From the sources, I found that build-aux/hydra/*.scm convert packages into a format hydra understands for building them. Yes

Re: [PATCH] Add (guix svn-download).

2014-03-27 Thread Sree Harsha Totakura
On 03/27/2014 10:30 AM, Ludovic Courtès wrote: I realize you’re not in the ‘guix’ group on Savannah. I can add you, but I need to know what your Savannah account is (or you need to create one if you don’t have one already.) Thanks. :-) Yes, I did not have an account on Savannah. I just

Add svn-fetch method

2014-03-26 Thread Sree Harsha Totakura
The following patch adds a new origin method to fetch from SVN repositories. Note that the subversion command is used with --trust-server-cert option which causes it to trust any given SSL certificate if fetching from HTTPS repositories. The authenticity of the code should only be verified by

[PATCH] Add (guix svn-download).

2014-03-26 Thread Sree Harsha Totakura
Guix --- Functional package management for GNU +;;; Copyright © 2014 Ludovic Courtès l...@gnu.org +;;; Copyright © 2014 Sree Harsha Totakura sreehar...@totakura.in +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under

[PATCH] Add (guix svn-download).

2014-03-26 Thread Sree Harsha Totakura
Guix --- Functional package management for GNU +;;; Copyright © 2014 Ludovic Courtès l...@gnu.org +;;; Copyright © 2014 Sree Harsha Totakura sreehar...@totakura.in +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under

SVN download

2014-03-25 Thread Sree Harsha Totakura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I wrote a helper to download sources from SVN directories. I guess it works but I am unable to test it as I get the following error while validating the server SSL certificates: @ build-started

Re: SVN download

2014-03-25 Thread Sree Harsha Totakura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/25/2014 09:29 PM, Ludovic Courtès wrote: Now, alternately, does GNUnet provide http SVN access (no TLS)? If it does, you could: It doesn't provide http SVN access. So, I guess the only option for now is to use the ca-certificates package.

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

2014-03-24 Thread Sree Harsha Totakura
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 instead of the include directory. This was suggested

Re: GSoC 2014

2014-03-19 Thread Sree Harsha Totakura
On 03/19/2014 10:18 AM, Deepan Sekar wrote: Hi Hi! Im sorry for participating and contacting you so late about my interest in the project of Self-updating GNUnet with GNU Guix but I just came across GSoC 2014 two days ago. Anyways, I find the concept proposed really interesting and would

Re: [GNUnet-developers] Guix - GNUnet binary ditribution roadmap

2014-03-13 Thread Sree Harsha Totakura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/13/2014 12:15 AM, Ludovic Courtès wrote: Is it possible to have several values associated with a key in the DHT? I’m asking because here we’d need to have the ability to get zero or more tuples as described above, one tuple for each node

Re: Guix - GNUnet binary ditribution roadmap

2014-03-12 Thread Sree Harsha Totakura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/11/2014 08:14 PM, Pierre-Antoine Rault wrote: Hi, Sorry for contacting you directly (without the guix mailing list), but Ludovic Courtès recommanded me to contact you as I would like to work [1] on integrating GNUnet in Guix as a binary

Re: [GNUnet-developers] Guix - GNUnet binary ditribution roadmap

2014-03-12 Thread Sree Harsha Totakura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/12/2014 09:56 PM, Ludovic Courtès wrote: Let's just stick with the GNUnet server (we call such a server as a service in GNUnet, let's call it Guix service) as of now. HTTP can be done optionally. Moreover the currently binary distribution

Re: Binary downloads

2014-03-07 Thread Sree Harsha Totakura
On 03/07/2014 05:46 PM, Pjotr Prins wrote: Sorry, I was not clear. I do not want to build on my laptop (the noise drives me nuts :). So I want to build on a remote server and install on my laptop, or on compute nodes, or whatever. With Nix it is possible. Does Guix allow caching of packages,

Re: New Hydra build slaves

2014-03-04 Thread Sree Harsha Totakura
On 03/03/2014 11:31 PM, Ludovic Courtès wrote: BTW, it would be great if someone would volunteer to help with administration of Hydra and the build machines. So if someone is interested, please let me know. Since I am here at TUM, I can help with volunteering the server here. How can I help?

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

2014-03-04 Thread Sree Harsha Totakura
On 02/28/2014 11:28 PM, Ludovic Courtès wrote: Among other things, it’s migrating from /nix/store to /gnu/store. Is this already present in the master branch? If so, will the store be rebuilt when I update master? Sree

Re: New Hydra build slaves

2014-03-04 Thread Sree Harsha Totakura
On 03/04/2014 12:12 PM, Ludovic Courtès wrote: For the machine at TUM, the main issue currently is to get the networking issue that Christian identified sorted out. AFAIK, Christian has written to the network operations dept. here. I will check with them later. I was actually thinking of

Re: [PATCH] gnu: Add miniupnpc.

2014-02-24 Thread Sree Harsha Totakura
to send the message as UTF-8. I guess I didn't read the message properly; I guess it had asked me that character encoding the patch is in. On Sat, Feb 22, 2014 at 10:37:05AM +0100, Sree Harsha Totakura wrote: + #:phases + (alist-delete + 'configure

Re: GNUnet build failure on mips64el

2014-02-22 Thread Sree Harsha Totakura
On 02/22/2014 08:44 AM, Mark H Weaver wrote: PASS: test_local_revocation.py Feb 22 07:17:50-660583 testbed-api-topology-16547 WARNING Error while establishing a link: 0x4: Timeout while connecting to CORE of peer with id: 0 -- Retrying Feb 22 07:17:51-098510 testbed-api-topology-16547

Re: GNUnet build failure on mips64el

2014-02-21 Thread Sree Harsha Totakura
On 02/21/2014 04:31 PM, Ludovic Courtès wrote: On the GNUnet side, it would be great if the tests were less timing sensitive. We faced these problems earlier when we added Sheevaplug and RasberryPi into our buildbots. Unfortunately, since we are having a network application, the timeouts are

Calling functions in `make-flags'

2014-02-21 Thread Sree Harsha Totakura
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' variable through build-flags like this: (arguments

Re: guix package: error: build failed: unable to fork: Invalid argument

2014-02-19 Thread Sree Harsha Totakura
On 02/19/2014 12:53 AM, David Knight wrote: Wonderful, setting these solved the problem. Now guix package -i hello works for me! Good. The namespaces are required for Guix to build new packages in a chroot environment which should be independent of the host system and consistent on all hosts

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

2014-02-19 Thread Sree Harsha Totakura
On 02/19/2014 03:08 PM, Andreas Enge wrote: The next question is, where do these certificates come from in our system? I think a reasonable solution would be to: - create a package with certificates (maybe inspired from those contained in debian); - have gnutls depend on it, and use the

[PATCH 0/2] Update cURL to 7.35.0 and fix its tests

2014-02-18 Thread Sree Harsha Totakura
The following patches update cURL to 7.35.0 and fix its test cases. Sree Harsha Totakura (2): gnu: curl: Update to 7.35.0. gnu: curl: Fix tests. gnu/packages/curl.scm | 20 1 file changed, 16 insertions(+), 4 deletions(-) -- 1.8.5.3

[PATCH 1/2] gnu: curl: Update to 7.35.0.

2014-02-18 Thread Sree Harsha Totakura
* gnu/packages/curl.scm (curl): Update to 7.35.0. --- gnu/packages/curl.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index a9bfa76..ea7dbf6 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -36,14 +36,14

Re: guix package: error: build failed: unable to fork: Invalid argument

2014-02-18 Thread Sree Harsha Totakura
On 02/18/2014 05:29 PM, David Knight wrote: it downloads about 277M of files (up to guile-2.0.9.tar.xz) into /nix/store then errors with guix package: error: build failed: unable to fork: Invalid argument. Rerunning the command gives the same error message. It is common to install those many

Re: [PATCH] gnu: gnurl: Update to 7.35.0.

2014-02-17 Thread Sree Harsha Totakura
On 02/16/2014 10:20 PM, Ludovic Courtès wrote: Applied, thanks. I suppose there’s a new cURL version as well? Yes, there is, but its tests are currently failing. I shall look into it and send a patch soon. Sree

[PATCH] Update gnurl to 7.35.0.

2014-02-16 Thread Sree Harsha Totakura
gnunet.org has release gnurl-7.35.0 recently. This patch updates gnurl in guix. Sree Harsha Totakura (1): gnu: gnurl: Update to 7.35.0. gnu/packages/gnunet.scm | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) -- 1.8.5.3

[PATCH] gnu: gnurl: Update to 7.35.0.

2014-02-16 Thread Sree Harsha Totakura
* gnu/packages/gnunet.scm (gnurl): Update to 7.35.0. --- gnu/packages/gnunet.scm | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 960a5d7..b084796 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm

Hydra serving source tarballs

2014-02-12 Thread Sree Harsha Totakura
Hi, I just observed that `guix build' is downloading source tarballs from Hydra. Is this supposed to be a feature? If so, what is the rationale behind not trying to download the source ball from mirrors or upstream download addresses? Regards, Sree

[PATCH] gnu: gnunet: Fix failing testcases.

2014-02-12 Thread Sree Harsha Totakura
* gnu/packages/gnunet.scm (gnurl): Add pkg-config. * gnu/packages/patches/gnunet-fix-tests.patch: Append fix for integration testcases. --- gnu/packages/gnunet.scm |8 +--- gnu/packages/patches/gnunet-fix-tests.patch | 12 2 files changed, 17

Re: none

2014-02-12 Thread Sree Harsha Totakura
On 02/12/2014 06:36 PM, Ludovic Courtès wrote: It would be nice if GNUnet’s ‘configure’ script would check whether gnurl has HTTPS support. It now does. :-) Sree

Re: [PATCH] gnu: gnunet: Add GNUnet-0.10.0.

2014-02-11 Thread Sree Harsha Totakura
Hi! On 02/10/2014 11:33 PM, Andreas Enge wrote: see my message from February 5: https://lists.gnu.org/archive/html/guix-devel/2014-02/msg00057.html To summarise, I do not know what happens. The testcase 172 tests cookies whose expiration value is hard-coded to 1391252187, which is Feb 1,

Re: gnu-build-system should set DESTDIR

2014-02-10 Thread Sree Harsha Totakura
On 02/10/2014 09:19 AM, John Darrington wrote: I think the make install target in gnu-build-system should set DESTDIR to / (or /.) Rationale: Setting DESTDIR will then make the install target to install files in the chroot dir (most likely to /usr/local/ or the prefix dir inside chroot)

Fwd: [GNUnet-developers] Google Summer of Code: GNUnet and Guix

2014-02-06 Thread Sree Harsha Totakura
Anyone interested in mentoring for GSoC 2014? Original Message Subject: [GNUnet-developers] Google Summer of Code: GNUnet and Guix Date: Thu, 06 Feb 2014 15:27:31 +0100 From: Sree Harsha Totakura totak...@in.tum.de To: gnunet-develop...@gnu.org, guix-devel@gnu.org On 02/06

Google Summer of Code: GNUnet and Guix

2014-02-06 Thread Sree Harsha Totakura
On 02/06/2014 01:25 PM, Christian Grothoff wrote: Well, aside from that our plan was to package for GNU Guix and then use Guix to deploy to legacy distributions, I am unconvinced that merely packaging is an appropriate activity for a summer of *Code*. At least I had the impression that the

Re: Gnunet-0.10.0 recipe

2014-02-03 Thread Sree Harsha Totakura
On 02/03/2014 11:17 PM, Andreas Enge wrote: Just one last question: Is there a reason you did not add libmicrohttpd as an input? Or should I add it again? I had forgotten to add it, nevertheless it should be added to the inputs as it is a direct dependency. But how did the build succeed if

Re: Gnunet-0.10.0 recipe

2014-02-03 Thread Sree Harsha Totakura
Hi Christian, Does GNUnet use openssl while building or is it used only during `make check`? Sree On 02/03/2014 11:57 PM, Ludovic Courtès wrote: Andreas Enge andr...@enge.fr skribis: On Fri, Jan 31, 2014 at 05:05:37PM +0100, Ludovic Courtès wrote: Note for upstream: It would be great to

[PATCH] gnu: gnunet: Add GNUnet-0.10.0.

2014-01-30 Thread Sree Harsha Totakura
* gnunet/packages/gnunet.scm (gnunet): New variable. * gnu/package/patches/gnunet-fix-scheduler.patch: New file. * gnu/package/patches/gnunet-fix-tests.patch: New file. * gnu-system.am (dist_patch_DATA): Add the above two patch files. --- gnu-system.am

Re: Gnunet-0.10.0 recipe

2014-01-30 Thread Sree Harsha Totakura
Here's the new patch with Andreas' changes and Openssl included as a dependency. Sree On 01/30/2014 11:56 PM, Sree Harsha Totakura wrote: Yes, this looks better, perhaps Ludo can replace the relevant part with this. (where the 'set-path-for-check phase will be made obsolete by the recent

[PATCH] gnu: gnunet: Add gnurl-7.34.0.

2014-01-29 Thread Sree Harsha Totakura
* gnu/packages/gnunet.scm (gnurl): New variable. Thanks to Zerwas for the initial recipe. --- gnu/packages/gnunet.scm | 64 +++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index 52a434a..e0ddc30

HTTP proxy support in Guix

2014-01-28 Thread Sree Harsha Totakura
Hi, Is there support for using a HTTP proxy while downloading sources or substitutes? - Sree

Re: Installing a C tool chain

2014-01-27 Thread Sree Harsha Totakura
On 01/27/2014 10:53 AM, Ludovic Courtès wrote: I believe this could be addressed by having a simple “toolchain” meta-package with the sole purpose of propagating these 4 inputs, and by documenting it in the manual. Yes, a toolchain package would be nice. Debian does similarly: it has

[PATCH] gnu: libffi: Symlink header files instead of moving them into {$prefix}/include to make them consistent with installed pkg-config file.

2014-01-27 Thread Sree Harsha Totakura
* gnu/packages/libffi.scm (libffi): Symlink header files instead of moving them. --- gnu/packages/libffi.scm |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index d1a834d..978481a 100644 --- a/gnu/packages/libffi.scm

Re: [PATCH] gnu: linux: Add iotop-0.6.

2014-01-27 Thread Sree Harsha Totakura
On 01/27/2014 07:05 PM, Ludovic Courtès wrote: Pushed, thanks (I made a mistake so this is two commits instead of one; sorry!). I applied it to ‘master’, but it needs a fix for http://bugs.gnu.org/16569, right? Yes, it needs to be fixed for this. Sree

Re: [PATCH] gnu: packages: Add ncdc-1.18.1.

2014-01-24 Thread Sree Harsha Totakura
On 01/24/2014 06:18 PM, Ludovic Courtès wrote: + #:use-module ((guix licenses) +#:renamer (symbol-prefix-proc 'license:))) #:use-module (guix licenses) I had to use the renamer as the package depends on zlib and there is also a license with the same name. Sree

/dev/shm inconsistency in chroot

2014-01-23 Thread Sree Harsha Totakura
to pass --chroot-directory flag, I propose the attached patch. Regards, Sree From 359fda36b6dcabea79a76b56e10d4d67702f545f Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura sreehar...@totakura.in Date: Thu, 23 Jan 2014 20:11:57 +0100 Subject: [PATCH] Create tmpfs on /dev/shm after chrooting

sqlite upgrade to 3.8.2

2014-01-22 Thread Sree Harsha Totakura
Hi, The attached patch upgrades Sqlite to 3.8.2. Please commit it to master. Sree 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

New package recipe: libopus-1.1

2014-01-22 Thread Sree Harsha Totakura
Hi, Attached is a recipe for libopus-1.1. Please include it. Thank you, Sree From eafeaed576eccd20e108f62dc61d89d2c4be353b Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura sreehar...@totakura.in Date: Wed, 22 Jan 2014 16:17:18 +0100 Subject: [PATCH] new package: libopus-1.1 Signed-off

Re: sqlite upgrade to 3.8.2

2014-01-22 Thread Sree Harsha Totakura
Totakura sreehar...@totakura.in Date: Wed, 22 Jan 2014 18:00:09 +0100 Subject: [PATCH] gnu: sqlite: Upgrade to 3.8.2. * gnu/packages/sqlite.scm (sqlite): Upgrade to 3.8.2. Signed-off-by: Sree Harsha Totakura sreehar...@totakura.in --- gnu/packages/sqlite.scm |6 +++--- 1 file changed, 3 insertions

Re: New package recipe: libopus-1.1

2014-01-22 Thread Sree Harsha Totakura
Harsha Totakura sreehar...@totakura.in Date: Wed, 22 Jan 2014 18:07:06 +0100 Subject: [PATCH] gnu: Add libopus. * gnu/packages/opus.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Sree Harsha Totakura sreehar...@totakura.in --- gnu-system.am |1 + gnu

fetching substitutes slow

2014-01-21 Thread Sree Harsha Totakura
this? - Sree From 50417a01f71f973002171dcd9e5457721b3487ab Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura sreehar...@totakura.in Date: Tue, 21 Jan 2014 08:56:37 +0100 Subject: [PATCH] - remove timeout --- guix/scripts/substitute-binary.scm |2 +- 1 file changed, 1 insertion(+), 1

Re: Guix initd script

2014-01-15 Thread Sree Harsha Totakura
Yes, but it may not work if those distros have systemd which is likely to replace or may have replaced sysinit. Sree On 01/15/2014 04:22 PM, Ludovic Courtès wrote: Sree Harsha Totakura sreehar...@totakura.in skribis: I wrote an initd script for starting guix-daemon and would like to share

Re: Guix initd script

2014-01-15 Thread Sree Harsha Totakura
$network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts the guix-daemon # Description: starts guix-daemon using start-stop-daemon ### END INIT INFO # # Author:Sree Harsha Totakura sreehar...@totakura.in using lightdm script #from