Bug 1334268

Summary: GlusterFS 3.8 fails to build in the CentOS Community Build System
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: packagingAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.8.0CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1334269 (view as bug list) Environment:
Last Closed: 2016-06-16 14:05:31 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:
Bug Depends On: 1334269    
Bug Blocks: 1317278    

Description Niels de Vos 2016-05-09 10:00:38 UTC
$ cbs build --scratch storage7-gluster-38-el7 glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm 
Uploading srpm: glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm
[====================================] 100% 00:00:19   6.05 MiB 316.68 KiB/sec
Created task: 91055
Task info: https://cbs.centos.org/koji/taskinfo?taskID=91055
Watching tasks (this may be safely interrupted)...
91055 build (storage7-gluster-38-el7, glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm): free
91055 build (storage7-gluster-38-el7, glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm): free -> open (x86_64-0.centos.org)
  91056 buildArch (glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm, aarch64): open (arm64-01.cbs.centos.org)
  91057 buildArch (glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm, x86_64): open (x86_64-2.cbs.centos.org)
  91057 buildArch (glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm, x86_64): open (x86_64-2.cbs.centos.org) -> closed
  0 free  2 open  1 done  0 failed
  91056 buildArch (glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm, aarch64): open (arm64-01.cbs.centos.org) -> closed
  0 free  1 open  2 done  0 failed
91055 build (storage7-gluster-38-el7, glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm): open (x86_64-0.centos.org) -> FAILED: BuildError: mismatch when analyzing glusterfs-resource-agents-3.8rc0-0.12.git2455d61.el7.noarch.rpm, rpmdiff output was:
error: cannot open Packages index using db3 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
error: cannot open Packages database in /var/lib/rpm
removed     REQUIRES glusterfs-server(aarch-64) = 3.8rc0-0.12.git2455d61.el7
added       REQUIRES glusterfs-server(x86-64) = 3.8rc0-0.12.git2455d61.el7
  0 free  0 open  2 done  1 failed

91055 build (storage7-gluster-38-el7, glusterfs-3.8rc0-0.12.git2455d61.el7.centos.src.rpm) failed

Comment 1 Vijay Bellur 2016-05-09 11:48:09 UTC
REVIEW: http://review.gluster.org/14273 (packaging: resource-agents sub-package needs arch-less requires) posted (#1) for review on release-3.8 by Niels de Vos (ndevos)

Comment 2 Vijay Bellur 2016-05-10 15:03:35 UTC
COMMIT: http://review.gluster.org/14273 committed in release-3.8 by Niels de Vos (ndevos) 
------
commit 4733081a90b68787e2eeac6680051c28ee12566f
Author: Niels de Vos <ndevos>
Date:   Mon May 9 11:56:37 2016 +0200

    packaging: resource-agents sub-package needs arch-less requires
    
    The glusterfs-resource-agents package is marked as 'noarch'. It should
    therefor not have a dependency on a specific architecture (is done with
    the _isa macro).
    
    Backport from the master branch:
    > BUG: 1334269
    > Change-Id: I3d24c0e4e60e368b22eef97bf3aabe6b020a23a9
    > Reviewed-on: http://review.gluster.org/14269
    > Signed-off-by: Niels de Vos <ndevos>
    
    Change-Id: I3d24c0e4e60e368b22eef97bf3aabe6b020a23a9
    BUG: 1334268
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/14273
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 3 Niels de Vos 2016-06-16 14:05:31 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-3.8.0, please open a new bug report.

glusterfs-3.8.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] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user