gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Error compiling git tree


From: Kaleb S. KEITHLEY
Subject: Re: [Gluster-devel] Error compiling git tree
Date: Mon, 01 Apr 2013 08:41:57 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 03/29/2013 05:56 AM, Nux! wrote:
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`:

address@hidden 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 does not exist in the head branch either.

I don't know what xlators/features/protect/... is. It's not in the release-3.4 branch that I just cloned, checked out, and built.

Indeed my checkout of release-3.4 and RPM build moments ago worked fine, so AFAIK nothing has broken since Thursday when the full regression test was ran to validate my latest changes to the glusterfs.spec.in — http://review.gluster.org/4742 and http://review.gluster.org/4743.

Here are the steps I did:

14 8:13 git clone ssh://git.gluster.com/glusterfs.git glusterfs-release-3.4
    15  8:17    cd glusterfs-release-3.4
    17  8:17    git checkout release-3.4
    20  8:17    ./autogen.sh
    29  8:20    ./configure --enable-fusermount
    30  8:21    make dist
    31  8:21    cd extras/LinuxRPM/
    33  8:21    make glusterrpms

As Jeff has already mentioned, you need to figure out why xlators/features/protect/... is not in your tree when you run `make dist`. Or you need to figure out why xlators/features/protect/* is in your configure.ac.

HTH.

--

Kaleb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]