Bug 1341010
Summary: | REBUILD of glusterfs-3.7.9-6.el7rhgs.src.rpm for x86_64 is failing | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Byreddy <bsrirama> |
Component: | build | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
Status: | CLOSED NOTABUG | QA Contact: | storage-qa-internal <storage-qa-internal> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | kkeithle, mchangir |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-08 07:28:54 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: |
Description
Byreddy
2016-05-31 05:53:45 UTC
I've run an rpmbuild --rebuild on a freshly installed RHEL 7.2 virtual machine on my laptop having rpm-build-4.11.3-17.el7.x86_64 installed. The RPM Build could successfully complete without any errors being reported for unpackaged files. Here's the command used to rebuild RPMs using the source RPM: $ x86_64 rpmbuild --rebuild --target=x86_64 --define 'dist .el7rhgs' /home/blr/mchangir/Downloads/glusterfs-3.7.9-7.el7rhgs.src.rpm Here's a list of the S57glusterfind-delete-post* files that got into the glusterfs-server RPM: [root@rhel7-2 ~]# rpm -qlp /root/rpmbuild/RPMS/x86_64/glusterfs-server-3.7.9-7.el7rhgs.x86_64.rpm | grep S57 /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.pyc /usr/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.pyo /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.py ----- My recommendation would be to reinstall the QA system with RHEL 7.2 with Gluster build dependencies and then try to rebuild. Thinking more on it, an rpmbuild after a system reboot could be attempted once before resorting to a system reinstall. The rebuild is now successful even *WITHOUT* a system reboot. I did the following steps to nudge the system: # cp /usr/lib/rpm/brp-python-bytecompile /root # rm /usr/lib/rpm/brp-python-bytecompile # cp /root/brp-python-bytecompile /usr/lib/rpm ... and then successfully built the RPMs with # x86_64 rpmbuild --rebuild --define "dist .el7rhgs" --define '_topdir /usr/src/redhat' --target=x86_64 /mnt/redhat/brewroot/packages/glusterfs/3.7.9/6.el7rhgs/src/glusterfs-3.7.9-6.el7rhgs.src.rpm &> glusterfs-3.7.9-6.el7rhgs.src.rpm-x86_64-rebuild.log |