Bug 1680586 - Building RPM packages with _for_fedora_koji_builds enabled fails on el6
Summary: Building RPM packages with _for_fedora_koji_builds enabled fails on el6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On: 1680587
Blocks: glusterfs-6.0 1732875
TreeView+ depends on / blocked
 
Reported: 2019-02-25 11:31 UTC by Niels de Vos
Modified: 2019-07-24 15:04 UTC (History)
1 user (show)

Fixed In Version: glusterfs-6.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1680587 (view as bug list)
Environment:
Last Closed: 2019-02-26 14:11:50 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22264 0 None Merged build: do not install service related files when building --without-server 2019-02-26 14:11:49 UTC

Description Niels de Vos 2019-02-25 11:31:12 UTC
Description of problem:
Building RPM packages with _for_fedora_koji_builds enabled fails on el6. A mock rebuild fails with these errors:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glusterfs-6.0-0.1.rc0.el6.x86_64
BUILDSTDERR: error: Installed (but unpackaged) file(s) found:
BUILDSTDERR:    /etc/init.d/glusterfsd
BUILDSTDERR:    /etc/sysconfig/glusterd
BUILDSTDERR:    /etc/sysconfig/glusterfsd
BUILDSTDERR:     Installed (but unpackaged) file(s) found:
BUILDSTDERR:    /etc/init.d/glusterfsd
BUILDSTDERR:    /etc/sysconfig/glusterd
BUILDSTDERR:    /etc/sysconfig/glusterfsd


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

How reproducible:
100%

Steps to Reproduce:
1. set _for_fedora_koji_builds to 1 in the glusterfs.spec.in
2. build RPMs against/on el6

Actual results:
Building RPMs fails

Expected results:
Building RPMs should succeed.

Additional info:
It seems that glusterfs-6 disables building the server (./configure --without-server) and hence the installed but unpackaged files should not get installed in the first place.

Comment 1 Worker Ant 2019-02-26 08:39:59 UTC
REVIEW: https://review.gluster.org/22264 (build: do not install service related files when building --without-server) posted (#1) for review on release-6 by Niels de Vos

Comment 2 Worker Ant 2019-02-26 14:11:50 UTC
REVIEW: https://review.gluster.org/22264 (build: do not install service related files when building --without-server) merged (#1) on release-6 by Niels de Vos

Comment 3 Shyamsundar 2019-03-25 16:33:20 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-6.0, please open a new bug report.

glusterfs-6.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] https://lists.gluster.org/pipermail/announce/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/


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