Hi Kirby,<br><br>     For the time being if you don&#39;t require mod_glusterfs you can build rpms <br>     without mod_glusterfs by passing the following commands in rpmbuild <br><br>     &quot;rpmbuild -ta glusterfs-2.0.0rc7.tar.gz --without modglfs&quot;<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>&quot;Yantra Shilpi&quot;<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">&lt;<a href="mailto:kirbyzhou@sohu-rd.com">kirbyzhou@sohu-rd.com</a>&gt;</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: &#39;check-rpaths&#39; detected a broken RPATH and will cause &#39;rpmbuild&#39;<br>
*          to fail. To ignore these errors, you can set the &#39;$QA_RPATHS&#39;<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 &#39;$ORIGIN&#39; 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 &#39;..&#39; of an absolute path; this will<br>
break<br>
*               the functionality when the path before &#39;..&#39; is a symlink<br>
*<br>
*<br>
* Examples:<br>
* - to ignore standard and empty RPATHs, execute &#39;rpmbuild&#39; 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=&lt;top-dir&gt; /usr/lib/rpm/check-rpaths<br>
*<br>
****************************************************************************<br>
***<br>
ERROR   0002: file<br>
&#39;/usr/lib64/glusterfs/2.0.0rc7/apache/2.2/mod_glusterfs.so&#39; contains an<br>
invalid rpath<br>
&#39;/root/rpmbuild/BUILD/glusterfs-2.0.0rc7/libglusterfsclient/src/.libs&#39; 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>