Bug 976124

Summary: "make glusterrpms" errors out for GlusterFS release-3.4 branch on F19
Product: [Community] GlusterFS Reporter: Justin Clift <jclift>
Component: buildAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, kwade
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-20 17:09:06 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:

Description Justin Clift 2013-06-20 01:14:13 UTC
Description of problem:

  Building GlusterFS 3.4 rpms on Fedora 19 with "make glusterrpms" errors out.

  The exact same steps work fine with Fedora 18 and CentOS 6.4 (tested both).


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

  upstream git release-3.4 branch, commit 878bc03d7df8e18faca13fbf89a7ae55a29b0fdc
  (latest commit as of Thu 20th June 2013)


How reproducible:

  Every time.


Steps to Reproduce:
1. Attempt building release-3.4 rpms on F19 x86-64, using the official upstream instructions here: http://www.gluster.org/community/documentation/index.php/CompilingRPMS
2. Ensure the 3.4 branch is being used: "git checkout release-3.4"
3. The build breaks on the "make glusterrpms" step

Actual results:

  $ make glusterrpms
  if [ ! -e ../../glusterfs-*git.tar.gz -a ! -e ../../gluster-swift-ufo-*git.tar.gz -a ! -e ../../glusterfs.spec ]; then \
	make -c ../.. dist; \
  fi
  mkdir -p rpmbuild/SPECS
  mkdir -p rpmbuild/RPMS
  mkdir -p rpmbuild/SRPMS
  rm -rf rpmbuild/SOURCES
  fetching glusterfs rpm files from fedora git repo...
  remote: Counting objects: 869, done.
  remote: Compressing objects: 100% (681/681), done.
  remote: Total 869 (delta 496), reused 330 (delta 163)
  Receiving objects: 100% (869/869), 184.81 KiB | 204 KiB/s, done.
  Resolving deltas: 100% (496/496), done.
  cp ../../*.tar.gz ./rpmbuild/SOURCES
  cp ../../glusterfs.spec ./rpmbuild/SPECS
  fetching swift from launchpad.net...
  rpmbuild --define '_topdir /home/jc/glusterfs/extras/LinuxRPM/rpmbuild' -bs rpmbuild/SPECS/glusterfs.spec
  error: No source number 20
  make: *** [srcrpm] Error 1
  $

Expected results:

  The build to succeed, with rpms for F19 created.

Additional info:

Comment 1 Kaleb KEITHLEY 2013-06-20 17:09:06 UTC
The fix(es) for this are waiting for review, http://review.gluster.org/5179 (release-3.4) and http://review.gluster.org/5230 (master)

*** This bug has been marked as a duplicate of bug 819130 ***