citusdata / citusdata/pg_cron

Can not be compiled.

Open
#328 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.9k
Forks
260
Avg merge
5d 5h
Merged PRs (30d)
1

Description

Version: Rocky linux 9.3
postgresql-14.10

When I maked the source code, failed.
`
[root@XVNCloudMES-IOTDB01 pg_cron-1.6.2]# make
/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-implicit-fallthrough -Iinclude -I/usr/pgsql-14/include -I. -I./ -I/usr/pgsql-14/include/server -I/usr/pgsql-14/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=thin -emit-llvm -c -o src/entry.bc src/entry.c
error: unknown argument: '-no-opaque-pointers'
make: *** [/usr/pgsql-14/lib/pgxs/src/makefiles/../../src/Makefile.global:1084: src/entry.bc] Error 1
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with make and inspect the compile command for src/entry.c, along with the PostgreSQL PGXS makefile path shown in the error. Determine why the build rejects -no-opaque-pointers on Rocky Linux 9.3 with PostgreSQL 14.10; done means the pg_cron source compiles successfully in that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, postgresql
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.