On 28/03/2013, at 3:10 PM, Nux! wrote:
Hello,
I'm trying to build the 3.4 git tree[1] in RPMs as per
http://www.gluster.org/community/documentation/index.php/CompilingRPMS
but I'm getting stuck here:
(cd ocf && make --no-print-directory --quiet
top_distdir=../../glusterfs-3.4git
distdir=../../glusterfs-3.4git/extras/ocf \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=:
distdir)
(cd LinuxRPM && make --no-print-directory --quiet
top_distdir=../../glusterfs-3.4git
distdir=../../glusterfs-3.4git/extras/LinuxRPM \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=:
distdir)
(cd cli && make --no-print-directory --quiet
top_distdir=../glusterfs-3.4git distdir=../glusterfs-3.4git/cli \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=:
distdir)
(cd src && make --no-print-directory --quiet
top_distdir=../../glusterfs-3.4git
distdir=../../glusterfs-3.4git/cli/src \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=:
distdir)
make --no-print-directory --quiet \
top_distdir="glusterfs-3.4git" distdir="glusterfs-3.4git" \
dist-hook
usage: git diff [--no-index] <path> <path>
make[1]: *** [dist-hook] Error 129
make: *** [distdir] Error 2
The main directory is indeed called "glusterfs-3.4git". What else
must I do to obtain usable RPMs?
I don't want latest master, I just want latest 3.4.
[1] -
http://git.gluster.org/?p=glusterfs.git;a=tree;h=refs/heads/release-3.4;hb=refs/heads/release-3.4
Without looking closely, that sounds like a bug in the 3.4 branch,
probably somewhere in the
generated Makefiles.
What happens if you copy the build stuff (autogen.sh, configure.ac,
and all Makefile.am's) from
the head branch to there, and try the whole process again?
(autogen.sh and onwards)