Re: build rpms err

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

 



On Fri, Apr 03, 2015 at 06:05:02PM +0800, grihpc@xxxxxxx wrote:
> Hi
> 
> my os is centos 6.6 x86_64,  glusterfs 3.6.2
> 
> I want to make rpms, there is some err
> 
> [root@localhost LinuxRPM]#  make glusterrpms
> 
> make --no-print-directory --quiet \
>           top_distdir="glusterfs-3.6.2" distdir="glusterfs-3.6.2" \
>           dist-hook
> usage: git diff [--no-index] <path> <path>
> make[2]: *** [gen-ChangeLog] Error 129
> make[1]: *** [distdir] Error 2
> make[1]: Leaving directory `/root/glusterfs-3.6.2'
> make: *** [prep] Error 2
> [root@localhost LinuxRPM]# 

The 'make glusterrpms' should normally get executed from a checked out
git repository. I do not think anyone uses it for rebuilding RPMs.

You can most easily rebuild the RPMs from the tarball:

    $ rpmbuild -ta glusterfs-3.6.2.tar.gz

Do that as a non-root user :-)

Failing that, you can also just use the 3.6 RPMs from 

    http://download.gluster.org/pub/gluster/glusterfs/3.6/

HTH,
Niels
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux