From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wHnEJKKBS2E6WwAAgWs5BA (envelope-from ) for ; Wed, 22 Sep 2021 21:18:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aEBkIKKBS2GLKgAAB5/wlQ (envelope-from ) for ; Wed, 22 Sep 2021 19:18:58 +0000 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 4CF60130D1 for ; Wed, 22 Sep 2021 21:18:58 +0200 (CEST) Received: from localhost ([::1]:49184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT7lh-0002rr-Bj for larch@yhetil.org; Wed, 22 Sep 2021 15:18:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT7e2-0007cS-P1 for guix-patches@gnu.org; Wed, 22 Sep 2021 15:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mT7e2-0006zS-Hr for guix-patches@gnu.org; Wed, 22 Sep 2021 15:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mT7e2-0004eM-D1 for guix-patches@gnu.org; Wed, 22 Sep 2021 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50201] [PATCH core-updates-frozen 0/52] Support cross-compilation in glib-or-gtk-build-system and fix cross-compilation errors Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Sep 2021 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: Mathieu Othacehe , 50201@debbugs.gnu.org Received: via spool by 50201-submit@debbugs.gnu.org id=B50201.163233784417834 (code B ref 50201); Wed, 22 Sep 2021 19:11:02 +0000 Received: (at 50201) by debbugs.gnu.org; 22 Sep 2021 19:10:44 +0000 Received: from localhost ([127.0.0.1]:51722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT7dj-0004da-Lz for submit@debbugs.gnu.org; Wed, 22 Sep 2021 15:10:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT7di-0004dK-DM for 50201@debbugs.gnu.org; Wed, 22 Sep 2021 15:10:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47154) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT7db-0006cF-V7; Wed, 22 Sep 2021 15:10:36 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36002 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT7dL-0001PY-C0; Wed, 22 Sep 2021 15:10:19 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210825180332.5720-1-maximedevos@telenet.be> <20210825180332.5720-45-maximedevos@telenet.be> <87pmtv9iu8.fsf_-_@gnu.org> <9dad287d9cc30856642f3dda45667ebcb12dc2c9.camel@telenet.be> Date: Wed, 22 Sep 2021 21:10:09 +0200 In-Reply-To: <9dad287d9cc30856642f3dda45667ebcb12dc2c9.camel@telenet.be> (Maxime Devos's message of "Thu, 02 Sep 2021 16:53:00 +0200") Message-ID: <87v92sfmum.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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632338338; 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: content-transfer-encoding:content-transfer-encoding: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; bh=KglSBiLp6qocL4xmNQChus1vFtEGowEkWo4urtWC6Lk=; b=X8DVKh/3HffrCX79lSD3Li3WoDolKLzQon7++p0zgqZK+toBnOxaYjFI7QznN4fIWUqfsb VxP7WGvUfyw7Am38SilKMC8jj6lJc+MH4Ix8r79cpMziAstoTWEWWsajomizjkWpRaISqX ljdSuGhUMB24iWnXFPif1sonLmB9B2iVCa6frr+zd5tSjy8U/VOQaDJ/xTT07H07qxJhKr RVwLWLyUvAs/8YaR+VXr1xr7yBp3AJZ3bbKk8s1j75zzk2W8KdBqkbxWLeVM8Y6hTrzMWM rYn0QP9M1gZSe/axVREf5l34V1Qg4mW+Q0FDx+UzeQ+2u2J6/FF5Tgnr4GdYyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632338338; a=rsa-sha256; cv=none; b=ULUikgCmO69Lr9kVKsAV7/dMHB1yLcb4IaN35Nmag59u85KYHU38YjbR7jTQswdrrsNfso 8RO0Ewl7UXeTlya66ywaEk320PmKv5ylIqimWxK4RAD/cA5Fzm4Iy+fjk5+iz7iPif0aTK 2mT24EHgxhnTs4lGeRW93qBq58jAgKgOtFMQvFvGBjHV8vP2Hi9gbnoXM35kldrpW+495Q juLHHO2ES2LX4o4LjsKewReEj0XKlh6q34O3HZjYiDijzuQv3kg7rRe3QoIaNjozuQA/WI D8vLRY4pfwFz8E9TmAu6m1djKNLwxhROnNtkixKHvkFNA5E+6MXt6YLxJjeHLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4CF60130D1 X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: kAkCfZ5aZyNW Hi, Maxime Devos skribis: > --- a/gnu/packages/pkg-config.scm > +++ b/gnu/packages/pkg-config.scm > @@ -139,7 +139,7 @@ build, or a GNU triplet." > ;; work because they both use the "PKG_CONFIG_PATH" environment variable. > (define-public pkg-config-for-build > (package > - (inherit (hidden-package pkg-config)) > + (inherit (hidden-package %pkg-config)) > (name "pkg-config-for-build") > (version "0") > (source #f) > @@ -163,6 +163,8 @@ exec ~a \"$@\"" > (search-input-file %build-inputs "bin/pkg-config= ")))) > (chmod where #o500)))) > (native-search-paths > - (list (search-path-specification > - (variable "PKG_CONFIG_PATH_FOR_BUILD") > - (files '("lib/pkgconfig" "lib64/pkgconfig" "share/pkgconfig"= ))))))) > + (map (lambda (original) > + (search-path-specification > + (inherit original) > + (variable "PKG_CONFIG_FOR_BUILD"))) > + (package-native-search-paths %pkg-config))))) Isn=E2=80=99t that a typo, =E2=80=9CPKG_CONFIG_FOR_BUILD=E2=80=9D instead of =E2=80=9CPKG_CONFIG_PATH_FOR_BUILD=E2=80=9D or (string-append name "_FOR_BU= ILD")? The original spec above looked more appropriate to me. Thanks, Ludo=E2=80=99.