| Summary: | rpmbuild : no suitable Python interpreter found | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | i.r.1783 | ||||||
| Component: | build | Assignee: | Amar Tumballi <amarts> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3.2.0 | CC: | fharshav, gluster-bugs, lakshmipathi, vijay, vraman | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 815033 (view as bug list) | Environment: | |||||||
| Last Closed: | Type: | --- | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 811632, 815033 | ||||||||
| Attachments: |
|
||||||||
Created attachment 496 My buildmachine is a opensuse 11.4 64bit box.
I build for SLES11SP1.
I have following error when I call
build --clean --rpms /mnt/iso1:/mnt/iso2:/mnt/iso3 --dist sles11 --arch x86_64 --root /tmp/gluster320 glusterfs.spec
checking for a Python interpreter with version >= 2.4... none
configure: error: no suitable Python interpreter found
error: Bad exit status from /var/tmp/rpm-tmp.44682 (%build)
RPM build errors:
cannot open Pubkeys index using db3 - No such file or directory (2)
Bad exit status from /var/tmp/rpm-tmp.44682 (%build)
I added within glusterfs.spec a new subjection:
BuildRequires: python-devel
After that the buildenvironment is correct and it starts compiling.
Thanks will add python-devel to build requires. Could you please attach the glusterfs.spec file generated for open suse? Created attachment 587 I see that these changes are already in master branch glusterfs.spec file. Please re-open if there are any issues. sorry, but i cannot see these changes within the release of 3.1.7 and 3.2.4 (In reply to comment #6) > sorry, but i cannot see these changes within the release of > 3.1.7 and 3.2.4 A patch has been submitted for this. CHANGE: http://review.gluster.com/684 (Change-Id: I8adb8d63b0c219d214a6d4cb1d3e12d4d5bc0b2b) merged in release-3.2 by Anand Avati (avati) CHANGE: http://review.gluster.com/729 (Change-Id: I4ccf75288aad6d5f210bd7c51c0ce9924bb0efad) merged in master by Anand Avati (avati) |
The problem now is : Obsoletes: glusterfs-client < 3.1.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/glusterfs-3.2.0-1-root Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/glusterfs-3.2.0-1-root RPM build errors: cannot open Pubkeys index using db3 - No such file or directory (2) File not found: /var/tmp/glusterfs-3.2.0-1-root/etc/init.d/glusterd