Skip to content
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

perl 5.36 cpan | tests failing for BerkeleyDB #63

Closed
shawnlaffan opened this issue Mar 11, 2023 · 4 comments
Closed

perl 5.36 cpan | tests failing for BerkeleyDB #63

shawnlaffan opened this issue Mar 11, 2023 · 4 comments

Comments

@shawnlaffan
Copy link
Contributor

The 5.36 builds are failing one of the BerkeleyDB tests with what seems to be a segfault.

https://github.com/pmqs/BerkeleyDB/blob/92cf31a15caffe5e2418b2d9d2c77462b3fe084e/t/env.t#L148-L151

It looks like something is going awry with the BerkeleyDB::Env objects as the same issue applies to later instances in that file.

Similar errors occur with t/db-4.3.t.

The question is whether this is due to a Strawberry perl build issue or if it is a BerkeleyDB issue.

We did change the DB build in StrawberryPerl/build-extlibs#23 but I do not know if that is related.

@shawnlaffan shawnlaffan changed the title perl 5.36 | tests failing for BerkeleyDB perl 5.36 cpan | tests failing for BerkeleyDB Mar 11, 2023
@shawnlaffan
Copy link
Contributor Author

All tests pass when using the libdb distributed with Strawberry Perl 5.32.

It might be possible to get the GCC 10.3 version working but I'm inclined to just reuse the one that works.

The MSYS2 project has one additional component in their patching of the DB lib configure script that I might try at some point.
https://github.com/msys2/MINGW-packages/blob/d68a28e2ccbc62784625d4839f9578916e821d0b/mingw-w64-db/mingw.patch#L36-L46

@shawnlaffan
Copy link
Contributor Author

The build is passing with the libdb from 5.32. I'll leave this open in case someone has a chance to look into it.

@shawnlaffan
Copy link
Contributor Author

As with Crypt::OpenSSL::DSA it seems the win32/vmem.h patch that gets PDL to build also works for this module.

I'll close this issue when the next dev release is out.

@shawnlaffan
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant