[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Package and autoreconf not found

From: Jesse Millwood
Subject: Building Package and autoreconf not found
Date: Mon, 23 Oct 2023 15:12:59 -0400
User-agent: Mozilla Thunderbird


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:

 (guix packages)
 (guix git-download)
 (guix licenses)
 (guix profiles)
 (guix build-system gnu)
 (guix build-system python)
 (guix build utils))

 (name "crosstool-ng")
 (version "1.26.0")
 (source (origin
          (method git-fetch)
          (uri (git-reference
                (url "";)
                (commit (string-append "crosstool-ng-" version))))
 (build-system gnu-build-system)
  '(#: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 "";)
 (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?

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]