Bug 764657 (GLUSTER-2925)

Summary: rpmbuild : no suitable Python interpreter found
Product: [Community] GlusterFS Reporter: i.r.1783
Component: buildAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: 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:
Description Flags
build log with error message
none
used glusterfs spec file none

Description i.r.1783 2011-05-22 16:58:23 UTC
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

Comment 1 i.r.1783 2011-05-22 17:00:13 UTC
Created attachment 496

Comment 2 i.r.1783 2011-05-22 19:51:02 UTC
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.

Comment 3 Lakshmipathi G 2011-07-26 09:40:30 UTC
Thanks will add python-devel to build requires. Could you please attach the glusterfs.spec file generated for open suse?

Comment 4 i.r.1783 2011-07-26 12:32:59 UTC
Created attachment 587

Comment 5 Amar Tumballi 2011-10-25 04:00:45 UTC
I see that these changes are already in master branch glusterfs.spec file. Please re-open if there are any issues.

Comment 6 i.r.1783 2011-10-29 20:45:42 UTC
sorry, but i cannot see these changes within the release of
3.1.7 and 3.2.4

Comment 7 Harshavardhana 2011-11-07 20:34:48 UTC
(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.

Comment 8 Anand Avati 2011-11-24 01:51:59 UTC
CHANGE: http://review.gluster.com/684 (Change-Id: I8adb8d63b0c219d214a6d4cb1d3e12d4d5bc0b2b) merged in release-3.2 by Anand Avati (avati)

Comment 9 Anand Avati 2011-11-24 01:53:45 UTC
CHANGE: http://review.gluster.com/729 (Change-Id: I4ccf75288aad6d5f210bd7c51c0ce9924bb0efad) merged in master by Anand Avati (avati)