tuhaihe opened a new issue, #1201:
URL: https://github.com/apache/cloudberry/issues/1201

   ### Apache Cloudberry version
   
   Main
   
   ### What happened
   
   When running the cmd `./configure` with the option `--with-pythonsrc-ext`, 
then make install the Cloudberry, one error returned:
   
   ```bash
   cd /home/gpadmin/cloudberry/gpMgmt/bin/pythonSrc/ext/ && /usr/bin/tar xzf 
PyYAML-5.4.1.tar.gz
   cd /home/gpadmin/cloudberry/gpMgmt/bin/pythonSrc/ext/PyYAML-5.4.1/ && env -u 
CC python3 setup.py build
   running build
   running build_py
   running build_ext
   building 'yaml._yaml' extension
   gcc -pthread -Wno-unused-result -Wsign-compare 
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c yaml/_yaml.c -o 
build/temp.linux-x86_64-3.6/yaml/_yaml.o
   gcc: error: yaml/_yaml.c: No such file or directory
   gcc: fatal error: no input files
   compilation terminated.
   Error compiling module, falling back to pure Python
   cp -r 
/home/gpadmin/cloudberry/gpMgmt/bin/pythonSrc/ext/PyYAML-5.4.1/build/lib*-3*/* 
/home/gpadmin/cloudberry/gpMgmt/bin/ext/
   make[2]: Leaving directory '/home/gpadmin/cloudberry/gpMgmt/bin'
   ```
   
   ### What you think should happen instead
   
   Should return with no errors.
   
   ### How to reproduce
   
   Can follow the steps here: 
https://cloudberry.apache.org/docs/next/deployment/quick-build
   
   ### Operating System
   
   Rocky Linux 9
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/cloudberry/blob/main/CODE_OF_CONDUCT.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to