Package: git-filter-repo
Version: 2.38.0-1
Severity: important
Tags: ftbfs

Dear Maintainer,

The package fails to build from source in sid chroot due to the help strings
changes in git 2.43

The relevant parts of the build log
---------------
make[1]: Entering directory '/<<PKGBUILDDIR>>'
t/run_tests


== t9390-filter-repo.sh ==
ok 1 - check: basic -> basic-filename using '--path filename'
ok 2 - check: basic -> basic-twenty using '--path twenty'
ok 3 - check: basic -> basic-ten using '--path ten'
ok 4 - check: basic -> basic-numbers using '--path ten --path twenty'
ok 5 - check: basic -> basic-filename using '--invert-paths --path-glob t*en*'
ok 6 - check: basic -> basic-numbers using '--invert-paths --path-regex
f.*e.*e'
ok 7 - check: basic -> basic-mailmap using '--mailmap ../t9390/sample-mailmap'
ok 8 - check: basic -> basic-replace using '--replace-text ../t9390/sample-
replace'
ok 9 - check: basic -> basic-message using '--replace-message ../t9390/sample-
message'
ok 10 - check: empty -> empty-keepme using '--path keepme'
ok 11 - check: empty -> more-empty-keepme using '--path keepme --prune-
empty=always --prune-degenerate=always'
ok 12 - check: empty -> less-empty-keepme using '--path keepme --prune-
empty=never --prune-degenerate=never'
ok 13 - check: degenerate -> degenerate-keepme using '--path moduleA/keepme'
ok 14 - check: degenerate -> degenerate-moduleA using '--path moduleA'
ok 15 - check: degenerate -> degenerate-globme using '--path-glob *me'
ok 16 - check: degenerate -> degenerate-keepme-noff using '--path
moduleA/keepme --no-ff'
ok 17 - check: unusual -> unusual-filtered using '--path '
ok 18 - check: unusual -> unusual-mailmap using '--mailmap ../t9390/sample-
mailmap'
ok 19 - --path-rename sequences/tiny:sequences/small
ok 20 - --path-rename sequences:numbers
ok 21 - --path-rename-prefix values:numbers
ok 22 - --path-rename squashing
ok 23 - --path-rename inability to squash
ok 24 - --paths-from-file
ok 25 - Mixing filtering and renaming paths, not enough filters
ok 26 - Mixing filtering and renaming paths, enough filters
ok 27 - Mixing filtering and to-subdirectory-filter
ok 28 - --tag-rename
not ok 29 - tag of tag before relevant portion of history
#
#               test_create_repo filtered_tag_of_tag &&
#               (
#                       cd filtered_tag_of_tag &&
#                       echo contents >file &&
#                       git add file &&
#                       git commit -m "Initial" &&
#
#                       git tag -a -m "Inner Tag" inner_tag HEAD &&
#                       git tag -a -m "Outer Tag" outer_tag inner_tag &&
#
#                       mkdir subdir &&
#                       echo stuff >subdir/whatever &&
#                       git add subdir &&
#                       git commit -m "Add file in subdir" &&
#
#                       git filter-repo --force --subdirectory-filter subdir &&
#
#                       git show-ref >refs &&
#                       ! grep refs/tags refs &&
#                       git log --all --oneline >commits &&
#                       test_line_count = 1 commits
#               )
#
ok 30 - --subdirectory-filter
ok 31 - --subdirectory-filter with trailing slash
ok 32 - --to-subdirectory-filter
ok 33 - --use-base-name
ok 34 - refs/replace/ to skip a parent
ok 35 - refs/replace/ to add more initial history
ok 36 - creation/deletion/updating of replace refs
ok 37 - --debug
ok 38 - --dry-run
ok 39 - --dry-run --debug
ok 40 - --dry-run --stdin
ok 41 - --analyze
ok 42 - --analyze --report-dir
ok 43 - --replace-text all options
ok 44 - --replace-text binary zero_byte-0_char
ok 45 - --replace-text binary zero_byte-no_0_char
ok 46 - --replace-text text-file no_zero_byte-zero_char
ok 47 - --strip-blobs-bigger-than
ok 48 - --strip-blobs-with-ids
ok 49 - commit message rewrite
ok 50 - commit hash unchanged if requested
not ok 51 - commit message encoding preserved if requested
#
#               (
#                       git init commit_message_encoding &&
#                       cd commit_message_encoding &&
#
#                       cat >input <<-\EOF &&
#                       feature done
#                       commit refs/heads/develop
#                       mark :1
#                       original-oid deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
#                       author Just Me <j...@here.org> 1234567890 -0200
#                       committer Just Me <j...@here.org> 1234567890 -0200
#                       encoding iso-8859-7
#                       data 5
#                       EOF
#
#                       printf "Pi: \360\n\ndone\n" >>input &&
#
#                       cat input | git fast-import --quiet &&
#                       git rev-parse develop >expect &&
#
#                       git filter-repo --preserve-commit-encoding --force &&
#                       git rev-parse develop >actual &&
#                       test_cmp expect actual
#               )
#
ok 52 - commit message rewrite unsuccessful
ok 53 - startup sanity checks
ok 54 - other startup error cases and requests for help
ok 55 - invalid fast-import directives
ok 56 - mailmap sanity checks
ok 57 - incremental import
ok 58 - --target
ok 59 - --refs
ok 60 - --refs and --replace-text
ok 61 - reset to specific refs
ok 62 - handle funny characters
not ok 63 - --state-branch with changing renames
#
#               test_create_repo state_branch_renames_export
#               test_create_repo state_branch_renames &&
#               (
#                       cd state_branch_renames &&
#                       git fast-import --quiet <$DATA/basic-numbers &&
#                       git branch -d A &&
#                       git branch -d B &&
#                       git tag -d v1.0 &&
#
#                       ORIG=$(git rev-parse master) &&
#                       git reset --hard master~1 &&
#                       git filter-repo --path-rename ten:zehn \
#                                       --state-branch state_info \
#                                       --target ../state_branch_renames_export
&&
#
#                       cd ../state_branch_renames_export &&
#                       git log --format=%s --name-status >actual &&
#                       cat <<-EOF >expect &&
#                               Merge branch ${SQ}A${SQ} into B
#                               add twenty
#
#                               M       twenty
#                               add ten
#
#                               M       zehn
#                               Initial
#
#                               A       twenty
#                               A       zehn
#                               EOF
#                       test_cmp expect actual &&
#
#                       cd ../state_branch_renames &&
#
#                       git reset --hard $ORIG &&
#                       git filter-repo --path-rename twenty:veinte \
#                                       --state-branch state_info \
#                                       --target ../state_branch_renames_export
&&
#
#                       cd ../state_branch_renames_export &&
#                       git log --format=%s --name-status >actual &&
#                       cat <<-EOF >expect &&
#                               whatever
#
#                               A       ten
#                               A       veinte
#                               Merge branch ${SQ}A${SQ} into B
#                               add twenty
#
#                               M       twenty
#                               add ten
#
#                               M       zehn
#                               Initial
#
#                               A       twenty
#                               A       zehn
#                               EOF
#                       test_cmp expect actual
#               )
#
not ok 64 - --state-branch with expanding paths and refs
#
#               test_create_repo state_branch_more_paths_export
#               test_create_repo state_branch_more_paths &&
#               (
#                       cd state_branch_more_paths &&
#                       git fast-import --quiet <$DATA/basic-numbers &&
#
#                       git reset --hard master~1 &&
#                       git filter-repo --path ten --state-branch state_info \
#                                       --target
../state_branch_more_paths_export \
#                                       --refs master &&
#
#                       cd ../state_branch_more_paths_export &&
#                       echo 2 >expect &&
#                       git rev-list --count master >actual &&
#                       test_cmp expect actual &&
#                       test_must_fail git rev-parse master~1:twenty &&
#                       test_must_fail git rev-parse master:twenty &&
#
#                       cd ../state_branch_more_paths &&
#
#                       git reset --hard v1.0 &&
#                       git filter-repo --path ten --path twenty \
#                                       --state-branch state_info \
#                                       --target
../state_branch_more_paths_export &&
#
#                       cd ../state_branch_more_paths_export &&
#                       echo 3 >expect &&
#                       git rev-list --count master >actual &&
#                       test_cmp expect actual &&
#                       test_must_fail git rev-parse master~2:twenty &&
#                       git rev-parse master:twenty
#               )
#
ok 65 - degenerate merge with non-matching filenames
ok 66 - degenerate merge with typechange
ok 67 - Filtering a blob to make it match previous version
ok 68 - tweaking just a tag
ok 69 - --version
ok 70 - empty author ident
# failed 4 among 70 test(s)
1..70


