[Gluster-devel] gluster buildrpms does not work for Centos 6.5
Prakash Madiraju
prakashm at fractalio.com
Mon Dec 8 06:32:16 UTC 2014
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 at fractalio.com>
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 at 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 at redhat.com> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141208/976c116d/attachment.html>
More information about the Gluster-devel
mailing list