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 #8 received at 19733 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <19733 <at> debbugs.gnu.org>
Subject: disfunctional gcc binary when GCJ or gfortran is installed 
Date: Tue, 13 Oct 2015 11:44:03 +0200
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




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.