Bug 1364877 - Source install: configure script should check for python-devel package and rpcbind
Summary: Source install: configure script should check for python-devel package and rp...
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: glupy
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-08 05:57 UTC by Prashanth Pai
Modified: 2019-07-15 07:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-15 07:44:32 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Prashanth Pai 2016-08-08 05:57:12 UTC
Description of problem:

On Fedora 24, running ./configure script does not (check or) ask for python-devel package as requirement.

If one goes ahead with compilation after running ./configure script, it'll fail with following error:

 glupy.c:13:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
Makefile:608: recipe for target 'glupy.lo' failed

Compilation will continue normally on installing python-devel RPM package which provides Python.h

./Configure script should warn about absence of Python.h file OR skip building glupy if python-devel is absent.

Comment 1 Prashanth Pai 2016-08-08 06:01:29 UTC
Further, confgiure script should also check for presence of rpcbind.

[root@f24 ~]# service glusterd start
Reloading systemd:                                         [  OK  ]
Starting glusterd (via systemctl):  Failed to start glusterd.service: Unit rpcbind.service not found.
                                                           [FAILED]
[root@f24 ~]# service glusterd status
● glusterd.service - GlusterFS, a clustered file-system server
   Loaded: loaded (/usr/local/lib/systemd/system/glusterd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-08-08 11:02:03 IST; 27min ago
 Main PID: 1128 (code=exited, status=15)

Aug 08 11:01:17 f24 export-brick2-data[1157]: epoll.h 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: xattr.h 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: st_atim.tv_nsec 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: package-string: glusterfs 3.8.1
Aug 08 11:02:03 f24 systemd[1]: Stopping GlusterFS, a clustered file-system server...
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Main process exited, code=exited, status=15/n/a
Aug 08 11:02:03 f24 systemd[1]: Stopped GlusterFS, a clustered file-system server.
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Unit entered failed state.
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Failed with result 'exit-code'.
Aug 08 11:29:35 f24 systemd[1]: [/usr/local/lib/systemd/system/glusterd.service:12] Path '-${prefix}/etc/sysconfig/gl

Comment 2 Yaniv Kaul 2019-04-18 09:52:50 UTC
Kaleb, any intention to handle this, delegate to an intern, or shall we close-wontfix this?

Comment 3 Amar Tumballi 2019-07-15 07:44:32 UTC
glupy is removed from codebase now.


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