From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Fn/5IPsat14bbQAA0tVLHw (envelope-from ) for ; Sat, 09 May 2020 21:04:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CKG+Lggbt140PwAA1q6Kng (envelope-from ) for ; Sat, 09 May 2020 21:05:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A0B994030E for ; Sat, 9 May 2020 21:05:10 +0000 (UTC) Received: from localhost ([::1]:45594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXWej-0005ZP-RY for larch@yhetil.org; Sat, 09 May 2020 17:05:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXWec-0005Xm-2t for guix-patches@gnu.org; Sat, 09 May 2020 17:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXWeb-0005Si-P7 for guix-patches@gnu.org; Sat, 09 May 2020 17:05:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXWeb-0000id-JF for guix-patches@gnu.org; Sat, 09 May 2020 17:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41150] [PATCH] gnu: Add powerstat. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 May 2020 21:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jean-Baptiste Note Cc: othacehe@gnu.org, 41150@debbugs.gnu.org X-Debbugs-Original-Cc: Mathieu Othacehe , 41150@debbugs.gnu.org, Tobias Geerinckx-Rice via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.15890582572677 (code B ref -1); Sat, 09 May 2020 21:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2020 21:04:17 +0000 Received: from localhost ([127.0.0.1]:48483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXWdt-0000h7-DQ for submit@debbugs.gnu.org; Sat, 09 May 2020 17:04:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:49548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXWdr-0000gz-GV for submit@debbugs.gnu.org; Sat, 09 May 2020 17:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXWdr-0004zP-A4 for guix-patches@gnu.org; Sat, 09 May 2020 17:04:15 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:50286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXWdp-0004dA-Sd; Sat, 09 May 2020 17:04:14 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f2a2d7ea; Sat, 9 May 2020 21:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=JYqoR7ZFz+Pizb97dOoIpB pP3hxodTnzS+qOs5TOv3A=; b=BsBHGHQhDfu1c2YfnJ36aTZ5IfZS+KzzodJ/sA bfqU1I+S0CBBIHwC/WM5yeQlUkWieyyFhq/UTK6BksA7Z5xO3dJWH9TNYB8tmKeK Jr518oP00T/p4cEudjjLnJRutq/F3cpIvxcEh2uZHP1V5BTnaFKWaEJNa3ncm/QM uRpbw3CzfFDLJ6byvSXeFAMTMSWBjbwTMWwy706Vi03hWHcBpXu4z7RCMwVDRPtc WKD7PWaNRffUQkzdF0UfsgToqXLgvGxLSiNdv4X2bHOKAaYLsCv27XHj9cn43OC4 paWAK+SaEQesymX2D9sxTgkkbPFz7Kuv2sMl2iDFOSm9voQQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 78360fb7 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 9 May 2020 21:04:09 +0000 (UTC) References: <20200509151509.11424-1-me@tobias.gr> <87y2q1yrd7.fsf@gnu.org> <87ftc9ovz4.fsf@nckx> <875zd47u57.fsf@m4x.org> In-reply-to: <875zd47u57.fsf@m4x.org> Date: Sat, 09 May 2020 23:04:08 +0200 Message-ID: <873688q0qf.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Scanner: scn0 X-Spam-Score: -0.11 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=BsBHGHQh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-0.11 / 13.00]; HAS_REPLYTO(0.00)[me@tobias.gr]; GENERIC_REPUTATION(0.00)[-0.53996435522685]; MX_INVALID(1.00)[cached]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[tobias.gr:s=2018]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.09), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DKIM_TRACE(0.00)[tobias.gr:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[guix-patches@gnu.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: stMGZqGCp92H --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jean-Baptiste! Jean-Baptiste Note =E5=86=99=E9=81=93=EF=BC=9A > There are actually more than 300 such instances *Hundreds*! :-p On a positive note there are 3 fewer occurences on c-u (308) than=20 master (311). I used a simple =E2=80=98grep CC=3Dgcc | wc -l=E2=80=99; I suspect you did = something=20 similar. > and counting... It shouldn't increase if people posts their patches for review=20 (...and they actually get reviewed...). CC=3Dgcc is an old habit=20 but not difficult to break. > Couldn't we get a "magic" variable %target-cc like we have > %output, %outputs -- then we could just stubstitute gcc for this > variable... I'm (not yet?) (no longer?) convinced that's a good idea once=20 gnu-build-system takes care of those 308 packages and we're left=20 with the exceptions. When I replied to Mathieu's last mail I hadn't looked at the code=20 yet: (let ((target ,(%current-target-system))) (list (string-append "CC=3D" (if target (string-append target "-gcc") "gcc")))) To me, abstracting that is beyond overkill. However, I don't know much about cross-compiling. TBH I'd be=20 sowewhat surprised if none of the CROSS-* procedures I regularly=20 scroll past do something like this already. > I would do it, if I only knew where these are defined, but my=20 > scheme > skills are definitely lacking :) Mainly (gnu packages cross-base). Kind regards, T G-R, currently building kernels to properly answer your=20 hibernation mails... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXrcayAAKCRANsP+IT1Vt eZm2AQD8p0su3ihHXIZRAKGQImt0u6tF68Rn+8owjqGJVbbSaQEA7bX94GXUK5y+ PfAHe3oUIs3PipD/KEdHyxTIQUoUmg8= =oqBb -----END PGP SIGNATURE----- --=-=-=--