From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WNbEKgjIUWKtLgEAgWs5BA (envelope-from ) for ; Sat, 09 Apr 2022 19:53:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yGGaJwjIUWIvqgAAauVa8A (envelope-from ) for ; Sat, 09 Apr 2022 19:53: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 40FC9129C9 for ; Sat, 9 Apr 2022 19:53:12 +0200 (CEST) Received: from localhost ([::1]:53982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndFGo-000460-Tq for larch@yhetil.org; Sat, 09 Apr 2022 13:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndFGg-00045b-5G for bug-guix@gnu.org; Sat, 09 Apr 2022 13:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndFGf-0005NR-RU for bug-guix@gnu.org; Sat, 09 Apr 2022 13:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndFGf-0007Tj-OF for bug-guix@gnu.org; Sat, 09 Apr 2022 13:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54820: build-systems: inconsistent use of standard-packages Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Apr 2022 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54820 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel , 54820@debbugs.gnu.org Received: via spool by 54820-submit@debbugs.gnu.org id=B54820.164952677728737 (code B ref 54820); Sat, 09 Apr 2022 17:53:01 +0000 Received: (at 54820) by debbugs.gnu.org; 9 Apr 2022 17:52:57 +0000 Received: from localhost ([127.0.0.1]:38652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndFGb-0007TR-7g for submit@debbugs.gnu.org; Sat, 09 Apr 2022 13:52:57 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:48864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndFGZ-0007TH-57 for 54820@debbugs.gnu.org; Sat, 09 Apr 2022 13:52:56 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id Ghst270014UW6Th06hstg7; Sat, 09 Apr 2022 19:52:53 +0200 Message-ID: <27c029b24af9da1871ad95d1fbfd1dec86a4e9d2.camel@telenet.be> From: Maxime Devos Date: Sat, 09 Apr 2022 19:52:48 +0200 In-Reply-To: <73a4b99c-23db-ac72-2a09-1c454dc1b3e5@crazy-compilers.com> References: <73a4b99c-23db-ac72-2a09-1c454dc1b3e5@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LBYQmc7TM4abvKvKFtdC" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649526773; bh=JGNTxY4tYCB77mCI3TTXRf9Uf9FrF1hbWsmXO9impdA=; h=Subject:From:To:Date:In-Reply-To:References; b=n0U2+cM2Q5nu+d+HLAeQL/QKQmYAdZV4k1aAAZTioNmCooGAiYikIelt+pSY3kQCE 8qZy+rC1+uQWXJbzg6JZXQI0TuQ79a/iLgJ6bCz6vtUu+zLfG9KWOunO9R4cCbz1mL Skht+VKEzm/3X87xjlONxHXYvRTCb10KnZFBhDPWRfYm+ILFfoonC8O6RgSMywo2vI Y18DN7a4Ipre2RJOBc25KSaVgAreiY94U5SUlNPu6kEV0J1GbZHvMNSS7cUmfffF0e 0IkEhwl9gMJnRuoVoalRCJFuhk6XtuXunR+odrUlrJp0GbVt28FxxCNzL7dh/Gv+sv niiDVGeO24eVg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1649526792; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=JGNTxY4tYCB77mCI3TTXRf9Uf9FrF1hbWsmXO9impdA=; b=J1vHDsvRu7bhWJ376UICYJTpNcjzr2NLwqk0db+wG3TxaCqauxxAEWhZoH6Umsc0KnQraX NTmXCVmtRIk13b5fR4eoHq7lrgsVR2Mij1L1CcYvLHYxdJJiQfigjM4st0jKyiz3bBsl59 zKVacq1gR9xuZ4Lu4jAFWo/pZargTBkAAbqwjvJG9cyj0SDZ7PnGj7TW25OZpGNcnczsML rjgRc1UauB55xZKZzcEpcxhz9jC9u/fcoteKRGjvKRJYvTUtxnDhKK/zYQ4rRJLvfeUWVT Si0PaKI+U1LA5vPhNSSvDykYg9cbXYyDFX4y5BAps87zTxHWN1cEEo/OSIGaoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649526792; a=rsa-sha256; cv=none; b=l7X9R3vvyayHjLGnV8jhZ1mkM7krkd71OoQpk6zFDLkm6a1gX1useU//Gz/2gHhzz7vJwG UvwpzM4ZSgGEgnIfPZkFvtVJxAiXUaAaD6oEgHIEHbLfXZckZzdW3AEol2j2rhUVmTOvQY 2S+bZpDWfDUwqOST9gX2GlcQArbYPKipvcGJLAmlZCUd2gpFKz0BW4bqZnEQK0YbYTMIqN jcu0nUYAGSwoWxYYJiweHLaXlSWPCgykM6eEdmVqne4tR7ovOs+RKFh9pqSvEWveBirT6m OWjjiP1lBrSbsl2pVs7fx4FsZkVUt7Vp/7FdJchfSEvAcTI/nKatK01RGaa0fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=n0U2+cM2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=n0U2+cM2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 40FC9129C9 X-Spam-Score: 2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: ig4L3WO7tzZ4 --=-LBYQmc7TM4abvKvKFtdC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op za 09-04-2022 om 18:24 [+0200]: > Build-systems are adding =E2=80=9E@(standard-packages)=E2=80=9C inconsist= ently to=20 > =E2=80=9Ehost-packages=E2=80=9C or =E2=80=9Ebuild-packages=E2=80=9D. For = one developing a new=20 > build-system it is not clear which is the correct form. >=20 > Some (e.g. texlive, ruby, python) add it to =E2=80=9Ehost-inputs=E2=80=9C= ) FWIW, the latest version of corrects it for font-build-system. > [...] > Some add it to =E2=80=9Ebuild-inputs (e.g. gnu, cmake, qt): > [...] The reason in cross-compilation support: * host-inputs =E2=89=88 inputs =20 * build-inputs =E2=89=88 native-inputs=20 There's also this comment from (guix build-system) ;; Here we use build/host/target in the sense of the GNU tool chain (info ;; "(autoconf) Specifying Target Triplets"). (build-inputs bag-build-inputs ;list of packages (default '())) (host-inputs bag-host-inputs ;list of packages (default '())) And (autoconf)Specifying Target Triplets: '--build=3DBUILD-TYPE' the type of system on which the package is being configured and compiled. It defaults to the result of running 'config.guess'. Specifying a BUILD-TYPE that differs from HOST-TYPE enables cross-compilation mode. '--host=3DHOST-TYPE' the type of system on which the package runs. By default it is the same as the build machine. Specifying a HOST-TYPE that differs from BUILD-TYPE, when BUILD-TYPE was also explicitly specified, enables cross-compilation mode. (standard-packages) contains a tar, gzip, awk ... which are typically only needed as native-inputs, so they go in 'build-inputs'. There's also the complication that the cross-compilation system of glibc is apparently different from other packages: ;; The cross-libc is really a target package, but for bootstrapping ;; reasons, we can't put it in 'host-inputs'. Namely, 'cross-gcc' is a ;; native package, so it would end up using a "native" variant of ;; 'cross-libc' (built with 'gnu-build'), whereas all the other package= s ;; would use a target variant (built with 'gnu-cross-build'.) (target-inputs (if (and target implicit-cross-inputs?) (standard-cross-packages target 'target) '())) Also, (standard-packages) only contains a non-cross-compiling gcc, so (standard-cross-packages) (used when cross-compiling) adds a cross-compilin= g gcc. Greetings, Maxime. --=-LBYQmc7TM4abvKvKFtdC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlHH8BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7q6ZAQD2hR39G4nDAy5EM4aC27A4hPnh EqbyqybG4EWQOjOWnwD/f7kcO2WX4O0RwWcTFBKW/94uhhiPQnWZ89JheVLyrAA= =XoNg -----END PGP SIGNATURE----- --=-LBYQmc7TM4abvKvKFtdC--