Created attachment 781097 [details] build.log 1) Failure: refs::revparse::date [/var/tmp/portage/dev-libs/libgit2-1.4.3/work/libgit2-1.4.3/tests/refs/revparse.c:28] String mismatch: objstr != expected_oid 'a65fedf39aefe402d3bb6e24df4d4f5fe4547750' != 'be3563ae3f795b2b4353bcce3a527ad0a4f7f644' (at byte 0) 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 210.52 sec The following tests FAILED: 1 - offline (Failed) Errors while running CTest * ERROR: dev-libs/libgit2-1.4.3::gentoo failed (test phase): * Tests failed. When you file a bug, please attach the following file: * /var/tmp/portage/dev-libs/libgit2-1.4.3/work/libgit2-1.4.3_build/Testing/Temporary/LastTest.log * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2924: Called cmake_src_test '-R' 'offline' * environment, line 1485: Called die * The specific snippet of code: * die "Tests failed. When you file a bug, please attach the following file: * ${BUILD_DIR}/Testing/Temporary/LastTest.log"; ----
Created attachment 781100 [details] LastTest.log
I wonder if it's due to OpenSSL 3.
Ooookay. commit bdab22384cc61d315005a65456a9f9563bb27c8f Author: Carlos Martín Nieto <carlosmn@github.com> Date: Tue May 3 09:28:43 2022 +0200 revparse: adjust reflog test as we move away from the dates The dates we use in `refs::revparse::date` has just passed the ten years, so now everything is beyond ten years, leading to an unexpected commit being returned. Adjust it to 11 years so it all looks fine again. tests/libgit2/refs/revparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b8f6febfd78798a960c68a2173c0fba893f0f4 commit 62b8f6febfd78798a960c68a2173c0fba893f0f4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-05-28 05:29:49 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-05-28 05:36:27 +0000 dev-libs/libgit2: Fix test regression due to time passing Closes: https://bugs.gentoo.org/847835 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-libs/libgit2/files/libgit2-1.4.3-test.patch | 30 +++++++++++++++++++++++++ dev-libs/libgit2/libgit2-1.4.3.ebuild | 4 ++++ 2 files changed, 34 insertions(+)