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: Sat, 19 Dec 2015 18:52:10 +0100 Message-ID: <87si2yxr5h.fsf@gnu.org> References: <87wpuqonl3.fsf@gnu.org> 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]:57017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aALgn-00044c-GH for bug-guix@gnu.org; Sat, 19 Dec 2015 12:53:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aALgk-0007Ud-6C for bug-guix@gnu.org; Sat, 19 Dec 2015 12:53:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aALgk-0007UZ-2v for bug-guix@gnu.org; Sat, 19 Dec 2015 12:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aALgj-0008Rt-UW for bug-guix@gnu.org; Sat, 19 Dec 2015 12:53:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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") 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 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. :-)