From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uIK/Co6/LGUoVwEA9RJhRA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 06:43:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uIK/Co6/LGUoVwEA9RJhRA (envelope-from ) for ; Mon, 16 Oct 2023 06:43:58 +0200 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 E08A45A7CB for ; Mon, 16 Oct 2023 06:43:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=OJdOpLnn; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697431438; 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=KWONOvwwWO+iRka/mifwbWkFnG9Npc1/x3SS3U/mGXs=; b=LUA3/wjl2H1wTWRfLiULg4hmqrcf5poGNbBI/WmF5jx14vsxeOOOJC4QUv3JkcGx+79/si HT5k4PaBgOKdHLttrin0MZ6svjJfDrHccYEKF9THD+NDE9tXYXW5xs7SmLIsRFa6gQZhgQ 4VLpp7GI1dXhWKnGbhtn+E/eJ9i9SbbmYVEdNLCOu4SSrESO+lSD2C4GuneluMG9dH0b1W ojqBp8iw9BXhHB/MX7hkfA/wBivtdxoPSZzGP+qoEWDxzpXCQ8S5O772f3mzGBj0R79aP6 IltgwTYzI+Jjgdc8Lr5eXrHbHMmNKsj1aHg6vzpiHOMqGnYiBIW1Kzo1KWvXIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=OJdOpLnn; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697431438; a=rsa-sha256; cv=none; b=H0YWSUPTWkAqVsGXUdLhtc5MlT8Jz2mcTRicc0JAiqS/T4P/NoCPH7LjH0152tioKu9Lzh iVuMC47Mc/e398YYuUAYdQkf6Z6ZOROh1JmN/VOJGPXT1ngTsU0leC3jebdlNxuKgpVhRs F8T197nx8IObnCewWdSct082P5OaxQz/sY61F1iZi8+m990v9FiVK8R8S8D6svA3D8xVU1 /1091HjIfkU0NqRSRYfBphxlPHW/UaN6LEemtt2pWWS0LT4W2RtlaQyFq0E3KsmKSA6qYM z15y1S/FWKQp2zt50WttRdKIdv7TW9b9/SA4OO6bapthQUB0X5f86sR3rs8iPw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsFS6-00088g-Ty; Mon, 16 Oct 2023 00:43:38 -0400 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 1qsFS5-00087C-E4 for guix-patches@gnu.org; Mon, 16 Oct 2023 00:43:37 -0400 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 1qsFS5-0005ab-4T for guix-patches@gnu.org; Mon, 16 Oct 2023 00:43:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsFST-0006LJ-M3 for guix-patches@gnu.org; Mon, 16 Oct 2023 00:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66424] [PATCH core-updates] gnu: libxkbcommon: Fix cross-compile. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Oct 2023 04:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: Marius Bakke , zhengjunjie@iscas.ac.cn, Maxim Cournoyer , 66424-done@debbugs.gnu.org Received: via spool by 66424-done@debbugs.gnu.org id=D66424.169743138424303 (code D ref 66424); Mon, 16 Oct 2023 04:44:01 +0000 Received: (at 66424-done) by debbugs.gnu.org; 16 Oct 2023 04:43:04 +0000 Received: from localhost ([127.0.0.1]:55095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsFRY-0006Jv-6b for submit@debbugs.gnu.org; Mon, 16 Oct 2023 00:43:04 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:54346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsFRW-0006JO-2b for 66424-done@debbugs.gnu.org; Mon, 16 Oct 2023 00:43:03 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-32d885e97e2so4024354f8f.0 for <66424-done@debbugs.gnu.org>; Sun, 15 Oct 2023 21:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697431351; x=1698036151; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=KWONOvwwWO+iRka/mifwbWkFnG9Npc1/x3SS3U/mGXs=; b=OJdOpLnn2P6C1vBIMWjU7Jp/34uAiVNe+Edi68xcabzSucpDzoVGSnGbW3XI/SsCZi DHtWw8tZq8Lr+rsuGI7wWhos2+dEqvKQ5Ilq7k/w5zdRJoFeA5mfw2xL8FH0THfJ0wAN tWWzZrFSRaHq2BTZiWhH3pTyFIbdgltprHs/I/KexDNv9uySH6R2GvQen9JpWhpXTLbi ch8DrCpmmnGProg4ZELqepfRl4wGk4ZsQgzIHDNMYRYSf1/7M/ErlAHNKoPAAModlskR XaRAclipTqZhwmiGSMV2BRqq7zN9Av2B0aeJe4UDrQVkJafcHkO+sgKb71T/R4TSUW4t JEeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697431351; x=1698036151; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KWONOvwwWO+iRka/mifwbWkFnG9Npc1/x3SS3U/mGXs=; b=p74dW9hCZU0oAicdViZxuh4G6QmJiMtVBwScJhiYDUGXWFzQIj1x62YJfS4CQ9KAzl XeSMQaO/zHDT3Mnbm9xo4F1o3ktHfPej31uxCZ4uPhGvc2vTXbzVNmfvD+alyARPGje9 wKDqNYTOd5qe3AZoTxSm9IBeeERDiO0a3j3NDrZn8F6O030ZWm7qfFo4OmbOlk/PptY+ qyvXxXZssvKkFkKAK6VstKO+NT2ZkIQP334P4phTUjuYRvClTIsMm6zItGd6OLxWjMq/ j5M9bTNFYFc0uHL/UE2umuvKbvdmGGoqReEByDBCX1/yAc3HwLDo5k/ob4YhaNmNC5J9 3Xfw== X-Gm-Message-State: AOJu0YzWHbQVpObhVolPSDmrXIxqtRQihOazE9rsw+q3S0WuYu3iJ774 Doo+NWXusj/ay0XapkzULRg= X-Google-Smtp-Source: AGHT+IG8TaHNZqYok2E+WQ59QgjCj2qGmxv12JbKoZv8swVp+ESjpMIwUH5Kc6YOkWBdiwmUPZAtbA== X-Received: by 2002:adf:e50f:0:b0:32d:aed9:413d with SMTP id j15-20020adfe50f000000b0032daed9413dmr1876620wrm.16.1697431351305; Sun, 15 Oct 2023 21:42:31 -0700 (PDT) Received: from localhost ([31.210.180.106]) by smtp.gmail.com with ESMTPSA id m4-20020a5d4a04000000b0031980783d78sm4633436wrq.54.2023.10.15.21.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 21:42:30 -0700 (PDT) Date: Mon, 16 Oct 2023 07:42:29 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , John Kehayias , zhengjunjie@iscas.ac.cn, Maxim Cournoyer , 66424-done@debbugs.gnu.org, Marius Bakke References: <87jzrq60iq.fsf@gmail.com> <874jirb8sv.fsf@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5ufB5XqXdlt9XTT6" Content-Disposition: inline In-Reply-To: <874jirb8sv.fsf@protonmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.22 X-Spam-Score: -2.22 X-Migadu-Queue-Id: E08A45A7CB X-Migadu-Scanner: mx2.migadu.com X-TUID: gC0AIsbEp+kW --5ufB5XqXdlt9XTT6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 16, 2023 at 02:28:13AM +0000, John Kehayias wrote: > Hi all, >=20 > cc'ing Efraim too, since... >=20 > On Sun, Oct 15, 2023 at 01:30 AM, zhengjunjie@iscas.ac.cn wrote: >=20 > >> =E5=9C=A8 2023=E5=B9=B410=E6=9C=8813=E6=97=A5=EF=BC=8C22:50=EF=BC=8CMa= xim Cournoyer =E5=86=99=E9=81=93=EF=BC=9A > >> > >> > >> On the top of my head, I thought pkg-config-for-build had been obsolete > >> by the pkg-config symbol being dynamically bound to something that mak= es > >> sense for the context it's used in, via some macro trickery. I may ha= ve > >> misunderstood things > > > > For cross build, > > > > pkg-config -> xxxx-pkg-config > > pkg-config-for-build -> pkg-config > > > > libxkbcommon require wayland-scanner to generate c file, this is why > > need pkg-config-for-build, pkg-config is require by find library. Is > > different ,so libxkbcommon need both on cross build. >=20 > looks like the same change was made on master in > bc1634a197dc9ab7aa0dead8c7449bb5db09cea6. Along with other commits > then to do the same thing to other similar packages. >=20 > So, I'm closing as I believe this is done but figured I'd loop in > Efraim in case there was anything else on this matter to discuss. Oh no! I really need to get better about checking the bug tracker to see if someone else has already worked through changes I'm thinking of. I tried a bit of pkg-config hackery/trickery for a bunch of the packages, even messing with the meson cross definitions file, but it turned out that pkg-config-for-build did the exact wrapping that was needed AND it provided a symlink from (pkg-config-for-target) to "pkg-config", which was what meson needed. I'll cherry-pick the commits over to core-updates and then do some of the fixups to make everything cleaner. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --5ufB5XqXdlt9XTT6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUsvzIACgkQQarn3Mo9 g1HzvA//ZB8x08RlUnd5QrMi7kgBegSKrz9/eFuIBT0TlwMwqmzhtCmPFmDetR5F NxZ/JzYVI40Oc6nNzz2ZwcclabpmB4df2jnZz52f9FTJRzbZH5C6L5H249J4FoCg j2levPjjHtgueSWzW+EaBw9aNZPjDSKvg/8bEhjkf2eGqu3vGMyViYak67dXj8xQ /PyZdoZqEF9VMAwFijKeiFmzQXBZoR3JtINst4bh5t6yRwUG7VT1BDD7RalGnZjw vU9rL2Y4ZGXY6mhkz+CNFF/l/M2NMGii8s0tBAP9WYGCaQ7831d5T4uu3p5hoVDU Q3Ag+CzlzDruRaQrGG3guIRtUzMDKPTXFvUJ4B32aJNxyj+RKrepisqqRhblJrMR Ngh+Ys6CLBGXCNzrKtgpoQ85jLTvnPjiJM17QmQtpM2jZTAA0o8ucYXC/nRDGPFN 7JOLZ1AU3Kw/KONVJ4Wg0mrPz3GCjjxTezabk8SLm35MzTDBIxVCrnE5us8Y0x3p a84djFUUl7eYVJM7jSK9HIl6/r+JTIv15xs1mgSInERm07UBC/Qlxa2NNyhATz3P icZ/72FzLOBpzxuSVJvjfH98JuLkJCy3cJPLgTn5FsK0v4wjsvOVVBnOIWeTlRu7 jXKbtGlWlK0R+z1JoVIaGWythmcfbEeCRcg3tMfxutwLGOmc/js= =eS/R -----END PGP SIGNATURE----- --5ufB5XqXdlt9XTT6--