---- On Tue, 24 Mar 2020 21:44:58 -0500 sirgazil <sirga...@zoho.com> wrote ---- > Hi, Daniela > > ---- On Tue, 24 Mar 2020 07:34:37 -0500 Daniela Lura > <danielalu...@gmail.com> wrote ---- > > Yes I have and the same thing happens. > > When I use: `guix environment --pure guix --ad-hoc coreutils findutils > which`I am sent to another shell and it can't recognize pre-inst-env. > > Did you run the recommended commands shown in > https://guix.gnu.org/videos/packaging,-part-one/index.html before running > "./pre-inst-env"? >
Actually, I just pull the guix repository and make fails with the following error (other people on #guix see the same error): $ make GEN doc/os-config-bare-bones.texi GEN doc/os-config-desktop.texi GEN doc/os-config-lightweight-desktop.texi PO4A doc/contributing.de.texi Your input po file po/doc/guix-manual.de.po seems outdated (The amount of entries differ between files: 8727 is not 298 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.de.texi mv "doc/contributing.de.texi.tmp" "doc/contributing.de.texi" PO4A doc/guix.de.texi Your input po file po/doc/guix-manual.de.po seems outdated (The amount of entries differ between files: 8727 is not 8512 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.de.texi" | sed 's|texi$|info|')|" "doc/guix.de.texi.tmp" POXREF doc/guix.de.texi mv "doc/guix.de.texi.tmp" "doc/guix.de.texi" PO4A doc/contributing.es.texi Your input po file po/doc/guix-manual.es.po seems outdated (The amount of entries differ between files: 8727 is not 298 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.es.texi mv "doc/contributing.es.texi.tmp" "doc/contributing.es.texi" PO4A doc/guix.es.texi Your input po file po/doc/guix-manual.es.po seems outdated (The amount of entries differ between files: 8727 is not 8512 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.es.texi" | sed 's|texi$|info|')|" "doc/guix.es.texi.tmp" POXREF doc/guix.es.texi mv "doc/guix.es.texi.tmp" "doc/guix.es.texi" PO4A doc/contributing.fr.texi Your input po file po/doc/guix-manual.fr.po seems outdated (The amount of entries differ between files: 7994 is not 298 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.fr.texi mv "doc/contributing.fr.texi.tmp" "doc/contributing.fr.texi" PO4A doc/guix.fr.texi Your input po file po/doc/guix-manual.fr.po seems outdated (The amount of entries differ between files: 7994 is not 8512 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.fr.texi" | sed 's|texi$|info|')|" "doc/guix.fr.texi.tmp" POXREF doc/guix.fr.texi mv "doc/guix.fr.texi.tmp" "doc/guix.fr.texi" PO4A doc/contributing.ru.texi Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between files: 8727 is not 298 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.ru.texi mv "doc/contributing.ru.texi.tmp" "doc/contributing.ru.texi" PO4A doc/guix.ru.texi Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between files: 8727 is not 8512 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.ru.texi" | sed 's|texi$|info|')|" "doc/guix.ru.texi.tmp" POXREF doc/guix.ru.texi mv "doc/guix.ru.texi.tmp" "doc/guix.ru.texi" PO4A doc/contributing.zh_CN.texi Your input po file po/doc/guix-manual.zh_CN.po seems outdated (The amount of entries differ between files: 7994 is not 298 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.zh_CN.texi mv "doc/contributing.zh_CN.texi.tmp" "doc/contributing.zh_CN.texi" PO4A doc/guix.zh_CN.texi Your input po file po/doc/guix-manual.zh_CN.po seems outdated (The amount of entries differ between files: 7994 is not 8512 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.zh_CN.texi" | sed 's|texi$|info|')|" "doc/guix.zh_CN.texi.tmp" POXREF doc/guix.zh_CN.texi mv "doc/guix.zh_CN.texi.tmp" "doc/guix.zh_CN.texi" GEN nix/libstore/schema.sql.hh echo UNKNOWN > ".version-t" && mv ".version-t" ".version" make all-recursive make[1]: Entering directory '/home/sirgazil/Documentos/guix' Making all in po/guix make[2]: Entering directory '/home/sirgazil/Documentos/guix/po/guix' make guix.pot-update make[3]: Entering directory '/home/sirgazil/Documentos/guix/po/guix' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed if LC_ALL=C grep 'GNU guix' ../../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n 'l...@gnu.org' || test 'bug-g...@gnu.org' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='l...@gnu.org'; \ else \ msgid_bugs_address='bug-g...@gnu.org'; \ fi; \ case `/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --default-domain=guix --directory=../.. \ --add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=G_ --keyword=N_:1,2 --keyword=message --keyword=description --keyword=n_ \ --files-from=./POTFILES.in \ --copyright-holder='Ludovic Courtès' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ *) \ /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --default-domain=guix --directory=../.. \ --add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=G_ --keyword=N_:1,2 --keyword=message --keyword=description --keyword=n_ \ --files-from=./POTFILES.in \ --copyright-holder='Ludovic Courtès' \ --package-name="${package_gnu}guix" \ --package-version='UNKNOWN' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ esac test ! -f guix.po || { \ if test -f ./guix.pot; then \ sed -f remove-potcdate.sed < ./guix.pot > guix.1po && \ sed -f remove-potcdate.sed < guix.po > guix.2po && \ if cmp guix.1po guix.2po >/dev/null 2>&1; then \ rm -f guix.1po guix.2po guix.po; \ else \ rm -f guix.1po guix.2po ./guix.pot && \ mv guix.po ./guix.pot; \ fi; \ else \ mv guix.po ./guix.pot; \ fi; \ } make[3]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix' test ! -f ./guix.pot || \ test -z "cs.gmo da.gmo de.gmo e...@boldquot.gmo e...@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo" || make cs.gmo da.gmo de.gmo e...@boldquot.gmo e...@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo make[3]: Entering directory '/home/sirgazil/Documentos/guix/po/guix' /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update --lang=cs cs.po guix.pot ............................................................................................................................................................................................................................................... done. rm -f cs.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o cs.gmo cs.po cs.po: 58 translated messages, 129 fuzzy translations, 751 untranslated messages. /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update --lang=da da.po guix.pot ........................................................................................................... done. rm -f da.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o da.gmo da.po da.po: 856 translated messages, 35 fuzzy translations, 47 untranslated messages. /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update --lang=de de.po guix.pot ........................................................................................................... done. rm -f de.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o de.gmo de.po de.po: 927 translated messages, 7 fuzzy translations, 4 untranslated messages. make[4]: Entering directory '/home/sirgazil/Documentos/guix/po/guix' make e...@boldquot.po-update make[5]: Entering directory '/home/sirgazil/Documentos/guix/po/guix' sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' ./insert-header.sin > en@boldquot.insert-header en@boldquot: en@boldquot: msgmerge --lang=en@boldquot e...@boldquot.po guix.pot -o e...@boldquot.new.po ................................................................................................. done. make[5]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix' make[4]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix' rm -f e...@boldquot.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o e...@boldquot.gmo e...@boldquot.po e...@boldquot.po:4591: format specifications in 'msgstr[0]' are not a subset of those in 'msgid_plural' /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt: found 1 fatal error e...@boldquot.po: 938 translated messages. make[3]: *** [Makefile:202: e...@boldquot.gmo] Error 1 make[3]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix' make[2]: *** [Makefile:239: stamp-po] Error 2 make[2]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix' make[1]: *** [Makefile:4904: all-recursive] Error 1 make[1]: Leaving directory '/home/sirgazil/Documentos/guix' make: *** [Makefile:3325: all] Error 2 But when this gets fixed, you should be able to run guix commands prepended with "./pre-inst-env" to lint and build your package.