unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bootstrap script only works with guix environment, not with guix shell
@ 2022-07-08 21:57 Zelphir Kaltstahl
  2022-07-08 22:02 ` Zelphir Kaltstahl
  2022-07-08 22:10 ` Christopher Baines
  0 siblings, 2 replies; 7+ messages in thread
From: Zelphir Kaltstahl @ 2022-07-08 21:57 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3715 bytes --]

Hello Guix developers!

I am messing around again with updating a package and according to my own guide 
from previous adventures, I have to run the following command to generate the 
`pre-inst-env` script, in the root directory of the guix sources:

~~~~
guix environment guix -- ./bootstrap
~~~~

But then I remembered, that actually `guix shell` is the newer thing and changed 
it to:

~~~~
guix shell guix -- ./bootstrap
~~~~

However, this does not work. I get an error:

~~~~
$ guix shell guix -- ./bootstrap
+ find po/doc -type f -name guix-manual*.po
+ sed -e s,.*/guix-manual\.,,;s,\.po$,,
+ langs=fr
ru
es
pt_BR
de
zh_CN
+ [ ! -e doc/guix.fr.texi ]
+ [ ! -e doc/guix.ru.texi ]
+ [ ! -e doc/guix.es.texi ]
+ [ ! -e doc/guix.pt_BR.texi ]
+ [ ! -e doc/guix.de.texi ]
+ [ ! -e doc/guix.zh_CN.texi ]
+ find po/doc -type f -name guix-cookbook*.po
+ sed -e s,.*/guix-cookbook\.,,;s,\.po$,,
+ langs=de
fr
sk
ko
+ [ ! -e doc/guix-cookbook.de.texi ]
+ [ ! -e doc/guix-cookbook.fr.texi ]
+ [ ! -e doc/guix-cookbook.sk.texi ]
+ [ ! -e doc/guix-cookbook.ko.texi ]
+ exec autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:92: error: possibly undefined macro: GUILE_MODULE_AVAILABLE
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
configure.ac:99: error: possibly undefined macro: GUILE_PKG
configure.ac:100: error: possibly undefined macro: GUILE_PROGS
autoreconf: /usr/bin/autoconf failed with exit status: 1
~~~~

When I use `guix environment` it works:

~~~~
  guix environment guix -- ./bootstrap
+ find po/doc -type f -name guix-manual*.po
+ sed -e s,.*/guix-manual\.,,;s,\.po$,,
+ langs=fr
ru
es
pt_BR
de
zh_CN
+ [ ! -e doc/guix.fr.texi ]
+ [ ! -e doc/guix.ru.texi ]
+ [ ! -e doc/guix.es.texi ]
+ [ ! -e doc/guix.pt_BR.texi ]
+ [ ! -e doc/guix.de.texi ]
+ [ ! -e doc/guix.zh_CN.texi ]
+ find po/doc -type f -name guix-cookbook*.po
+ sed -e s,.*/guix-cookbook\.,,;s,\.po$,,
+ langs=de
fr
sk
ko
+ [ ! -e doc/guix-cookbook.de.texi ]
+ [ ! -e doc/guix-cookbook.fr.texi ]
+ [ ! -e doc/guix-cookbook.sk.texi ]
+ [ ! -e doc/guix-cookbook.ko.texi ]
+ exec autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2.69/bin/autoconf --force
autoreconf: running: /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2.69/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am:816: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
autoreconf: Leaving directory `.'
~~~~

I do not know, if this is intentional or not, but I thought that `guix 
environment` will be phased out or something.

Here is my installed guix version:

~~~~
$ guix describe
   guix d7d2340
     repository URL:https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: d7d23407213247d0173eabd2c769f2b98cef4fe9

$ guix --version
guix (GNU Guix) 0
Copyright (C) 2022 the Guix authors
License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
~~~~

I did `guix pull && guix package -u` just a few minutes ago, so everything 
should be quite up-to-date.

Best regards,
Zelphir

-- 
repositories:https://notabug.org/ZelphirKaltstahl

[-- Attachment #2: Type: text/html, Size: 4357 bytes --]

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

end of thread, other threads:[~2022-07-08 22:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08 21:57 Bootstrap script only works with guix environment, not with guix shell Zelphir Kaltstahl
2022-07-08 22:02 ` Zelphir Kaltstahl
2022-07-08 22:06   ` Julien Lepiller
2022-07-08 22:07   ` Ekaitz Zarraga
2022-07-08 22:16     ` Zelphir Kaltstahl
2022-07-08 22:22       ` Ekaitz Zarraga
2022-07-08 22:10 ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).