all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Zhu Zihao <all_but_last@163.com>
Cc: 29644@debbugs.gnu.org
Subject: bug#29644: gcc-objc is unusable without its 'gcc' executable.
Date: Sat, 26 Mar 2022 13:29:39 +0100	[thread overview]
Message-ID: <7a2e94861fbfbf9364250f63ff671efbc86ffb71.camel@telenet.be> (raw)
In-Reply-To: <861qypx9bd.fsf@163.com>

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-03-26 12:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 14:26 bug#29644: gcc-objc is unusable without its 'gcc' executable 宋文武
2017-12-10 18:49 ` Ricardo Wurmus
2022-03-26  5:49 ` Zhu Zihao
2022-03-26 10:16   ` Maxime Devos
2022-03-26 10:53     ` Zhu Zihao
2022-03-26 12:29       ` Maxime Devos [this message]
2022-03-26 14:14         ` Zhu Zihao
2022-03-26 14:50           ` Maxime Devos
2023-09-02 21:01 ` Vivien Kraus via Bug reports for GNU Guix
2023-11-06  8:55   ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a2e94861fbfbf9364250f63ff671efbc86ffb71.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=29644@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.