Bug 1599203 - Compilation failure due to python-devel dependency than configure time failure
Summary: Compilation failure due to python-devel dependency than configure time failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-09 08:12 UTC by Sachidananda Urs
Modified: 2019-06-20 05:22 UTC (History)
2 users (show)

Fixed In Version: glusterfs-6.x
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-20 05:22:08 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sachidananda Urs 2018-07-09 08:12:25 UTC
Description of problem:

While building glusterfs from source the following error is seen:

Making all in glupy
Making all in src
Making all in glupy
make[6]: Nothing to be done for `all'.
  CC       glupy.lo
glupy.c:14:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.

Configure output:

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


glusterFS configure summary
===========================
FUSE client          : yes
Infiniband verbs     : no
epoll IO multiplex   : yes
argp-standalone      : no
fusermount           : yes
readline             : no
georeplication       : yes
Linux-AIO            : no
Enable Debug         : no
Block Device xlator  : no
glupy                : no


glupy is configured as `no'. Still the compilation of glupy is tried.


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

github master - 09/Jul/2018

How reproducible:
Always

Steps to Reproduce:
1. git clone glusterfs and install basic dependencies
2. ./configure
3. make

Actual results:

Compilation failure

Expected results:

./configure should fail saying `python-devel' is needed and suggest
to disable glupy by setting --glupy=no. Or glupy should be disabled by default
and compilation must succeed.


-sac

Comment 1 Amar Tumballi 2019-06-20 05:22:08 UTC
glupy is now removed from the codebase.


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