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

Build error against PostgreSQL 12 #200

Open
devrimgunduz opened this issue Jul 3, 2019 · 3 comments
Open

Build error against PostgreSQL 12 #200

devrimgunduz opened this issue Jul 3, 2019 · 3 comments

Comments

@devrimgunduz
Copy link

Hi,

pg_pathman fails to compile against PostgreSQL 12 beta2. Now that we are in beta, I'd like to start building RPMs for the RPM testing repos. Can you please fix this? Error is below:

Thanks.

/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/relation_info.c:11:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/relation_info.h:14,
from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/pathman.h:15,
from src/utils.c:13:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [: src/pl_funcs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from src/runtime_merge_append.c:13:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/pg_pathman.c:12:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/partition_filter.c:11:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/init.c:14:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [: src/relation_info.o] Error 1
make[1]: *** [: src/utils.o] Error 1
make[1]: *** [: src/runtime_merge_append.o] Error 1
make[1]: *** [: src/pg_pathman.o] Error 1
make[1]: *** [: src/partition_filter.o] Error 1
make[1]: *** [: src/init.o] Error 1
In file included from src/runtime_append.c:11:
/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8/src/include/compat/pg_compat.h:29:10: fatal error: nodes/relation.h: No such file or directory
29 | #include "nodes/relation.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [: src/runtime_append.o] Error 1
make[1]: Leaving directory '/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/master/pg_pathman/master/pg_pathman-1.5.8'
error: Bad exit status from /var/tmp/rpm-tmp.Apfule (%build)

@arssher
Copy link
Contributor

arssher commented Jul 4, 2019

Thank you. I think I will fix it in a week or so.

@ohmycto
Copy link

ohmycto commented Oct 18, 2019

Hi, any updates about this issue?

@arssher
Copy link
Contributor

arssher commented Dec 3, 2019

Here you go:
https://github.com/postgrespro/pg_pathman/releases/tag/1.5.10

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

No branches or pull requests

3 participants