From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 08:29:49 2022 Received: (at 29644) by debbugs.gnu.org; 26 Mar 2022 12:29:49 +0000 Received: from localhost ([127.0.0.1]:53238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY5YD-0003x0-I9 for submit@debbugs.gnu.org; Sat, 26 Mar 2022 08:29:49 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:53484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY5YB-0003wq-NB for 29644@debbugs.gnu.org; Sat, 26 Mar 2022 08:29:48 -0400 Received: from [172.20.10.9] ([213.119.160.242]) by baptiste.telenet-ops.be with bizsmtp id B0Vk2700C5E5NyV010Vld5; Sat, 26 Mar 2022 13:29:45 +0100 Message-ID: <7a2e94861fbfbf9364250f63ff671efbc86ffb71.camel@telenet.be> Subject: Re: bug#29644: gcc-objc is unusable without its 'gcc' executable. From: Maxime Devos To: Zhu Zihao Date: Sat, 26 Mar 2022 13:29:39 +0100 In-Reply-To: <861qypx9bd.fsf@163.com> References: <87k1xuhd63.fsf@member.fsf.org> <86pmm91ctl.fsf@163.com> <861qypx9bd.fsf@163.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-HjtUTMuneBXj57+9aC7e" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648297785; bh=59lVWqrC/h3ZCDHSS3mc7OScMF46HMQFaxxaaAjLovc=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=cnJucnaEvgH6Yn/mYLaZflX1SqKBCn8dEQ4l+MTjUL90d/zTmtmSXW4Bqmv1+9Hdf +ApQhag7BWd2m2OwEBlgquKOFxdh+/q1aO97wbADF4r33vQKMXqxqmlJDp9UMIe+kI 7JdVp+7xWgLi8Z4u22+Ha7kkeu1YOGPPHzB8/eWROMWplyyJ2/3FUT2L3csGtyUSpq SahSNL0gxPALN0gdA8NzTbxjk63eWphb50Zs8b43MyboPe7tDJGiGGAMo1s2G0JnKi VbRvGwna/snX9gEOG/EqnKLvBoqUQPmWyMEzZ2s7/fuK/zgP8SdS+KUjww2rjejSok 2yetPanHvAf0Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29644 Cc: 29644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-HjtUTMuneBXj57+9aC7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Zhu Zihao schreef op za 26-03-2022 om 18:53 [+0800]: > `LANG=3DC 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=20 (this one introduced the phase) * ce6027bf43210d0b68bb26dbf110ca6c47aa8478 (the commit before) Make sure to run this in an environment "guix environment --pure --ad-hoc g= cc-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" --=-HjtUTMuneBXj57+9aC7e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj8HMxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mmpAQDbHqUcaH1PqeEHm2CJS4LjMZzT s4zxXMKALDco1LHZ/wD/ftgvbstSHOC5ajIIAPOtxjg/K3diYoV5/g7DBat+4wE= =rx5C -----END PGP SIGNATURE----- --=-HjtUTMuneBXj57+9aC7e--