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