From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: "Nelson H. F. Beebe" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 May 2019 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35691@debbugs.gnu.org Cc: beebe@math.utah.edu X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155761707010490 (code B ref -1); Sat, 11 May 2019 23:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2019 23:24:30 +0000 Received: from localhost ([127.0.0.1]:41434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPbLx-0002j7-Rv for submit@debbugs.gnu.org; Sat, 11 May 2019 19:24:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPbLv-0002iv-IB for submit@debbugs.gnu.org; Sat, 11 May 2019 19:24:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:54783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPbLo-0002Mn-BK for submit@debbugs.gnu.org; Sat, 11 May 2019 19:24:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPbLn-0004Eb-3Z for bug-guix@gnu.org; Sat, 11 May 2019 19:24:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPbLk-0002L4-N2 for bug-guix@gnu.org; Sat, 11 May 2019 19:24:18 -0400 Received: from ipo5.cc.utah.edu ([155.97.144.30]:24258) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPbLi-0002IC-MU for bug-guix@gnu.org; Sat, 11 May 2019 19:24:16 -0400 X-IronPort-AV: E=Sophos;i="5.60,459,1549954800"; d="scan'208";a="357443178" Received: from mail.math.utah.edu ([155.101.98.135]) by ipo5smtp.cc.utah.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2019 17:24:11 -0600 Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id x4BNOAJt005243; Sat, 11 May 2019 17:24:10 -0600 (MDT) Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id x4BNOA3f078883; Sat, 11 May 2019 17:24:10 -0600 Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id x4BNOAs3078879; Sat, 11 May 2019 17:24:10 -0600 Date: Sat, 11 May 2019 17:24:10 -0600 From: "Nelson H. F. Beebe" X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Sat, 11 May 2019 17:24:10 -0600 (MDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 155.97.144.30 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I built a new virtual machine (VM) on 2-May-2019 from the newly-announced GUIX 1.0 release in the guix-system-install-1.0.0.x86_64-linux.iso image file. The VM runs on VirtManager (QEMU/KVM) on CentOS 7. I initially tried to select 3 desktop managers, but later in the installation, one of them died and the system could not recover, nor could it boot from the virtual disk. I tried again, choosing only xfce as the desktop manager, and that succeeded. Since them, I've been busy trying to understand the GUIX model of UNIX, and testing software installations with a goal to being able to announce a TeX Live 2019 port to GUIX 1.0 (I'm part of the TeX Live development team). My build reports for TeX Live appear here: http://www.math.utah.edu/pub/texlive-utah-2019/ On GUIX 1.0, I found that I could take arbitrary GNU packages (and many of my own) and invoke the usual commands tar xf FOO-x.y.z.tar.gz cd FOO-x.y.z ./configure && make all check && make install AS LONG AS I am logged in on a terminal window via ssh from another system. However, if I instead execute those commands remotely with % ssh guix10.vm.example.com 'cd FOO-x.y.z ; ./configure && make all check && make install' then the configure script fails like this: checking whether the C compiler works... no configure: error: in `/local/build/cc/dw-2.00': configure: error: C compiler cannot create executables See `config.log' for more details ... The config.log file contains these messages: ld: cannot find crt1.o: No such file or directory ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status In separate experiments, I verified that my shell enviroment (as reported by "env | sort") was the same in both cases. I then installed the strace package and ran % ssh guix10.vm.example.com 'cd FOO-x.y.z ; strace -f -o foo.strace ./configure' That identified the problem: % fgrep crt1.o foo.strace | grep 'lib.*crt' ... 28734 access("/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/libcrt1.o", R_OK) = -1 ENOENT (No such file or directory) There is a missing path separator in the word "libcrt1.o"; the correct file is this one: $ ls -l /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/crt1.o -r--r--r-- 2 root root 2024 Dec 31 1969 /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/crt1.o The bad pathname may be generated by GUIX's ld, but it is unclear to me why it works in an interactive login, but fails as shown in an ssh batch command execution. Until this problem is fixed, I cannot incorporate GUIX in my massive build farm testing on 250+ flavors of Unix that I routinely do for many GNU, and other, packages. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 May 2019 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155773332630273 (code B ref 35691); Mon, 13 May 2019 07:43:02 +0000 Received: (at 35691) by debbugs.gnu.org; 13 May 2019 07:42:06 +0000 Received: from localhost ([127.0.0.1]:43960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQ5b3-0007sC-Te for submit@debbugs.gnu.org; Mon, 13 May 2019 03:42:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQ5b1-0007rc-Nr for 35691@debbugs.gnu.org; Mon, 13 May 2019 03:42:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQ5aw-0001Tg-2C; Mon, 13 May 2019 03:41:58 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=41774 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQ5av-0001C1-Fl; Mon, 13 May 2019 03:41:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 13 May 2019 09:41:56 +0200 In-Reply-To: (Nelson H. F. Beebe's message of "Sat, 11 May 2019 17:24:10 -0600") Message-ID: <87r292vm0r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nelson, "Nelson H. F. Beebe" skribis: > However, if I instead execute those commands remotely with > > % ssh guix10.vm.example.com 'cd FOO-x.y.z ; ./configure && make all chec= k && make install' > > then the configure script fails like this: > > checking whether the C compiler works... no > configure: error: in `/local/build/cc/dw-2.00': > configure: error: C compiler cannot create executables > See `config.log' for more details > ... > > The config.log file contains these messages: > > ld: cannot find crt1.o: No such file or directory > ld: cannot find crti.o: No such file or directory > collect2: error: ld returned 1 exit status You need to install the =E2=80=98gcc-toolchain=E2=80=99 package, not just = =E2=80=98gcc=E2=80=99: https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.h= tml#The-GCC-toolchain I hope this helps! Thanks for testing, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 13 03:42:14 2019 Received: (at control) by debbugs.gnu.org; 13 May 2019 07:42:14 +0000 Received: from localhost ([127.0.0.1]:43963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQ5bC-0007sk-6O for submit@debbugs.gnu.org; Mon, 13 May 2019 03:42:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQ5bA-0007sM-3t for control@debbugs.gnu.org; Mon, 13 May 2019 03:42:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQ5b4-0001WX-VZ for control@debbugs.gnu.org; Mon, 13 May 2019 03:42:07 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=41776 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQ5b4-0001CU-EX for control@debbugs.gnu.org; Mon, 13 May 2019 03:42:06 -0400 Date: Mon, 13 May 2019 09:42:05 +0200 Message-Id: <87pnomvm0i.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #35691 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 35691 notabug close 35691 From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 May 2019 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155792540231605 (code B ref 35691); Wed, 15 May 2019 13:04:02 +0000 Received: (at 35691) by debbugs.gnu.org; 15 May 2019 13:03:22 +0000 Received: from localhost ([127.0.0.1]:51470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQtZ3-0008Dg-PM for submit@debbugs.gnu.org; Wed, 15 May 2019 09:03:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQtZ2-0008DO-BO for 35691@debbugs.gnu.org; Wed, 15 May 2019 09:03:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQtYx-0001Ea-1k; Wed, 15 May 2019 09:03:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42030 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQtYw-0002y8-AF; Wed, 15 May 2019 09:03:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?UTF-8?Q?Flor=C3=A9al?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 15 May 2019 15:03:11 +0200 In-Reply-To: (Nelson H. F. Beebe's message of "Tue, 14 May 2019 19:16:07 -0600") Message-ID: <87a7fnvpio.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nelson, "Nelson H. F. Beebe" skribis: > configure: error: C compiler cannot create executables > See `config.log' for more details What does =E2=80=98config.log=E2=80=99 show? What does =E2=80=98guix package --list-installed=E2=80=99 return? Please make sure that only =E2=80=98gcc-toolchain=E2=80=99 is in your profi= le, and not =E2=80=98gcc=E2=80=99. HTH! Ludo=E2=80=99. From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o References: Resent-From: "Nelson H. F. Beebe" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 May 2019 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: beebe@math.utah.edu Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155793698310723 (code B ref 35691); Wed, 15 May 2019 16:17:02 +0000 Received: (at 35691) by debbugs.gnu.org; 15 May 2019 16:16:23 +0000 Received: from localhost ([127.0.0.1]:53244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQwZn-0002mp-Ec for submit@debbugs.gnu.org; Wed, 15 May 2019 12:16:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQwZl-0002mc-5Y for 35691@debbugs.gnu.org; Wed, 15 May 2019 12:16:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQwZg-0000pt-2q for 35691@debbugs.gnu.org; Wed, 15 May 2019 12:16:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42150 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQwZf-0006k1-IT for 35691@debbugs.gnu.org; Wed, 15 May 2019 12:16:11 -0400 Resent-To: 35691@debbugs.gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Resent-Date: Wed, 15 May 2019 18:16:09 +0200 Resent-Message-ID: <87a7fnu20m.fsf@gnu.org> Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus 2.5.10-Debian-2.5.10-3.2) with LMTPA; Wed, 15 May 2019 16:27:30 +0200 X-Sieve: CMU Sieve 2.4 Received: by solo.fdn.fr (Postfix) id E063AD0F08; Wed, 15 May 2019 16:27:30 +0200 (CEST) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 98D88D0F03 for ; Wed, 15 May 2019 16:27:30 +0200 (CEST) Received: from fencepost.gnu.org ([2001:470:142:3::e]:57221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQusT-0006xE-HL for ludovic.courtes@fdn.fr; Wed, 15 May 2019 10:27:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42233) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQusS-0000LH-Lm for ludo@gnu.org; Wed, 15 May 2019 10:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQusR-0006um-AE for ludo@gnu.org; Wed, 15 May 2019 10:27:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from ipo0.cc.utah.edu ([155.97.144.59]:1686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQusR-0006tF-27 for ludo@gnu.org; Wed, 15 May 2019 10:27:27 -0400 X-IronPort-AV: E=Sophos;i="5.60,472,1549954800"; d="scan'208";a="228712123" Received: from mail.math.utah.edu ([155.101.98.135]) by ipo0smtp.cc.utah.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2019 08:27:24 -0600 Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id x4FERNAF026288; Wed, 15 May 2019 08:27:23 -0600 (MDT) Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id x4FERM24161818; Wed, 15 May 2019 08:27:22 -0600 Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id x4FERMDS161816; Wed, 15 May 2019 08:27:22 -0600 Date: Wed, 15 May 2019 08:27:22 -0600 From: "Nelson H. F. Beebe" X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: <87a7fnvpio.fsf@gnu.org> Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Wed, 15 May 2019 08:27:23 -0600 (MDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 155.97.144.59 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> ... >> > configure: error: C compiler cannot create executables >> > See `config.log' for more details >> >> What does config.log show? >> >> What does guix package --list-installed return? >> >> Please make sure that only gcc-toolchain in your profile, and not gcc. >> ... The config.log fragment is configure:2095: gcc -I${prefix}/include -I${prefix}/include -L/usr/uumath/lib64 -Wl,-rpath,/usr/uumath/lib64 conftest.c >&5 ld: cannot find crt1.o: No such file or directory ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status I tried guix remove gcc Same problem. I then did guix remove gcc-toolchain Same problem: there is still a gcc visible: /u/sy/beebe/.guix-profile/bin/gcc. The strace output shows that it tries to load .../libcrt1.o, instead of .../lib/crt1.o. Here is what I find about installed gcc-related packages: $ guix package --list-installed |grep gcc gccgo 4.9.4 out /gnu/store/7108fl31hfj9lb4y76g89sxdb43c1wpc-gccgo-4.9.4 gcc-objc 8.3.0 out /gnu/store/44r4xl10nmix25bv6bv974r280vc232c-gcc-objc-8.3.0 gcc-objc++ 8.3.0 out /gnu/store/wqycqqp4almqcmmsj7gys56lyk9girvq-gcc-objc++-8.3.0 gcc-bootstrap 0 out /gnu/store/fgarfy5392vz5hik1ag5b8ccv0r4cm01-gcc-bootstrap-0 gcc-toolchain 9.1.0 out /gnu/store/aqv6njg05w2yqh8krgrjy0wcbfxb4nn3-gcc-toolchain-9.1.0 Maybe it is related to another problem that I wanted to eventually raise on a guix list. Namely, after installing the new GUIX 1.0 VM, I found that /usr/bin, /usr/sbin, and /sbin do not exist, and /bin contains only /bin/sh. Even after numerous "guix install" runs, /bin continues to have only one entry. This seems bizarre, because it is long-standing practice that shell scripts should set PATH to a limited value to avoid trojan attacks, and things like "/bin/rm foo" should always work. On your GUIX systems, do you have a reasonably populated /bin? Ditto the other three. For reference, here is the system configuration: ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (operating-system (locale "en_US.utf8") (timezone "America/Denver") (keyboard-layout (keyboard-layout "us" "altgr-intl")) (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda") (keyboard-layout keyboard-layout))) (file-systems (cons* (file-system (mount-point "/") (device (uuid "a7e44cea-8fee-4431-9658-59644e18c9ec" 'ext4)) (type "ext4")) %base-file-systems)) (host-name "guix10.vm.math.utah.") ;; =========================================================== ;; [02-May-2019] Utah additions ;; After updating this file, run ;; guix system reconfigure /etc/config.scm ;; to propagate the changes into assorted system files. ;; =========================================================== ; (groups (cons* ; (user-group (name "beebe") (id 887)) ; (user-group (name "bowman") (id 888)) ; (user-group (name "sysstaff") (id 810)))) (users (cons* (user-account (name "x") (comment "X") (group "users") (home-directory "/home/x") (supplementary-groups '("wheel" "netdev" "audio" "video"))) (user-account (name "beebe") (comment "Nelson H F Beebe") (uid 887) (group "users") (home-directory "/u/sy/beebe") (supplementary-groups '("wheel" "netdev" "audio" "video"))) (user-account (name "bowman") (comment "Pieter Bowman") (uid 888) (group "users") (home-directory "/u/sy/bowman") (supplementary-groups '("wheel" "netdev" "audio" "video"))) (user-account (name "sysstaff") (comment "System Staff") (uid 810) (group "users") (home-directory "/u/sy/sysstaff") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (list (specification->package "nss-certs"))) (services (append (list (service xfce-desktop-service-type) (service openssh-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services)) ) ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 May 2019 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155793775911866 (code B ref 35691); Wed, 15 May 2019 16:30:02 +0000 Received: (at 35691) by debbugs.gnu.org; 15 May 2019 16:29:19 +0000 Received: from localhost ([127.0.0.1]:53254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQwmM-00035J-VI for submit@debbugs.gnu.org; Wed, 15 May 2019 12:29:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQwmM-000357-7j for 35691@debbugs.gnu.org; Wed, 15 May 2019 12:29:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQwmE-0004EX-RL; Wed, 15 May 2019 12:29:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42156 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQwmE-0003rW-4m; Wed, 15 May 2019 12:29:10 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?UTF-8?Q?Flor=C3=A9al?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 15 May 2019 18:29:06 +0200 In-Reply-To: (Nelson H. F. Beebe's message of "Wed, 15 May 2019 08:27:22 -0600") Message-ID: <87sgtfsmul.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nelson, (Please keep the bug Cc=E2=80=99d.) "Nelson H. F. Beebe" skribis: > Here is what I find about installed gcc-related packages: > > $ guix package --list-installed |grep gcc > gccgo 4.9.4 out /gnu/store/7108fl31hfj9lb4y76g89sxdb43c1wpc-gccg= o-4.9.4 > gcc-objc 8.3.0 out /gnu/store/44r4xl10nmix25bv6bv974r280vc2= 32c-gcc-objc-8.3.0 > gcc-objc++ 8.3.0 out /gnu/store/wqycqqp4almqcmmsj7gys56lyk9gi= rvq-gcc-objc++-8.3.0 > gcc-bootstrap 0 out /gnu/store/fgarfy5392vz5hik1ag5b8ccv0r4c= m01-gcc-bootstrap-0 > gcc-toolchain 9.1.0 out /gnu/store/aqv6njg05w2yqh8krgrjy0wcbfxb4= nn3-gcc-toolchain-9.1.0 It=E2=80=99s crowded here. Please remove everything but =E2=80=98gcc-toolc= hain=E2=80=99. Now, if you want to have Objective-C support, you of course have to install =E2=80=98gcc-objc=E2=80=99 and/or =E2=80=98gcc-objc++=E2=80=99. Ho= wever, you=E2=80=99ll have to make sure that they come after =E2=80=98gcc-toolchain=E2=80=99 in your profile, = like so: guix install gcc-toolchain gcc-objc > Maybe it is related to another problem that I wanted to eventually > raise on a guix list. Namely, after installing the new GUIX 1.0 VM, I > found that /usr/bin, /usr/sbin, and /sbin do not exist, and /bin > contains only /bin/sh. Even after numerous "guix install" runs, /bin > continues to have only one entry. Correct. > This seems bizarre, because it is long-standing practice that > shell scripts should set PATH to a limited value to avoid > trojan attacks, and things like "/bin/rm foo" should always work. The GNU build system purposefully makes no assumptions on the location of tools: =E2=80=98configure.ac=E2=80=99 files have AC_PROG_SED, AC_PATH_PR= OG, and similar calls. > On your GUIX systems, do you have a reasonably populated /bin? Ditto > the other three. No. By default, one gets /bin/sh, and nothing more. This is a radical departure from Unix tradition, but (1) GNU=E2=80=99s Not = Unix ;-), and (2) the lack of a global name space gives rise to many interesting properties: transactional upgrades and rollbacks are now possible, per-user profiles, on-the-fly environments with =E2=80=98guix environment=E2=80=99, etc. > (packages > (list (specification->package "nss-certs"))) Note that this is bogus, due to , which will be fixed in Guix=C2=A01.0.1 in the coming days. You should write: (packages (append (list (specification->package "nss-certs")) %base-packages)) to get the full set of =E2=80=9Cbase packages=E2=80=9D (Coreutils, grep, et= c.) in $PATH by default. Once you=E2=80=99ve made that change, you have to reconfigure your system: guix system reconfigure /etc/config.scm HTH! Thanks, Ludo=E2=80=99. From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o References: Resent-From: "Nelson H. F. Beebe" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 May 2019 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35691@debbugs.gnu.org, "Nelson H. F. Beebe" Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155796595325090 (code B ref 35691); Thu, 16 May 2019 00:20:02 +0000 Received: (at 35691) by debbugs.gnu.org; 16 May 2019 00:19:13 +0000 Received: from localhost ([127.0.0.1]:53690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR477-0006Wb-0W for submit@debbugs.gnu.org; Wed, 15 May 2019 20:19:13 -0400 Received: from ipo5.cc.utah.edu ([155.97.144.30]:42530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hR474-0006WT-RK for 35691@debbugs.gnu.org; Wed, 15 May 2019 20:19:11 -0400 X-IronPort-AV: E=Sophos;i="5.60,474,1549954800"; d="scan'208";a="358221492" Received: from mail.math.utah.edu ([155.101.98.135]) by ipo5smtp.cc.utah.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2019 18:19:09 -0600 Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id x4G0J7EL026586; Wed, 15 May 2019 18:19:07 -0600 (MDT) Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id x4G0J6Of064588; Wed, 15 May 2019 18:19:06 -0600 Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id x4G0J6MM064586; Wed, 15 May 2019 18:19:06 -0600 Date: Wed, 15 May 2019 18:19:06 -0600 From: "Nelson H. F. Beebe" X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe In-Reply-To: <87sgtfsmul.fsf@gnu.org> Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Wed, 15 May 2019 18:19:07 -0600 (MDT) X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) OK, I've made this change to /etc/config.scm ;; Old clause from GUIX 1.0 installation ;; (packages ;; (list (specification->package "nss-certs"))) ;; New clause suggested in e-mail from Ludo Cortes Wed, 15 May 2019 18:29:06 +0200 (packages (append (list (specification->package "nss-certs")) %base-packages)) and then ran % guix remove gccgo gcc-objc gcc-objc++ gcc-bootstrap % guix package --list-installed | grep gcc gcc-toolchain 9.1.0 out /gnu/store/aqv6njg05w2yqh8krgrjy0wcbfxb4nn3-gcc-toolchain-9.1.0 % sudo -s # guix system reconfigure /etc/config.scm # reboot 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. Can you folks reproduce that behavior at your end with the simple test bundle that I put up at http://www.math.utah.edu/~beebe/guix-bug.tar.gz ? ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - ------------------------------------------------------------------------------- From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 May 2019 09:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155800036729681 (code B ref 35691); Thu, 16 May 2019 09:53:01 +0000 Received: (at 35691) by debbugs.gnu.org; 16 May 2019 09:52:47 +0000 Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRD4B-0007if-BZ for submit@debbugs.gnu.org; Thu, 16 May 2019 05:52:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRD49-0007iT-Lr for 35691@debbugs.gnu.org; Thu, 16 May 2019 05:52:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRD44-00021G-3y; Thu, 16 May 2019 05:52:40 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40938 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hRD43-0004rz-OC; Thu, 16 May 2019 05:52:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?UTF-8?Q?Flor=C3=A9al?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 May 2019 11:52:36 +0200 In-Reply-To: (Nelson H. F. Beebe's message of "Wed, 15 May 2019 18:19:06 -0600") Message-ID: <87ef4yiv4r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nelson, "Nelson H. F. Beebe" skribis: > 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. I cannot reproduce the problem. With =E2=80=98guix environment=E2=80=99, a= s show below, I build an isolated environment that contains nothing but =E2=80=98gcc-toolchain=E2=80=99 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. This environment defines PATH, CPATH, and LIBRARY_PATH appropriately: --8<---------------cut here---------------start------------->8--- $ guix environment --ad-hoc -C gcc-toolchain grep coreutils [env]$ env | grep PATH CPATH=3D/gnu/store/26ng85mn5rs22cw654bvh62wh0yjx89h-profile/include LIBRARY_PATH=3D/gnu/store/26ng85mn5rs22cw654bvh62wh0yjx89h-profile/lib PATH=3D/gnu/store/26ng85mn5rs22cw654bvh62wh0yjx89h-profile/bin:/gnu/store/2= 6ng85mn5rs22cw654bvh62wh0yjx89h-profile/sbin --8<---------------cut here---------------end--------------->8--- Can you check the value of CPATH and LIBRARY_PATH in your user shell? What does =E2=80=98guix package --search-paths=E2=80=99 return? (See also the bits about search paths and ~/.guix-profile/etc/profile at .) HTH, Ludo=E2=80=99. From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 May 2019 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.15580127728580 (code B ref 35691); Thu, 16 May 2019 13:20:02 +0000 Received: (at 35691) by debbugs.gnu.org; 16 May 2019 13:19:32 +0000 Received: from localhost ([127.0.0.1]:54728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRGID-0002EI-Vo for submit@debbugs.gnu.org; Thu, 16 May 2019 09:19:32 -0400 Received: from ns13.heimat.it ([46.4.214.66]:38496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRGIB-0002E0-E6 for 35691@debbugs.gnu.org; Thu, 16 May 2019 09:19:28 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 6BB22300FB3; Thu, 16 May 2019 13:19:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UGFZ5mIz-CLS; Thu, 16 May 2019 13:19:02 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id EA197300FA3; Thu, 16 May 2019 13:19:01 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 72AB3300A04; Thu, 16 May 2019 15:18:59 +0200 (CEST) Received: (nullmailer pid 23128 invoked by uid 1000); Thu, 16 May 2019 13:18:58 -0000 From: Giovanni Biscuolo In-Reply-To: <87ef4yiv4r.fsf@gnu.org> Organization: Xelera.eu References: <87ef4yiv4r.fsf@gnu.org> Date: Thu, 16 May 2019 15:18:57 +0200 Message-ID: <87lfz6bkqm.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Nelson and Ludovic, AFAIU this is an environment issue=20 Ludovic Court=C3=A8s writes: > "Nelson H. F. Beebe" 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 ; ./co= nfigure && make all check && make install"' [...] > I cannot reproduce the problem. With =E2=80=98guix environment=E2=80=99,= as show below, > I build an isolated environment that contains nothing but > =E2=80=98gcc-toolchain=E2=80=99 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'. [...] =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzdY0IACgkQ030Op87M ORIzzhAA4Ny9k1g6/7urA77us6WxFY7+EuSQHuMrTuhde2ahi7tHpm+qCTN2fHjD NjRp/7epWLDr0YGuJN1jkGVc3seDTZT41hepsTgQ3HNJ/P3TUFI+uDcPj/wPHz8b b1OIDmv8SS+z+zBqyKd2BGY12ILOPJHP2iBnvukiaU2AF/9a7ZSmDZjKJEQdnBew ZCrRA5aV1nT+pfLvk8KyklHsCYEpP13aidepeUmmawcqOdCL+GXhDUKVbkIpkvXh +8/TL18L8mcnr8bpzSR5kLp2Aw9t0OdgMODpsVPMWoh8lrDbkADaYUjfF8UTH2Lr Up4oabNewSsV0ia45RqC/l+a/hI4auKC5tJfXpjChIdUWLYMkk1cMeD6H82hieSd nWAa56ks0w+y80+z8EGDJi7jnvW/rbAzUQgLSfDyWuBoaXwzF82QImggvyipPbU2 klEjAw/3Hkj9pJ09k9C8DX4aNP3P6u6sJgHTw9uHOrp9A03cPCL4dUoRvyVLVbgV YWPKEEdARu1K1CVkB/M5HwdtKc+Yy74IsW1pVV3hoejXCalyxqIrQUVPpsoVA6HP vKiS7adgHesyY96rfD0wSA6uDZRZYIe40kFZR5AWALCIa/wwWjmtUlMjFHVSdPdN aad8ylILej5IbzUotaoZrrLfhH0pv3dy4BN42QgQtZSTHcJoqxc= =pVkK -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:49:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 May 2019 01:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: notabug To: Nelson H. F. Beebe Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 35691@debbugs.gnu.org Received: via spool by 35691-submit@debbugs.gnu.org id=B35691.155805525226732 (code B ref 35691); Fri, 17 May 2019 01:08:01 +0000 Received: (at 35691) by debbugs.gnu.org; 17 May 2019 01:07:32 +0000 Received: from localhost ([127.0.0.1]:56857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRRLP-0006x6-O8 for submit@debbugs.gnu.org; Thu, 16 May 2019 21:07:31 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRRLN-0006ww-9U for 35691@debbugs.gnu.org; Thu, 16 May 2019 21:07:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1557998345; cv=none; d=zoho.com; s=zohoarc; b=crvkQhoFUO18zwNKmEs+NGquK5Ekaib6SZY5D8SloXjqrTnRYrwe5mBLVYA7B6g5Wc/NB33HetQG+k18mMNMKx1hRCqAFRr+TbyjU8bBEQ2coDbUphHwH20DzR7gbKPyH4EleQdTp04vPqKffODI/YLWeiOlwmPRNWSteXTLUHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557998345; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=kupqhfcy/1YQm++LaJ+MQ1eKCZAZIYH3NQOvbLRV9Xo=; b=Rf4D1FlZMN9Kts1WZsPcfSMAUpJjZo2SUalctSkIjkxJHxZmUQlvMLEzpxXrqqaHSMBOsZCbjhSQzFcqpzaJvHW8elRsJpyPGwNw8+cg0SYzx1g/N5N8h422ySo5fLxsHxXZNJ14HwlUDHIlhLDzhpOkk7KUpivClDGhy+rxMAc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1557998345; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1120; bh=kupqhfcy/1YQm++LaJ+MQ1eKCZAZIYH3NQOvbLRV9Xo=; b=d07L8GbfpEisX90McWXp4NKkAk/oZljFxa4Rpmuc7mL4PNbbZIj27uHY7+vNjXfl +LFmWOJKHh+vmDg/L0eNCMQ673Ofv5iXdDBP2tuWAv5//mPZJMMwBnKiJOnCyTSsWkg P+Kay6FNLHQRC6GfhSQwp0BbEk5OHlCL02eEsUWU= Received: from localhost (141.80.218.143 [141.80.218.143]) by mx.zohomail.com with SMTPS id 1557998344218589.4811350648239; Thu, 16 May 2019 02:19:04 -0700 (PDT) References: <87sgtfsmul.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 16 May 2019 11:18:54 +0200 Message-ID: <877eaqaha9.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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