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)
Thank you. I think I will fix it in a week or so.
Hi, any updates about this issue?
Here you go:
https://github.com/postgrespro/pg_pathman/releases/tag/1.5.10