Hi Kirby,<br><br> For the time being if you don't require mod_glusterfs you can build rpms <br> without mod_glusterfs by passing the following commands in rpmbuild <br><br> "rpmbuild -ta glusterfs-2.0.0rc7.tar.gz --without modglfs"<br>
<br> Issue reported by you is not reproducible on our test cluster with CentOS 5.2 <br> and apache 2.2.10 version. Can you please state your distribution and release<br> where you are actually trying to build rpms for glusterfs?<br>
<br>Regards<br>--<br clear="all">Harshavardhana<br>"Yantra Shilpi"<br>Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br><br>
<br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 8:38 AM, Kirby Zhou <span dir="ltr"><<a href="mailto:kirbyzhou@sohu-rd.com">kirbyzhou@sohu-rd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot<br>
****************************************************************************<br>
***<br>
*<br>
* WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild'<br>
* to fail. To ignore these errors, you can set the '$QA_RPATHS'<br>
* environment variable which is a bitmask allowing the values<br>
* below. The current value of QA_RPATHS is 0x0000.<br>
*<br>
* 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor<br>
* issue but are introducing redundant searchpaths without<br>
* providing a benefit. They can also cause errors in multilib<br>
* environments.<br>
* 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute<br>
* nor relative filenames and can therefore be a SECURITY risk<br>
* 0x0004 ... insecure RPATHs; these are relative RPATHs which are a<br>
* SECURITY risk<br>
* 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other<br>
* RPATHs; this is just a minor issue but usually unwanted<br>
* 0x0010 ... the RPATH is empty; there is no reason for such RPATHs<br>
* and they cause unneeded work while loading libraries<br>
* 0x0020 ... an RPATH references '..' of an absolute path; this will<br>
break<br>
* the functionality when the path before '..' is a symlink<br>
*<br>
*<br>
* Examples:<br>
* - to ignore standard and empty RPATHs, execute 'rpmbuild' like<br>
* $ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm<br>
* - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths<br>
like<br>
* $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths<br>
*<br>
****************************************************************************<br>
***<br>
ERROR 0002: file<br>
'/usr/lib64/glusterfs/2.0.0rc7/apache/2.2/mod_glusterfs.so' contains an<br>
invalid rpath<br>
'/root/rpmbuild/BUILD/glusterfs-2.0.0rc7/libglusterfsclient/src/.libs' in<br>
[/root/rpmbuild/BUILD/glusterfs-2.0.0rc7/libglusterfsclient/src/.libs]<br>
error: Bad exit status from /var/tmp/rpm-tmp.14389 (%install)<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br>