bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
> Divan Santana skribis: > >> So guixsd.santanas.co.za is my build system VM. >> Laptop, is a guixsd system I want to not compile code, and rather offload. >> >> root@laptop ~# ssh ad...@guixsd.santanas.co.za env |grep GUILE_ >> >> Returns nothing. >> >> However, an

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
Ricardo Wurmus writes: > On build nodes I added the following variable definitions to > /etc/environment: > > GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2 > >

bug#27386: offloading documentation and env

2017-09-29 Thread Ricardo Wurmus
On build nodes I added the following variable definitions to /etc/environment: GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2 You need to make

bug#27386: offloading documentation and env

2017-09-29 Thread Ludovic Courtès
Hello Divan, Divan Santana skribis: > So guixsd.santanas.co.za is my build system VM. > Laptop, is a guixsd system I want to not compile code, and rather offload. > > root@laptop ~# ssh ad...@guixsd.santanas.co.za env |grep GUILE_ > > Returns nothing. > > However, an

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
Divan Santana writes: > So I'm trying to set up the same offloading and followed the > documentation and seem to have resulted in the same issue as ng0. > > Ludovic Courtès writes: > >> ng0 skribis: >> >>> Ludovic Courtès transcribed

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
So I'm trying to set up the same offloading and followed the documentation and seem to have resulted in the same issue as ng0. Ludovic Courtès writes: > ng0 skribis: > >> Ludovic Courtès transcribed 2.1K bytes: >>> ng0 skribis: >>>

bug#27386: [SOLVED] Re: bug#27386: offloading documentation and env

2017-07-08 Thread Ludovic Courtès
Hi Oleg, Oleg Pykhalov skribis: > Solution > > > https://lists.gnu.org/archive/html/help-guix/2017-05/msg00196.html > >> The ‘guix offload’ command is invoked by guix-daemon as root. So when >> it is invoked, (getenv "HOME") returns "/root" or similar. Could that

bug#27386: offloading documentation and env

