GNU bug report logs - #19733
disfunctional gcc binary when GCJ or gfortran is installed

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Fri, 30 Jan 2015 16:31:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 19733 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: 19733 <at> debbugs.gnu.org
Subject: Re: bug#19733: disfunctional gcc binary when GCJ or gfortran is
 installed
Date: Tue, 13 Oct 2015 16:22:16 +0200
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> 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 ‘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))

Sounds like it should work.  The pattern should also include ‘gcov’.

Ludo’.




This bug report was last modified 9 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.