From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23376: Bootstrap failure on'binutils-cross-boot0-2.25.1: cannot find -lstdc++ Date: Tue, 03 May 2016 22:21:22 +0200 Message-ID: <87h9eeki4d.fsf@gnu.org> References: <87r3dte4kx.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 ([2001:4830:134:3::10]:42369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axgpl-0006fP-95 for bug-guix@gnu.org; Tue, 03 May 2016 16:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axgpZ-0004ry-IW for bug-guix@gnu.org; Tue, 03 May 2016 16:22:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axgpZ-0004ql-EY for bug-guix@gnu.org; Tue, 03 May 2016 16:22:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axgpW-0000rR-39 for bug-guix@gnu.org; Tue, 03 May 2016 16:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87r3dte4kx.fsf@gnu.org> (Roel Janssen's message of "Mon, 25 Apr 2016 23:55:26 +0200") 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: Roel Janssen Cc: 23376@debbugs.gnu.org Roel Janssen skribis: > In an attempt to bootstrap Guix, I repeatedly encounter the same error. > I attached the last 5000 lines of the build output of the command: > guix build bootstrap-tarballs > > When running the daemon, I used the following environment variables: > NIX_STORE_DIR=3D/hpc/store > NIX_CONF_DIR=3D/hpc/etc/guix > NIX_STATE_DIR=3D/hpc/var/guix > NIX_LOG_DIR=3D/hpc/log And TMPDIR? (For recent versions of guix-daemon, TMPDIR has no effect on the build chroot. I assume this uses a recent guix-daemon.) Note that these environment variables are undocumented; use at your own risks. :-) > The same environment variables (and values) were set when running the > guix build command. > > What am I doing that causes the build to fail? Did you pass the --disable-chroot or --chroot-directory options of guix-daemon? The log you sent suggests a failure to build (@@ (gnu packages commencement) gcc-final) because the directory is called =E2=80=9Cgcc-4.9.3= =E2=80=9D, not =E2=80=9Cgcc-cross-boot0-4.9.3=E2=80=9D. However, it also shows that binutils-cross-boot0 is used, which is not the case for =E2=80=98gcc-final= =E2=80=99. What Guix commit are you using? Could you identify more precisely what=E2=80=99s failing to build? For instance, you can run: guix build -e '(@@ (gnu packages commencement) gcc-boot0)' guix build -e '(@@ (gnu packages commencement) gcc-final)' Thanks in advance, Ludo=E2=80=99.