From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sGZFCIiaaWfDHwAAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Dec 2024 17:14:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sGZFCIiaaWfDHwAAqHPOHw (envelope-from ) for ; Mon, 23 Dec 2024 18:14:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FzCdkDwL; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=yUaemQMN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734974087; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YppqOURZM5WPXANS8CJtjD5GoWb8SogqBLVQ9EjTOHw=; b=CSDRfczJRF2/ixdx0DijHJbDBwr1Zsf0XuwhdKCJ/YjqFUCnPqiOXiq7WTqbvYxTempg+D UNtxBsbPgfQncVWpyIl/UohOTnaT0OSKN/Bz6aX9Mc1eKzBtT7dJ9g9bXhfaHGYpO31fXT GDk0k07Px00CL1s/cQGghQ8XfBBpzY/P1zFsKrIKfu4VyJ6q8U0ItS1VMHBlUYd8z3yFtz h2HlXTJtNFllojMvxdVkex0sS13dBHz8CQHgW1JNPlfIqc74GnfFnQAfioJcrRrAg/BucB V94W36ioiat+j5xGu3Do3m8gK0Q5p3iz+Eq5Ep8AUVLmVRbvbxwA4NeCu3wtkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FzCdkDwL; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=yUaemQMN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734974087; a=rsa-sha256; cv=none; b=kgD1SDJeeHg1+fmTLTftn4pqlgqM3pbud3+Aw2wP4OwBm/4BJGAEm+S8HY2z3VHn2Dp//y L91Qcxe5P2eD3L3s9djXV4w6Gt8mXMsLwA5pM3w0bjk6FmC3Daa0BSKxoisoFo/s9pf1Hv YX2LlMkkEkM+Y1+27L1uC869OsFhTlFejU1C570EHPfB2doIDMD5U2EX1pu8UUEHAB+yBV Datt7SBsiGJHMulEkluVFJviIjIK92QAdHYQzpaPQ/7fOs8yUxTLMpfre82PpdIjVd+LLV FwPjvxedmfo6b8FF7VG9n0dB+1wPSYzGygjbRrnQ0GX5RlVyRvIBEpnALECEpg== 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 DAB57953F4 for ; Mon, 23 Dec 2024 18:14:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPm0K-0008Uj-Ay; Mon, 23 Dec 2024 12:14:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPm0I-0008UF-Od for guix-patches@gnu.org; Mon, 23 Dec 2024 12:14:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPm0I-0001Rc-Fs for guix-patches@gnu.org; Mon, 23 Dec 2024 12:14:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=YppqOURZM5WPXANS8CJtjD5GoWb8SogqBLVQ9EjTOHw=; b=FzCdkDwLAaAS5VFNu6DLh/hh+U9lFXBX673DOUp8HGacHpZ5OQ3MQ41uNW0OXGkX8Szv6CkCcuJi4474aGssZz4LF5tgMIEavK2T3DhtuT/rU15JPQBTbRTwc/3DcmjHuC/Ocuw52dr1nIBGOqAyeD3dT7Eyq2vhG+CGbtYW/XZvccrmZwRkDIjthWxJmJzOHREWfsqwX1atgFGO5k2GCglTZ8DHRKSMPsQ29i0TYPN9V9jkFEzHwx+OAWrx3+SC36A/rEe+0P6w1FEebmCQWpAl+/Vyyq5yXfDJjCjiG6XnNXqUHBWLXVvLLZXxvTE2U3BcSXgzJ4h3w1O0a2PPEQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPm0I-00081r-At for guix-patches@gnu.org; Mon, 23 Dec 2024 12:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75051] [PATCH 08/14] gnu: gdbm: Fix cross-compiling to loongarch64. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75051@debbugs.gnu.org Received: via spool by 75051-submit@debbugs.gnu.org id=B75051.173497399230733 (code B ref 75051); Mon, 23 Dec 2024 17:14:02 +0000 Received: (at 75051) by debbugs.gnu.org; 23 Dec 2024 17:13:12 +0000 Received: from localhost ([127.0.0.1]:55884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPlzT-0007zc-Vg for submit@debbugs.gnu.org; Mon, 23 Dec 2024 12:13:12 -0500 Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:34545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1tPlzR-0007zH-PG for 75051@debbugs.gnu.org; Mon, 23 Dec 2024 12:13:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1734973982; bh=YppqOURZM5WPXANS8CJtjD5GoWb8SogqBLVQ9EjTOHw=; h=From:To:Subject:Date:In-Reply-To:References; b=yUaemQMNRTNAMab1J709XjFpRnIkEyRGcxTjaxpOlQGuf07ebxLlwdT+4SyZ29crX /JLWSel94YrHXn9TElW+RgRR8dR2+ROHCyYk/Syx5HXEe6BW96wxLJvmdmXrPasbcT bt8zB7sAHjoR6Q9Y4kcHDgaeYK1U6P3+13SGUU2c= Received: from m.tailaa68d.ts.net ([240e:391:ebb:8120:ac72:f386:b183:419a]) by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP id 3418A07D; Tue, 24 Dec 2024 01:13:01 +0800 X-QQ-mid: xmsmtpt1734973981tp48vmh44 Message-ID: X-QQ-XMAILINFO: OZILsD/zN1fMvr+riGm3Q/BlJ4Ox6P4ciMDzNUMQN3P2OBx2CeRuAta/Ah2nvk 64Duk0n7RbKP+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send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Zheng Junjie <873216071@qq.com> X-ACL-Warn: , Zheng Junjie via Guix-patches From: Zheng Junjie via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.01 X-Spam-Score: -6.01 X-Migadu-Queue-Id: DAB57953F4 X-Migadu-Scanner: mx10.migadu.com X-TUID: ZrPDTsl8i79h * gnu/packages/dbm.scm (gdbm)[arguments]: When cross-compiling to loongarch64, Add update-config phase. [native-inputs]: When cross-compiling to loongarch64, Add config. Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8 --- gnu/packages/dbm.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm index 7c36d30a349..9e7d846f7fd 100644 --- a/gnu/packages/dbm.scm +++ b/gnu/packages/dbm.scm @@ -189,7 +189,24 @@ (define-public gdbm (base32 "1kfapds42j1sjq6wl7fygipw5904wpbfa5kwppj3mwgz44fhicbl")))) (arguments `(#:configure-flags '("--enable-libgdbm-compat" - "--disable-static"))) + "--disable-static") + ,@(if (and (target-loongarch64?) + (%current-target-system)) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) "build-aux")) + '("config.guess" "config.sub")))))) + '()))) + (native-inputs (if (and (target-loongarch64?) + (%current-target-system)) + (list config) + '())) (build-system gnu-build-system) (home-page "https://www.gnu.org.ua/software/gdbm") (synopsis -- 2.46.0