Source: direnv
Version: 2.25.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210213 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
> ./test/stdlib.bash
> --- find_up
> --- source_up
> direnv: loading /<<PKGBUILDDIR>>/test/.envrc
> --- direnv_apply_dump
> --- PATH_rm
> --- path_rm
> --- expand_path
> --- semver_search
> --- use_julia
> --- source_env_if_exists
> direnv: loading existing_file
> OK (5 tests)
> OK
> 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.005s
> ?     github.com/direnv/direnv/gzenv  [no test files]
> ?     github.com/direnv/direnv/script [no test files]
> ?     github.com/direnv/direnv/script/issue-command   [no test files]
> ?     github.com/direnv/direnv/script/release-changelog       [no test files]
> === RUN   TestSRIHasher
> --- PASS: TestSRIHasher (0.00s)
> PASS
> ok    github.com/direnv/direnv/sri    0.009s
> ?     github.com/direnv/direnv/xdg    [no test files]
> bash ./test/direnv-test.bash
> direnv: loading /<<PKGBUILDDIR>>/test/.envrc
> ## Testing base ##
> Setting up
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/base/.envrc
> direnv: export +HELLO
> Reloading (should be no-op)
> Updating envrc and reloading (should reload)
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/base/.envrc
> direnv: export +HELLO
> Leaving dir (should clear env set by dir's envrc)
> direnv: loading /<<PKGBUILDDIR>>/test/.envrc
> 
> direnv: unloading
> ## Testing inherit ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/inherit/.envrc
> direnv: loading ../inherited/.envrc
> world
> direnv: export +HELLO
> HELLO should be world: world
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/inherit/.envrc
> direnv: loading ../inherited/.envrc
> goodbye
> direnv: export +HELLO
> direnv: unloading
> ## Testing ruby-layout ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/ruby-layout/.envrc
> direnv: export +BUNDLE_BIN +GEM_HOME ~PATH
> direnv: unloading
> ## Testing space dir ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/space dir/.envrc
> direnv: export +SPACE_DIR ~PATH
> direnv: unloading
> ## Testing child-env ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/child-env/.envrc
> direnv: export +CHILD +PARENT_POST +PARENT_PRE
> direnv: unloading
> ## Testing special-vars ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/special-vars/.envrc
> direnv: unloading
> ## Testing dump ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/dump/.envrc
> to stdout
> to stderr
> direnv: direnv_load would previously hang if DIRENV_DUMP_FILE_PATH was not 
> opened.
> direnv: Expect the following to emit an error (which we suppress).
> direnv: As long as it doesn't hang, we're okay.
> tput: No value for $TERM and no -T specified
> tput: No value for $TERM and no -T specified
> direnv: Environment not dumped; did you invoke 'direnv dump'?
> direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES
> direnv: unloading
> ## Testing empty-var ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/empty-var/.envrc
> direnv: export +FOO
> direnv: unloading
> ## Testing empty-var-unset ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/empty-var-unset/.envrc
> direnv: export -FOO
> direnv: unloading
> ## Testing in-envrc ##
> direnv: loading /<<PKGBUILDDIR>>/test/.envrc
> direnv: unloading
> ## Testing missing-file-source-env ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/missing-file-source-env/.envrc
> direnv: referenced /tmp/8109.rTyEJgcC/.envrc does not exist
> direnv: unloading
> ## Testing symlink-changed ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/symlink-changed/.envrc
> direnv: export +STATE
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/symlink-changed/.envrc
> direnv: export +STATE
> direnv: unloading
> ## Testing utf-8 ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/utf-8/.envrc
> direnv: export +UTFSTUFF
> direnv: unloading
> ## Testing failure ##
> direnv: loading /<<PKGBUILDDIR>>/test/scenarios/failure/.envrc
> direnv: unloading
> elvish ./test/direnv-test.elv
> deprecation: the "path-dir" command is deprecated; use "path:dir" 
> instead
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 3: E:TEST_DIR = 
> (path-dir (src)[path])
> deprecation: the "path-dir" command is deprecated; use "path:dir" 
> instead
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 6: E:PATH = (path-dir 
> $E:TEST_DIR):$E:PATH
> deprecation: using the syntax of temporary assignment for 
> non-temporary assignment is deprecated; use "var" or "set" instead
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 83:       
> E:WATCHES=$E:DIRENV_WATCHES
> Exception: no such key: path
> /<<PKGBUILDDIR>>/test/direnv-test.elv, line 3: E:TEST_DIR = (path-dir 
> (src)[path])
> 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/2021/02/13/direnv_2.25.2-1_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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