From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30756: gcc7 doesn't find stdlib.h Date: Tue, 08 May 2018 15:21:28 +0200 Message-ID: <87h8ni471j.fsf@gnu.org> References: <87fu59zagv.fsf@gnu.org> <5212cd7e-5f52-2826-2f65-9b66af4e73ad@mortis.eu> <87d0ybvbep.fsf@gnu.org> <36478fc2-98e7-0ebd-9048-7193fd240f5c@mortis.eu> <87sh7393lo.fsf@gnu.org> <87k1sff3ek.fsf@netris.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]:54135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG2Z9-0005N3-Ap for bug-guix@gnu.org; Tue, 08 May 2018 09:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG2Z8-0005j3-Bz for bug-guix@gnu.org; Tue, 08 May 2018 09:22:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fG2Z8-0005iv-98 for bug-guix@gnu.org; Tue, 08 May 2018 09:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fG2Z8-0004rd-1A for bug-guix@gnu.org; Tue, 08 May 2018 09:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k1sff3ek.fsf@netris.org> (Mark H. Weaver's message of "Mon, 07 May 2018 19:32:19 -0400") 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: Mark H Weaver Cc: 30756@debbugs.gnu.org, Giel van Schijndel Hi Mark, Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> I pushed the patch as a stop-gap measure in >> 91a56b4ab5e714e230c0088fb9f5ce0519efe1a0. > > FYI, this did not fix the build failure of 'gjs' on core-updates. After > merging 'master' into my private branch based on 'core-updates', > including your commit above, I tried reverting the workarounds for 'gjs' > that I described earlier in this thread, except that I left 'gcc-7' in > the native-inputs. It failed with the same error as before. > > Looking at the full log, I see that in the 'set-paths' phase, although > 'CPATH' is now being set thanks to your commit above, 'C_INCLUDE_PATH' > and 'CPLUS_INCLUDE_PATH' are still being set as well. I guess this is > because gcc-final (based on gcc-5) is still included as an implicit > input for gnu-build-system. Yes, that=E2=80=99s what Giel reported as well, and Giel ended up having to explicitly unset the *_INCLUDE_PATH variables (which come from the implicit gcc@5 input, indeed.) Thanks for your feedback, Ludo=E2=80=99.