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


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: 19733 <at> debbugs.gnu.org
Subject: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed
Date: Sat, 19 Dec 2015 18:52:10 +0100
ludo <at> gnu.org (Ludovic Courtès) skribis:

> 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’.

Could you give it a try?

Ludo’, trying to tidy up the bug database.  :-)




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.