From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0DXSNvXGm2W3bQAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 10:57:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IFrMMfXGm2XRYwAAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 10:57:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NKoAaKiz; 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=1704707829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=4Ys8ZRHD5S5VXXSI/1+gCkeSRY9hEmfEqNrKgKFbN/w=; b=PknJOywrd52dNJZN8hib1lHkJpuviaGDK3NE9cFYpoMnV5RUqli8Vzn2V82FPj4jPsALMH f8tl/SuZwhPdDY8L8kILUIdr7YZefoSVEKvvq5Iuj1/eeXDSrcm37R6/aUKy3YwlXaglbI H/OfmYl27u9KZq9Q0tyqJd98/ZjCksamwA5I3jv0TEFsGMskx6LJgFNMBjy+c2I1BAIQgX snSr30+kD1E5nwZ970VlxX1OGEw9uWj20akZPEggIR8XUKp7rmE0nJtZueZzi8qw4Vu3En fHvP/QboFPND9seK8WQAhdnG8ba0L9djNK4n/9P6PTydTayrwExJ+FPg3sG6/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704707829; a=rsa-sha256; cv=none; b=jjxBLySlEthXcUTNsjcnfi4Xx1a1/J1JFioJapwqq9bC+mRXT1HT62oz+faWnqmoyun2Em DoCt6KB/1baTg5NgoCdL5fpolP+TIOdWuy6BLvqkqbHSOx+mcBEmR1oN9xqW8jpoKYrIiq zj3KNxmixohdib33iKuOVamwlLulwz44EhTWom7t6BTWgp5CZdjz71kzghxSJtsHxpugPA CVywbsxoJupwx6ZMstOz/FXl824bNVVNbxGBFV3/V46f62qmT4CoShq0Z2ELqu77oiQmka Imyh8fjxQaxAyppkwxxOhA924vwt+NSplfGBFb5uIcjJ/1+GORRYXFNe/MDj+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NKoAaKiz; 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 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 751735B71F for ; Mon, 8 Jan 2024 10:57:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMmNO-00016s-AY; Mon, 08 Jan 2024 04:56:58 -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 1rMmNM-00016g-M4 for guix-patches@gnu.org; Mon, 08 Jan 2024 04:56:56 -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 1rMmNM-0003CQ-E7 for guix-patches@gnu.org; Mon, 08 Jan 2024 04:56:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMmNS-00040l-BK for guix-patches@gnu.org; Mon, 08 Jan 2024 04:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 09:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: Vagrant Cascadian , 68263@debbugs.gnu.org, Simon South Received: via spool by 68263-submit@debbugs.gnu.org id=B68263.170470780015390 (code B ref 68263); Mon, 08 Jan 2024 09:57:02 +0000 Received: (at 68263) by debbugs.gnu.org; 8 Jan 2024 09:56:40 +0000 Received: from localhost ([127.0.0.1]:35239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMmN6-00040A-1j for submit@debbugs.gnu.org; Mon, 08 Jan 2024 04:56:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMmN4-0003zw-2O for 68263@debbugs.gnu.org; Mon, 08 Jan 2024 04:56:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMmMq-00031Z-4W; Mon, 08 Jan 2024 04:56:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=4Ys8ZRHD5S5VXXSI/1+gCkeSRY9hEmfEqNrKgKFbN/w=; b=NKoAaKizOffYHtGxl/Fw ZbJqnNiAVZj793TrW0yu9PZhKVl0se6CaHqrTYXLVUGCWyvNS0i9AcaHSjtWtaiBn0eCAlSiMawHV Tc3O4WkJ6bS1LBXjTMg/5ggo07bZmRDExzvUAgzgGNlEAlv7d8L+7xTDKDTnHpAf9xGBTtEpOvUKz 5uq3GagwVjjrS1+mQvlSuPvr9i8LxeIH/3OpG4p23YsGXcBrikIAzCQ0aTYe+zTavcvy3RIFJP94z c+O8/fVeXLJU4+8/cdgxMXXZQ9R+i/yfzgMJIoMeq1wppI5ch7Igd340k7xNyVKjV9TeIpJC1HXb/ +xnALFVORLx3bA==; From: Mathieu Othacehe In-Reply-To: (Efraim Flashner's message of "Sun, 7 Jan 2024 22:00:47 +0200") References: <87y1d0rki4.fsf@gnu.org> Date: Mon, 08 Jan 2024 10:56:20 +0100 Message-ID: <87jzok87y3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.49 X-Spam-Score: -5.49 X-Migadu-Queue-Id: 751735B71F X-Migadu-Scanner: mx11.migadu.com X-TUID: COC9/62uSBZY --=-=-= Content-Type: text/plain Hello, > I'm not seeing that error, I'm getting json-glib failing to > cross-compile. Is it possible you have some stale .go files? (guix > platforms) changed recently. That was the issue! I have a new error, but this this in gnupg: --8<---------------cut here---------------start------------->8--- %exception #<&invoke-error program: "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" arguments: ("./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/0ksgybn4n10j0b3wcqfl1jpcjr79xq8l-gnupg-2.2.39" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" "--enable-gnupg-builddir-envvar" "--enable-all-tests") exit-status: 1 term-signal: #f stop-signal: #f> phase `configure' failed after 9.4 seconds command "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/0ksgybn4n10j0b3wcqfl1jpcjr79xq8l-gnupg-2.2.39" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" "--enable-gnupg-builddir-envvar" "--enable-all-tests" failed with status 1 note: keeping build directory `/tmp/guix-build-gnupg-2.2.39.drv-1' builder for `/gnu/store/qac9bix1331g6f12dgyrk4wvn2dpgp3k-gnupg-2.2.39.drv' failed with exit code 1 build of /gnu/store/qac9bix1331g6f12dgyrk4wvn2dpgp3k-gnupg-2.2.39.drv failed --8<---------------cut here---------------end--------------->8--- I fixed it with the attached patch. Now libsmbios itself fails to cross-compile: --8<---------------cut here---------------start------------->8--- src/libsmbios_c/cmos/cmos_linux.c:25:10: fatal error: sys/io.h: No such file or directory 25 | #include | ^~~~~~~~~~ compilation terminated. --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-gnupg-Fix-cross-compilation.patch >From c9424c606e0cfcdb9bf10447bb655ab65a3a2056 Mon Sep 17 00:00:00 2001 Message-ID: From: Mathieu Othacehe Date: Mon, 8 Jan 2024 10:54:27 +0100 Subject: [PATCH] gnu: gnupg: Fix cross-compilation. * gnu/packages/gnupg.scm (gnupg)[arguments]: Pass libraries prefixes when cross-crompiling. Signed-off-by: Mathieu Othacehe Change-Id: I461ba02ddf5bb23277bd6685c2106e4ad37e2184 --- gnu/packages/gnupg.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index a6ba57d7f3..f1e171036b 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -345,11 +345,30 @@ (define-public gnupg zlib)) (arguments (list - #:configure-flags #~'(;; Otherwise, the test suite looks for the `gpg` - ;; executable in its installation directory in - ;; /gnu/store before it has been installed. - "--enable-gnupg-builddir-envvar" - "--enable-all-tests") + #:configure-flags + #~'(#$@(if (%current-target-system) + #~(list + (string-append + "--with-libgpg-error-prefix=" + #$(this-package-input "libgpg-error")) + (string-append + "--with-libgcrypt-prefix=" + #$(this-package-input "libgcrypt")) + (string-append + "--with-libassuan-prefix=" + #$(this-package-input "libassuan")) + (string-append + "--with-ksba-prefix=" + #$(this-package-input "libksba")) + (string-append + "--with-npth-prefix=" + #$(this-package-input "npth"))) + '()) + ;; Otherwise, the test suite looks for the `gpg` + ;; executable in its installation directory in + ;; /gnu/store before it has been installed. + "--enable-gnupg-builddir-envvar" + "--enable-all-tests") #:phases #~(modify-phases %standard-phases (add-before 'configure 'patch-paths base-commit: 728d471d73c3731b86cbf5f3dee22229d3a92d4b -- 2.41.0 --=-=-=--