-
Notifications
You must be signed in to change notification settings - Fork 70
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
Issue with PostgreSQL 17 support #185
Comments
@devrimgunduz , It will be good if you could please let us know more details:
We're unable to reproduce reported warnings at our end. So, these above details may help us to get reported warnings and fix them. Thanks. |
Thanks, @devrimgunduz for reporting an issue. We're suspecting that following file is missing from your json-c directory(which resided in mongo_fdw root directory):
We have tried to compile the source code by removing this file and resulting in a same reported error, i.e.
Also, will it be possible for you to tell that how you downloaded the JSON-C source code? There may be another possibilities for this build failure but this is our primary suspicion. Thanks & Regards, |
We have tried to compile PG17 and mongo_fdw using GCC-14 and with compilation flag -Wmaybe-uninitialized on Ubuntu 24.04.
Still, we're unable to reproduce the issue you have reported here. May be this is platform specific? |
I think you need to scroll down a bit more for the actual error. The most important ones is the ones at the last part of the text. See the lines around create_foreignscan_path() This function was changed since the beta version you last released mongo_fdw. You will need something like this patch: or: I'm not a hacker, so ignore me if I am wrong. FWIW this is the spec file that I use: This is what I changed between 5.5.1 and 5.5.2: I removed RHEL 7 bits, some llvm macros related to RPM builds and then also removed calls to autogen.sh. |
Thank you @devrimgunduz
BTW, the changes you are suggesting are already part of the below commit: My guess is that since you have removed the calls to Can you please check your setup by re-adding the Thanks |
@jeevanchalke sorry for the late reply. It still fails on RHEL 8, RHEL 9, RHEL 10 beta and Fedora even after adding autogen.sh. How does EDB build the packages? |
@devrimgunduz ,
In case of json-c: autogen.sh downloads sources of json-c version 0.15-20200726 and compiles it. Looking at the spec file shared by you, json-c headers and lib from system paths are used. But Makefile is looking for object files from json-c directory(this should have been generated by autogen.sh). This is the probable cause of the build failure. If you fix the JSONC_INSTALL_DIR with the required path of json-c directory , it may fix your issue. |
Hi,
5.5.2 fails to build against PostgreSQL 17 RC1. Log is attached. Please note that some of them are probably GCC 14 warnings that may need to be fixed.
mongo_fdw-5.5.2-pg17-build-error.txt
GA is due soon. Can you please take a look? Thanks!
Regards, Devrim
The text was updated successfully, but these errors were encountered: