Bug 762188 (GLUSTER-456) - making src.rpms broken unless --enable-fusermount is specified
Summary: making src.rpms broken unless --enable-fusermount is specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-456
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-09 01:57 UTC by idadesub
Modified: 2013-12-19 00:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Harshavardhana 2009-12-09 00:48:45 UTC
Fixed in following commit.

commit 8379edd97876a85fe1231b7cc8d4cc40f962c5cc
Author: Pavan Sondur <pavan>
Date:   Mon Dec 7 09:43:23 2009 +0000

    Disable fusermount by default in the rpm spec file and remove bdb references.
    
    Signed-off-by: Pavan Vilas Sondur <pavan>
    Signed-off-by: Anand V. Avati <avati.com>
    
    BUG: 349 (FreeBSD compilation error (alloca.h).)
    URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=349

And also available in 3.0.0 Release 

http://ftp.gluster.com/pub/gluster/glusterfs/3.0/LATEST/glusterfs-3.0.0.tar.gz

Comment 1 idadesub 2009-12-09 01:57:56 UTC
Hi again! It looks like making fusermount was disabled recently, and this seems to have broken this process:

mkdir build
cd build
../configure
make dist
rpmbuild -tb glusterfs-3.0git.tar.gz

It errors out with:

...
config.status: creating extras/init.d/glusterfsd-Debian                                                                                                                          
config.status: creating extras/init.d/glusterfsd-Redhat                                                                                                                          
config.status: creating extras/init.d/glusterfsd-SuSE                                                                                                                            
config.status: creating extras/benchmarking/Makefile                                                                                                                             
config.status: creating extras/volgen/Makefile                                                                                                                                   
config.status: creating extras/volgen/glusterfs-volgen                                                                                                                           
config.status: error: cannot find input file: contrib/Makefile.in                                                                                                                
error: Bad exit status from /var/tmp/rpm-tmp.7QEcty (%build)

It looks like the contrib files aren't properly getting copied into the build directory unless fusermount is enabled, as in:

mkdir build
cd build
../configure --enable-fusermount
make dist
rpmbuild -tb glusterfs-3.0git.tar.gz

Also, I noticed that there's a typo in configure's --help:

  --enable-fusermount     Do not build fusermount

I assume that was meant to say "Build fusermount".

Comment 2 idadesub 2009-12-09 03:58:34 UTC
That's the version I'm running into this on :) So is this not happening then for you?

Comment 3 Harshavardhana 2009-12-09 04:12:36 UTC
Tarballs normally should have all the things packaged into it so that to be built
as rpms, even we do add --enable-fusermount to package it. But in rpms people 
can choose what they want. Yeah i get that its quite confusing anyways. We 
will make appropriate changes in the next incremental release so that to 
avoid these confusions.


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