From: csanchezdll@gmail.com (Carlos Sánchez de La Lama)
To: guix-devel@gnu.org
Subject: fgrep fails to find grep during bootstrap
Date: Tue, 27 Sep 2016 15:00:30 +0200 [thread overview]
Message-ID: <7tvaxhh501.fsf@gmail.com> (raw)
Hi all,
I am trying to bootstrap for powerpc-linux. I have generated the
tarballs and patched gnu/packages/bootstrap.scm to use them.
However, I get an error during when creating %bootstrap-coreutils&co
package. It specifies "fgrep" as program to test, but fgrep is a shell
script, and altought the shebang is correctly patched, it needs "grep"
binary in the path (which is not at this stage). fgrep does:
exec grep -F "$@"
so this can not work unless grep is available in PATH.
Options would be to patch those scripts to use `dirname $0`/grep, or
just test another program in package-from-tarball (the program testes
used to be "true"). I am doing the latter to go on bootstraping.
BR
Carlos
--
-Tiens! Mais vous êtes un homme de coeur! dit sir Francis Cromarty.
-Quelquefois, répondit simplement Phileas Fogg. Quand j'ai le temps.
Jules Verne, "Le Tour du monde en quatre-vingts jours" (1872)
next reply other threads:[~2016-09-27 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-27 13:00 Carlos Sánchez de La Lama [this message]
2016-09-27 18:40 ` fgrep fails to find grep during bootstrap Efraim Flashner
2016-09-28 13:22 ` Carlos Sánchez de La Lama
2016-09-27 23:59 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7tvaxhh501.fsf@gmail.com \
--to=csanchezdll@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.