Re: gluster buildrpms does not work for Centos 6.5

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

 



OK. It worked on another node with the same OS version.  I will have to fix the node where it doesnt work.

Thanks for the help.

On Mon, Dec 8, 2014 at 11:28 AM, Prakash Madiraju <prakashm@xxxxxxxxxxxxx> wrote:
Hi,

Thanks for the reply.

 I did install all the packages mentioned in the link. Still it does not work for me. pasted below the error logs.


>>[root@prakash LinuxRPM]# cat /etc/redhat-release
>>CentOS release 6.6 (Final)


Processing files: glusterfs-server-3.6.1-0.23.git471292e.el6.x86_64
error: File not found: /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zZbSq6
+ umask 022
+ cd /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILD
+ cd glusterfs-3.6.1
+ DOCDIR=/home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1
+ export DOCDIR
+ rm -rf /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1
+ /bin/mkdir -p /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1
+ cp -pr extras/clear_xattrs.sh /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1
+ exit 0


RPM build errors:
    File not found: /home/prakash/gluster/glusterfs/glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd


On Thu, Dec 4, 2014 at 2:44 PM, Niels de Vos <ndevos@xxxxxxxxxx> wrote:
On Thu, Dec 04, 2014 at 08:46:55AM +0530, Prakash Madiraju wrote:
> On both master and release-3.6 branch, I am not able to build gluster rpms
> on CentOS 6.5.
>
> >>cd extras/LinuxRPM
> >>make glusterrpms
>
> + cp -pr extras/clear_xattrs.sh
> ....../glusterfs/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/usr/share/doc/glusterfs-server-3.6.1
> + exit 0
>
>
> RPM build errors:
>     File not found:
> ..../extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3.6.1-0.23.git471292e.el6.x86_64/etc/init.d/glusterd
> make: *** [rpms] Error 1
>
> Any help ??

I just installed a CentOS-6.5 to check, but this works for me... I
expect that you have a missing package (redhat-rpm-config?) that causes
the build to fail. Please re-check the packages you have installed,
http://www.gluster.org/community/documentation/index.php/CompilingRPMS
should contain a reference for all the needed ones.

HTH,
Niels


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

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

  Powered by Linux