[Gluster-devel] Error compiling git tree
Nux!
nux at li.nux.ro
Fri Mar 29 09:56:36 UTC 2013
On 28.03.2013 20:32, Justin Clift wrote:
> 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)
Copied over the specified files, but I'm hitting the following problem:
config.status: error: cannot find input file:
xlators/features/protect/Makefile.in
and then at `make dist`:
[mockbuild at rpmbuilder glusterfs-3.4git]$ make dist
cd . && /bin/sh /builddir/glusterfs-3.4git/missing --run automake-1.11
--foreign
xlators/features/Makefile.am:1: required directory
xlators/features/protect does not exist
configure.ac:29: required file `xlators/features/protect/Makefile.in'
not found
configure.ac:29: required file
`xlators/features/protect/src/Makefile.in' not found
make: *** [Makefile.in] Error 1
I checked and this file doesn not exist in the head branch either.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
More information about the Gluster-devel
mailing list