From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#35691: remote configure failure due to bad pathnames for crt*.o Date: Thu, 16 May 2019 11:18:54 +0200 Message-ID: <877eaqaha9.fsf@elephly.net> References: <87sgtfsmul.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRRLw-0008K6-4i for bug-guix@gnu.org; Thu, 16 May 2019 21:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRRLu-0006Fp-5W for bug-guix@gnu.org; Thu, 16 May 2019 21:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRRLt-0006Fh-Uj for bug-guix@gnu.org; Thu, 16 May 2019 21:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRRLt-0006y8-Kr for bug-guix@gnu.org; Thu, 16 May 2019 21:08:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Hi Nelson, > Even after that major update, and reboot, I still find that, from a > remote ssh connection, configure fails to find a C compiler, because > of the faulty construction of the path to crt1.o. Earlier you wrote this there is still a gcc visible: /u/sy/beebe/.guix-profile/bin/gcc. Where does that come from? Are you activating this profile in some shell initialisation file? Does that profile contain =E2=80=9Cgcc-toolchai= n=E2=80=9D or =E2=80=9Cgcc=E2=80=9D? What does PATH look like? You can check with =E2=80=9Cguix package -p /u/sy/beebe/.guix-profile -l=E2= =80=9D. (Or is $HOME equivalent to /u/sy/beebe on this system and the profile is thus the default?) I=E2=80=99m interested in the activation of that profile. We recommend add= ing these lines to ~/.bash_profile (not .bashrc) in the manual: export GUIX_PROFILE=3D$HOME/.guix-profile source $GUIX_PROFILE/etc/profile (Leaving out the definition of GUIX_PROFILE will change the behaviour slightly and you would end up with potentially outdated absolute store file names in your PATH.) -- Ricardo