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
ext/GDBM_File/t/gdbm.t fails with Perl 5.34 and gdbm 1.20 #18915
Comments
Can you paste the output of the following command, run from the top-level of this Thank you very much. |
|
|
Thanks. So that we can hone in on the failure (and possibly run a bisection), can you place the following program in |
|
It would also be helpful if you could configure and build perl with a much simpler set of switches to That way we could rule out the problem being associated with one of the many switches in our Thank you very much. |
|
I used to build ./Configure as you recommended. The output of the test is: |
|
@graygnuorg do you have an idea? |
|
Yes, I do. This is because the code in GDBM_File.xs assumes gdbm error codes are defines, whereas they are enumerated constants. |
Thank you for that investigation. It confirms that a stripped-down version of the failing test file can be used for further investigation. I downloaded https://ftp.gnu.org/gnu/gdbm/gdbm-1.20.tar.gz and manually installed it on FreeBSD-12 underneath I then configured and built Perl 5 blead as follows and ran the test file: So @jplesnki's original failure report is reproducible. I then did I then examined the output of Result: the OP's failure was introduced in this commit: As I was studying this, @graygnuorg submitted a pull request which is under evaluation. Thank you very much. |
|
This should be fixed with merge of #18924 into blead just now. Commits in reverse order: I will monitor this for several days before closing ticket. Thank you very much. |
|
I was able successfully build Perl 5.34 with GDBM 1.20. Thank you for the fix. |
Thanks for the feedback. Closing ticket as per schedule. |
Module:
GDBM_File
Description
I am not able build Perl 5.34 on latest Fedora with new gdbm 1.20.
The test ../ext/GDBM_File/t/gdbm.t failed with error.
Steps to Reproduce
I don't have one-liner.
I installed all of Perl's dependencies (built with GDBM 1.19) and updated GDBM 1.20. Then I built Perl with the following command:
More information about build and environment could be found in logs
https://jplesnik.fedorapeople.org/perl-5.34-gdbm-1.20/
I was able to successfully rebuild perl 5.32.1 with GDBM 1.20
Expected behavior
The build would succeed.
Perl configuration
The text was updated successfully, but these errors were encountered: