From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed Date: Tue, 13 Oct 2015 16:22:16 +0200 Message-ID: <87wpuqonl3.fsf@gnu.org> References: 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]:51281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm0Tq-0006au-9a for bug-guix@gnu.org; Tue, 13 Oct 2015 10:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm0Tm-0007Xu-Fi for bug-guix@gnu.org; Tue, 13 Oct 2015 10:23:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm0Tm-0007Xi-DM for bug-guix@gnu.org; Tue, 13 Oct 2015 10:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zm0Tm-0007b7-3O for bug-guix@gnu.org; Tue, 13 Oct 2015 10:23:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Ricardo Wurmus's message of "Tue, 13 Oct 2015 11:44:03 +0200") 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: Ricardo Wurmus Cc: 19733@debbugs.gnu.org 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.