From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 03:33:57 2023 Received: (at 61865) by debbugs.gnu.org; 28 Feb 2023 08:33:57 +0000 Received: from localhost ([127.0.0.1]:49626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWvQp-0005Ni-Qk for submit@debbugs.gnu.org; Tue, 28 Feb 2023 03:33:57 -0500 Received: from out203-205-221-155.mail.qq.com ([203.205.221.155]:60951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1pWvQm-0005NC-Ca for 61865@debbugs.gnu.org; Tue, 28 Feb 2023 03:33:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1677573222; bh=UEoqgaQpnsm459reyHf7ptP9dREjbqLc18FDLUlLkCE=; h=From:To:Subject:Date:In-Reply-To:References; b=eua58//Jz1iM1GZF76JUKlbUDsdnRwLrhDBmGTP2bUdxq3KgrjV/30Fza/tes+31q RcjF1YuXqxYoGa3CAVVqajSMw3JX7CQrxJ3NL2UPUrcZavWBk/GHEN6CVIhqL6jcyU EAxtN2BoZCWLKRMteALD324R9Ad8mJCJP633uFeo= Received: from localhost.localdomain ([111.0.51.52]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id 868856C0; Tue, 28 Feb 2023 16:33:40 +0800 X-QQ-mid: xmsmtpt1677573220tsx1kf73n Message-ID: X-QQ-XMAILINFO: NN7gBCxAqYgU8tgiJn52YIVMMlvLaBs/3TgNLL4/9BRoqeLWnT9PCGw5dSLqX3 4pLRspPSacwZZGzsQeUcolEBDRI069dgbwt/Vgwos8XhE01O2gcM6PtZHG1rgPQucBCDY8wTTmyt 4dLSbvJxDHtVTzUVkJHpTwmT6wS67aEPgWymr6ysci11sJuO0o3B8/NSgwpNCzjK9/JH5Ad8kjJu v3Br5uVP631gL+KemAqTXmxnG/mIwWfTkJZ7+rXU20z2GM5/tDSlp3FLWPi4dbHOYicDmY1stD6k n7XpzL1UBjrCfqvAMciGkAEvpAgpOYqf0wVr+r0cDxW7ToJfyUvUHr9+OGfUD6t/fu9kYs/ow/iG Hue/5bqWCLnsGVp5bjSCxUxfVh3ilsr+HOv9u30ZW3Tfs91FabOveYhJOp7hEx42L8hPNP8M6mvz te7aS7HgJnedtQTgAsEIogqASJ8StYMKqautOXe/uwaksNzGTU7KYVvQoVDXaeTPOH2/MhspxTWV MUX4p12e8mkomcesZA3NDWBRvXATIYmpbnF/8yFOv1vCwvev1KkE+hHV2PMj73b36WznVtPdbjwm jafKvtyhyl9ifAHQ+nhW7KkdpQMv130fdCqaAtU36u/p676HBNJWCX72Ft9t3FaWhCs6p4k5m+WR LsMg1f1IgRNv0Cg+pyHxNcs/RHmVCVcqdLbF4ZuRZ0JNWLm7pWcKxxcgUXgdZork8xn3N3+WrcL6 6v1s+IhfbvJpfyocHyYwOmsm+EgLGVCVEh+ngoXSwtDqPyhbNKNUj5IuJGxN5QVsgvg59mRRgmPq gW4TxAY7oMaVSRrM+tybG2E0F4ddQmRNJSBISOLglJAYb9zEcIWowkd9ptKSED40A+Ge84WgVMOh aZwqxpwyosPTe6vqVIZ60Fmm/9BmRJbbzaaAshCOnWqzP4ai4ZagDIOlCA8StK0Q== From: Z572 <873216071@qq.com> To: 61865@debbugs.gnu.org Subject: [PATCH 1/8] gnu: xcb-util-wm: fix riscv64 cross-compile. Date: Tue, 28 Feb 2023 16:33:33 +0800 X-OQ-MSGID: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/xorg.scm (xcb-util-wm): fix riscv64 cross-compile. [arguments]: add update-config-scripts phases when target is riscv64. [native-inputs]: add CONFIG when target is riscv64. --- gnu/pack [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (873216071[at]qq.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [203.205.221.155 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.155 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (873216071[at]qq.com) 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) X-Debbugs-Envelope-To: 61865 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: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/xorg.scm (xcb-util-wm): fix riscv64 cross-compile. [arguments]: add update-config-scripts phases when target is riscv64. [native-inputs]: add CONFIG when target is riscv64. --- gnu/pack [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [203.205.221.155 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.155 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (873216071[at]qq.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (873216071[at]qq.com) 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/xorg.scm (xcb-util-wm): fix riscv64 cross-compile. [arguments]: add update-config-scripts phases when target is riscv64. [native-inputs]: add CONFIG when target is riscv64. --- gnu/packages/xorg.scm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index a43809e3cb..32be732eef 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5792,11 +5792,27 @@ (define-public xcb-util-wm "0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + `(#:configure-flags '("--disable-static") + ,@(if (target-riscv64?) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key inputs native-inputs #:allow-other-keys) + ;; Replace outdated config.guess and config.sub. + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) ".")) + '("config.guess" "config.sub")))))) + '()))) (propagated-inputs (list libxcb)) (native-inputs - (list m4 pkg-config)) + (append (if (target-riscv64?) + (list config) + '()) + (list m4 pkg-config))) (home-page "https://cgit.freedesktop.org/xcb/util-wm/") (synopsis "Client and window-manager helpers for ICCCM and EWMH") (description -- 2.39.1