[Gluster-devel] Building rpms for master

Justin Clift justin at gluster.org
Tue Jul 8 11:01:25 UTC 2014


On 08/07/2014, at 11:51 AM, Anders Blomdell wrote:
> It seems like http://www.gluster.org/community/documentation/index.php/CompilingRPMS
> is missing one crucial step:
> 
> $ ./autogen.sh
> $ ./configure --enable-fusermount
> $ make dist
> ...
> $ cd extras/LinuxRPM
> $ make glusterrpms
> 
> should be:
> 
> $ rm -f ./autom4te.cache/*   # make sure to use current
>                              # './build-aux/pkg-version --release'
> $ ./autogen.sh 
> $ ./configure --enable-fusermount 
> $ make dist 
> ...
> $ cd extras/LinuxRPM
> $ make glusterrpms
> 
> Otherwise the rpm's wont pick the correct releaseversion, i.e. ./autogen.sh
> will pickup the result of './build-aux/pkg-version --release' from the cache
> instead of figure out where HEAD is currently located.
> 
> Even nicer would be if '(cd extras/LinuxRPM ; make glusterrpms)' did the 
> right thing.

Nice pick up. :)

Want to whip up a patch to fix the make glusterrpms command?

+ Justin

--
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift



More information about the Gluster-devel mailing list