New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite fails on older FreeBSD systems (1.68) #74
Comments
Thanks, have been monitoring these already on CPAN testers. Seems that FreeBSD's light-weight unzip is rather unhappy with the zip files A::Z generates, at least for FreeBSD 9 and 10. @pmqs, @redhotpenguin: Before I invest any time in following up on these, does the search
ring any bell? Should we probably skip all "unzip -t" tests on FreeBSD 9/10? |
@farblos the test is failing with a Zip64 file that A::Z has created. Zip64 is still quite new in A::Z, so there may be some issues to be fixed (or it may just be that unzip on FreeBSD has its own issues). I don't have FreeBSD available at the moment to check. For reference, here is a dump of the zip file that the test is creating. Nothing is jumping out at me after a very quick scan. I'll try to get some time to take a closer look at it.
|
Thanks for the hint on zip64 format, @pmqs, didn't pay attention to that particular fact. Given that FreeBSD's unzip processes
in the test logs) one possible approach could be to compare the A::Z-generated zip file and |
But then again, in http://cpantesters.org/cpan/report/d41e7072-6493-11ea-a3e8-ef2a1f24ea8f |
It seems that one has to differentiate between freebsd9 and freebsd10 here. t/18_bug_92205.t fails only with the former, see http://analysis.cpantesters.org/reports_by_field?SUBMIT_xxx=Submit&distv=Archive-Zip-1.68&field=conf%3Aarchname%2Bosvers&field=fail%3At%2F18_bug_92205.t |
So we have so far:
However, after digging through past test logs I think that the problems of FreeBSD 9 and 10 aren't really new, only they haven't shown up as test failures until now. For example: Archive-Zip-1.67 on 9.3-release-p13 (http://cpantesters.org/cpan/report/0185780a-000b-11ea-a6fe-b93c1f24ea8f):
Archive-Zip-1.67 on 10.3-release-p11 (http://cpantesters.org/cpan/report/05553862-000b-11ea-a6fe-b93c1f24ea8f):
So I think we now get these test failures just because the detection of whether |
Test I've just had a go at building the FreeBSD unzip on Linux. I found the source for unzip here https://github.com/freebsd/freebsd/blob/master/usr.bin/unzip/unzip.c. It appears to be a front-end to libarchive. Now I need to find the FreeBSD 9 source used in unzip/ libarchive & build them. |
Yep, I imagine that will ultimately be the workaround. |
Got the equivalent of unzip/libarchve from FreeBSD 10 to build on my Linux dev box. I can get it to fail a lot of tests in I think we are wasting our time expecting the older FreeBSD unzips to tell us anything sensible with these failing tests. @farblos agree with your suggestion to just disable these test on FreeBSD 9 & 10 |
Thanks @pmqs for following up. Will wait for more test results pouring in on CPAN testers and eventually fix or work around where it is reasonable to do so. |
On my freebsd 10 and 9 systems:
The text was updated successfully, but these errors were encountered: