GNU bug report logs -
#35691
[bug-guix] remote configure failure due to bad pathnames for crt*.o
Previous Next
Full log
Message #30 received at 35691 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Nelson and Ludovic,
AFAIU this is an environment issue
Ludovic Courtès <ludo <at> gnu.org> writes:
> "Nelson H. F. Beebe" <beebe <at> math.utah.edu> skribis:
>
>> Even after that major update, and reboot, I still find that, from a
>> remote ssh connection
Nelson please inspect the output you remotely get from:
remote-machine$ ssh guix10.vm.example.com 'env'
compare it with the one you locally get from:
guix10.vm.example.com$ env
and compare it with the one you remotely get from
remote-machine$ ssh guix10.vm.example.com 'bash -l -c "env"'
(the part before the $ prompt is a fictional hostname)
User environment - essential for Guix to work - is not passed
(permitted) usually by default via ssh; the easiest option is to wrap
your command in a remote login shell invocation; in your case should be:
remote-machine$ ssh guix10.vm.example.com 'bash -l -c "cd FOO-x.y.z ; ./configure && make all check && make install"'
[...]
> I cannot reproduce the problem. With ‘guix environment’, as show below,
> I build an isolated environment that contains nothing but
> ‘gcc-toolchain’ and Bash:
>
> --8<---------------cut here---------------start------------->8---
> $ guix environment --ad-hoc -C gcc-toolchain
> [env]$ echo 'int main() { }' > t.c
> [env]$ gcc t.c
> [env]$ ./a.out
> --8<---------------cut here---------------end--------------->8---
>
> As you can see, I can compile and link in that environment.
Nelson was also able to compile and link locally, he is just having
problems running compilation commands remotely via ssh
Do we need to document this on the manual, if not already documented?
HTH!
Gio'.
[...]
--
Giovanni Biscuolo
Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 6 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.