From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uHZoBA92OmUQWAAAG6o9tA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 16:22:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uHZoBA92OmUQWAAAG6o9tA (envelope-from ) for ; Thu, 26 Oct 2023 16:22:07 +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 C0A4F237D3 for ; Thu, 26 Oct 2023 16:22:06 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=AqmrJsMb; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MJUeDrq+; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698330127; a=rsa-sha256; cv=none; b=CSc5Tt0pEflIKgFjDXC9jgyGZSdosChr1SRxso7aiRb6yHxsybHNrdapIO2DcQ/PJsXrr4 du/EemTKsNgDB+PE2zJOMez9wyEGk2G1/iB/jJq7OH8jCaGif38VwKr1sQjD2uFUvdP9ku qJxe/e6GGYyQ/JKZAhRwsFS54bzMLsK6t4nU73aB/nY0J/aLn1MpJShAvCVw6ejeVLndD7 7bw0HDQvuf9Z3yApC1KL0e2UXkl17NJ4cF4cR/EY6jen4tXKkK4q91Vjlkgy9QiCIMetIx 8/B+tk51PNKp3841WwmjP6DGiEQpNT6OXW2uuP9JlpVLkQv11aqpKE+WYlJYvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=AqmrJsMb; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MJUeDrq+; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698330127; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wXOQU308Hrf5YDxtL1/8Ul8Trhvg4tGQvz3L7rp9Ojc=; b=olCPOVYoDS4fGJT5iH4Nl3Fl+ZCLdRmF2rib3DGAbZjvlsRr8oGUE+jLQGGAutcNePcco2 Ot00CRFieJke4R55JKUgA88yvHFiiOQMv/NNLJRzfjmvTuFbxbvBuq2LNGWXz9Ba1SJ9v6 xCQSYRwq5WPnKhBafxEMeGxJaSihu+EDRwLxcKKBV2LHbu5MWi99/UB+CLpiVPOHoiZD6E lh9mbtDKW/Lgw/uDMxH8Zt7kZZv1z5Tu5zsOjW8X41WMajMl90JErKaurLECcDxuEbwXBU 3XntDex9zT+3rKyzEgiadMjfXVtyq9ydynCX8Fz2yTCCglqgj2jaHfHiqCHW8g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw1F6-0001tU-WB; Thu, 26 Oct 2023 10:21:49 -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 1qw1F2-0001nw-4k for help-guix@gnu.org; Thu, 26 Oct 2023 10:21:44 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw1Ew-0007Gx-8c for help-guix@gnu.org; Thu, 26 Oct 2023 10:21:40 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 55C002734FB; Thu, 26 Oct 2023 14:21:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698330096; bh=7LiHwcTytD39XopzbOZsMRz+o1miY8M87AFz+jI0R8E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=AqmrJsMbWoDHYhn6zpyZvcOdzgCZRxv1se3MHELBrQwwRyfRh3we9UiiucwkMQcTq KquiIq3G8QDXs5CK51J2PpNZ3X2qDUz0+rX6je/sUOrOVe2wdKCNcSFx2RFyHUi+ot UwhJUfpXXH1ZLxmG1mJl7cqeQoVP7ra9wc1FisB5xqCiZjNzehT6i4fLwZiQd1dJd1 9b1jJuOEkzY694PLVEAJmTyAfUM7GLyZ0j6I1KexsBmjSe9kGbJIBNwuKwuDib7ijW VFNbhFONJ2gnyaC6Skxub4O3FIZOcOCe2YCPh9inm+yAN1ZEuVv87AH8PmwKajyxag RgltO2f/CoLzG2ifwNRHws69OqYghy5lrSexQQypLRr8F7BBFiF7jxpD3qvNqucAh9 6BREZKuk40TIW4zdDQ7tcaWrj3wXUP5IxObnjNIFNirjk/wJXxLAfdVE/2HhdzBHdT xaf3y/ZR++mNg2p0Mm5ElC0I4hyDAQOov9NeeLgAXwyvusbb1oDGqmwb7PvgFbKEPB EkgShWUUNpTSZgCszUXW+X8p07LAOtEsd/HoRWnN2NPo80If+Yra6SteJy8GCktchX PlDaOSyKmcbx2KIWy5qKSKeMER8ZJ593hdvZyG257/fechw0YE+70krR1lvRUa2aUG 0lErbV8Qpcx+OY5IWauf5IG4= Received: from localhost (unknown [81.17.16.82]) by wolfsden.cz (Postfix) with ESMTPSA id 9BF61274307; Thu, 26 Oct 2023 14:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698330095; bh=7LiHwcTytD39XopzbOZsMRz+o1miY8M87AFz+jI0R8E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MJUeDrq+cyFy4xPxYh/8y9MdMfxdEZ6YOQo+iG1ROG66JFqKaDPzgdb78hW8Vue7N 4Q053C+DBArEVnu1z6nhm5Ulbc2eAFpyXjyhagG1bYvsc1n6EIRrcuXOm2JO+4G6Kg dqLZvRhDIuLt+hFmohts0sJDWMGe38r7v0Ou6Vj6aFRTZfGppUgv28WwZV6BaWaxax LUX84e2bXEANC2LkFMhMeMdZQLTNHKhXou3AeHcfkMTYlPZylSnaBXgF2pJmWUf2yn 2kP3STlSP8RKTSWcKsMAFP7l1SNCY3nBZsYgD43+37QH0QTwYy7GgjUcP+wbqFaqJH bV0MhSXCNowVLOzASyd3ksPPcNv7GNCFs3P2Qc3D7e6+Q1ZE4C41IRWvZSHSR7QAT4 ZDTIPZ2erofBhKvxe2MPkG4btHO4LAPcMBGvCYwwc1Wueb0xyPd446irgAxS93JuUD 237kri1Ybk8+zbAjHCF7EKONnOzO8bvzwTy90IRJOP2/zgbnRBNKM2RYFuM5OvHDmr xPxSaSugqWKORtGiayI9+TkcTLsKo9ShG6k5/M8mWL4YFpYY8skqSGPygn9R8B3zDo pHEF827kOFqyDmM1XFUqts0s+KSpEo/dN1461nV/BCfg29twXJpPI3t+icfyKx/rMG aKvVo0/RxT63F7a16iq0Oevw= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 52c3ff0f; Thu, 26 Oct 2023 14:21:33 +0000 (UTC) Date: Thu, 26 Oct 2023 16:21:33 +0200 From: Tomas Volf To: Jesse Millwood Cc: help-guix@gnu.org Subject: Re: Building Package and autoreconf not found Message-ID: Mail-Followup-To: Jesse Millwood , help-guix@gnu.org References: <0ed3246b-a67b-427d-b5e1-af2217f95990@millwood.earth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YUYcoA9FBJn21FGp" Content-Disposition: inline In-Reply-To: <0ed3246b-a67b-427d-b5e1-af2217f95990@millwood.earth> Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C0A4F237D3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -11.22 X-Spam-Score: -11.22 X-TUID: WU5KvINxEL5+ --YUYcoA9FBJn21FGp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-10-23 15:12:59 -0400, Jesse Millwood wrote: > Hello, >=20 > I am trying to write a Guix package but I have to add a build phase to the > gnu build system. >=20 > I have the following package scm: >=20 > (use-modules > =A0(guix packages) > =A0(guix git-download) > =A0(guix licenses) > =A0(guix profiles) > =A0(guix build-system gnu) > =A0(guix build-system python) > =A0(guix build utils)) >=20 >=20 > (package > =A0(name "crosstool-ng") > =A0(version "1.26.0") > =A0(source (origin > =A0=A0=A0=A0=A0=A0=A0=A0=A0 (method git-fetch) > =A0=A0=A0=A0=A0=A0=A0=A0=A0 (uri (git-reference > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (url "https://github.com/cr= osstool-ng/crosstool-ng.git") > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (commit (string-append "cro= sstool-ng-" version)))) > =A0=A0=A0=A0=A0=A0=A0=A0=A0 (sha256 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (base32 > "04z7zwhxfbjqrd4j16lviilppsd8phwi8zv2rs4jpkmqni6856j1") > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ) > =A0=A0=A0=A0=A0=A0=A0=A0=A0 )) > =A0(build-system gnu-build-system) > =A0(arguments > =A0 '(#:phases (modify-phases %standard-phases > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 (add-before 'configure 'bootstrap > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (lambda* (#:key outputs > #:allow-other-keys) > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (i= nvoke "./bootstrap")))))) > =A0(synopsis "A versatile (cross-)toolchain generator.") > =A0(description "A versatile (cross-)toolchain generator.") > =A0(home-page "https://crosstool-ng.github.io/docs/") > =A0(license gpl3+) > =A0) >=20 >=20 > I need to call the "bootstrap" script before the configure phase. From wh= at > I can tell from the log the bootstrap script is called, however I get the > following error: >=20 > INFO=A0 :: *** Gathering the list of data files to install > INFO=A0 :: *** Running autoreconf > ./bootstrap: line 835: autoreconf: command not found > INFO=A0 :: *** Done! > phase `bootstrap' succeeded after 105.5 seconds >=20 > My understanding that the autotools tools were included in the "guix > build-system gnu" module. Is there some way I have to provide my bootstrap > phase with the autotools packages? I believe autoreconf is not usually required for building packages from a distribution archive. Try to add autoconf into a native-inputs. >=20 >=20 > For some background, this is my first time using guix and guile so I'm am > kind of banging my head through the manual but I got a little stuck here. >=20 > Thanks. >=20 > T. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --YUYcoA9FBJn21FGp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmU6de0ACgkQL7/ufbZ/ wakK2w//WOBzjjNrcQo4mDKOxGjaLRnj5Uq2CkqWOIwC/edNEaGnS5ybCi8lW6hl uWzLKmUhXeRANI4UER+CtNxJS40QNViDtqsQc4Z9jqSz3VRMIsfsG006GjVxhELW vFCfAA3PnxPGZSlRJNo3nI6Gsu4GRWIPecjQUx1GZCnV6AQrowhYIotIsUMvjTeO uePOH8qoLK4oVoOyQKqefC8jmpLgmN4yeDokXJnx7n+BgphXYp8RQ7MZOMnw6WUW 7YZ0rI1rh6ADmzkyvfkIqWEeKZfItTraFM0LOBeMmKsUqJMbAfToPJBqgMZehcdv ZRhKiT2JSwovyRF/RmPGSinrl78y3oduNIutdS8Jl7EGmmSZJ2V9a9RqGs2QT3Xk jrmYhdghUgLRIVcHZuPK580pEN856le2gi5+2/Br9d67p2rYfSk6YZbtxLwwjBpD iSs8cPd5rRulOJ7jvqB1/81HEBJQ3eUrRHsmD+CrxRoBL0KCPs+gaL0T0Hggbgq+ JgH4RmcAMx7b89MdeyH+Okx/BfI0EI/vUEOVAjCMLXqvWwSh/cMNBZ5SeFy06JG3 1mzXs4w5vmAbW5SvUwPr6XfgGBE6pDvm6Mynjqpvti0soHwuqKGTfcVypJ+FdO2x BrByA+KRKvyyloBmTK6Icyd3LLqKKjjDAfk5nXQPDo1/mtz5LE4= =daX4 -----END PGP SIGNATURE----- --YUYcoA9FBJn21FGp--