From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 30 11:30:22 2015 Received: (at submit) by debbugs.gnu.org; 30 Jan 2015 16:30:22 +0000 Received: from localhost ([127.0.0.1]:58236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHESc-0007Gg-Am for submit@debbugs.gnu.org; Fri, 30 Jan 2015 11:30:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46257) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHESZ-0007GS-Qy for submit@debbugs.gnu.org; Fri, 30 Jan 2015 11:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHEST-0005Uy-BP for submit@debbugs.gnu.org; Fri, 30 Jan 2015 11:30:14 -0500 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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEST-0005Uu-91 for submit@debbugs.gnu.org; Fri, 30 Jan 2015 11:30:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHESR-00060m-Rn for bug-guix@gnu.org; Fri, 30 Jan 2015 11:30:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHESO-0005Ti-Mz for bug-guix@gnu.org; Fri, 30 Jan 2015 11:30:11 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:45751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHESO-0005Sl-HR for bug-guix@gnu.org; Fri, 30 Jan 2015 11:30:08 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 21FDA38074F for ; Fri, 30 Jan 2015 17:30:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s=mdc; t= 1422635401; x=1424449802; bh=qMIMyTwrwBXazKKYPEN2i1iUUbpz9MUWpqU 0SMqWPpg=; b=EEnGd2jA+12DCdMFOTkDPvw/LCD/5AcsgJnlqJQLaHfssqLfMED /3KfRZCw2I4S9Wd4uZaTrdv8Uck5viq5SplSkTNQfwK65PlwizWQmPAzvbwKvVFT SeGh1FRSeIzR4p/DBnfBnd2CZU5hLoc7VMy36kyMYtFpD/OxaW0g+oCg= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sFvY6ORq1Ksq for ; Fri, 30 Jan 2015 17:30:01 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Fri, 30 Jan 2015 17:30:01 +0100 (CET) Received: from localhost (141.80.180.135) by HTCATWO.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.210.2; Fri, 30 Jan 2015 17:30:00 +0100 From: Ricardo Wurmus To: Subject: disfunctional gcc binary when GCJ or gfortran is installed Date: Fri, 30 Jan 2015 17:30:00 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-10.0.0.4211-7.500.1017-21292.007 X-TM-AS-Result: No--5.381200-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Hi Guix, installing the gcj or the gfortran package, my profile's /bin directory gets a gcc link. If I use Guix as a package manager on top of another system that has a working installation of the GNU C compiler and my profile bin path has preference to all other items in PATH, then I end up with a disfunctional gcc binary. gcj as well as gfortran come with a couple of binaries (gcc, gcc-ar, etc) that do not constitute a working C compiler. Trying to build an application with ./configure make sudo make install "configure" complains about gcc not being able to compile C code. Other distributions seem to remove common binaries like gcc, gcc-ar, etc from their gfortran packages and it seems that we should too in order to avoid conflicts. It seems that neither gfortran nor gcj actually need these binaries to function. Should we add another phase to the definitions of "custom-gcc" and "gcj" to remove these binaries? ~~ Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 05:44:22 2015 Received: (at 19733) by debbugs.gnu.org; 13 Oct 2015 09:44:22 +0000 Received: from localhost ([127.0.0.1]:37794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlw86-0005wL-44 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 05:44:22 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:57946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlw84-0005wC-Mi for 19733@debbugs.gnu.org; Tue, 13 Oct 2015 05:44:21 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 22B88380635 for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=mdc; t=1444729444; x=1446543845; bh=tNoypN FZsy2b960ybAiU5DPiKdSxhiwRy2IvbJCacDo=; b=sCGkSuAmKc97HG1oBskBTw w/AzkBpNvRb3fX2/5S/tR9JiDon2kaApxkJGNI25cIo8bWxB+W0VUFAbnn4vqtLA xZqeEHMh5C/TjPmcBhp+jWnguVcvnw67CXd1G+a0BsFYBoXHSBxwYv4d9sPgCuKH bYV+4Vt05XudqocWl2yBQ= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SacQVsZvlSx2 for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:04 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:04 +0200 (CEST) Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 13 Oct 2015 11:44:03 +0200 From: Ricardo Wurmus To: <19733@debbugs.gnu.org> Subject: disfunctional gcc binary when GCJ or gfortran is installed Date: Tue, 13 Oct 2015 11:44:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-10.0.0.4211-7.500.1018-21876.005 X-TM-AS-Result: No--1.575900-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Commit 5f6887e8 fixes this for GCJ, but we still have this problem for all variants of gfortran, gcc-objc, and gccgo, all of which are built using the ‘custom-gcc’ procedure. It’s probably safe to add a build phase like this to ‘custom-gcc’: (add-after 'install 'remove-broken-or-conflicting-files (lambda* (#:key outputs #:allow-other-keys) (for-each delete-file (find-files (string-append (assoc-ref outputs "out") "/bin") ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) #t)) ~~ Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 10:22:25 2015 Received: (at 19733) by debbugs.gnu.org; 13 Oct 2015 14:22:25 +0000 Received: from localhost ([127.0.0.1]:38845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm0TB-0007aF-0T for submit@debbugs.gnu.org; Tue, 13 Oct 2015 10:22:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41065) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm0T8-0007a7-Tq for 19733@debbugs.gnu.org; Tue, 13 Oct 2015 10:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm0T5-0007MR-Nh for 19733@debbugs.gnu.org; Tue, 13 Oct 2015 10:22:22 -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.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm0T5-0007MN-Kx; Tue, 13 Oct 2015 10:22:19 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:46076 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Zm0T4-0004qQ-M0; Tue, 13 Oct 2015 10:22:19 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vend=C3=A9miaire?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Tue, 13 Oct 2015 16:22:16 +0200 In-Reply-To: (Ricardo Wurmus's message of "Tue, 13 Oct 2015 11:44:03 +0200") Message-ID: <87wpuqonl3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 Cc: 19733@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Ricardo Wurmus skribis: > Commit 5f6887e8 fixes this for GCJ, but we still have this problem for > all variants of gfortran, gcc-objc, and gccgo, all of which are built > using the =E2=80=98custom-gcc=E2=80=99 procedure. > > It=E2=80=99s probably safe to add a build phase like this to =E2=80=98cus= tom-gcc=E2=80=99: > > (add-after 'install 'remove-broken-or-conflicting-files > (lambda* (#:key outputs #:allow-other-keys) > (for-each delete-file > (find-files (string-append (assoc-ref outputs "out") "/bin") > ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) > #t)) Sounds like it should work. The pattern should also include =E2=80=98gcov= =E2=80=99. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 19 12:52:23 2015 Received: (at 19733) by debbugs.gnu.org; 19 Dec 2015 17:52:23 +0000 Received: from localhost ([127.0.0.1]:57176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aALg7-0008Qy-GL for submit@debbugs.gnu.org; Sat, 19 Dec 2015 12:52:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37703) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aALg6-0008Ql-8O for 19733@debbugs.gnu.org; Sat, 19 Dec 2015 12:52:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aALfx-0007QS-Q4 for 19733@debbugs.gnu.org; Sat, 19 Dec 2015 12:52:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aALfx-0007QO-MX; Sat, 19 Dec 2015 12:52:13 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:55188 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aALfx-0004oC-47; Sat, 19 Dec 2015 12:52:13 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed References: <87wpuqonl3.fsf@gnu.org> Date: Sat, 19 Dec 2015 18:52:10 +0100 In-Reply-To: <87wpuqonl3.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 13 Oct 2015 16:22:16 +0200") Message-ID: <87si2yxr5h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 Cc: 19733@debbugs.gnu.org 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: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Ricardo Wurmus skribis: > >> Commit 5f6887e8 fixes this for GCJ, but we still have this problem for >> all variants of gfortran, gcc-objc, and gccgo, all of which are built >> using the =E2=80=98custom-gcc=E2=80=99 procedure. >> >> It=E2=80=99s probably safe to add a build phase like this to =E2=80=98cu= stom-gcc=E2=80=99: >> >> (add-after 'install 'remove-broken-or-conflicting-files >> (lambda* (#:key outputs #:allow-other-keys) >> (for-each delete-file >> (find-files (string-append (assoc-ref outputs "out") "/bin") >> ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) >> #t)) > > Sounds like it should work. The pattern should also include =E2=80=98gco= v=E2=80=99. Could you give it a try? Ludo=E2=80=99, trying to tidy up the bug database. :-) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 10:39:02 2015 Received: (at 19733) by debbugs.gnu.org; 21 Dec 2015 15:39:02 +0000 Received: from localhost ([127.0.0.1]:59008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2YA-0001Ys-CJ for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:39:02 -0500 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:51212) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2Y7-0001YR-LQ for 19733@debbugs.gnu.org; Mon, 21 Dec 2015 10:39:00 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP id A06812809CE; Mon, 21 Dec 2015 16:38:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :references:received:received:received; s=mdc; t=1450712332; x= 1452526733; bh=nTXvALdp8dUL2AyrRPRtTsp+d4xoTL2vrvzuaaQMidA=; b=S u1FE+YqNZipqNwqp+ezkekHRxXrxxX4FuYklhb5pJOcrgkfS+tJaF3p6IV8GuXHO LBQaW/fC8AJbcEuPohjIXs+AnYK+tyDZC1adFItEFpgBK7nF55mjVzcMH2MZF8HD YS/IG+1AJAx+8PRh71cDzdsjJHOZRZ//C51nGc3j4g= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5YDHjUXDHlGE; Mon, 21 Dec 2015 16:38:52 +0100 (CET) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP; Mon, 21 Dec 2015 16:38:52 +0100 (CET) Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 21 Dec 2015 16:38:51 +0100 References: <87wpuqonl3.fsf@gnu.org> <87si2yxr5h.fsf@gnu.org> From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed In-Reply-To: <87si2yxr5h.fsf@gnu.org> Date: Mon, 21 Dec 2015 16:38:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-11.0.0.4255-8.000.1202-22014.007 X-TM-AS-Result: No--2.394200-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 Cc: 19733@debbugs.gnu.org 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: -5.0 (-----) Ludovic Courtès writes: > ludo@gnu.org (Ludovic Courtès) skribis: > >> Ricardo Wurmus skribis: >> >>> Commit 5f6887e8 fixes this for GCJ, but we still have this problem for >>> all variants of gfortran, gcc-objc, and gccgo, all of which are built >>> using the ‘custom-gcc’ procedure. >>> >>> It’s probably safe to add a build phase like this to ‘custom-gcc’: >>> >>> (add-after 'install 'remove-broken-or-conflicting-files >>> (lambda* (#:key outputs #:allow-other-keys) >>> (for-each delete-file >>> (find-files (string-append (assoc-ref outputs "out") "/bin") >>> ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) >>> #t)) >> >> Sounds like it should work. The pattern should also include ‘gcov’. > > Could you give it a try? > > Ludo’, trying to tidy up the bug database. :-) Wouldn’t this cause a rebuild of a very large number of packages? Should I push the above (with ‘gcov’ added to the pattern) to a wip branch? ~~ Ricardo From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 16:30:45 2015 Received: (at 19733) by debbugs.gnu.org; 21 Dec 2015 21:30:45 +0000 Received: from localhost ([127.0.0.1]:59148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB82W-0001Fp-Vb for submit@debbugs.gnu.org; Mon, 21 Dec 2015 16:30:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42914) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB82V-0001Fb-2S for 19733@debbugs.gnu.org; Mon, 21 Dec 2015 16:30:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB82M-0004VO-AP for 19733@debbugs.gnu.org; Mon, 21 Dec 2015 16:30:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB82M-0004VG-2h; Mon, 21 Dec 2015 16:30:34 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:49760 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB82L-0000Ds-Hk; Mon, 21 Dec 2015 16:30:33 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed References: <87wpuqonl3.fsf@gnu.org> <87si2yxr5h.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?utf-8?Q?Niv=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Mon, 21 Dec 2015 22:30:31 +0100 In-Reply-To: (Ricardo Wurmus's message of "Mon, 21 Dec 2015 16:38:51 +0100") Message-ID: <874mfbij60.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 Cc: 19733@debbugs.gnu.org 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: -5.0 (-----) Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >> >>> Ricardo Wurmus skribis: >>> >>>> Commit 5f6887e8 fixes this for GCJ, but we still have this problem for >>>> all variants of gfortran, gcc-objc, and gccgo, all of which are built >>>> using the =E2=80=98custom-gcc=E2=80=99 procedure. >>>> >>>> It=E2=80=99s probably safe to add a build phase like this to =E2=80=98= custom-gcc=E2=80=99: >>>> >>>> (add-after 'install 'remove-broken-or-conflicting-files >>>> (lambda* (#:key outputs #:allow-other-keys) >>>> (for-each delete-file >>>> (find-files (string-append (assoc-ref outputs "out") "/bin") >>>> ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) >>>> #t)) >>> >>> Sounds like it should work. The pattern should also include =E2=80=98g= cov=E2=80=99. >> >> Could you give it a try? >> >> Ludo=E2=80=99, trying to tidy up the bug database. :-) > > Wouldn=E2=80=99t this cause a rebuild of a very large number of packages? --8<---------------cut here---------------start------------->8--- $ GUIX_PACKAGE_PATH=3D guix refresh -l -e '(@@ (gnu packages gcc) gfortran)' Building the following 57 packages would ensure 144 dependent packages are = rebuilt: bless-1p02 fftw-openmpi-3.3.4 mumps-metis-5.0.1 mumps-5.0.1 r-grid= base-0.4-7 r-plotrix-3.6 r-servr-0.2 r-htmlwidgets-0.5 r-readr-0.2.2 r-latt= ice-0.20-33 r-data-table-1.9.6 r-dplyr-0.4.3 r-devtools-1.9.1 python2-rpy2-= 2.6.0 python-rpy2-2.6.0 r-qtl-1.37-11 rsem-1.2.20 python-ipython-3.2.1 pyth= on-numexpr-2.4.4 python-h5py-2.4.0 python-biopython-1.66 python-statsmodels= -0.6.1 python-scikit-learn-0.16.1 python-scikit-image-0.11.3 python-seaborn= -0.5.1 idr-2.0.0 python2-scikit-image-0.11.3 python2-numexpr-2.4.4 python2-= statsmodels-0.6.1 python2-seaborn-0.5.1 python2-ipython-3.2.1 enblend-enfus= e-4.1.3 libreoffice-5.0.3.2 macs-2.1.0.20140616 rseqc-2.6.1 crossmap-0.2.1 = deeptools-1.5.11 miso-0.5.3 grit-2.0.2 seqmagick-0.6.1 clipper-0.3.0 python= 2-warpedlmm-0.21 pbtranscript-tofu-2.2.3.8f5467fe6 superlu-dist-3.3 gmsh-2.= 8.4 mumps-openmpi-5.0.1 slepc-complex-openmpi-3.6.2 plink-1.07 apl-1.5 deal= ii-openmpi-8.2.1 dealii-8.2.1 flann-1.8.4 slepc-complex-3.6.2 slepc-3.6.2 s= hogun-4.0.0 couger-1.8.2 julia-0.3.10 $ GUIX_PACKAGE_PATH=3D guix refresh -l gfortran gccgo gcc-objc gcc-objc++=20 No dependents other than themselves: gcc-objc++-4.8.5 gcc-objc-4.8.5 gccgo-= 4.8.5 gfortran-5.3.0 --8<---------------cut here---------------end--------------->8--- So that=E2=80=99s mostly several GCC rebuilds and a LibreOffice rebuild. I think it=E2=80=99s not unreasonable to do on =E2=80=98master=E2=80=99 once = =E2=80=98security-updates=E2=80=99 has been merged (hopefully soon.) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 10 01:29:54 2016 Received: (at 19733-done) by debbugs.gnu.org; 10 Mar 2016 06:29:54 +0000 Received: from localhost ([127.0.0.1]:42176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adu6c-0003Mg-4N for submit@debbugs.gnu.org; Thu, 10 Mar 2016 01:29:54 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:25478) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adu6a-0003MY-K3 for 19733-done@debbugs.gnu.org; Thu, 10 Mar 2016 01:29:53 -0500 Received: from localhost (x4d0c9a90.dyn.telefonica.de [77.12.154.144]) by mx.zohomail.com with SMTPS id 1457591390679264.25983124313166; Wed, 9 Mar 2016 22:29:50 -0800 (PST) User-agent: mu4e 0.9.13; emacs 24.5.1 From: Ricardo Wurmus To: 19733-done@debbugs.gnu.org Subject: disfunctional gcc binary when GCJ or gfortran is installed Date: Thu, 10 Mar 2016 07:29:46 +0100 Message-ID: <87d1r2x2ud.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-Zoho-Virus-Status: 1 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19733-done 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 (+) Fixed with 82f145ef7aef8f4d28a144ee8efcadf3fdd4b877 From unknown Sun Jun 22 17:17:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 Apr 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator