-
Notifications
You must be signed in to change notification settings - Fork 38
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
compress-raw-zlib-pm5* fail tests bigly on macOS11 #689
Comments
Does libz (apple's, cached apparently) not have the _adler32 symbol? Does /usr/include/zlib.h declare it (or was there whining at build-time)? IIRC, apple had some chaos with mismatched headers and libs for libz years ago, I hope it's not back to being broken again. Perl .bundle are dlopen()ed and therefore do not always dyld-link all their dependencies ( |
Compiled this program on 10.13 and 11.0:
If I remove There is no |
This is the 'configure' output from zlib-compress-raw-pm5282:
So not finding -lz, but not clear what method it's using. If doing a file check, it will fail. If looking for symbol presence, it should work. |
Lastly, I went into the failed directory, added |
That comes from EU::MM. Uh...oh... |
I tested updating EU::MM to the latest upstream (7.56 vs our 7.44) but no change. |
Could you try creating the following Makefile.PL in an otherwise empty directory:
then do:
replacing "-L/sw/lib -ldb" with your fink prefix and a .dylib that exists. So the libdb.dylib file can be found and can also be linked whereas libnosuch.dylib does not exist and also can't be linked. As I understand it, 'perl Makefile.PL' constructs a Makefile that only contains the -l flags whose actual files could be found. So for my 10.13, I see: |
(used -ldb which exists as /opt/sw3/lib/libdb.dylib and -lgmalloc which is a real file in /usr/lib)
|
Filed as EU::MM bug. |
Reported to be fixed in EU::MM 7.58. Could you try updating our extutils-makemaker-pm* packages and see if that cures it? |
On 11.0.1:
Same error as above, but this is on the way to building EU::MM. I suppose we could backport upstream's fix to the EU::MM included in perl5*-core ? |
hmpf. applying Perl-Toolchain-Gang/ExtUtils-MakeMaker@8b924f6 to Fink's perl5184 didn't fix the test-simple-pm5184 failure. |
So the test-simple-pm5184 failure is fixed by installing perl5184 (not just perl5184-core). Same behavior on 10.13 with pm5282. Is that normal? Simple enough to add it to TestDepends (or will it be an actual Depends)? |
Now tested all pm variants. EU::MM-7.58 fixes this. |
As mentioned in #682, compress-raw-zlib-pm5* fail tests due to problems with system-zlib (not a real dylib anymore, but in a linker cache)
The failure occurs in both our current C::Z:Raw 2.074 and latest upstream 2.096.
The package builds/tests cleanly if I use the internal zlib code that comes with the package or use a Fink provided zlib (not in dists).
The text was updated successfully, but these errors were encountered: