Bug 1680587 - 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 NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1680586
TreeView+ depends on / blocked
 
Reported: 2019-02-25 11:32 UTC by Niels de Vos
Modified: 2019-02-26 07:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1680586
Environment:
Last Closed: 2019-02-26 07:19:26 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 22260 0 None Merged build: do not install service related files when building --without-server 2019-02-26 07:19:25 UTC

Description Niels de Vos 2019-02-25 11:32:13 UTC
+++ This bug was initially created as a clone of Bug #1680586 +++

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-25 11:36:07 UTC
REVIEW: https://review.gluster.org/22260 (build: do not install service related files when building --without-server) posted (#1) for review on master by Niels de Vos

Comment 2 Worker Ant 2019-02-26 07:19:26 UTC
REVIEW: https://review.gluster.org/22260 (build: do not install service related files when building --without-server) merged (#2) on master by Amar Tumballi


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