Bug 1538258

Summary: build: python-ctypes only in RHEL <= 7
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: packagingAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, mchangir, ndevos
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-v4.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1378436 Environment:
Last Closed: 2018-06-20 17:58:10 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:
Bug Depends On: 1378436    
Bug Blocks:    

Description Kaleb KEITHLEY 2018-01-24 17:52:12 UTC
+++ This bug was initially created as a clone of Bug #1378436 +++

Description of problem:

Was notified by cstratak@redhat that python-ctypes is now in stdlib. (python stdlib?)

python packaging has been using a Virtual Provides of python-ctypes in Rawhide thus far, and that will eventually go away. In the mean time python-ctypes should be removed from the glusterfs.spec file

(Also put on notice that eventually python should become python2 in the .spec file.)


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2016-09-22 08:24:56 EDT ---

REVIEW: http://review.gluster.org/15546 (build: python-ctypes no longer exists in Fedora Rawhide) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

--- Additional comment from Charalampos Stratakis on 2016-09-22 09:58:24 EDT ---

Also please note that python already virtually provides the python2 name as well (and when python will become python2, it will also virtually provide the python name).

The current list of --provides by python in rawhide:

python = 2.7.12-6.fc26
python(abi) = 2.7
python(x86-32) = 2.7.12-6.fc26
python(x86-64) = 2.7.12-6.fc26
python-abi = 2.7
python-argparse = 2.7.12-6.fc26
python-ctypes = 1.0.1
python-hashlib = 20081120
python-sqlite = 2.3.2
python-uuid = 1.31
python2 = 2.7.12

--- Additional comment from Worker Ant on 2016-09-22 10:40:36 EDT ---

REVIEW: http://review.gluster.org/15546 (build: python-ctypes no longer exists in Fedora Rawhide) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

--- Additional comment from Worker Ant on 2016-09-23 10:32:36 EDT ---

COMMIT: http://review.gluster.org/15546 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 85f7a86730db229ce264f43d224465a76202d270
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Thu Sep 22 08:22:50 2016 -0400

    build: python-ctypes no longer exists in Fedora Rawhide
    
    Python packaging in Rawhide has a Virtual Provides of python-ctypes
    but that will be removed soon
    
    Change-Id: I353f7fcbff35dfbfb1a726c7608eef721976453d
    BUG: 1378436
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/15546
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Aravinda VK <avishwan>

--- Additional comment from Shyamsundar on 2017-03-06 12:27:39 EST ---

This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/

Comment 1 Worker Ant 2018-01-24 18:00:22 UTC
REVIEW: https://review.gluster.org/19317 (packaging: python-ctypes only in RHEL <= 7) posted (#1) for review on master by Kaleb KEITHLEY

Comment 2 Worker Ant 2018-01-26 09:39:10 UTC
COMMIT: https://review.gluster.org/19317 committed in master by \"Kaleb KEITHLEY\" <kkeithle> with a commit message- packaging: python-ctypes only in RHEL <= 7

And we don't need multiple BuildRequires: python-ctypes for sub-packages
when it's (already) set for the base package.

Change-Id: I71a2d750f338d360d5f716b1f0c4814e4e617b04
BUG: 1538258
Signed-off-by: Kaleb S. KEITHLEY <kkeithle>

Comment 3 Shyamsundar 2018-06-20 17:58:10 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-v4.1.0, please open a new bug report.

glusterfs-v4.1.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-June/000102.html
[2] https://www.gluster.org/pipermail/gluster-users/