From unknown Sat Sep 13 04:54:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53049 <53049@debbugs.gnu.org> To: bug#53049 <53049@debbugs.gnu.org> Subject: Status: [PATCH] gnu: libaio: Fix cross-compilation. Reply-To: bug#53049 <53049@debbugs.gnu.org> Date: Sat, 13 Sep 2025 11:54:49 +0000 retitle 53049 [PATCH] gnu: libaio: Fix cross-compilation. reassign 53049 guix-patches submitter 53049 Julien Lepiller severity 53049 normal tag 53049 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 06 06:30:51 2022 Received: (at submit) by debbugs.gnu.org; 6 Jan 2022 11:30:51 +0000 Received: from localhost ([127.0.0.1]:39791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Qyp-0004CQ-Hl for submit@debbugs.gnu.org; Thu, 06 Jan 2022 06:30:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:59910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Qym-0004CH-9G for submit@debbugs.gnu.org; Thu, 06 Jan 2022 06:30:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Qym-0007CE-4K for guix-patches@gnu.org; Thu, 06 Jan 2022 06:30:48 -0500 Received: from lepiller.eu ([89.234.186.109]:37742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Qyj-0005Nv-Sq for guix-patches@gnu.org; Thu, 06 Jan 2022 06:30:47 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id bf1384a8 for ; Thu, 6 Jan 2022 11:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=6AV MRQKIXn00VSj1fh7GkLU2vchXISwCEBgCfam3ORs=; b=UePpIewH5EkvbjGO05T Z+9x8NRQKUM4Vbc6IgW8SvKsnkDdSwPSig+T3A88EngLdGAelrhMyCYsC0xXOIdZ Fo3zGb6W24Md1aavMf9EWRiJsiN64AoXaXxoBPSJ+WdT7bY9my01OLbRvUW+VROP fIT8PdjKuoQVGOxWGrmViv/IMAHG+ZGh0A03IkFYLm4fv3eWumltzhBZ4W1J/1fc Y5XsqO6zwaZ/Cy5Qr8KTp5dOMPn4rocMvkLXVFMr11JptTm5FI7ITFnp/Fb8KZ6I mQ5rkFLUUaGzNP+6ho9w7Q2Kvc4k29a6Yw+cXS1Kd6b2yFWbNMd5Oj9745bzcyww ufw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d34ae55e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 6 Jan 2022 11:30:40 +0000 (UTC) Date: Thu, 6 Jan 2022 12:30:30 +0100 From: Julien Lepiller To: guix-patches@gnu.org Subject: [PATCH] gnu: libaio: Fix cross-compilation. Message-ID: <20220106123030.128feae4@tachikoma.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/qMgXP+sOsEw9Cnf8hdyEpha" Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) --MP_/qMgXP+sOsEw9Cnf8hdyEpha Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix! I saw a message on the unofficial #guix:matrix.org room about libaio failing to build. Indeed, it uses %output and that doesn't exist in cross-compilation context anymore. Here's a small patch to fix that. I had to be careful not to change the package outside of cross-compilation, since it has >5000 dependents, hence the ,(if ...) statement. --MP_/qMgXP+sOsEw9Cnf8hdyEpha Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-libaio-Fix-cross-compilation.patch >From 160572309d022b4249cb41296864a0e1c32eae0a Mon Sep 17 00:00:00 2001 Message-Id: <160572309d022b4249cb41296864a0e1c32eae0a.1641468451.git.julien@lepiller.eu> From: Julien Lepiller Date: Thu, 6 Jan 2022 11:48:16 +0100 Subject: [PATCH] gnu: libaio: Fix cross-compilation. * gnu/packages/linux.scm (libaio)[arguments]: Do not use singular %output. --- gnu/packages/linux.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3daad494e1..438ced6a27 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5225,7 +5225,9 @@ (define-public libaio (arguments `(#:make-flags (let ((target ,(%current-target-system))) - (list (string-append "prefix=" %output) + (list (string-append "prefix=" ,(if (%current-target-system) + `(assoc-ref %outputs "out") + '%output)) (string-append "CC=" (if target (string-append (assoc-ref %build-inputs "cross-gcc") -- 2.34.0 --MP_/qMgXP+sOsEw9Cnf8hdyEpha-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 08 16:57:22 2022 Received: (at 53049) by debbugs.gnu.org; 8 Jan 2022 21:57:22 +0000 Received: from localhost ([127.0.0.1]:48824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6JiD-0007Nq-V9 for submit@debbugs.gnu.org; Sat, 08 Jan 2022 16:57:22 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:52384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Ji8-0007NW-Qd for 53049@debbugs.gnu.org; Sat, 08 Jan 2022 16:57:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 504BF448; Sat, 8 Jan 2022 22:57:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qYAS0Eosbi_L; Sat, 8 Jan 2022 22:57:10 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 636FE283; Sat, 8 Jan 2022 22:57:10 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Julien Lepiller Subject: Re: bug#53049: [PATCH] gnu: libaio: Fix cross-compilation. References: <20220106123030.128feae4@tachikoma.lepiller.eu> Date: Sat, 08 Jan 2022 22:57:10 +0100 In-Reply-To: <20220106123030.128feae4@tachikoma.lepiller.eu> (Julien Lepiller's message of "Thu, 6 Jan 2022 12:30:30 +0100") Message-ID: <87lezp3n7t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 504BF448 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53049 Cc: 53049@debbugs.gnu.org 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: -0.0 (/) Hi, Julien Lepiller skribis: >>>From 160572309d022b4249cb41296864a0e1c32eae0a Mon Sep 17 00:00:00 2001 > Message-Id: <160572309d022b4249cb41296864a0e1c32eae0a.1641468451.git.juli= en@lepiller.eu> > From: Julien Lepiller > Date: Thu, 6 Jan 2022 11:48:16 +0100 > Subject: [PATCH] gnu: libaio: Fix cross-compilation. > > * gnu/packages/linux.scm (libaio)[arguments]: Do not use singular > %output. LGTM! (You could add a TODO stating it should be homogenized on the next rebuild cycle.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 08 17:21:46 2022 Received: (at submit) by debbugs.gnu.org; 8 Jan 2022 22:21:46 +0000 Received: from localhost ([127.0.0.1]:48860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6K5p-0001sq-LJ for submit@debbugs.gnu.org; Sat, 08 Jan 2022 17:21:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:41224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6K5n-0001sb-CS for submit@debbugs.gnu.org; Sat, 08 Jan 2022 17:21:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6K5n-0003w7-7A for guix-patches@gnu.org; Sat, 08 Jan 2022 17:21:43 -0500 Received: from [2a02:c205:2020:6054::1] (port=40602 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6K5l-0005hR-Fw; Sat, 08 Jan 2022 17:21:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=7eRJ+ecQkuOO+ wPikcKWjJY3nJoMxJBmMz0iD6NfH4o=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=btQ2jfDUsMz19KAq1jB0sV2LluKdq4LxT4lHG1 z88SpuMWKi92dxb6MtdEmLkF+4MB47YzQQY45W50q8kuWwIVR850OqQhL6wVo7SOD5Z48O qaavSroqgbZizfkLdDmJuJiV3wVTieNGN/IzmU9sD60QJ31BKrixstwq1s+qESKTMD5VeT 7WY3xgfOET9/95LFqLDBXWtogxu2VnSwGNLwCp4pIaIOxoXX26Vf3vElDPYOBXRVEVZcMN OgIGuVbE3FKm5rSfoJztxv0VX49Bk172mEpg3N+5tajxr9CKID71pPqVFLgbXiuX2M3KBY h09k5iZzFmyPedxpuZWt8YXw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 0d661e6f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 8 Jan 2022 22:21:35 +0000 (UTC) References: <20220106123030.128feae4@tachikoma.lepiller.eu> <87lezp3n7t.fsf@gnu.org> From: Tobias Geerinckx-Rice To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#53049] [PATCH] gnu: libaio: Fix cross-compilation. Date: Sat, 08 Jan 2022 23:14:03 +0100 In-reply-to: <87lezp3n7t.fsf@gnu.org> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87lezp27hy.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Julien Lepiller , guix-patches@gnu.org, 53049-done@debbugs.gnu.org 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.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, Julien Lepiller wrote: > Subject: [PATCH] gnu: libaio: Fix cross-compilation. I pushed a series of cross-compilation fixes yesterday night to=20 fix the pinebook-pro image build ASAP. It was pretty bad: there was no valid CI build, so the=20 guix.gnu.org =E2=80=98Download=E2=80=99 was just=E2=80=A6 broken. I didn't= notice your=20 patch. Mine looks slightly different (preferring as I do shiny gexps, and=20 trying to move away from %output{s,} :-) but the thrust is the=20 same, comment included. Thanks! and closing, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYdoOig0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW157tQBAO1PC/2XJBF1w9rrkzm914CX2/6fKaFzC+Odoclt Oyv+AP4vGaHAY2z2PiuO+FNz1PrqzuvkkbKvmtbGrEw1q60KCw== =IhZf -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 09 04:43:22 2022 Received: (at 53049) by debbugs.gnu.org; 9 Jan 2022 09:43:22 +0000 Received: from localhost ([127.0.0.1]:49229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6UjS-0007rE-FI for submit@debbugs.gnu.org; Sun, 09 Jan 2022 04:43:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6UjP-0007qz-1L for 53049@debbugs.gnu.org; Sun, 09 Jan 2022 04:43:21 -0500 Received: from [2001:470:142:3::e] (port=51740 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6UjG-0008VW-2o; Sun, 09 Jan 2022 04:43:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UEAxGPTQEs6RmM6oQcsJzPvehJEMWkNeIo6LJOwA5WM=; b=HokkdRkbVbTN6i1jEtbL kgG7gghNPCSrsJYoTz2BLByT+oXPAwQnfEWL05EYD/ToYofP1K0I6F+OU4mkwbYr9ThXtgedRTiYO qwRlsNGBPuMa6o2wxKTosh6nWVty8ply23hexLDnhdLDsCnMSMusj6oIqRqPkBDZtgaeX/th4gv9q FYBgApHuz8gnuCNh9yMkchg8fJpnCERyyX2tkLWbO+XtmYSJPvLoAc/Nsu0aqSFMTgQtcx9uj6ue6 Nnufjzbroz0ETPZKeHzqwt3N7OItiwaOtq1UgrmPQCzZFnXFXRJRwNeTbGOEgzIA7D6WSDPC9PDWX yhZQjZQA0lWbWA==; Received: from [2a01:e0a:19b:d9a0:2f3b:16f2:b776:3ef9] (port=51092 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6UjG-0002C6-7C; Sun, 09 Jan 2022 04:43:10 -0500 From: Mathieu Othacehe To: me@tobias.gr Subject: Re: bug#53049: [PATCH] gnu: libaio: Fix cross-compilation. References: <20220106123030.128feae4@tachikoma.lepiller.eu> <87lezp3n7t.fsf@gnu.org> <87lezp27hy.fsf@nckx> Date: Sun, 09 Jan 2022 10:43:08 +0100 In-Reply-To: <87lezp27hy.fsf@nckx> (Tobias Geerinckx-Rice via Guix-patches via's message of "Sat, 08 Jan 2022 23:14:03 +0100") Message-ID: <87a6g55jo3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53049 Cc: julien@lepiller.eu, 53049@debbugs.gnu.org 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: -3.3 (---) Hello Tobias, > It was pretty bad: there was no valid CI build, so the guix.gnu.org =E2= =80=98Download=E2=80=99 > was just=E2=80=A6 broken. I didn't notice your patch. > > Mine looks slightly different (preferring as I do shiny gexps, and trying= to > move away from %output{s,} :-) but the thrust is the same, comment includ= ed. We now have 100% coverage on the "images" specifications[1], thanks for fixing that :). Mathieu [1]: https://ci.guix.gnu.org/jobset/images From unknown Sat Sep 13 04:54:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Feb 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator