From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MA76MMj0CWOyJQEAbAwnHQ (envelope-from ) for ; Sat, 27 Aug 2022 12:41:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kFEBMcj0CWM3WAAA9RJhRA (envelope-from ) for ; Sat, 27 Aug 2022 12:41:12 +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 77F978876 for ; Sat, 27 Aug 2022 12:41:12 +0200 (CEST) Received: from localhost ([::1]:49982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRtFX-0005Dd-A6 for larch@yhetil.org; Sat, 27 Aug 2022 06:41:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRtFO-0005DS-Nl for guix-patches@gnu.org; Sat, 27 Aug 2022 06:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRtFO-0003L9-3d for guix-patches@gnu.org; Sat, 27 Aug 2022 06:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRtFN-0001Lf-W4 for guix-patches@gnu.org; Sat, 27 Aug 2022 06:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation Resent-From: Tobias Kortkamp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Aug 2022 10:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 57430@debbugs.gnu.org, muradm , Liliana Marie Prikler Received: via spool by 57430-submit@debbugs.gnu.org id=B57430.16615968235123 (code B ref 57430); Sat, 27 Aug 2022 10:41:01 +0000 Received: (at 57430) by debbugs.gnu.org; 27 Aug 2022 10:40:23 +0000 Received: from localhost ([127.0.0.1]:55294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtEk-0001KY-TO for submit@debbugs.gnu.org; Sat, 27 Aug 2022 06:40:23 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:46795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtEi-0001KC-Vl for 57430@debbugs.gnu.org; Sat, 27 Aug 2022 06:40:21 -0400 Received: by mail-ej1-f53.google.com with SMTP id bj12so7206193ejb.13 for <57430@debbugs.gnu.org>; Sat, 27 Aug 2022 03:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=vbgjWchPvatJKCLYd2aCZJe+c43IHSUNU37/1tVzT3Q=; b=SSeuJqqewckfVf71bfCi8GoSZmrgVFwxNY4zTrYtbB5QDZh3h2PtW5JvyDWRTy8g7V /qAG4ydKF4wZa5aoHuwbicjE/6OU7Jk+MenyvgJ8n/wxhHwTDzIzANfX0f0d587qQBZ6 tCTyAMbOd+cSbinXPcLcldXIAtQQ08PE7MJYZcEK4S5eBJnp2c4roF0XXl9GKzTjyFkM V4umr5j1FfoGgtILbaJaOtH0aLY2m2a7nR4oa/16KgxBsto50HzXQwx+5M4Wst+xtHsD 4ntkmqOyJifawHoreycJ5VYqlGnhZuhrI1+JoirqqC9XsnSYwbeK6rG3vG8qBmI7bU3m Jbrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=vbgjWchPvatJKCLYd2aCZJe+c43IHSUNU37/1tVzT3Q=; b=HYQa8vh5OAkDOl+jXZSqw50SRIN52Tg/1BCl/0OHp5pUSwcRItoOC9r882WfrVCiVq loL+QiXwkgzq/8zASBXWwXXG49SZkIvUdhooYxv7tJT6+PnhoEyq6NPEzQdIVARXPtXf MCmopTP50MrhTfEndkLOWd23ImTDa66MUYd2Gzh2msBXJS+Wftx5ga3MZXzgKDVzEHol tjp41BxovNjXuGh2ElwJmmz4vnlo776VGjq6WpMHleQ9zXbekfgyDBJQa8yyVzI9ERj0 psh7gj+egj7ZD22AjqRNApfpJHG1wNnZadL5ptJE4vVBHSWw6pdTu/k8qJ4AqEA9Pb3P I7fg== X-Gm-Message-State: ACgBeo1bo4MHdGir2BTdzVN1+eUOz3fmiVaTj2RvbMSXpc95Vh5MM9JX CezAyaZsrid2LH5b++jblC0= X-Google-Smtp-Source: AA6agR5tIG+/AtWmHzl2ZFg94YQT6o/BcMUs4S9wAklBj+M1/57CCJyFazZgV72+pIXwYjjp2Ob2UA== X-Received: by 2002:a17:907:3f85:b0:733:3f0e:2f28 with SMTP id hr5-20020a1709073f8500b007333f0e2f28mr7604216ejc.376.1661596815237; Sat, 27 Aug 2022 03:40:15 -0700 (PDT) Received: from anubis (p200300ff7f02ab00bb3a869e030b0f74.dip0.t-ipconnect.de. [2003:ff:7f02:ab00:bb3a:869e:30b:f74]) by smtp.gmail.com with ESMTPSA id f20-20020a17090631d400b006fee7b5dff2sm1959673ejf.143.2022.08.27.03.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 03:40:14 -0700 (PDT) Date: Sat, 27 Aug 2022 12:40:12 +0200 From: Tobias Kortkamp Message-ID: References: <2195d673159785d305502677d786ae9bcd69ac7c.1661508240.git.tobias.kortkamp@gmail.com> <87bks7x744.fsf@muradm.net> <9733f5e2-ffc9-b81e-5806-2536c02246bd@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9733f5e2-ffc9-b81e-5806-2536c02246bd@telenet.be> 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661596872; 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=vbgjWchPvatJKCLYd2aCZJe+c43IHSUNU37/1tVzT3Q=; b=pJl/+WN+FTr9C7N7VfkWmSIxnLM3z7GIy/mxxRxvoD7mfyCmwgdi6KO5MkcgOx5ZbfwBDt HFgCsattba+48YxDdnRNKKWYHhsHM8HZifaUo2T3MIvfq2IYwSuHrYSlG8w6a5kstrn6Cs DO5vXJj2ffcoPmjM8m1DQ+HBtijYEV798WrJQhxliBuCy+N3sUjjn2SJBzv/Wt8Q3rDkG2 QOuhYWaj02RmPL+AdF1xiPTr09Zp0rNXA1VgCyygcV923EDIYNRo+GJq5mruxum0Xge8UF wOGUpKAiDGa4qeQOdqUkZQgh0sOezarWWgCdUbSaIlPe/98UliFrgqz26zMSQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661596872; a=rsa-sha256; cv=none; b=GIqs/bGBD9Vc60ECk0dCvjNNjX9hNrkjFNXj/lgRcFIRgQoU/4R01I5BqGK/BBPLXD2AU0 mbA5VYgDKvHPX6b3yzN7FHf8SkG7YCyS+SJTFswZdy41hXYOPAi/qt7w67IyxRFl1Rs5l3 LUrKpPyIbq4qjHkDuVSHHmU3fGDSSoXrxJed8e1H2nj61vgnDELAZZFScKyM3aLfTqsqkP uogSJoBFwVxuIfbHK11MfnJTvBO8As9kKaXyeQUUmjISsPhqfAHi9ZFXHYd7OZSx+4ZOn9 GlT6p/g0CFDsumiE1RNKFE7+91aS3ahFF8jVdV4kbRd6zaCzSCzsFiA5DOegrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SSeuJqqe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 8.19 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SSeuJqqe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 77F978876 X-Spam-Score: 8.19 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: Evf8maiQtCWt On Fri, Aug 26, 2022 at 08:58:51PM +0200, Maxime Devos wrote: > Tobias, does unconditionally moving wayland from 'inputs' to 'native-inputs' > (and unconditionally using pkg-config-for-build) work? Potential problem: > lots of dependents according to "guix refresh -l", making it unconditional > would need to be done on core-updates or staging. You mean change the patch like this? - (inputs - (list wayland)) - (native-inputs (cons* pkg-config python - (if (%current-target-system) - (list pkg-config-for-build - wayland) ; for wayland-scanner - '()))) + (native-inputs (list pkg-config pkg-config-for-build wayland python)) No, it doesn't work: Run-time dependency wayland-client found: NO (tried pkgconfig) ../wayland-protocols-1.23/tests/meson.build:4:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig What would work is: + (arguments `(#:configure-flags (list "-Dtests=false"))) + (native-inputs (list pkg-config-for-build wayland)) But this turns off the tests. Even then it still looks for wayland-scanner for some reason.