bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29644: gcc-objc is unusable without its 'gcc' executable.


From: Maxime Devos
Subject: bug#29644: gcc-objc is unusable without its 'gcc' executable.
Date: Sat, 26 Mar 2022 13:29:39 +0100
User-agent: Evolution 3.38.3-1

Zhu Zihao schreef op za 26-03-2022 om 18:53 [+0800]:
> `LANG=C gcc hello.m -o hello` complains that Objective-C compiler is
> not installed.

I noticed the output of "guix build gcc-objc" does not contain any
binaries in 'bin' and neither does there appear to be some objc shared
library.  I guess this is caused by the following line:

           (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\\+\\+|gcov|gcc|lto)(-
.*)?$"))))))))))


I'm wondering if any of the following commits fix or break things:

  * 5318bade32e2a3a801e838286439074aeaf1e3c7
    (this one modified the regex)
  * a159586f8ae4db8a0fcf608b411f962817c3db60
    (the commit before)
  * 82f145ef7aef8f4d28a144ee8efcadf3fdd4b877 
    (this one introduced the phase)
  * ce6027bf43210d0b68bb26dbf110ca6c47aa8478
    (the commit before)

Make sure to run this in an environment "guix environment --pure --ad-hoc 
gcc-objc"
(*) without the "gcc" package, to avoid the gcc package overriding the
hypothetical gcc from the "gcc-objc" package.

Or maybe some plugin architecture is used, I don't know..

Greetings,
Maxime.

(*) some of these commits are from before the introduction of "guix shell"

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]