gpdb: Fail to install ORCA with dependency on macOS
Greenplum version or build
5.10.2
OS version and uname -a
macOS High Sierra Version 10.13.6
autoconf options used ( config.status --config )
N/A
Installation information ( pg_config )
N/A
Expected behavior
compile and install ORCA successfully with dependency (conan)
Actual behavior
After I change directory to gpdb/depends and execute make command, it gives me the following error:
ERROR: orca/v2.70.0@gpdb/stable: Error in build_requirements() method, line 35 if int(vers.split(“.”)[0]) < 3: TypeError: a bytes-like object is required, not ‘str’ make: *** [orca] Error 1
Step to reproduce the behavior
After installing dependency for macOS, I try to build the optimizer
cd depends
./configure
make
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (9 by maintainers)
you can use find command to find the conanfile.py file under depends dir, and then modify vers.split(“.”)[0] to vers.decode().split(“.”)[0]. This works for me.
Thanks a lot for your report.