Build failed on centos 7
- Dominant language
- Python
- Stars
- 345
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to build calamari packges on centos 7 using build-rpm.sh script.
Build log output: [rpm-tmp.qQ5EAF](https://github.com/ceph/calamari/files/170544/rpm-build.txt)
- /usr/lib/rpm/check-buildroot
- /usr/lib/rpm/redhat/brp-compress
- /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
- /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
- /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
- /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Compiling /root/rpmbuild/BUILDROOT/calamari-server-1.3.3-2_gd363ecf.el7.centos.x86_64/opt/calamari/venv/lib/python2.7/site-packages/gevent/_socket3.py ...
File "/opt/calamari/venv/lib/python2.7/site-packages/gevent/_socket3.py", line 186
def makefile(self, mode="r", buffering=None, *,
^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.qQ5EAF (%install)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with build-rpm.sh on CentOS 7 and read the linked rpm-build.txt log, focusing on the gevent Python byte-compilation error. Done means the RPM build completes successfully on CentOS 7 without the reported SyntaxError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, python
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100