Open tomaszwozniak opened 1 year ago
Same issue here with FROM postgres:14.7-alpine3.17
.
And still the same by fixing the dependencies version for postgresql14-dev and postgresql14-contrib (with clang14 and llvm14):
# [...]
apk --no-cache add postgresql14-dev postgresql14-contrib && \
# [...]
The fatal error appears to be that your clang
compiler does not support the -no-opaque-pointers
option:
error: unknown argument: '-no-opaque-pointers'
make: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.global:1070: src/tds_fdw.bc] Error 1
It looks like this option was added in Clang 15.0.0.
What version of Clang are you using?
This option is not used in the Makefile defined by tds_fdw
, so it is probably coming from your PostgreSQL installation, your Clang installation, or your environment variables.
Issue report
Hi! Today I noticed it can't install fdw on docker postgres-alpine. That was working really well for few months. See more details below:
My dockerfile is:
Operating system
Version of tds_fdw
Version of PostgreSQL
Logs
Thanks in advance for looking into this. Tomasz