2017-07-07 Thread Ludovic Courtès
Oleg Pykhalov skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hmm could it be that ‘machine-load’ in (guix scripts offload) always >> returns +inf.0, for instance because it fails to run “cat /proc/loadavg” >> on the remote machine? (If it succeeded we would see the

bug#27386: offloading documentation and env

2017-07-06 Thread Oleg Pykhalov
l...@gnu.org (Ludovic Courtès) writes: > Hmm could it be that ‘machine-load’ in (guix scripts offload) always > returns +inf.0, for instance because it fails to run “cat /proc/loadavg” > on the remote machine? (If it succeeded we would see the message “load > on machine XYZ is N”.) > > >

bug#27386: offloading documentation and env

2017-07-06 Thread Ludovic Courtès
Oleg Pykhalov skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hi, >> >> Oleg Pykhalov skribis: >> >>> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >>> waiting for locks or build slots... >>> process 5294 acquired build

bug#27386: offloading documentation and env

2017-07-05 Thread Oleg Pykhalov
l...@gnu.org (Ludovic Courtès) writes: > Hi, > > Oleg Pykhalov skribis: > >> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >> waiting for locks or build slots... >> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >> process 5294

bug#27386: offloading documentation and env

2017-07-04 Thread Ludovic Courtès
Hi, Oleg Pykhalov skribis: > process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' > waiting for locks or build slots... > process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' > process 5294 acquired build slot

bug#27386: offloading documentation and env

2017-07-04 Thread Oleg Pykhalov
Oleg Pykhalov writes: > Oleg Pykhalov writes: > >> I'm trying to setup offloading too. Just for the report I had an issue >> after setting up `%load-path` for guile with `.bashrc` snippet. It >> seems that also required call `guix build` with

bug#27386: offloading documentation and env

2017-07-04 Thread Oleg Pykhalov
Hi, I'm trying to setup offloading too. Just for the report I had an issue after setting up `%load-path` for guile with `.bashrc` snippet. It seems that also required call `guix build` with `--substitute-urls=HOST` because without it I get `acquired build slot` loop like in

bug#27386: offloading documentation and env

2017-06-29 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.2K bytes: [...] >> > GUILE_LOAD_COMPILED_PATH="${GUILE_LOAD_COMPILED_PATH}:/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2" >> >

bug#27386: offloading documentation and env

2017-06-28 Thread ng0
Ludovic Courtès transcribed 2.2K bytes: > ng0 skribis: > > > I think the method as described never really worked. > > > > When I do as you (and the manual) suggested, I no longer > > have any results for ssh host env | grep "GUILE_". > > > > When I extend it like this it

bug#27386: offloading documentation and env

2017-06-28 Thread Ludovic Courtès
ng0 skribis: > I think the method as described never really worked. > > When I do as you (and the manual) suggested, I no longer > have any results for ssh host env | grep "GUILE_". > > When I extend it like this it works. I include the full > paste to show that previously

bug#27386: offloading documentation and env

2017-06-28 Thread ng0
Ludovic Courtès transcribed 1.8K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.2K bytes: > >> ng0 skribis: > >> > >> > Ludovic Courtès transcribed 2.8K bytes: > > [...] > > >> The problem here is that > >>

bug#27386: offloading documentation and env

2017-06-28 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.2K bytes: >> ng0 skribis: >> >> > Ludovic Courtès transcribed 2.8K bytes: [...] >> The problem here is that >> /run/current-system/profile/share/guile/site/2.2, which is where the >> Guix modules are

bug#27386: offloading documentation and env

2017-06-27 Thread ng0
Ludovic Courtès transcribed 2.2K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.8K bytes: > > [...] > > >> >> The test is to run something like: > >> >> > >> >> $ ssh localhost env |grep GUILE_ > >> >> > >> >>

bug#27386: offloading documentation and env

2017-06-27 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.8K bytes: [...] >> >> The test is to run something like: >> >> >> >> $ ssh localhost env |grep GUILE_ >> >> >> >>

bug#27386: offloading documentation and env

2017-06-27 Thread ng0
Ludovic Courtès transcribed 2.8K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.1K bytes: > >> ng0 skribis: > >> > >> > And this is from master running an offloading test as it is right now. > >> > Both ends have GuixSD. > >> > > >> >

bug#27386: offloading documentation and env

2017-06-27 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.1K bytes: >> ng0 skribis: >> >> > And this is from master running an offloading test as it is right now. >> > Both ends have GuixSD. >> > >> > user@abyayala ~$ guix offload test >> > guix offload:

bug#27386: offloading documentation and env

2017-06-26 Thread ng0
Ludovic Courtès transcribed 2.1K bytes: > ng0 skribis: > > > And this is from master running an offloading test as it is right now. > > Both ends have GuixSD. > > > > user@abyayala ~$ guix offload test > > guix offload: testing 1 build machines defined in > >

bug#27386: offloading documentation and env

2017-06-26 Thread Ludovic Courtès
ng0 skribis: > And this is from master running an offloading test as it is right now. > Both ends have GuixSD. > > user@abyayala ~$ guix offload test > guix offload: testing 1 build machines defined in > '/usr/local/etc/guix/machines.scm'... > guix offload:

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
ng0 transcribed 6.4K bytes: > ng0 transcribed 1.6K bytes: > > Hi, > > > > I am setting up local offloading systems and I just ran > > into the same issue like I did every time in the last year: > > > > with guile in the remote 'user' PATH the guile test works *locally*. > > Through ssh, the

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
ng0 transcribed 1.6K bytes: > Hi, > > I am setting up local offloading systems and I just ran > into the same issue like I did every time in the last year: > > with guile in the remote 'user' PATH the guile test works *locally*. > Through ssh, the 'env' output is different than local. I'm now

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
Hi, I am setting up local offloading systems and I just ran into the same issue like I did every time in the last year: with guile in the remote 'user' PATH the guile test works *locally*. Through ssh, the 'env' output is different than local. I'm now trying to fix this the same way 'scp' is