bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-14 Thread Ludovic Courtès
Hello, YOANN P skribis: >>YOANN P skribis: [...] >>> Even if i was aware of it after reading Pjotrp notes, i've never found a >>> clear limit after my readings on the web. If Guix Team has an idea of >>> the store path limit lenght, it could be a great idea to add it to the docs >>> or did

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-13 Thread YOANN P
Hi Ludo, >Hi Yoann, > >YOANN P skribis: > >>> We won’t apply this patch because in general there’s no reason for build >>> processes to require /var/tmp (we’ve never encountered that.) >> >> There's always a first time. Since i didn't encounter this behavior with >> other >> custom directories

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-12 Thread Ludovic Courtès
Hi Yoann, YOANN P skribis: >> We won’t apply this patch because in general there’s no reason for build >> processes to require /var/tmp (we’ve never encountered that.) > > There's always a first time. Since i didn't encounter this behavior with > other > custom directories than i've tested, lo

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-12 Thread YOANN P
Hi Ludovic, > We won’t apply this patch because in general there’s no reason for build > processes to require /var/tmp (we’ve never encountered that.) There's always a first time. Since i didn't encounter this behavior with other custom directories than i've tested, looking at the code of the te

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-12 Thread Ludovic Courtès
Hello Yoann, YOANN P skribis: > --- a/nix/libstore/build.cc > +++ b/nix/libstore/build.cc > @@ -1849,6 +1849,11 @@ void DerivationGoal::startBuilder() > createDirs(chrootTmpDir); > chmod_(chrootTmpDir, 01777); > > +/* Create a writable /var/tmp in the chroot. */ > +

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-11 Thread YOANN P
I've add "/var/tmp" into the chroot directories inside nix/libstore/build.cc with the attached patch (based on v0.14.0 tag) and the installation of gettext and the other dependencies not yet installed seem to finished correctly. Is there someone who could validate than this patch is correct and

bug#30768: Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

2018-03-11 Thread YOANN P
Hello, I'm not sure about the reason of this behavior but if configure guix --with-store-dir=/var/tmp/test_guix/gnu/store for exemple, the tests for gettext failed with a permission denied for test-copy-file-1.sh. If i configure guix with a store to $HOME/.local, everything run smoothly. Ple