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.
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
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
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/