Source: git-secrets Version: 1.3.0-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[2]: Entering directory '/<<PKGBUILDDIR>>' > LANG=C test/bats/bin/bats test/ > 1..50 > ok 1 Rejects commit messages with prohibited patterns > ok 2 Allows commit messages that do not match a prohibited pattern > ok 3 no arguments prints usage instructions > ok 4 -h prints help > ok 5 Invalid scan filename fails > ok 6 Does not require secrets > ok 7 No prohibited matches exits 0 > ok 8 Scans all files when no file provided > ok 9 Scans all files including history > ok 10 Scans all files when no file provided with secret in history > ok 11 Scans all files including history with secret in history > ok 12 Scans history with secrets distributed among branches in history > ok 13 Scans recursively > ok 14 Scans recursively only if -r is given > ok 15 Excludes allowed patterns from failures > ok 16 Prohibited matches exits 1 > ok 17 Only matches on word boundaries > ok 18 Can scan from stdin using - > ok 19 installs hooks for repo > ok 20 fails if hook exists and no -f > not ok 21 Overwrites hooks if -f is given > # (in test file test/git-secrets.bats, line 147) > # `[ $status -eq 0 ]' failed > # hint: Using 'master' as the name for the initial branch. This default > branch name > # hint: is subject to change. To configure the initial branch name to use in > all > # hint: of your new repositories, which will suppress this warning, call: > # hint: > # hint: git config --global init.defaultBranch <name> > # hint: > # hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and > # hint: 'development'. The just-created branch can be renamed via this > command: > # hint: > # hint: git branch -m <name> > # Initialized empty Git repository in > /<<PKGBUILDDIR>>/debian/testtmp/test-repo/.git/ > # /<<PKGBUILDDIR>> > # /<<PKGBUILDDIR>>/debian/testtmp/test-repo > # /<<PKGBUILDDIR>>/debian/testtmp/test-repo > ok 22 installs hooks for repo with Debian style directories > not ok 23 installs hooks to template directory > # (in test file test/git-secrets.bats, line 164) > # `[ $status -eq 0 ]' failed > # hint: Using 'master' as the name for the initial branch. This default > branch name > # hint: is subject to change. To configure the initial branch name to use in > all > # hint: of your new repositories, which will suppress this warning, call: > # hint: > # hint: git config --global init.defaultBranch <name> > # hint: > # hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and > # hint: 'development'. The just-created branch can be renamed via this > command: > # hint: > # hint: git branch -m <name> > # Initialized empty Git repository in > /<<PKGBUILDDIR>>/debian/testtmp/test-repo/.git/ > # /<<PKGBUILDDIR>> > # /<<PKGBUILDDIR>>/debian/testtmp/test-repo > ok 24 Scans using keys from credentials file > ok 25 Lists secrets for a repo > ok 26 Adds secrets to a repo and de-dedupes > ok 27 Adds allowed patterns to a repo and de-dedupes > ok 28 Empty lines must be ignored in .gitallowed files > ok 29 Comment lines must be ignored in .gitallowed files > ok 30 Scans all files and allowing none of the bad patterns in .gitallowed > ok 31 Scans all files and allowing all bad patterns in .gitallowed > ok 32 Adds common AWS patterns > ok 33 Adds providers > ok 34 Strips providers that return nothing > ok 35 --recursive cannot be used with SCAN_* > ok 36 --recursive can be used with --scan > ok 37 --recursive can't be used with --list > ok 38 -f can only be used with --install > ok 39 -a can only be used with --add > ok 40 -l can only be used with --add > ok 41 --cached can only be used with --scan > ok 42 --no-index can only be used with --scan > ok 43 --untracked can only be used with --scan > ok 44 Rejects commits with prohibited patterns in changeset > ok 45 Rejects commits with prohibited patterns in changeset with filename > that contain spaces > ok 46 Scans staged files > ok 47 Allows commits that do not match prohibited patterns > ok 48 Rejects commits with prohibited patterns in changeset when AWS provider > is enabled > ok 49 Rejects merges with prohibited patterns in history > ok 50 Allows merges that do not match prohibited patterns > make[2]: *** [Makefile:12: test] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test: error: make -j8 test returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2022/12/20/git-secrets_1.3.0-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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 mark 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 mine so that we can identify if something relevant changed in the meantime.