cloudberry
cloudberry copied to clipboard
[Bug] config error: sed: 1: "src/include/pg_config.h": unterminated substitute pattern
Cloudberry Database version
No response
What happened
configure: creating ./config.status
sed: 1: "src/include/pg_config.h": unterminated substitute pattern
make: *** [config.status] Error 1
make: *** Deleting file `config.status'
What you think should happen instead
No response
How to reproduce
config on a non Unix-like OS
Operating System
Darwin Kernel Version 22.5.0
Anything else
No response
Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
This is added by CBDB by a commit Fix configure.ac for escaping string in pg_config.h try to resolve a C string issue and it has been squashed into CBDB init commit.
sed -i '/define CONFIGURE_ARGS/s,\([[^\\]]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
The sed preg match seems not right, at least not for Darwin OS.