Bug 1559787

Summary: even if 'glupy' is disabled, the build considers it.
Product: [Community] GlusterFS Reporter: Amar Tumballi <atumball>
Component: buildAssignee: bugs <bugs>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.x Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-11 11:07:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Tumballi 2018-03-23 09:30:25 UTC
Description of problem:

# ./configure
---
GlusterFS configure summary
===========================
....
*glupy                : no*
....
---
# make
...
Making all in glupy
Making all in src
Making all in glupy
make[6]: Nothing to be done for 'all'.
  CC       glupy.lo
../../../../../xlators/features/glupy/src/glupy.c:14:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
make[6]: *** [Makefile:622: glupy.lo] Error 1
-------

Version-Release number of selected component (if applicable):
master

How reproducible:
Always


Expected results:
No build failure.

Comment 1 Amar Tumballi 2018-03-23 09:39:50 UTC
Also seen this :

configure: WARNING:
---------------------------------------------------------------------------------
cannot build glupy. python 2.x and python-devel/python-dev package are required.
---------------------------------------------------------------------------------

even then build failed. This is in fedora27.

Comment 2 Worker Ant 2018-03-23 09:51:36 UTC
REVIEW: https://review.gluster.org/19766 (configure.ac: fix the 'glupy' build issues) posted (#1) for review on master by Amar Tumballi

Comment 3 Worker Ant 2018-03-23 09:59:49 UTC
REVIEW: https://review.gluster.org/19709 (configure.ac: fix the 'glupy' build issues) posted (#2) for review on master by Amar Tumballi

Comment 4 Amar Tumballi 2019-05-11 11:07:11 UTC
No more glupy in the build (glusterfs-6.x)