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: Tue, 13 Oct 2015 11:44:03 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlw8q-0003q8-EA for bug-guix@gnu.org; Tue, 13 Oct 2015 05:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlw8l-0002Ra-BH for bug-guix@gnu.org; Tue, 13 Oct 2015 05:45:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlw8l-0002RI-4U for bug-guix@gnu.org; Tue, 13 Oct 2015 05:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zlw8k-0005xQ-JF for bug-guix@gnu.org; Tue, 13 Oct 2015 05:45:02 -0400 In-Reply-To: Sender: "Debbugs-submit" Resent-Message-ID: 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 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