From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kFk1NrmWPWXURwEAG6o9tA:P1 (envelope-from ) for ; Sun, 29 Oct 2023 01:18:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kFk1NrmWPWXURwEAG6o9tA (envelope-from ) for ; Sun, 29 Oct 2023 01:18:17 +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 B45486066B for ; Sun, 29 Oct 2023 01:18:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fastmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698535097; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FrrDiXCbpFQJ2KWHdp3zc5antTmDxk4V1tm/4QyaFYY=; b=j9qeuS/fnIxJVsxVVgRRlNzlEWpw/y5tIcqIukJXtURFX9TUu5BfqA7mwKBU76LBMi69GG 603EHpekmL2ZUKt8Sz5BKWW4n9xVqMgeoktQN6UNr3S6f7orRE9mOyR6ulzyldJ/rU4AUx kms1tz7tDgossP7u2lXoIGuQ38zgKydUwCSf6giMhEMGMs7xBV3mpjbVQpzrOEcW/TcXgM dt2GznQrDpRizgoAI7Fwgow89xSPCE0pg+qh3Vs0HgwwO+JD3DMPyvTHAqc8CC6WSeGSsM XmjTuBI7N5QispQoqpLQF/bb6V19Cpcwj2enjpWeuL+znZEMA1qMCjE5uYVydg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; 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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fastmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698535097; a=rsa-sha256; cv=none; b=nOla5kn5S/3HTUbKxtsENNzjYr2mq0SCqFMth51/RFtBi9pKQcnd1YNFwMIRMROcTWvlTP 2gmXiiMTwawTEiQm3o+29l8VprSeTpYiA7FT3fsIv+igNJVt4oXAsDd/DcK9CmiPedgjHt 2twPMzr1TZJtLDUiuo9HtpCqT61DKeoE+gYT11LoxYG71CsIncUtNwZPqu9mh2p8u3QF7Q O8LBRVlGiFGE7nd0EY/8BAUtkgY/KcqpDtKU8i4LxcRN6QUuq0bPvptiCY0T1DP9FHpDC2 72cDCan2+r3HaPNIX6s7X3TQcTnyvEJRE4sUikWfzJebNo1+mgWu9Rw8lSwS3Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwsZB-0003cZ-Ai; Sat, 28 Oct 2023 19:18:06 -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 1qw1Mq-0005CQ-9R for help-guix@gnu.org; Thu, 26 Oct 2023 10:29:48 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw1Mo-0001uE-AT for help-guix@gnu.org; Thu, 26 Oct 2023 10:29:48 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 419185C01AB; Thu, 26 Oct 2023 10:29:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 26 Oct 2023 10:29:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1698330583; x=1698416983; bh=FrrDiXCbpFQJ2KWHdp3zc5antTmDxk4V1tm /4QyaFYY=; b=Cw7NNMydRjwpc6t9aWsO1tbecZLVLCKd+2EetC1ThzH2SOeHS8q F0dGuUpNPqJA1wpjYyFUNG6VBHjaLuvGHGiOHXXKAh3aoPKjPC5yDAvxzHRqewoM n1jCAE6i/K0mOBoLdn9HXzXhMrPE0UGJL2UZ2tIIaj0b5ykYXzzqjZwTNxUT3FdU 7rMgxCISoEbhp9VF2boIXx0bjJHS4+l0yks/bdT2d9qkm5KUGGBQETfbQ4EEdJAI NLUG7SrFmWvzTOWb3g+Bifuw9QzU2QfvNBBIz9bATFf4A4r4HsQiPX2LFBY1x5G+ HcEbHDv25FH0EOfPwn5nXiMqFAV2Fr51kWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1698330583; x= 1698416983; bh=FrrDiXCbpFQJ2KWHdp3zc5antTmDxk4V1tm/4QyaFYY=; b=V hpVSthEetKKqfdO7dKWYt4StFZpLdSnw6ua0jyvvud0VQZ3HV4qvRDRxj5E6XR4p kAPS9oTCUl44wKkLNCDvwEp4IW4NKhRvNUG+qNhw4WJe4YELhYIYS4bLs2T8Sksd 8JUsE0JfYw8y8iq/czdgyVM2vIBKvAdyyMk1pd5LjWS0+1p3iEI4SnUsJWTagQRW OvYg6u3KVNsb72zhvTznKR2pBYvPrbuh1pm7J5Sc8SlSGd56ckBcDa3FEzJo5NGu cP6G9hUA6LuC+gmBoOB+0i0dLA1K6tAjoHZo+1h7h7tjjiwt8I5tf0bo8AqOAR8g upeHRlk/FsC2OpzJdvvRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledvgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeflvghsshgv ucfoihhllhifohhougcuoehjvghsshgvpghmsehfrghsthhmrghilhdrtghomheqnecugg ftrfgrthhtvghrnhepffeigeevieefjeejleefvdejueeuheevgeegtdegkeeiueeuheeu vdfhkeeukeegnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhithhhuhgsrdhioh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjvghs shgvpghmsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i57f947b1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Oct 2023 10:29:42 -0400 (EDT) Message-ID: <3163c14f-efa8-4bdd-a99f-eeffc18bf104@fastmail.com> Date: Thu, 26 Oct 2023 10:29:41 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Building Package and autoreconf not found Content-Language: en-US To: Jesse Millwood , help-guix@gnu.org References: <0ed3246b-a67b-427d-b5e1-af2217f95990@millwood.earth> From: Jesse Millwood In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=jesse_m@fastmail.com; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 28 Oct 2023 19:18:01 -0400 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-Spam-Score: -0.19 X-Spam-Score: -0.19 X-Migadu-Queue-Id: B45486066B X-Migadu-Scanner: mx13.migadu.com X-TUID: B/JdnyV6ZjGx Thanks Tomas, That worked. I also had to add a phase before configure to patch the packages' gen-version-info script because it was in a location that the built-in bootstrap phase couldn't detect. Then I could drop my bootstrap phase too. Jesse On 10/26/23 10:21, Tomas Volf wrote: > On 2023-10-23 15:12:59 -0400, Jesse Millwood wrote: >> Hello, >> >> I am trying to write a Guix package but I have to add a build phase to the >> gnu build system. >> >> I have the following package scm: >> >> (use-modules >>  (guix packages) >>  (guix git-download) >>  (guix licenses) >>  (guix profiles) >>  (guix build-system gnu) >>  (guix build-system python) >>  (guix build utils)) >> >> >> (package >>  (name "crosstool-ng") >>  (version "1.26.0") >>  (source (origin >>           (method git-fetch) >>           (uri (git-reference >>                 (url "https://github.com/crosstool-ng/crosstool-ng.git") >>                 (commit (string-append "crosstool-ng-" version)))) >>           (sha256 >>            (base32 >> "04z7zwhxfbjqrd4j16lviilppsd8phwi8zv2rs4jpkmqni6856j1") >>            ) >>           )) >>  (build-system gnu-build-system) >>  (arguments >>   '(#:phases (modify-phases %standard-phases >>                             (add-before 'configure 'bootstrap >>                                         (lambda* (#:key outputs >> #:allow-other-keys) >>                                                  (invoke "./bootstrap")))))) >>  (synopsis "A versatile (cross-)toolchain generator.") >>  (description "A versatile (cross-)toolchain generator.") >>  (home-page "https://crosstool-ng.github.io/docs/") >>  (license gpl3+) >>  ) >> >> >> I need to call the "bootstrap" script before the configure phase. From what >> I can tell from the log the bootstrap script is called, however I get the >> following error: >> >> INFO  :: *** Gathering the list of data files to install >> INFO  :: *** Running autoreconf >> ./bootstrap: line 835: autoreconf: command not found >> INFO  :: *** Done! >> phase `bootstrap' succeeded after 105.5 seconds >> >> 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. > >> >> 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. >> >> Thanks. >> >> > T. >