Hardened builds

2014-04-08 Thread Anto Cvitić
Hello, Is there an easy way to modify the gnu-build-system so that packages are compiled with for example -fstack-protector and other flags to compiler and linker? Inspired from https://wiki.debian.org/Hardening It would be nice with a hadened guix, perhaps even with grsecurity patches. I would g

Re: [PATCH] gnu: Python: disable failing tests on MIPS64.

2014-04-08 Thread Cyril Roelandt
On 04/09/2014 02:40 AM, Nikita Karetnikov wrote: I've tested this on the Loongson 3A machine, and it works as expected. Python fails for me on Lemote YeeLoong. What does 'python -c "import platform; print(platform.machine())"' return on your machine ? The tests that fail are now disabled on

Re: [PATCH 0/3] Add man-db and libpipeline

2014-04-08 Thread David Thompson
David Thompson writes: > The following patchset adds a package for man-db, a package for its > prerequisite libpipeline, and moves the help2man package recipe into the > new (gnu packages man) module. > > - Dave I have pushed these patches to master. Apologies for the delay, I was short on time

Re: [PATCH] gnu: Python: disable failing tests on MIPS64.

2014-04-08 Thread Nikita Karetnikov
> I've tested this on the Loongson 3A machine, and it works as expected. Python fails for me on Lemote YeeLoong. $ git rev-parse HEAD 32d5c729522d02fe973cb245fe26262f040e0c13 == FAIL: test_issue_8959_a (ctypes.test.test_callback

Re: [PATCH 2/3] gnu: Add man-db

2014-04-08 Thread Nikita Karetnikov
> For some reason I'm having trouble pushing to the git repo. What kind of trouble? pgpH8KflVVdZ4.pgp Description: PGP signature

Re: [PATCH 2/3] gnu: Add man-db

2014-04-08 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> +(source (origin >> + (method url-fetch) >> + (uri (string-append >> + >> "http://download.savannah.gnu.org/releases/man-db/man-db-"; >> +version ".tar.xz")) > > Please us

Hydra status

2014-04-08 Thread Ludovic Courtès
You may have noticed that hydra.gnu.org has been, hmm, unhealthy lately. There are several bugs in the offload hook that were fixed recently, notably fixing errors such as: guix build: error: lstat: No such file or directory: ...foo.drv You may have also seen: derivation was garbage-collect

Re: Git fetch method not working right

2014-04-08 Thread Ludovic Courtès
Manolis Ragkousis skribis: > Because I didn't change the sha256 hash after changing the commit > hash, it wasn't downloading the new one, but it was reusing the old > one already present from the previous builds. Ah right, that’s because /gnu/store is essentially a cache, so it considered that i

Re: Git fetch method not working right

2014-04-08 Thread Manolis Ragkousis
Because I didn't change the sha256 hash after changing the commit hash, it wasn't downloading the new one, but it was reusing the old one already present from the previous builds. The moment I changed the sha256 hash to the correct one, it downloaded the correct one and it worked. All ok now.

Re: [PATCH 2/3] gnu: Add man-db

2014-04-08 Thread Thompson, David
On Tue, Apr 8, 2014 at 8:12 AM, Ludovic Courtès wrote: > David Thompson skribis: > >> +(source (origin >> + (method url-fetch) >> + (uri (string-append >> + >> "http://download.savannah.gnu.org/releases/man-db/man-db-"; >> +ver

Re: [PATCH 2/3] gnu: Add man-db

2014-04-08 Thread Ludovic Courtès
David Thompson skribis: > +(source (origin > + (method url-fetch) > + (uri (string-append > + > "http://download.savannah.gnu.org/releases/man-db/man-db-"; > +version ".tar.xz")) Please use mirror://savannah. Other than that,

Re: Git fetch method not working right

2014-04-08 Thread Ludovic Courtès
Manolis Ragkousis skribis: > While I pass to it a specific commit, it downloads a different > (older?) version. I have prepared a testcase with the libpthread, > which is the one that this happens. It will download the files and > then the building will fail, so just compare the file > sysdeps/ma

Re: [PATCH 2/3] gnu: Add man-db

2014-04-08 Thread David Thompson
Mark H Weaver writes: > David Thompson writes: > >>> Why is 'lynx' an input? I remember you mentioning on IRC that if PAGER >>> is not set, it launched a web browser by default. I wonder: if you >>> included 'less' and not 'lynx', would it use 'less' by default >>> instead? >> >> My system see

Re: Why is this build considered a failure by hydra?

2014-04-08 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> l...@gnu.org (Ludovic Courtès) skribis: >> >>> Offloading failed in some way. hydra.gnunet.org was down for some time, >>> so perhaps we hit that just at this moment. Or some networking issue >>> occurred just as we were retri