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 ms9.migadu.com with LMTPS id IAT0CtmrBmSc9AAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 04:13:29 +0100 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 wBTfCtmrBmSzwQAA9RJhRA (envelope-from ) for ; Tue, 07 Mar 2023 04:13:29 +0100 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 06718A6E4 for ; Tue, 7 Mar 2023 04:13:28 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=duP8WcRX; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678158809; 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-to: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=crBxSepV1gNTXD85BHgBy2c20PT7/nFiuI7/5Hu/2RI=; b=u80ROzTMq07scTdfH7hUWxhYTkx3Kn6/Mp/AkIkhl0TDsw6JpEqMInHuuki8N8tSPluDCy i19ITJ8fGH61wYGmm14NtqhuBvuG9NGfH2xYarSvC1eNF5bmd4BhH/foO4h1aBMN2j2Xhb YG2AiWemED36TRilHHwgtlMXcb6Spzik/YZODzs1HBnL6BstX2jgqe5kqg3UHAYxvQCHTn KrwbvrCPSIkHRjuSGCxp2vj6IdLigv1eiqlFCUKq4PKvpth4ymYKPdAY5vDHYlxNCtPDj5 07g6CkxZrQXVnNhbxE/67Nv+xyip0+K585KZp+uRw32wW/Qgfvyh8sw1c+IH7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678158809; a=rsa-sha256; cv=none; b=lZ0EfMPAEWuivTL8CXnu81gZHkVJ+sDgrAMTqZDPIoiDZ28M9wAWuky6FlgIKDGekHB0T7 a6hb7WwOWBPUujtT8jecRStjeBlCq7crxL0reKojhmcQhiO+PM0JhC0Fu7O6VVhuDFDUro eCYdl7O1pp0Ty7TBgZ4Bq7pGwVZ9jhYvkxYkcqgsb0ESn1uBy/gS4jQpeEqlJgiYAKtlTo wh2gAY/p6w4hXOXh5qYUzvTVw6/E90PkSAOQqsWR8BsUJHsyw0+i/qfkZoCuEY4zEy/USa g6j9Cnna8+3M6wW+FQJ+yRypFJbQb0uOlfFEkhgJeNpY7UzPniDoFPB1DwEOXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=duP8WcRX; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZNlA-00061y-Ts; Mon, 06 Mar 2023 22:13: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 1pZNl8-000619-KW for guix-patches@gnu.org; Mon, 06 Mar 2023 22:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZNl8-0008OZ-D2 for guix-patches@gnu.org; Mon, 06 Mar 2023 22:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZNl8-0001N3-8b for guix-patches@gnu.org; Mon, 06 Mar 2023 22:13:02 -0500 Subject: bug#61776: [PATCH] gnu: perl-extutils-pkgconfig: Support cross-compilation. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 07 Mar 2023 03:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61776 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 61776-done@debbugs.gnu.org Mail-Followup-To: 61776@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 61776-done@debbugs.gnu.org id=D61776.16781587595231 (code D ref 61776); Tue, 07 Mar 2023 03:13:02 +0000 Received: (at 61776-done) by debbugs.gnu.org; 7 Mar 2023 03:12:39 +0000 Received: from localhost ([127.0.0.1]:44141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZNkk-0001MJ-PL for submit@debbugs.gnu.org; Mon, 06 Mar 2023 22:12:39 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:42683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZNki-0001M5-Iv for 61776-done@debbugs.gnu.org; Mon, 06 Mar 2023 22:12:37 -0500 Received: by mail-qt1-f180.google.com with SMTP id r16so11460295qtx.9 for <61776-done@debbugs.gnu.org>; Mon, 06 Mar 2023 19:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678158750; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=crBxSepV1gNTXD85BHgBy2c20PT7/nFiuI7/5Hu/2RI=; b=duP8WcRXxPVVq+1Kxofw9A7J+i0eJdaYLwezr/OLmZpU1MOl5ZqeUUasH1ydmMGv0U VQcQrVz/OCDC6IR4aCQeiC8S7VJS25hhS9YQHvV7IPMvav/BKm8znRNqJqLgvgmj4o6u qnteYmtPGMuTEcH/pYOh3A5nsmdWrIl+cUx6q2OhaZkJmnMBN9DI+MziYOxdBBybK6Ir IxfR1THhe9/s11cP4gYTmUnYCiFB4PTGgsNT/x5qAC5UE/34pR8Xdl+Vcc/9NJbkxY3d J0j1XOaWV7UOdMUxI6aSZfMctD600sbBi6zk1QseoRoF/wDQotUB6jo66JTF7jM/0LPS gbig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678158750; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=crBxSepV1gNTXD85BHgBy2c20PT7/nFiuI7/5Hu/2RI=; b=72F9Gc0zBQN7mGcTcFPJf7hrwSiMMywtaSqabwwIvPsNZHRW77fDsYQ+ZPFV7VSLTl THkiuh/vn10pLVxOTpCM+N2C9wN7rHHuMBuWwHgJWzLZkVq/rC/i8jUX0kpACRyyY5x1 O9C4jlNKNioDT0f3IQY6SExh6my6RirNpKXnZqjEiOKu4UBrqbUlXCsr9JHY+7eBeC2E oTml5kvDcDlSYkXoUZgKFnDy3geNtb1fw/i8sIfW9ogctHfHBn4MjDOLoXpdJaWvZOVn m0htZ6J6luQzC0Q97qJ3Q1Judhw4LGC+yOBiNLhHZipebdldZC9pJi5XB1GVuSbjsmdp 2rVw== X-Gm-Message-State: AO0yUKUSEbijizwAAiXY5hwnV2wiV4QuT6/KQyS2MlE9mYa3cT8JpO8+ c4LI0yxAUvG0Ko/0rWWWKhXizPHNXPp4Kw== X-Google-Smtp-Source: AK7set8BSbvVhtij41ZDUMEDpCR3m7s9JS1nrhJRA3V/JD2DRdExSWc1w1ufeC5n7iBRD8RMpSkcoQ== X-Received: by 2002:ac8:5a11:0:b0:3bf:cc25:ebfc with SMTP id n17-20020ac85a11000000b003bfcc25ebfcmr21812385qta.0.1678158750511; Mon, 06 Mar 2023 19:12:30 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id c22-20020a379a16000000b0074233b15a72sm8652121qke.116.2023.03.06.19.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 19:12:30 -0800 (PST) From: Maxim Cournoyer References: <20230225011934.27451-1-maxim.cournoyer@gmail.com> <87fsanv5ly.fsf@cbaines.net> Date: Mon, 06 Mar 2023 22:12:28 -0500 In-Reply-To: <87fsanv5ly.fsf@cbaines.net> (Christopher Baines's message of "Thu, 02 Mar 2023 09:51:58 +0000") Message-ID: <87wn3txnj7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 06718A6E4 X-Spam-Score: 6.69 X-Migadu-Spam-Score: 6.69 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-TUID: M/Vs0EIFxXUh Hi, Christopher Baines writes: > Maxim Cournoyer writes: > >> * guix/search-paths.scm ($PKG_CONFIG_PATH): New variable. >> * gnu/packages/pkg-config.scm (%pkg-config): Use it. >> * gnu/packages/perl.scm (perl-extutils-pkgconfig-for-target): New procedure. >> (perl-extutils-pkgconfig): Turn into a syntax that >> conditionally expands to... >> (cross-perl-extutils-pkgconfig): ... this when %current-target-system is set, >> or... >> (%perl-extutils-pkgconfig): ... this in a native compilation context. >> [arguments]: New field. >> [propagated-inputs]: Turn into... >> [native-inputs]: ... this. >> [native-search-paths]: New field. >> --- >> >> gnu/packages/perl.scm | 63 ++++++++++++++++++++++++++++++++++--- >> gnu/packages/pkg-config.scm | 5 ++- >> guix/search-paths.scm | 8 +++++ >> 3 files changed, 68 insertions(+), 8 deletions(-) > > I guess I've been sent this email personally because of "teams", it's > quite confusing, I can't determine the bug number from the email, but I > believe it's #61776. I'm going to reply to that bug. > > Anyway, according to QA this might break perl-gtk2. Unfortunately the > comparison is a bit confused due to the openmpi related breakage, so do > ignore that in the comparison. I fixed perl-gtk2; it also required pkg-config, which perl-extutils-pkgconfig no longer propagates, and pushed. Thanks for the heads-up and the useful data! -- Maxim