[bug#35050] gnu: direnv: Fix build failure.

Message ID 20190330161953.20491-1-go.wigust@gmail.com
State Accepted
Headers show
Series [bug#35050] gnu: direnv: Fix build failure. | expand

Commit Message

Oleg Pykhalov March 30, 2019, 4:19 p.m. UTC
* gnu/packages/shellutils.scm (direnv)[arguments]: Setup Go environment after
unpack.
---
 gnu/packages/shellutils.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Leo Famulari March 30, 2019, 7:11 p.m. UTC | #1
On Sat, Mar 30, 2019 at 07:19:53PM +0300, Oleg Pykhalov wrote:
> * gnu/packages/shellutils.scm (direnv)[arguments]: Setup Go environment after
> unpack.

Can you say what build failure you are seeing? It's working for me on
recent Guix (commit 6e1f91d91ca594098a7e98ae17b301fc035a6234).
Oleg Pykhalov March 30, 2019, 10:25 p.m. UTC | #2
Leo Famulari <leo@famulari.name> writes:

> On Sat, Mar 30, 2019 at 07:19:53PM +0300, Oleg Pykhalov wrote:
>> * gnu/packages/shellutils.scm (direnv)[arguments]: Setup Go environment after
>> unpack.
>
> Can you say what build failure you are seeing? It's working for me on
> recent Guix (commit 6e1f91d91ca594098a7e98ae17b301fc035a6234).

--8<---------------cut here---------------start------------->8---
oleg@guixsd ~/src/guix$ ./pre-inst-env guix build direnv
substitute: updating substitutes from 'https://ci.guix.info'... 100.0%
building /gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.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/29dazsnk3rr5j5kv9wi0p2974an9z9sk-which-2.21/bin:/gnu/store/bl3pxxj6frg0dww8pj5dvh2d1akwvj47-tar-1.30/bin:/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/bin:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/bin:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/bin:/gnu/store/4bzzz0lzjc9b7bfsnqbq2j22d4fvf433-diffutils-3.6/bin:/gnu/store/a4rxl40jr7gmq8bp3dryq4yq67cwkwiw-patch-2.7.6/bin:/gnu/store/fd621k6fmdnr1yiw0lbvw5spqaa169j3-findutils-4.6.0/bin:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/bin:/gnu/store/lmfddplnplxd03bcqv3w9pynbnr1fp8k-sed-4.5/bin:/gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-3.1/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/bin:/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin:/gnu/store/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0/bin:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/bin:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sbin:/gnu/store/5kag5g6n4l682pvh16qfjq082v0x02ap-go-1.11.6/bin'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/lib:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/lib:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/lib:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/lib:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/lib:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib:/gnu/store/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static/lib:/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib:/gnu/store/5kag5g6n4l682pvh16qfjq082v0x02ap-go-1.11.6/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib/locale'
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 `setup-go-environment'
`/tmp/fileEr3aiw/src/github.com/direnv/go-dotenv/README.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/direnv/go-dotenv/README.md'
`/tmp/fileEr3aiw/src/github.com/direnv/go-dotenv/LICENSE.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/direnv/go-dotenv/LICENSE.md'
`/tmp/fileEr3aiw/src/github.com/direnv/go-dotenv/parse_test.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/direnv/go-dotenv/parse_test.go'
`/tmp/fileEr3aiw/src/github.com/direnv/go-dotenv/parse.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/direnv/go-dotenv/parse.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/session.vim' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/session.vim'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/decode_meta.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/decode_meta.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/encode.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/encode.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/type_check.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/type_check.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/.gitignore' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/.gitignore'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/encoding_types_1.1.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/encoding_types_1.1.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/COMPATIBLE' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/COMPATIBLE'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/README.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/README.md'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/decode.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/decode.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/encode_test.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/encode_test.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/encoding_types.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/encoding_types.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/doc.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/doc.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/type_fields.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/type_fields.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/lex.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/lex.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/.travis.yml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/.travis.yml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/Makefile' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/Makefile'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/decode_test.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/decode_test.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/COPYING' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/COPYING'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/parse.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/parse.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/README.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/README.md'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/main.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/main.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/tomlv/README.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/tomlv/README.md'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/tomlv/main.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/tomlv/main.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/tomlv/COPYING' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/tomlv/COPYING'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/README.md' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/README.md'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/main.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/main.go'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/invalid-apples.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/invalid-apples.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/invalid.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/invalid.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/implicit.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/implicit.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/readme1.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/readme1.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/hard.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/hard.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/example.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/example.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/readme2.toml' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/readme2.toml'
`/tmp/fileEr3aiw/src/github.com/BurntSushi/toml/_examples/example.go' -> `/tmp/guix-build-direnv-2.15.2.drv-0/src/github.com/BurntSushi/toml/_examples/example.go'
phase `setup-go-environment' succeeded after 0.0 seconds
starting phase `unpack'
direnv-2.15.2/
direnv-2.15.2/.github/
direnv-2.15.2/.github/ISSUE_TEMPLATE.md
direnv-2.15.2/.gitignore
direnv-2.15.2/.nojekyll
direnv-2.15.2/.travis.yml
direnv-2.15.2/CHANGELOG.md
direnv-2.15.2/CNAME
direnv-2.15.2/Gopkg.lock
direnv-2.15.2/Gopkg.toml
direnv-2.15.2/LICENSE.md
direnv-2.15.2/Makefile
direnv-2.15.2/README.md
direnv-2.15.2/cmd_allow.go
direnv-2.15.2/cmd_apply_dump.go
direnv-2.15.2/cmd_current.go
direnv-2.15.2/cmd_deny.go
direnv-2.15.2/cmd_dotenv.go
direnv-2.15.2/cmd_dump.go
direnv-2.15.2/cmd_edit.go
direnv-2.15.2/cmd_exec.go
direnv-2.15.2/cmd_expand_path.go
direnv-2.15.2/cmd_export.go
direnv-2.15.2/cmd_help.go
direnv-2.15.2/cmd_hook.go
direnv-2.15.2/cmd_prune.go
direnv-2.15.2/cmd_reload.go
direnv-2.15.2/cmd_status.go
direnv-2.15.2/cmd_stdlib.go
direnv-2.15.2/cmd_version.go
direnv-2.15.2/cmd_watch.go
direnv-2.15.2/commands.go
direnv-2.15.2/config.go
direnv-2.15.2/const.go
direnv-2.15.2/default.nix
direnv-2.15.2/docs/
direnv-2.15.2/docs/ruby.md
direnv-2.15.2/docs/screencasts.md
direnv-2.15.2/docs/sidebar.md
direnv-2.15.2/env.go
direnv-2.15.2/env_diff.go
direnv-2.15.2/env_diff_test.go
direnv-2.15.2/env_test.go
direnv-2.15.2/file_times.go
direnv-2.15.2/file_times_test.go
direnv-2.15.2/index.html
direnv-2.15.2/log.go
direnv-2.15.2/look_path.go
direnv-2.15.2/main.go
direnv-2.15.2/man/
direnv-2.15.2/man/direnv-stdlib.1
direnv-2.15.2/man/direnv-stdlib.1.md
direnv-2.15.2/man/direnv.1
direnv-2.15.2/man/direnv.1.md
direnv-2.15.2/man/direnv.toml.1
direnv-2.15.2/man/direnv.toml.1.md
direnv-2.15.2/marshal.go
direnv-2.15.2/rc.go
direnv-2.15.2/rc_test.go
direnv-2.15.2/script/
direnv-2.15.2/script/str2go
direnv-2.15.2/script/str2go.go
direnv-2.15.2/shell.go
direnv-2.15.2/shell_bash.go
direnv-2.15.2/shell_fish.go
direnv-2.15.2/shell_json.go
direnv-2.15.2/shell_tcsh.go
direnv-2.15.2/shell_test.go
direnv-2.15.2/shell_vim.go
direnv-2.15.2/shell_zsh.go
direnv-2.15.2/stdlib.go
direnv-2.15.2/stdlib.sh
direnv-2.15.2/test/
direnv-2.15.2/test/.envrc
direnv-2.15.2/test/config/
direnv-2.15.2/test/config/direnv/
direnv-2.15.2/test/config/direnv/direnvrc
direnv-2.15.2/test/direnv-test.fish
direnv-2.15.2/test/direnv-test.sh
direnv-2.15.2/test/direnv-test.tcsh
direnv-2.15.2/test/scenarios/
direnv-2.15.2/test/scenarios/base/
direnv-2.15.2/test/scenarios/base/.envrc
direnv-2.15.2/test/scenarios/child-env/
direnv-2.15.2/test/scenarios/child-env/.envrc
direnv-2.15.2/test/scenarios/dump/
direnv-2.15.2/test/scenarios/dump/.envrc
direnv-2.15.2/test/scenarios/empty-var-unset/
direnv-2.15.2/test/scenarios/empty-var-unset/.envrc
direnv-2.15.2/test/scenarios/empty-var/
direnv-2.15.2/test/scenarios/empty-var/.envrc
direnv-2.15.2/test/scenarios/inherit/
direnv-2.15.2/test/scenarios/inherit/.envrc
direnv-2.15.2/test/scenarios/inherited/
direnv-2.15.2/test/scenarios/inherited/.gitkeep
direnv-2.15.2/test/scenarios/missing-file-source-env/
direnv-2.15.2/test/scenarios/missing-file-source-env/.envrc
direnv-2.15.2/test/scenarios/ruby-layout.env
direnv-2.15.2/test/scenarios/ruby-layout/
direnv-2.15.2/test/scenarios/ruby-layout/.envrc
direnv-2.15.2/test/scenarios/space dir/
direnv-2.15.2/test/scenarios/space dir/.envrc
direnv-2.15.2/test/scenarios/special-vars/
direnv-2.15.2/test/scenarios/special-vars/.envrc
direnv-2.15.2/test/scenarios/symlink-bug/
direnv-2.15.2/test/scenarios/symlink-bug/baz/
direnv-2.15.2/test/scenarios/symlink-bug/baz/.keep
direnv-2.15.2/test/scenarios/symlink-bug/foo/
direnv-2.15.2/test/scenarios/symlink-bug/foo/.envrc
direnv-2.15.2/test/scenarios/symlink-bug/foo/bar
direnv-2.15.2/test/scenarios/use-rvm/
direnv-2.15.2/test/scenarios/use-rvm/.envrc
direnv-2.15.2/test/scenarios/utils/
direnv-2.15.2/test/scenarios/utils/link-to-file
direnv-2.15.2/test/scenarios/utils/somefile
direnv-2.15.2/test/show-direnv-diff.sh
direnv-2.15.2/vendor/
direnv-2.15.2/vendor/github.com/
direnv-2.15.2/vendor/github.com/BurntSushi/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/.gitignore
direnv-2.15.2/vendor/github.com/BurntSushi/toml/.travis.yml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/COMPATIBLE
direnv-2.15.2/vendor/github.com/BurntSushi/toml/COPYING
direnv-2.15.2/vendor/github.com/BurntSushi/toml/Makefile
direnv-2.15.2/vendor/github.com/BurntSushi/toml/README.md
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/example.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/example.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/hard.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/implicit.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/invalid-apples.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/invalid.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/readme1.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/_examples/readme2.toml
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/README.md
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/main.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/README.md
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/main.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/tomlv/
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/tomlv/COPYING
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/tomlv/README.md
direnv-2.15.2/vendor/github.com/BurntSushi/toml/cmd/tomlv/main.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/decode.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/decode_meta.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/decode_test.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/doc.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/encode.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/encode_test.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/encoding_types.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/encoding_types_1.1.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/lex.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/parse.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/session.vim
direnv-2.15.2/vendor/github.com/BurntSushi/toml/type_check.go
direnv-2.15.2/vendor/github.com/BurntSushi/toml/type_fields.go
direnv-2.15.2/vendor/github.com/direnv/
direnv-2.15.2/vendor/github.com/direnv/go-dotenv/
direnv-2.15.2/vendor/github.com/direnv/go-dotenv/LICENSE.md
direnv-2.15.2/vendor/github.com/direnv/go-dotenv/README.md
direnv-2.15.2/vendor/github.com/direnv/go-dotenv/parse.go
direnv-2.15.2/vendor/github.com/direnv/go-dotenv/parse_test.go
direnv-2.15.2/version.go
direnv-2.15.2/version.txt
direnv-2.15.2/xdg.go
phase `unpack' succeeded after 0.0 seconds
starting phase `bootstrap'
no 'configure.ac' or anything like that, doing nothing
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
make: *** No targets specified and no makefile found.  Stop.
Backtrace:
           4 (primitive-load "/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28b…")
In ice-9/eval.scm:
   191:35  3 (_ #f)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 719f80 at /gnu/store/i5ip2vy29fqpp…> …)
In /gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
In /gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)
/gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4" "DESTDIR=/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2") exit-status: 2 term-signal: #f stop-signal: #f] 86ae80>)'.
builder for `/gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv' failed with exit code 1
build of /gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv failed
View build log at '/var/log/guix/drvs/z7/026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv.bz2'.
guix build: error: build of `/gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv' failed

oleg@guixsd ~/src/guix$ git rev-parse HEAD
6e1f91d91ca594098a7e98ae17b301fc035a6234
--8<---------------cut here---------------end--------------->8---
Leo Famulari March 30, 2019, 11:26 p.m. UTC | #3
On Sun, Mar 31, 2019 at 01:25:27AM +0300, Oleg Pykhalov wrote:
> starting phase `build'
> make: *** No targets specified and no makefile found.  Stop.
> Backtrace:
>            4 (primitive-load "/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28b…")
> In ice-9/eval.scm:
>    191:35  3 (_ #f)
> In srfi/srfi-1.scm:
>    863:16  2 (every1 #<procedure 719f80 at /gnu/store/i5ip2vy29fqpp…> …)
> In /gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/gnu-build-system.scm:
>    799:28  1 (_ _)
> In /gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/utils.scm:
>     616:6  0 (invoke _ . _)
> /gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import/guix/build/utils.scm:616:6: In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4" "DESTDIR=/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2") exit-status: 2 term-signal: #f stop-signal: #f] 86ae80>)'.
> builder for `/gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv' failed with exit code 1
> build of /gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv failed
> View build log at '/var/log/guix/drvs/z7/026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv.bz2'.
> guix build: error: build of `/gnu/store/z7026csvaqv6yz5g4imgiblgx48swzdy-direnv-2.15.2.drv' failed
> 
> oleg@guixsd ~/src/guix$ git rev-parse HEAD
> 6e1f91d91ca594098a7e98ae17b301fc035a6234
> --8<---------------cut here---------------end--------------->8---

Hm, weird. I built from a fresh Git checkout and it still works for me.
On the other hand, I see it's failing like this on Hydra.

I attached the derivation I am building. Can you compare it to yours?

As an aside, we should remove the vendor directory from the direnv
source code.
Derive([("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2","","")],[("/gnu/store/15d2fxd1k1cv2hb97lms977ckls354wg-diffutils-3.6.drv",["out"]),("/gnu/store/16c8c8hm1qdn6xz8014939mirc7c4d4j-guile-2.2.4.drv",["out"]),("/gnu/store/2iy8bjj9lqj0kx3djjyxwrvc5vin3sp9-sed-4.5.drv",["out"]),("/gnu/store/2raf5kyhd9i41hf835gvl58mqzs2x27h-gawk-4.2.1.drv",["out"]),("/gnu/store/2xw4c00n1cr5ccryknklrsiri4bqchjy-findutils-4.6.0.drv",["out"]),("/gnu/store/34sh0rr7gkyp106nr0bpx3awy7xf5xax-tar-1.30.drv",["out"]),("/gnu/store/3c9spvq9cgack8g0sznr6mv4b2vbag8v-gzip-1.9.drv",["out"]),("/gnu/store/3s98ya9qc65qf0paxi49lkkkbhxlg80q-xz-5.2.4.drv",["out"]),("/gnu/store/4fyzzkwaf6my2756vyw1lr0q2334yxh5-go-github-com-direnv-go-dotenv-0.0.0-0.4cce6d1.drv",["out"]),("/gnu/store/9vz00dzc42nmqrazfyc1x1j1x57nx6sw-linux-libre-headers-4.14.67.drv",["out"]),("/gnu/store/a99z0k3pz7d0w1rjdh650vpdh60z8ngj-coreutils-8.30.drv",["out"]),("/gnu/store/c4ni4sq1sb9vv5w3a06jnbwy2j0w819k-glibc-utf8-locales-2.28.drv",["out"]),("/gnu/store/cnbvvy7inrlh8q120wpakkjb574b31l5-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv",["out"]),("/gnu/store/g684fc6aj9k8s0w44m6378395131aryj-module-import-compiled.drv",["out"]),("/gnu/store/gha5ivvp2hgpnqxj82c9znh07qvspn90-file-5.33.drv",["out"]),("/gnu/store/gldmzqvkr3b4mmfhk9qgbn042ldy2nn8-patch-2.7.6.drv",["out"]),("/gnu/store/icrhv7swrs4xpghinrgq2nnvzc821dxx-which-2.21.drv",["out"]),("/gnu/store/jasnr4aaj334ppyqwm0mz0xjb65f0ggl-bash-minimal-4.4.23.drv",["out"]),("/gnu/store/jvf65wm6inm4zgawv20qmxn36vpva0kh-bzip2-1.0.6.drv",["out"]),("/gnu/store/kw39wmkv8aw2blp17997ihs3n8bvjbw9-binutils-2.31.1.drv",["out"]),("/gnu/store/l2hgmw7lsp0zm5ma3qv7mzml33vws53k-grep-3.1.drv",["out"]),("/gnu/store/mp1bgj8j704yhvy2b5h3ih5dicch7hb7-gcc-5.5.0.drv",["out"]),("/gnu/store/n0bnbcc777688yjiipas3h07ng8jpp8l-module-import.drv",["out"]),("/gnu/store/pjhc8m7kab5q3gmkijmaykbfsasc2ia3-go-1.11.6.drv",["out"]),("/gnu/store/qp55kh56l0avbgc1rrfambfm9d3w53si-make-4.2.1.drv",["out"]),("/gnu/store/v2b4lvc33w31mk2n1d8bydwy22hfj5g0-direnv-2.15.2.tar.gz.drv",["out"]),("/gnu/store/y0pmjyv582709z6nvwis6snapmn05l80-ld-wrapper-0.drv",["out"]),("/gnu/store/zlarpjla570axb9hi6c78njaf4y9ffci-glibc-2.28.drv",["out","static"])],["/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"],"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile",["--no-auto-compile","-L","/gnu/store/i5ip2vy29fqppjb4pq5isq36gqd42d89-module-import","/gnu/store/08h2sfqxnnvp0nxymcj5mhnp28bj5wwb-direnv-2.15.2-guile-builder"],[("GUILE_LOAD_COMPILED_PATH","/gnu/store/il5y8zbdfg51pv3n0mfb4skm0bb1hkw8-module-import-compiled"),("out","/gnu/store/mz7r3c6a8y0y9ldh24apahng7xprhas9-direnv-2.15.2")])
Vincent Legoll April 13, 2020, 9:14 p.m. UTC | #4
*Hello, shouldn't this issue be closed ? The associated issue #35387 has 
been fixed & closed. direnv seems to build OK (except for arm*) as seen 
on: 
http://data.guix.gnu.org/revision/bad368b0d794689f3a8a11b58f1ea4987938682e/package/direnv/2.15.2 
I ask because I'm not completely sure... -- Vincent Legoll *
Leo Famulari April 13, 2020, 9:40 p.m. UTC | #5
On Mon, Apr 13, 2020 at 11:14:24PM +0200, Vincent Legoll wrote:
> *Hello, shouldn't this issue be closed ? The associated issue #35387 has
> been fixed & closed. direnv seems to build OK (except for arm*) as seen on: http://data.guix.gnu.org/revision/bad368b0d794689f3a8a11b58f1ea4987938682e/package/direnv/2.15.2
> I ask because I'm not completely sure... -- Vincent Legoll *

Yes, please close it
Vincent Legoll April 13, 2020, 9:42 p.m. UTC | #6
On 13/04/2020 23:40, Leo Famulari wrote:
> On Mon, Apr 13, 2020 at 11:14:24PM +0200, Vincent Legoll wrote:
>> *Hello, shouldn't this issue be closed ? The associated issue #35387 has
>> been fixed & closed. direnv seems to build OK (except for arm*) as seen on: http://data.guix.gnu.org/revision/bad368b0d794689f3a8a11b58f1ea4987938682e/package/direnv/2.15.2
>> I ask because I'm not completely sure... -- Vincent Legoll *
> Yes, please close it


OK, done

Patch

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 88c0f32e99..b32f184e96 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -5,6 +5,7 @@ 
 ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
+;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -127,7 +128,7 @@  are already there.")
        (modify-phases %standard-phases
          (delete 'configure)
          ;; Help the build scripts find the Go language dependencies.
-         (add-before 'unpack 'setup-go-environment
+         (add-after 'unpack 'setup-go-environment
            (assoc-ref go:%standard-phases 'setup-go-environment)))))
     (inputs
      `(("go" ,go)