libarchive_test gets stuck on FreeBSD 14.0-RELEASE (amd64) running 3.7.4
diizzyy opened this issue · comments
Running the unit tests via ports tree gets stuck with libarchive_test pegging one core for at least over 20+ minutes.
3.7.2 passes, 3.7.3 fails with bsdunzip_test
I've attached a patch for the ports tree bump it to 3.7.4, just make test to execute.
This could be linked with XAR issue. It is fixed in b910cb7 which has been merged after 3.7.4 release.
@dizzyy If you could attach to libarchive_test with a debugger while it's hung and grab a backtrace for us, that would help us understand exactly why this is happening.
It's been a while since I've worked with the FreeBSD ports tree -- could you provide the exact commands you used to reproduce this?
@stoeckmann
Hi, apply that patch made it past libarchive_test! Thanks!
bsdunzip_test still fails though, "unzip/test/test_I.c:53: File doesn't exist: Γειά σου Κόσμε.txt" by looking at the logs.
git clone https://git.FreeBSD.org/ports.git /usr/ports
cd /usr/ports
fetch "https://github.com/libarchive/libarchive/files/15213724/libarchive-374-backport.patch"
git apply libarchive-374-backport.patch
rm libarchive-374-backport.patch
cd archivers/libarchive && make depends clean clean-depends BATCH=yes && make test
BATCH=yes will make all defaults apply for dependencies instead of you having to interact with port options.
libarchive-374-backport.patch
Edit: With the backport Tobias suggested
Also backporting 83e8b0ea8c3b07e07ac3dee90a8724565f8e53fd seems to fix bsdunzip_test failing.
So it's all good now =)
Final patch for ports tree submitted here:, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278795
Glad you figured that out!