guile-hall: no code for module (config)

  • Done
  • quality assurance status badge
Details
4 participants
  • Alex Sassmannshausen
  • Catonano
  • Jack Hill
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Jack Hill
Severity
normal
J
J
Jack Hill wrote on 23 Jan 2019 17:35
(address . bug-guix@gnu.org)
alpine.DEB.2.20.1901231120470.4770@marsh.hcoop.net
The guile-hall package appears to be broken. All hall commands that I run
result in a "no code for module (config)" error.

Using a current version of guix:

$ guix --version
guix (GNU Guix) f0caf7607d42b7d3daa3da2bd8e662fdf6e54b18

I first build guile-hall. In the build, there are serveral warnings of
compilation failures, but the build suceeds.

$ guix build guile-hall
substituting /gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28...
glibc-utf8-locales-2.28 3.2MiB 9.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d2k-automake-1.16.1...
automake-1.16.1 743KiB 7.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1...
binutils-2.31.1 18.5MiB 9.7MiB/s 00:02 [##################] 100.0%

substituting /gnu/store/q6h2h60bxfrriq58ivgxxd9zix5b3ryg-config.scm...
config.scm 190B 75KiB/s 00:00 [##################] 100.0%

substituting /gnu/store/hy1ja6n1n0w4qnb6nidwz13mwbkai0q1-curl-7.61.1-doc...
curl-7.61.1-doc 567KiB 5.8MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static...
glibc-2.28-static 2.5MiB 9.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/f0w0v1hn3rryh1351xjqrv3p8v7x80xa-curl-7.61.1...
curl-7.61.1 467KiB 5.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0...
ld-wrapper-0 13KiB 5.0MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/aqldm6f3963q8qgqxdzdsdhd7l036f85-git-minimal-2.20.1...
git-minimal-2.20.1 15.2MiB 10.3MiB/s 00:01 [##################] 100.0%

substituting /gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67...
linux-libre-headers-4.14.67 1.1MiB 1.8MiB/s 00:01 [##################] 100.0%

substituting /gnu/store/l0gwl5mqgssgcfp0h5sbkrsl3wi315b7-m4-1.4.18...
m4-1.4.18 189KiB 4.5MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/8gvxzdh8lvj3wi099y6s208mvl3gc1wm-module-import...
module-import 763B 274KiB/s 00:00 [##################] 100.0%

substituting /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69...
autoconf-2.69 903KiB 7.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/d84nbv6r94i8ixvz7f6g22pwdyvnnx6g-module-import...
module-import 320B 55KiB/s 00:00 [##################] 100.0%

substituting /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import...
module-import 333B 125KiB/s 00:00 [##################] 100.0%

substituting /gnu/store/d5i2hwpzxwb1x51m4mgm960icnyd00md-module-import-compiled...
module-import-compiled 652KiB 1.7MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/gza8djv7fmxh60pdh8jkkjj7shy3mnsz-module-import-compiled...
module-import-compiled 90KiB 4.0MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/iajdc66acpw2lc072ad7g3bcxrk1z2as-module-import-compiled...
module-import-compiled 247KiB 4.8MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30...
tar-1.30 1.1MiB 8.4MiB/s 00:00 [##################] 100.0%

substituting /gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5...
texinfo-6.5 1.9MiB 2.5MiB/s 00:01 [##################] 100.0%

applying 1 graft for /gnu/store/khbdn4vrkbh21d1q8vxz9xb7bd5c00gs-git-minimal-2.20.1.drv...
grafting '/gnu/store/aqldm6f3963q8qgqxdzdsdhd7l036f85-git-minimal-2.20.1' -> '/gnu/store/26s82xpawy0z13lfhkd7iprr2ahcbl5f-git-minimal-2.20..
successfully built /gnu/store/khbdn4vrkbh21d1q8vxz9xb7bd5c00gs-git-minimal-2.20.1.drv
building /gnu/store/ixh23q4mds55vw9q7d5g5hhslxkpdysf-guile-config-0.3-checkout.drv...
environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-ta'
Initialized empty Git repository in /gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.git/
* branch ce12de3f438c6b2b59c43ee21bcd58251835fdf3 -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

HEAD is now at ce12de3 Because we are a hall dependency, we must include infrastructure.
successfully built /gnu/store/ixh23q4mds55vw9q7d5g5hhslxkpdysf-guile-config-0.3-checkout.drv
building /gnu/store/zgqk2n1nn6zx0njz4lr5cjbpjg1ihjsg-guile-hall-0.1.1-checkout.drv...
environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-ta'
Initialized empty Git repository in /gnu/store/r1b3w43n57nfw4snzcapnh6ya8x0a9hn-guile-hall-0.1.1-checkout/.git/
* branch 7d1094a12fe917209ce5b76c681cc8c862d4c65b -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

HEAD is now at 7d1094a Update to version 0.1.1.
successfully built /gnu/store/zgqk2n1nn6zx0njz4lr5cjbpjg1ihjsg-guile-hall-0.1.1-checkout.drv
building /gnu/store/w4nyy63dckw108l9y63xgcbh2ywsbjx7-guile-config-0.3.drv...
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/bin:/gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d'
environment variable `ACLOCAL_PATH' set to `/gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d2k-automake-1.16.1/share/aclocal:/gnu/store/xyiyf12w4i'
environment variable `PKG_CONFIG_PATH' set to `/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/lib/pkgconfig:/gnu/store/9alic3caqhay3h'
environment variable `INFOPATH' set to `/gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/share/info:/gnu/store/k7gymsw2xfp20fv30x5'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p5'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04b'
environment variable `LIBRARY_PATH' set to `/gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5/lib:/gnu/store/j74aabxwayjl9yfyrm6ni482'
environment variable `GUIX_LOCPATH' set to `/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib/locale'
environment variable `GUILE_LOAD_PATH' unset
environment variable `GUILE_LOAD_COMPILED_PATH' unset
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.dir-locals.el' -> `./.dir-locals.el'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/Makefile.am' -> `./Makefile.am'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/COPYING' -> `./COPYING'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/NEWS' -> `./NEWS'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/README' -> `./README'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/guix.scm' -> `./guix.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.gitignore' -> `./.gitignore'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/test-env.in' -> `./test-env.in'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/pre-inst-env.in' -> `./pre-inst-env.in'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/ChangeLog' -> `./ChangeLog'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/configure.ac' -> `./configure.ac'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/hall.scm' -> `./hall.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config.scm' -> `./config.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/AUTHORS' -> `./AUTHORS'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/HACKING' -> `./HACKING'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/simple.scm' -> `./examples/simple.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/frobnigator.scm' -> `./examples/frobnigator.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/hello-world.scm' -> `./examples/hello-world.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/getopt-long.scm' -> `./config/getopt-long.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/licenses.scm' -> `./config/licenses.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/api.scm' -> `./config/api.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/records.scm' -> `./config/records.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/helpers.scm' -> `./config/helpers.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/parser/sexp.scm' -> `./config/parser/sexp.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/config.scm' -> `./tests/config.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/quickcheck-defs.scm' -> `./tests/quickcheck-defs.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/quickcheck.scm' -> `./tests/quickcheck.scm'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/doc/fdl-1.3.texi' -> `./doc/fdl-1.3.texi'
`/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/doc/config.texi' -> `./doc/config.texi'
phase `unpack' succeeded after 0.0 seconds
starting phase `bootstrap'
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: configure.ac: not using Libtool
autoreconf: running: /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:7: installing 'build-aux/install-sh'
configure.ac:7: installing 'build-aux/missing'
Makefile.am: installing './INSTALL'
Makefile.am:48: installing 'build-aux/mdate-sh'
Makefile.am:48: installing 'build-aux/texinfo.tex'
parallel-tests: installing 'build-aux/test-driver'
Makefile.am:49: warning: user target 'dvi' defined here ...
automake: ... overrides Automake target 'dvi' defined here
Makefile.am:49: consider using dvi-local instead of dvi
autoreconf: Leaving directory `.'
phase `bootstrap' succeeded after 3.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
patch-shebang: ./build-aux/mdate-sh: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
patch-shebang: ./build-aux/missing: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
patch-shebang: ./build-aux/test-driver: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
patch-shebang: ./configure: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
patch-shebang: ./tests/quickcheck.scm: warning: no binary for interpreter `r6rs' found in $PATH
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
source directory: "/tmp/guix-build-guile-config-0.3.drv-0/source" (relative from build: ".")
build directory: "/tmp/guix-build-guile-config-0.3.drv-0/source"
configure flags: ("CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "SHELL=/gnu/store/q19l04vd2za80mk)
configure: WARNING: unrecognized options: --enable-fast-install
checking for a BSD-compatible install... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /gnu/store/xyiyf12w4i7zf5g5b4ah0bi1mmd6i8xa-pkg-config-0.29.2/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: found guile 2.2
checking for guile-2.2... no
checking for guile2.2... no
checking for guile-2... no
checking for guile2... no
checking for guile... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile
checking for Guile version >= 2.2... 2.2.4
checking for guild... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild
checking for guile-config... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile-config
checking for Guile site directory... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/site/2.2
checking for Guile site-ccache directory using pkgconfig... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/site-ccace
checking for Guile extensions directory... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/extensions
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pre-inst-env
config.status: creating test-env
configure: WARNING: unrecognized options: --enable-fast-install
phase `configure' succeeded after 1.3 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
GEN config.go
make[1]: Entering directory '/tmp/guix-build-guile-config-0.3.drv-0/source'
make[1]: Leaving directory '/tmp/guix-build-guile-config-0.3.drv-0/source'
Updating ./doc/version.texi
GEN config/parser/sexp.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild
;;; WARNING: compilation of /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild failed:
;;; failed to create path for auto-compiled file "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild"
wrote `config/parser/sexp.go'
GEN config/api.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild
;;; WARNING: compilation of /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild failed:
;;; failed to create path for auto-compiled file "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild"
wrote `config.go'
GEN config/licenses.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/
This message was truncated. Download the full message here.
A
A
Alex Sassmannshausen wrote on 23 Jan 2019 18:11
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 34181@debbugs.gnu.org)
87tvhzfgen.fsf@pompo.co
Hi Jack,

Thanks for your bug report — this is super helpful to debug the
guile-build-system in guix!

Jack Hill writes:

Toggle quote (3 lines)
> The guile-hall package appears to be broken. All hall commands that I
> run result in a "no code for module (config)" error.

The Guile build system propagates installs of dependent
modules. Guile-Hall depends on Guile-Config, and it looks like it is
built fine as part of the built process.

What I'm curious about is whether your search paths are set correctly?

Would you mind trying the following commands:
$ guile -c "(use-modules (config))"
$ guile -c "(use-modules (hall clean))"
$ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH

Do you get any errors from the first two? What is the output of the
second?

Best wishes,

Alex


Toggle quote (255 lines)
> Using a current version of guix:
>
> $ guix --version
> guix (GNU Guix) f0caf7607d42b7d3daa3da2bd8e662fdf6e54b18
>
> I first build guile-hall. In the build, there are serveral warnings of
> compilation failures, but the build suceeds.
>
> $ guix build guile-hall
> substituting /gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28...
> downloading from https://ci.guix.info/nar/gzip/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28...
> glibc-utf8-locales-2.28 3.2MiB 9.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d2k-automake-1.16.1...
> downloading from https://ci.guix.info/nar/gzip/k7gymsw2xfp20fv30x5niilwnxpj2d2k-automake-1.16.1...
> automake-1.16.1 743KiB 7.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1...
> downloading from https://ci.guix.info/nar/gzip/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1...
> binutils-2.31.1 18.5MiB 9.7MiB/s 00:02 [##################] 100.0%
>
> substituting /gnu/store/q6h2h60bxfrriq58ivgxxd9zix5b3ryg-config.scm...
> downloading from https://ci.guix.info/nar/gzip/q6h2h60bxfrriq58ivgxxd9zix5b3ryg-config.scm...
> config.scm 190B 75KiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/hy1ja6n1n0w4qnb6nidwz13mwbkai0q1-curl-7.61.1-doc...
> downloading from https://ci.guix.info/nar/gzip/hy1ja6n1n0w4qnb6nidwz13mwbkai0q1-curl-7.61.1-doc...
> curl-7.61.1-doc 567KiB 5.8MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static...
> downloading from https://ci.guix.info/nar/gzip/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static...
> glibc-2.28-static 2.5MiB 9.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/f0w0v1hn3rryh1351xjqrv3p8v7x80xa-curl-7.61.1...
> downloading from https://ci.guix.info/nar/gzip/f0w0v1hn3rryh1351xjqrv3p8v7x80xa-curl-7.61.1...
> curl-7.61.1 467KiB 5.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0...
> downloading from https://ci.guix.info/nar/gzip/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0...
> ld-wrapper-0 13KiB 5.0MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/aqldm6f3963q8qgqxdzdsdhd7l036f85-git-minimal-2.20.1...
> downloading from https://ci.guix.info/nar/gzip/aqldm6f3963q8qgqxdzdsdhd7l036f85-git-minimal-2.20.1...
> git-minimal-2.20.1 15.2MiB 10.3MiB/s 00:01 [##################] 100.0%
>
> substituting /gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67...
> downloading from https://ci.guix.info/nar/gzip/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67...
> linux-libre-headers-4.14.67 1.1MiB 1.8MiB/s 00:01 [##################] 100.0%
>
> substituting /gnu/store/l0gwl5mqgssgcfp0h5sbkrsl3wi315b7-m4-1.4.18...
> downloading from https://ci.guix.info/nar/gzip/l0gwl5mqgssgcfp0h5sbkrsl3wi315b7-m4-1.4.18...
> m4-1.4.18 189KiB 4.5MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/8gvxzdh8lvj3wi099y6s208mvl3gc1wm-module-import...
> downloading from https://ci.guix.info/nar/gzip/8gvxzdh8lvj3wi099y6s208mvl3gc1wm-module-import...
> module-import 763B 274KiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69...
> downloading from https://ci.guix.info/nar/gzip/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69...
> autoconf-2.69 903KiB 7.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/d84nbv6r94i8ixvz7f6g22pwdyvnnx6g-module-import...
> downloading from https://ci.guix.info/nar/gzip/d84nbv6r94i8ixvz7f6g22pwdyvnnx6g-module-import...
> module-import 320B 55KiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import...
> downloading from https://ci.guix.info/nar/gzip/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import...
> module-import 333B 125KiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/d5i2hwpzxwb1x51m4mgm960icnyd00md-module-import-compiled...
> downloading from https://ci.guix.info/nar/gzip/d5i2hwpzxwb1x51m4mgm960icnyd00md-module-import-compiled...
> module-import-compiled 652KiB 1.7MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/gza8djv7fmxh60pdh8jkkjj7shy3mnsz-module-import-compiled...
> downloading from https://ci.guix.info/nar/gzip/gza8djv7fmxh60pdh8jkkjj7shy3mnsz-module-import-compiled...
> module-import-compiled 90KiB 4.0MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/iajdc66acpw2lc072ad7g3bcxrk1z2as-module-import-compiled...
> downloading from https://ci.guix.info/nar/gzip/iajdc66acpw2lc072ad7g3bcxrk1z2as-module-import-compiled...
> module-import-compiled 247KiB 4.8MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30...
> downloading from https://ci.guix.info/nar/gzip/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30...
> tar-1.30 1.1MiB 8.4MiB/s 00:00 [##################] 100.0%
>
> substituting /gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5...
> downloading from https://ci.guix.info/nar/gzip/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5...
> texinfo-6.5 1.9MiB 2.5MiB/s 00:01 [##################] 100.0%
>
> applying 1 graft for /gnu/store/khbdn4vrkbh21d1q8vxz9xb7bd5c00gs-git-minimal-2.20.1.drv...
> grafting '/gnu/store/aqldm6f3963q8qgqxdzdsdhd7l036f85-git-minimal-2.20.1' -> '/gnu/store/26s82xpawy0z13lfhkd7iprr2ahcbl5f-git-minimal-2.20..
> successfully built /gnu/store/khbdn4vrkbh21d1q8vxz9xb7bd5c00gs-git-minimal-2.20.1.drv
> building /gnu/store/ixh23q4mds55vw9q7d5g5hhslxkpdysf-guile-config-0.3-checkout.drv...
> environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-ta'
> Initialized empty Git repository in /gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.git/
> warning: redirecting to https://gitlab.com/a-sassmannshausen/guile-config.git/
> From https://gitlab.com/a-sassmannshausen/guile-config
> * branch ce12de3f438c6b2b59c43ee21bcd58251835fdf3 -> FETCH_HEAD
> Note: checking out 'FETCH_HEAD'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>
> git checkout -b <new-branch-name>
>
> HEAD is now at ce12de3 Because we are a hall dependency, we must include infrastructure.
> successfully built /gnu/store/ixh23q4mds55vw9q7d5g5hhslxkpdysf-guile-config-0.3-checkout.drv
> building /gnu/store/zgqk2n1nn6zx0njz4lr5cjbpjg1ihjsg-guile-hall-0.1.1-checkout.drv...
> environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-ta'
> Initialized empty Git repository in /gnu/store/r1b3w43n57nfw4snzcapnh6ya8x0a9hn-guile-hall-0.1.1-checkout/.git/
> warning: redirecting to https://gitlab.com/a-sassmannshausen/guile-hall.git/
> From https://gitlab.com/a-sassmannshausen/guile-hall
> * branch 7d1094a12fe917209ce5b76c681cc8c862d4c65b -> FETCH_HEAD
> Note: checking out 'FETCH_HEAD'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>
> git checkout -b <new-branch-name>
>
> HEAD is now at 7d1094a Update to version 0.1.1.
> successfully built /gnu/store/zgqk2n1nn6zx0njz4lr5cjbpjg1ihjsg-guile-hall-0.1.1-checkout.drv
> building /gnu/store/w4nyy63dckw108l9y63xgcbh2ywsbjx7-guile-config-0.3.drv...
> starting phase `set-SOURCE-DATE-EPOCH'
> phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
> starting phase `set-paths'
> environment variable `PATH' set to `/gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/bin:/gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d'
> environment variable `ACLOCAL_PATH' set to `/gnu/store/k7gymsw2xfp20fv30x5niilwnxpj2d2k-automake-1.16.1/share/aclocal:/gnu/store/xyiyf12w4i'
> environment variable `PKG_CONFIG_PATH' set to `/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/lib/pkgconfig:/gnu/store/9alic3caqhay3h'
> environment variable `INFOPATH' set to `/gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/share/info:/gnu/store/k7gymsw2xfp20fv30x5'
> environment variable `BASH_LOADABLES_PATH' unset
> environment variable `C_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p5'
> environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04b'
> environment variable `LIBRARY_PATH' set to `/gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5/lib:/gnu/store/j74aabxwayjl9yfyrm6ni482'
> environment variable `GUIX_LOCPATH' set to `/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib/locale'
> environment variable `GUILE_LOAD_PATH' unset
> environment variable `GUILE_LOAD_COMPILED_PATH' unset
> phase `set-paths' succeeded after 0.0 seconds
> starting phase `install-locale'
> using 'en_US.utf8' locale for category "LC_ALL"
> phase `install-locale' succeeded after 0.0 seconds
> starting phase `unpack'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.dir-locals.el' -> `./.dir-locals.el'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/Makefile.am' -> `./Makefile.am'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/COPYING' -> `./COPYING'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/NEWS' -> `./NEWS'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/README' -> `./README'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/guix.scm' -> `./guix.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/.gitignore' -> `./.gitignore'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/test-env.in' -> `./test-env.in'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/pre-inst-env.in' -> `./pre-inst-env.in'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/ChangeLog' -> `./ChangeLog'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/configure.ac' -> `./configure.ac'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/hall.scm' -> `./hall.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config.scm' -> `./config.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/AUTHORS' -> `./AUTHORS'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/HACKING' -> `./HACKING'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/simple.scm' -> `./examples/simple.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/frobnigator.scm' -> `./examples/frobnigator.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/examples/hello-world.scm' -> `./examples/hello-world.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/getopt-long.scm' -> `./config/getopt-long.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/licenses.scm' -> `./config/licenses.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/api.scm' -> `./config/api.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/records.scm' -> `./config/records.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/helpers.scm' -> `./config/helpers.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/config/parser/sexp.scm' -> `./config/parser/sexp.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/config.scm' -> `./tests/config.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/quickcheck-defs.scm' -> `./tests/quickcheck-defs.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/tests/quickcheck.scm' -> `./tests/quickcheck.scm'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/doc/fdl-1.3.texi' -> `./doc/fdl-1.3.texi'
> `/gnu/store/p9ni1im2g393nk4gyyj2wsmh19dy2bpg-guile-config-0.3-checkout/doc/config.texi' -> `./doc/config.texi'
> phase `unpack' succeeded after 0.0 seconds
> starting phase `bootstrap'
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force -I m4
> aclocal: warning: couldn't open directory 'm4': No such file or directory
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: creating directory build-aux
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /gnu/store/rfaqi3a9ls7adr4y7bgwvln3iaf69qwj-autoconf-2.69/bin/autoconf --force
> autoreconf: configure.ac: not using Autoheader
> autoreconf: running: automake --add-missing --copy --force-missing
> configure.ac:7: installing 'build-aux/install-sh'
> configure.ac:7: installing 'build-aux/missing'
> Makefile.am: installing './INSTALL'
> Makefile.am:48: installing 'build-aux/mdate-sh'
> Makefile.am:48: installing 'build-aux/texinfo.tex'
> parallel-tests: installing 'build-aux/test-driver'
> Makefile.am:49: warning: user target 'dvi' defined here ...
> automake: ... overrides Automake target 'dvi' defined here
> Makefile.am:49: consider using dvi-local instead of dvi
> autoreconf: Leaving directory `.'
> phase `bootstrap' succeeded after 3.0 seconds
> starting phase `patch-usr-bin-file'
> phase `patch-usr-bin-file' succeeded after 0.0 seconds
> starting phase `patch-source-shebangs'
> patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
> patch-shebang: ./build-aux/mdate-sh: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
> patch-shebang: ./build-aux/missing: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
> patch-shebang: ./build-aux/test-driver: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
> patch-shebang: ./configure: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
> patch-shebang: ./tests/quickcheck.scm: warning: no binary for interpreter `r6rs' found in $PATH
> phase `patch-source-shebangs' succeeded after 0.0 seconds
> starting phase `configure'
> source directory: "/tmp/guix-build-guile-config-0.3.drv-0/source" (relative from build: ".")
> build directory: "/tmp/guix-build-guile-config-0.3.drv-0/source"
> configure flags: ("CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "SHELL=/gnu/store/q19l04vd2za80mk)
> configure: WARNING: unrecognized options: --enable-fast-install
> checking for a BSD-compatible install... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... no
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking for pkg-config... /gnu/store/xyiyf12w4i7zf5g5b4ah0bi1mmd6i8xa-pkg-config-0.29.2/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: checking for guile 2.2
> configure: found guile 2.2
> checking for guile-2.2... no
> checking for guile2.2... no
> checking for guile-2... no
> checking for guile2... no
> checking for guile... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile
> checking for Guile version >= 2.2... 2.2.4
> checking for guild... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guild
> checking for guile-config... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile-config
> checking for Guile site directory... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/site/2.2
> checking for Guile site-ccache directory using pkgconfig... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/site-ccace
> checking for Guile extensions directory... /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/extensions
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating pre-inst-env
> config.status: creating test-env
> configure: WARNING: unrecognized options: --enable-fast-install
> phase `configure' succeeded after 1.3 seconds
> starting phase `patch-generated-file-shebangs'
> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
> starting phase `build'
> GEN config.go
> make[1]: Entering directory '/tmp/guix-build-guile-config-0.3.drv-0/source'
> make[1]: Leaving directory '/tmp/guix-build-guile-config-0.3.drv-0/source'
> Updating ./doc/version.texi
> GEN config/parser/sexp.go
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COM
This message was truncated. Download the full message here.
J
J
Jack Hill wrote on 25 Jan 2019 16:41
alpine.DEB.2.20.1901251030300.6623@marsh.hcoop.net
On Wed, 23 Jan 2019, Alex Sassmannshausen wrote:

Toggle quote (20 lines)
> Hi Jack,
>
> Thanks for your bug report — this is super helpful to debug the
> guile-build-system in guix!
>
> Jack Hill writes:
>
>> The guile-hall package appears to be broken. All hall commands that I
>> run result in a "no code for module (config)" error.
>
> The Guile build system propagates installs of dependent
> modules. Guile-Hall depends on Guile-Config, and it looks like it is
> built fine as part of the built process.
>
> What I'm curious about is whether your search paths are set correctly?
>
> Would you mind trying the following commands:
> $ guile -c "(use-modules (config))"
> $ guile -c "(use-modules (hall clean))"

Both of these end produce a backtrace that ends in "no code for module
(config)" or "… (hall clean)"

Toggle quote (2 lines)
> $ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH

/run/current-system/profile/share/guile/site/2.2 and
/run/current-system/profile/lib/guile/2.2/site-ccache

So it looks like my environment variables aren't set correctly?

Is this a user error on my part? I had hoped that guix environment would
set these if needed. I also tried installing guile-hall in my profile, and
a warning about needed vars didn't get printed nor where they added to my
profile's etc/profile.

Thanks!
Jack
R
R
Ricardo Wurmus wrote on 25 Jan 2019 17:24
(name . Jack Hill)(address . jackhill@jackhill.us)
87imycvh5x.fsf@elephly.net
Hi Jack,

Toggle quote (37 lines)
> On Wed, 23 Jan 2019, Alex Sassmannshausen wrote:
>
>> Hi Jack,
>>
>> Thanks for your bug report — this is super helpful to debug the
>> guile-build-system in guix!
>>
>> Jack Hill writes:
>>
>>> The guile-hall package appears to be broken. All hall commands that I
>>> run result in a "no code for module (config)" error.
>>
>> The Guile build system propagates installs of dependent
>> modules. Guile-Hall depends on Guile-Config, and it looks like it is
>> built fine as part of the built process.
>>
>> What I'm curious about is whether your search paths are set correctly?
>>
>> Would you mind trying the following commands:
>> $ guile -c "(use-modules (config))"
>> $ guile -c "(use-modules (hall clean))"
>
> Both of these end produce a backtrace that ends in "no code for module
> (config)" or "… (hall clean)"
>
>> $ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH
>
> /run/current-system/profile/share/guile/site/2.2 and
> /run/current-system/profile/lib/guile/2.2/site-ccache
>
> So it looks like my environment variables aren't set correctly?
>
> Is this a user error on my part? I had hoped that guix environment
> would set these if needed. I also tried installing guile-hall in my
> profile, and a warning about needed vars didn't get printed nor where
> they added to my profile's etc/profile.

This is likely a problem with the guile-hall package. It should wrap
the executables in GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.

Would you like to send a patch to fix this?

--
Ricardo
C
C
Catonano wrote on 25 Jan 2019 17:34
(name . Ricardo Wurmus)(address . rekado@elephly.net)
CAJ98PDxc_a15_J0e+LXuEUs8itPPMj3kq-JmUCyh=CCBR08+hQ@mail.gmail.com
Il giorno ven 25 gen 2019 alle ore 17:26 Ricardo Wurmus <rekado@elephly.net>
ha scritto:

Toggle quote (46 lines)
>
> Hi Jack,
>
> > On Wed, 23 Jan 2019, Alex Sassmannshausen wrote:
> >
> >> Hi Jack,
> >>
> >> Thanks for your bug report — this is super helpful to debug the
> >> guile-build-system in guix!
> >>
> >> Jack Hill writes:
> >>
> >>> The guile-hall package appears to be broken. All hall commands that I
> >>> run result in a "no code for module (config)" error.
> >>
> >> The Guile build system propagates installs of dependent
> >> modules. Guile-Hall depends on Guile-Config, and it looks like it is
> >> built fine as part of the built process.
> >>
> >> What I'm curious about is whether your search paths are set correctly?
> >>
> >> Would you mind trying the following commands:
> >> $ guile -c "(use-modules (config))"
> >> $ guile -c "(use-modules (hall clean))"
> >
> > Both of these end produce a backtrace that ends in "no code for module
> > (config)" or "… (hall clean)"
> >
> >> $ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH
> >
> > /run/current-system/profile/share/guile/site/2.2 and
> > /run/current-system/profile/lib/guile/2.2/site-ccache
> >
> > So it looks like my environment variables aren't set correctly?
> >
> > Is this a user error on my part? I had hoped that guix environment
> > would set these if needed. I also tried installing guile-hall in my
> > profile, and a warning about needed vars didn't get printed nor where
> > they added to my profile's etc/profile.
>
> This is likely a problem with the guile-hall package. It should wrap
> the executables in GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.
>
> Would you like to send a patch to fix this?
>

I can't read all this properly right now as I'm in a hurry BUT

Not so long ago Alex accepted a merge request of mine into guile-hall and
it was about a dependency on guile-config that Alex had forgotten to
declare in his configure.ac file

It's here

I think this might be related

Alex made some further integrations in guile-hall since then and he means
to release a new version soon

Alex ?
Attachment: file
A
A
Alex Sassmannshausen wrote on 25 Jan 2019 18:10
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 34181@debbugs.gnu.org)
87sgxgfyt7.fsf@pompo.co
Hi Jack,

Cheers for trying these things out!

Jack Hill writes:

Toggle quote (32 lines)
> On Wed, 23 Jan 2019, Alex Sassmannshausen wrote:
>
>> Hi Jack,
>>
>> Thanks for your bug report — this is super helpful to debug the
>> guile-build-system in guix!
>>
>> Jack Hill writes:
>>
>>> The guile-hall package appears to be broken. All hall commands that I
>>> run result in a "no code for module (config)" error.
>>
>> The Guile build system propagates installs of dependent
>> modules. Guile-Hall depends on Guile-Config, and it looks like it is
>> built fine as part of the built process.
>>
>> What I'm curious about is whether your search paths are set correctly?
>>
>> Would you mind trying the following commands:
>> $ guile -c "(use-modules (config))"
>> $ guile -c "(use-modules (hall clean))"
>
> Both of these end produce a backtrace that ends in "no code for module
> (config)" or "… (hall clean)"
>
>> $ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH
>
> /run/current-system/profile/share/guile/site/2.2 and
> /run/current-system/profile/lib/guile/2.2/site-ccache
>
> So it looks like my environment variables aren't set correctly?

Correct, all of this points to GUILE_LOAD_PATH &
GUILE_LOAD_COMPILED_PATH not being set up correctly.

Toggle quote (3 lines)
> Is this a user error on my part? I had hoped that guix environment
> would set these if needed.

OK, I did some research. The issue is as follows:
- Virtually all guile packages declare guile an input, but not a
propgated input. This seems to make Guile available in the
environment, but without the Guile environment paths defined.
- Guile-DBI on the other hand seems to declare guile a propagated
input. This causes the environment paths to be set.
- Similarly, when you install in your profile:
+ installing guile too will encourage you to set up the environment
path.
+ installing only the library will not.
+ installing only guile will not do this either (see the example in
the manual, at
- When you install, either in environment, or in profile, both guile and
a guile-library, the env variables are set/reported correctly.

This looks like it is intended behaviour.

Please test and let me know if this resolves the issue for you!

Best wishes,

Alex

Toggle quote (3 lines)
>
> Thanks!
> Jack
A
A
Alex Sassmannshausen wrote on 26 Jan 2019 10:41
(name . Ricardo Wurmus)(address . rekado@elephly.net)
b9af3f12-34fa-4836-85fd-0d2abe518851@email.android.com
Attachment: file
J
J
Jack Hill wrote on 29 Jan 2019 02:00
(name . Alex Sassmannshausen)(address . alex@pompo.co)(address . 34181@debbugs.gnu.org)
alpine.DEB.2.20.1901281715170.6623@marsh.hcoop.net
On Fri, 25 Jan 2019, Alex Sassmannshausen wrote:

Toggle quote (20 lines)
> OK, I did some research. The issue is as follows:
> - Virtually all guile packages declare guile an input, but not a
> propgated input. This seems to make Guile available in the
> environment, but without the Guile environment paths defined.
> - Guile-DBI on the other hand seems to declare guile a propagated
> input. This causes the environment paths to be set.
> - Similarly, when you install in your profile:
> + installing guile too will encourage you to set up the environment
> path.
> + installing only the library will not.
> + installing only guile will not do this either (see the example in
> the manual, at
> https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-package.html#index-search-paths
> - When you install, either in environment, or in profile, both guile and
> a guile-library, the env variables are set/reported correctly.
>
> This looks like it is intended behaviour.
>
> Please test and let me know if this resolves the issue for you!

I am happy to confirm that in an environment with both guile and
guile-hall, the hall command works as expected (regardless of the
setting of the correct paths using hall without guile is silly since it is
a tool to aid in the development of guile projects ?).

However, I think that Ricardo might be right, and the hall cli should wrap
these paths, since hall is an executable and not only a guile library.

Best,
Jack
R
R
Ricardo Wurmus wrote on 31 Jan 2019 16:26
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 34181-done@debbugs.gnu.org)
87womkn8zt.fsf@elephly.net
This is now fixed in the “master” branch with commit 395a95bb7.

Thanks for the report!
Closed
?