Bug 839668 - rpmbuild fails on Fedora 17 due to %ghost files in the spec
Summary: rpmbuild fails on Fedora 17 due to %ghost files in the spec
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: pre-release
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On: 839656
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-12 14:09 UTC by Niels de Vos
Modified: 2013-07-24 17:15 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Clone Of:
Environment:
Last Closed: 2013-07-24 17:15:41 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 819130 0 medium CLOSED Merge in the Fedora spec changes to build one single unified spec 2021-02-22 00:41:40 UTC

Internal Links: 819130

Description Niels de Vos 2012-07-12 14:09:30 UTC
Description of problem:
Avati noticed that on Fedora 15 (and also on Fedora 17) the glusterfs.spec.in can not be used to build RPMs from the 'make dist' tarball.

Version-Release number of selected component (if applicable):
glusterfs/master and rpm-4.9

How reproducible:
100% on Fedora 17

Steps to Reproduce:
1. make dist
2. rpmbuild -ta glusterfs-3git.tar.gz
  
Actual results:
RPM build errors:
    Recognition of file "/home/avati/rpmbuild/BUILDROOT/glusterfs-3git-1.fc15.x86_64/var/lib/glusterd/geo-replication" failed: mode 100755 cannot open `/home/avati/rpmbuild/BUILDROOT/glusterfs-3git-1.fc15.x86_64/var/lib/glusterd/geo-replication' (No such file or directory) 


Expected results:
Packages should be built.

Additional info:
The same glusterfs.spec.in can be used with 'make dist' on RHEL-6 without issues. Bug 839656 was opened with a small example spec file to get more information from the rpm maintainer(s).

Comment 1 Niels de Vos 2012-07-16 16:18:44 UTC
http://review.gluster.com/3674 contains a patch that makes building work for me again. I see this as a workaround until bug 839656 is fixed, not as a permanent solution.

Comment 2 Vijay Bellur 2012-07-17 15:22:33 UTC
CHANGE: http://review.gluster.com/3674 (build: Create directories and files that get created during runtime) merged in master by Anand Avati (avati)

Comment 3 Vijay Bellur 2012-10-25 07:49:04 UTC
CHANGE: http://review.gluster.org/3899 (build: Create directories and files that get created during runtime) merged in release-3.3 by Vijay Bellur (vbellur)


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