Bug 1341295 - build: RHEL7 unpackaged files /var/lib/glusterd/hooks/.../S57glusterfind-delete-post.{pyc,pyo}
Summary: build: RHEL7 unpackaged files /var/lib/glusterd/hooks/.../S57glusterfind-dele...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 3.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On: 1341294
Blocks: 1341296
TreeView+ depends on / blocked
 
Reported: 2016-05-31 17:52 UTC by Kaleb KEITHLEY
Modified: 2016-06-16 12:32 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.8.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1341294
: 1341296 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:32:47 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1342617 0 unspecified CLOSED rpmbuild: brp-python-bytecompile is compiling files it shouldn't 2021-02-22 00:41:40 UTC

Internal Links: 1342617

Description Kaleb KEITHLEY 2016-05-31 17:52:31 UTC
+++ This bug was initially created as a clone of Bug #1341294 +++

Description of problem:

building on Real RHEL7 (versus mock?) results in installed (but unpackaged) files found:
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo

The same .spec file on Fedora 23 and RHEL6 does not encounter this issue.

(Replacing the RHEL7 /usr/lib/rpm/brp-python-bytecompile file with the one from Fedora 23 also makes the problem go away. But we are probably not going to get a fixed rpm/rpmbuild soon enough to make this go away by itself.)


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-05-31 18:19:54 UTC
REVIEW: http://review.gluster.org/14591 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#1) for review on release-3.8 by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2016-06-02 23:33:20 UTC
COMMIT: http://review.gluster.org/14591 committed in release-3.8 by Kaleb KEITHLEY (kkeithle) 
------
commit 2e67cfe155d186455e46f2e5b9fd0eefad2a35b6
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Tue May 31 14:11:47 2016 -0400

    build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}
    
    building on Real RHEL7 (versus mock?) results in installed (but
    unpackaged) files found:
    /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
    /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo
    
    The same .spec file on Fedora 23 and RHEL6 does not encounter this
    issue.
    
    (Replacing the RHEL7 /usr/lib/rpm/brp-python-bytecompile file with
    the one from Fedora 23 also makes the problem go away. But we are
    probably not going to get a fixed rpm/rpmbuild soon enough to make
    this go away by itself.)
    
    backport of mainline:
    > BUG: 1341294
    > http://review.gluster.org/14590
    
    Change-Id: Ib3db41cf0b7334a41b5174bba0c57e9aeb13407c
    BUG: 1341295
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/14591
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 3 Vijay Bellur 2016-06-03 11:44:35 UTC
REVIEW: http://review.gluster.org/14624 (Revert "build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}") posted (#2) for review on release-3.8 by Kaleb KEITHLEY (kkeithle)

Comment 4 Vijay Bellur 2016-06-03 15:24:10 UTC
COMMIT: http://review.gluster.org/14624 committed in release-3.8 by Kaleb KEITHLEY (kkeithle) 
------
commit ce160479afe036d0e1d4619ebb229d50c253a369
Author: Kaleb KEITHLEY <kkeithle>
Date:   Thu Jun 2 16:34:54 2016 -0700

    Revert "build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}"
    
    This reverts commit 2e67cfe155d186455e46f2e5b9fd0eefad2a35b6.
    
    Change-Id: I29b91735dcc5511e3bfbbf6e7867c33716844749
    BUG: 1341295
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/14624
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 5 Vijay Bellur 2016-06-03 15:43:36 UTC
REVIEW: http://review.gluster.org/14643 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#1) for review on release-3.8 by Kaleb KEITHLEY (kkeithle)

Comment 6 Niels de Vos 2016-06-16 12:32:47 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-3.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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