Source: direnv
Version: 2.20.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> shellcheck stdlib.sh
> cd "/<<PKGBUILDDIR>>/.gopath/src/github.com/direnv/direnv" && go test -v ./...
> === RUN TestEnvDiff
> --- PASS: TestEnvDiff (0.00s)
> === RUN TestEnvDiffEmptyValue
> --- PASS: TestEnvDiffEmptyValue (0.00s)
> === RUN TestIgnoredEnv
> --- PASS: TestIgnoredEnv (0.00s)
> === RUN TestEnv
> --- PASS: TestEnv (0.00s)
> === RUN TestUpdate
> --- PASS: TestUpdate (0.00s)
> === RUN TestFTJsons
> --- PASS: TestFTJsons (0.00s)
> === RUN TestRoundTrip
> --- PASS: TestRoundTrip (0.00s)
> === RUN TestCanonicalAdds
> --- PASS: TestCanonicalAdds (0.00s)
> === RUN TestCheckPasses
> --- PASS: TestCheckPasses (0.00s)
> === RUN TestCheckStale
> --- PASS: TestCheckStale (0.00s)
> === RUN TestCheckAppeared
> --- PASS: TestCheckAppeared (0.00s)
> === RUN TestCheckGone
> --- PASS: TestCheckGone (0.00s)
> === RUN TestSomething
> --- PASS: TestSomething (0.00s)
> === RUN TestRootDir
> --- PASS: TestRootDir (0.00s)
> === RUN TestBashEscape
> --- PASS: TestBashEscape (0.00s)
> === RUN TestShellDetection
> --- PASS: TestShellDetection (0.00s)
> PASS
> ok github.com/direnv/direnv 0.003s
> ? github.com/direnv/direnv/gzenv [no test files]
> ? github.com/direnv/direnv/script [no test files]
> [ $(go fmt | tee /dev/stderr | wc -l) = 0 ]
> bash ./test/direnv-test.bash
> direnv: loading .envrc
> ## Testing base ##
> Setting up
> direnv: loading .envrc
> direnv: export +HELLO
> Reloading (should be no-op)
> Updating envrc and reloading (should reload)
> direnv: loading .envrc
> direnv: export +HELLO
> Leaving dir (should clear env set by dir's envrc)
> direnv: loading ../.envrc
>
> ## Testing inherit ##
> direnv: loading .envrc
> direnv: loading ../inherited/.envrc
> world
> direnv: export +HELLO
> HELLO should be world: world
> direnv: loading .envrc
> direnv: loading ../inherited/.envrc
> goodbye
> direnv: export +HELLO
> direnv: loading .envrc
> ## Testing ruby-layout ##
> direnv: loading .envrc
> direnv: export +BUNDLE_BIN +GEM_HOME ~PATH
> direnv: loading .envrc
> ## Testing space dir ##
> direnv: loading .envrc
> direnv: export +SPACE_DIR ~PATH
> direnv: loading .envrc
> ## Testing child-env ##
> direnv: loading .envrc
> direnv: export +CHILD +PARENT_POST +PARENT_PRE
> direnv: loading .envrc
> ## Testing special-vars ##
> [31mdirenv: error .envrc is blocked. Run `direnv allow` to approve its
> content.[0m
> [31mdirenv: error .envrc is blocked. Run `direnv allow` to approve its
> content.[0m
> ## Testing dump ##
> direnv: loading .envrc
> direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES
> [31mdirenv: error .envrc is blocked. Run `direnv allow` to approve its
> content.[0m
> ## Testing empty-var ##
> direnv: loading .envrc
> direnv: export +FOO
> [31mdirenv: error .envrc is blocked. Run `direnv allow` to approve its
> content.[0m
> ## Testing empty-var-unset ##
> direnv: loading .envrc
> direnv: export -FOO
> [31mdirenv: error .envrc is blocked. Run `direnv allow` to approve its
> content.[0m
> ## Testing in-envrc ##
> direnv: loading ../../.envrc
> ## Testing missing-file-source-env ##
> direnv: loading .envrc
> direnv: referenced /tmp/4595.dwKbkxel/.envrc does not exist
> direnv: loading .envrc
> ## Testing symlink-changed ##
> direnv: loading .envrc
> direnv: export +STATE
> direnv: loading .envrc
> direnv: export +STATE
> direnv: loading .envrc
> elvish ./test/direnv-test.elv
> warning: cannot create data directory ~/.elvish
> direnv: loading .envrc
>
> ## Testing base ##
> Setting up
> direnv: loading .envrc
> direnv: export +HELLO
> Reloading (should be no-op)
> Updating envrc and reloading (should reload)
> direnv: loading .envrc
> direnv: export +HELLO
> Leaving dir (should clear env set by dir's envrc)
> direnv: loading ../.envrc
> Exception: [31;1mFAILED: 'world' == ''[m
> Traceback:
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 43:
> [1;4mfail "FAILED: '"$a"' == '"$b"'"[m
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 42-44:
> if (!=s $a $b) [1;4m{[m
> [1;4m fail "FAILED: '"$a"' == '"$b"'"[m
> [1;4m }[m
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 98:
> [1;4mtest-eq $E:HELLO ""[m
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 60:
> [1;4m$fct[m
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 77-99:
> [1;4mtest-scenario base {[m
> [1;4m echo "Setting up"[m
> [1;4m direnv-eval[m
> [1;4m test-eq $E:HELLO "world"[m
> [1;4m[m
> [1;4m E:WATCHES=$E:DIRENV_WATCHES[m
> [1;4m[m
> [1;4m echo "Reloading (should be no-op)"[m
> [1;4m direnv-eval[m
> [1;4m test-eq $E:WATCHES $E:DIRENV_WATCHES[m
> [1;4m[m
> [1;4m sleep 1[m
> [1;4m[m
> [1;4m echo "Updating envrc and reloading (should reload)"[m
> [1;4m touch .envrc[m
> [1;4m direnv-eval[m
> [1;4m test-neq $E:WATCHES $E:DIRENV_WATCHES[m
> [1;4m[m
> [1;4m echo "Leaving dir (should clear env set by dir's envrc)"[m
> [1;4m cd ..[m
> [1;4m direnv-eval[m
> [1;4m test-eq $E:HELLO ""[m
> [1;4m}[m
> make[2]: *** [GNUmakefile:140: test-elvish] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j1 test returned exit code 2
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/direnv_2.20.1-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.