Opened 4 years ago
Last modified 4 years ago
#62231 assigned defect
git 2.30.0_0 [+credential_osxkeychain+diff_highlight+doc+pcre+perl5_28]: port test fails — at Initial Version
Reported by: | Aloisius (Jordan Mendelson) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ci42 | |
Port: | git |
Description
With a clean installation of MacPorts on an m1 macbook pro, port test git fails on macOS 11.2 20D64 with Xcode 12.4 12D4e.
- Installed brand new macports (nothing in /opt)
- sudo port selfupdate
- sudo port install git
- sudo port test git <- this fails
From the port log:
:info:test *** t3305-notes-fanout.sh *** :info:test ok 1 - tweak test environment :info:test ok 2 - creating many notes with git-notes :info:test ok 3 - many notes created correctly with git-notes :info:test not ok 4 - stable fanout 0 is followed by stable fanout 1 :info:test # :info:test # i=$num_notes && :info:test # fanout=0 && :info:test # while test $i -gt 0 :info:test # do :info:test # i=$(($i - 1)) && :info:test # if touched_one_note_with_fanout refs/notes/commits~$i A $fanout :info:test # then :info:test # continue :info:test # elif test $fanout -eq 0 :info:test # then :info:test # fanout=1 && :info:test # if all_notes_have_fanout refs/notes/commits~$i $fanout :info:test # then :info:test # echo "Fanout 0 -> 1 at refs/notes/commits~$i" && :info:test # continue :info:test # fi :info:test # fi && :info:test # echo "Failed fanout=$fanout check at refs/notes/commits~$i" && :info:test # git ls-tree -r --name-only refs/notes/commits~$i && :info:test # return 1 :info:test # done && :info:test # all_notes_have_fanout refs/notes/commits 1 :info:test # :info:test ok 5 - deleting most notes with git-notes :info:test ok 6 - most notes deleted correctly with git-notes :info:test ok 7 - stable fanout 1 is followed by stable fanout 0 :info:test # failed 1 among 7 test(s) :info:test 1..7 :info:test make[2]: *** [t3305-notes-fanout.sh] Error 1 :info:test make[1]: *** [test] Error 2 :info:test make: *** [test] Error 2 :info:test Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.30.0" && make test CFLAGS="-I. -Wall -O2 -I/opt/local/include -arch arm64" LDFLAGS="-L/opt/local/lib -arch arm64" CC=/usr/bin/clang prefix=/opt/local CURLDIR=/opt/local OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/perl5.28" PYTHON_PATH="/opt/local/bin/python3.8" NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 NO_PERL_CPAN_FALLBACK=1 V=1 LIBPCREDIR=/opt/local USE_LIBPCRE2=1 :info:test Exit code: 2 :error:test Failed to test git: command execution failed
Building directly from source using the system toolchain using this works fine:
$ make V=1 PYTHON_PATH=/usr/bin/python3 PERL_PATH=/usr/bin/perl NO_GETTEXT=1 NO_DARWIN_PORTS=1 NO_FINK=1 test
Note: See
TracTickets for help on using
tickets.