Description of problem: Rebuilding glusterfs-3.6.1-3.fc22.src.rpm for el5 is failing with below error. Installed (but unpackaged) file(s) found: /usr/share/glusterfs/scripts/generate-gfid-file.sh /usr/share/glusterfs/scripts/get-gfid.sh /usr/share/glusterfs/scripts/gsync-sync-gfid /usr/share/glusterfs/scripts/gsync-upgrade.sh /usr/share/glusterfs/scripts/slave-upgrade.sh Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/glusterfs.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 378, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/glusterfs.spec'] LEAVE do --> EXCEPTION RAISED glusterfs-3.6.1-3.fc22.src.rpm can be found below http://koji.fedoraproject.org/koji/buildinfo?buildID=594572 Version-Release number of selected component (if applicable): 3.6.1-3.fc22. How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Trivial backport needed: - http://review.gluster.org/9221
REVIEW: http://review.gluster.org/9248 (build: only install geo-rep scripts when enabled) posted (#1) for review on release-3.6 by Niels de Vos (ndevos)
COMMIT: http://review.gluster.org/9248 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 54d2cbc033dadcd017376584b70af5849146ee4f Author: Niels de Vos <ndevos> Date: Mon Dec 1 09:21:32 2014 +0100 build: only install geo-rep scripts when enabled When geo-replication is not enabled, the related scripts should not get installed. EPEL-5 does not support geo-replication, and the installed but unpackaged scripts cause rebuilding for .el5 to fail. Cherry picked from commit fcdac758ad7b3dda9843f92597a15e4a30a3b746: > BUG: 1169005 > Change-Id: I1b6a352b73bd1ed1c5b330f54e26e81aed9a5a4e > Reported-by: Lalatendu Mohanty <lmohanty> > Signed-off-by: Niels de Vos <ndevos> > Reviewed-on: http://review.gluster.org/9221 > Reviewed-by: Humble Devassy Chirammal <humble.devassy> > Tested-by: Gluster Build System <jenkins.com> Change-Id: I1b6a352b73bd1ed1c5b330f54e26e81aed9a5a4e BUG: 1169004 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/9248 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy> Reviewed-by: Raghavendra Bhat <raghavendra> Tested-by: Raghavendra Bhat <raghavendra>
We need to backport http://review.gluster.org/#/c/9272/ too. Hence moving back to assigned state.
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-v3.6.2, please open a new bug report. glusterfs-v3.6.2 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978top [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user
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-v3.6.2, please open a new bug report. glusterfs-v3.6.2 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] http://blog.gluster.org/2015/01/glusterfs-3-6-2-ga-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user