Bug 764657 (GLUSTER-2925) - rpmbuild : no suitable Python interpreter found
Summary: rpmbuild : no suitable Python interpreter found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2925
Product: GlusterFS
Classification: Community
Component: build
Version: 3.2.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 811632 815033
TreeView+ depends on / blocked
 
Reported: 2011-05-22 19:51 UTC by i.r.1783
Modified: 2013-12-19 00:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 815033 (view as bug list)
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)
build log with error message (36.05 KB, application/x-compressed-tar)
2011-05-22 17:00 UTC, i.r.1783
no flags Details
used glusterfs spec file (8.34 KB, text/plain)
2011-07-26 12:32 UTC, i.r.1783
no flags Details

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)


Note You need to log in before you can comment on or make changes to this bug.