From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#19733: 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 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHETM-00066I-Ij for bug-guix@gnu.org; Fri, 30 Jan 2015 11:31:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHETG-0005iS-MY for bug-guix@gnu.org; Fri, 30 Jan 2015 11:31:08 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:38763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHETG-0005i9-Ip for bug-guix@gnu.org; Fri, 30 Jan 2015 11:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YHETG-0007Hf-A7 for bug-guix@gnu.org; Fri, 30 Jan 2015 11:31:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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) 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) 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 19733@debbugs.gnu.org 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