all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* fgrep fails to find grep during bootstrap
@ 2016-09-27 13:00 Carlos Sánchez de La Lama
  2016-09-27 18:40 ` Efraim Flashner
  2016-09-27 23:59 ` Mark H Weaver
  0 siblings, 2 replies; 4+ messages in thread
From: Carlos Sánchez de La Lama @ 2016-09-27 13:00 UTC (permalink / raw)
  To: guix-devel

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-28 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-27 13:00 fgrep fails to find grep during bootstrap Carlos Sánchez de La Lama
2016-09-27 18:40 ` Efraim Flashner
2016-09-28 13:22   ` Carlos Sánchez de La Lama
2016-09-27 23:59 ` Mark H Weaver

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.