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 ##
> direnv: error .envrc is blocked. Run `direnv allow` to approve its 
> content.
> direnv: error .envrc is blocked. Run `direnv allow` to approve its 
> content.
> ## Testing dump ##
> direnv: loading .envrc
> direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES
> direnv: error .envrc is blocked. Run `direnv allow` to approve its 
> content.
> ## Testing empty-var ##
> direnv: loading .envrc
> direnv: export +FOO
> direnv: error .envrc is blocked. Run `direnv allow` to approve its 
> content.
> ## Testing empty-var-unset ##
> direnv: loading .envrc
> direnv: export -FOO
> direnv: error .envrc is blocked. Run `direnv allow` to approve its 
> content.
> ## 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: FAILED: 'world' == ''
> Traceback:
>   /<<PKGBUILDDIR>>/test/direnv-test.elv, line 43:
>               fail "FAILED: '"$a"' == '"$b"'"
>   /<<PKGBUILDDIR>>/test/direnv-test.elv, line 42-44:
>       if (!=s $a $b) {
>                 fail "FAILED: '"$a"' == '"$b"'"
>         }
>   /<<PKGBUILDDIR>>/test/direnv-test.elv, line 98:
>       test-eq $E:HELLO ""
>   /<<PKGBUILDDIR>>/test/direnv-test.elv, line 60:
>       $fct
>   /<<PKGBUILDDIR>>/test/direnv-test.elv, line 77-99:
>     test-scenario base {
>         echo "Setting up"
>         direnv-eval
>         test-eq $E:HELLO "world"
>     
>         E:WATCHES=$E:DIRENV_WATCHES
>     
>         echo "Reloading (should be no-op)"
>         direnv-eval
>         test-eq $E:WATCHES $E:DIRENV_WATCHES
>     
>         sleep 1
>     
>         echo "Updating envrc and reloading (should reload)"
>         touch .envrc
>         direnv-eval
>         test-neq $E:WATCHES $E:DIRENV_WATCHES
>     
>         echo "Leaving dir (should clear env set by dir's envrc)"
>         cd ..
>         direnv-eval
>         test-eq $E:HELLO ""
>     }
> 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.

Reply via email to