Bug 1341294 - 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: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1341295 1341296
TreeView+ depends on / blocked
 
Reported: 2016-05-31 17:51 UTC by Kaleb KEITHLEY
Modified: 2016-12-06 05:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1341295 (view as bug list)
Environment:
Last Closed: 2016-12-06 05:16:32 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 1341010 0 unspecified CLOSED REBUILD of glusterfs-3.7.9-6.el7rhgs.src.rpm for x86_64 is failing 2021-02-22 00:41:40 UTC
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: 1341010 1342617

Description Kaleb KEITHLEY 2016-05-31 17:51:50 UTC
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:06:45 UTC
REVIEW: http://review.gluster.org/14590 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2016-05-31 18:10:27 UTC
REVIEW: http://review.gluster.org/14590 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 3 Vijay Bellur 2016-06-01 13:51:34 UTC
COMMIT: http://review.gluster.org/14590 committed in master by Jeff Darcy (jdarcy) 
------
commit e800c00df1474504032ead25a0bcbbc92c1d6fec
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Tue May 31 14:00:35 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.)
    
    Change-Id: Ib3db41cf0b7334a41b5174bba0c57e9aeb13407c
    BUG: 1341294
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/14590
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>


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