== t9391-filter-repo-lib-usage.sh ==
ok 1 - commit_info.py
ok 2 - file_filter.py
ok 3 - print_progress.py
ok 4 - rename-master-to-develop.py
ok 5 - strip-cvs-keywords.py
ok 6 - setup two extra repositories
ok 7 - splice_repos.py
ok 8 - create_fast_export_output.py
ok 9 - unusual.py
ok 10 - erroneous.py
ok 11 - other error cases
ok 12 - lint-history
# passed all 12 test(s)
1..12


== t9392-python-callback.sh ==
ok 1 - --filename-callback
ok 2 - --message-callback
ok 3 - --name-callback
ok 4 - --email-callback
ok 5 - --refname-callback
ok 6 - --refname-callback sanity check
ok 7 - --blob-callback
ok 8 - --commit-callback
ok 9 - --tag-callback
ok 10 - --reset-callback
ok 11 - callback has return statement sanity check
ok 12 - Callback read from a file
# passed all 12 test(s)
1..12
make[1]: *** [debian/rules:13: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-08T02:14:51Z


---------------



[1] https://github.com/newren/git-filter-repo/issues/523


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-filter-repo depends on:
ii  git      1:2.40.1-1ubuntu1
ii  python3  3.11.4-5

Versions of packages git-filter-repo recommends:
ii  git  1:2.40.1-1ubuntu1

git-filter-repo suggests no packages.

Reply via email to