GNU bug report logs - #47693
[PATCH]: Use 'cc-for-target'.

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Sat, 10 Apr 2021 18:05:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: 47693 <at> debbugs.gnu.org
Subject: [bug#47693] [PATCH]: Use 'cc-for-target'.
Date: Sat, 10 Apr 2021 20:03:40 +0200
[Message part 1 (text/plain, inline)]
Hi Guix,

This patch series addressed some warnings generated by the linter defined
in #47676.  There will (presumably) be more patches along these lines
later.

These patches do *not* cause any rebuilds (except when cross-compiling),
as (string-append "CC=" (cc-for-target)) evaluates to "CC=gcc" when not
cross-compiling (this is evaluated from within Guix, not from in the build
container, so this doesn't cause a derivation change).

An exception is xssproxy, which needs to be rebuilt, due to nested usage of
quasiquote / unquote.  It can probably be worked-around but I don't think
it's worth it for a single package.

./pre-inst-env guix build guix still succeeds, and the derivation for guix
isn't even changed:

$./pre-inst-env guix weather guix
> computing 1 package derivations for x86_64-linux...
> looking for 1 store items on https://ci.guix.gnu.org...
> https://ci.guix.gnu.org
>   100.0% substitutes available (1 out of 1)
> [...]

Now running "./pre-inst-env guix pull --url=$PWD --profile=tmp-prof --disable-authentication --allow-downgrades --banch=BRANCH";
I'll let you know if this fails.

Greetings,
Maxime
[0016-gnu-emacs-xyz-Use-cc-for-target.patch (text/x-patch, attachment)]
[0015-gnu-endlessh-Use-cc-for-target.patch (text/x-patch, attachment)]
[0014-gnu-miniupnpc-Use-cc-for-target.patch (text/x-patch, attachment)]
[0013-gnu-nyancat-Use-cc-for-target.patch (text/x-patch, attachment)]
[0012-gnu-image-Use-cc-for-target.patch (text/x-patch, attachment)]
[0011-gnu-networking-Use-cc-for-target.patch (text/x-patch, attachment)]
[0010-gnu-image-viewers-Use-cc-for-target.patch (text/x-patch, attachment)]
[0009-gnu-cbatticon-Use-cc-for-target.patch (text/x-patch, attachment)]
[0008-gnu-xdisorg-Use-cc-for-target.patch (text/x-patch, attachment)]
[0007-gnu-pgpdump-Use-cc-for-target.patch (text/x-patch, attachment)]
[0006-gnu-fbida-Use-cc-for-target.patch (text/x-patch, attachment)]
[0005-gnu-cd-discid-Use-cc-for-target.patch (text/x-patch, attachment)]
[0004-gnu-lua-Use-cc-for-target.patch (text/x-patch, attachment)]
[0003-gnu-crypto-Use-cc-for-target.patch (text/x-patch, attachment)]
[0002-gnu-dev86-Use-cc-for-target.patch (text/x-patch, attachment)]
[0001-gnu-irc-Use-cc-for-target.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.