<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 1 Char";
        margin-top:30.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;}
h2
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 2 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 3 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 4 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;
        font-style:italic;}
h5
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 5 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 6 Char";
        margin-top:14.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:normal;
        font-style:italic;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 7 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 8 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;
        font-style:italic;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 9 Char";
        margin-top:16.0pt;
        margin-right:0cm;
        margin-bottom:5.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-style:italic;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {mso-style-priority:35;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:9.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {mso-style-priority:10;
        mso-style-link:"\6807\9898 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        border:none;
        padding:0cm;
        font-size:30.0pt;
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {mso-style-priority:11;
        mso-style-link:"\526F\6807\9898 Char";
        margin-top:10.0pt;
        margin-right:0cm;
        margin-bottom:45.0pt;
        margin-left:0cm;
        text-align:right;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        font-style:italic;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
strong
        {mso-style-priority:22;
        letter-spacing:0pt;}
em
        {mso-style-priority:20;
        color:#5A5A5A;
        font-weight:bold;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        mso-style-link:"\65E0\95F4\9694 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoQuote, li.MsoQuote, div.MsoQuote
        {mso-style-priority:29;
        mso-style-link:"\5F15\7528 Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Cambria","serif";
        color:#5A5A5A;
        font-style:italic;}
p.MsoIntenseQuote, li.MsoIntenseQuote, div.MsoIntenseQuote
        {mso-style-priority:30;
        mso-style-link:"\660E\663E\5F15\7528 Char";
        margin-top:16.0pt;
        margin-right:72.0pt;
        margin-bottom:16.0pt;
        margin-left:72.0pt;
        line-height:125%;
        background:#4F81BD;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:white;
        font-style:italic;}
span.MsoSubtleEmphasis
        {mso-style-priority:19;
        color:#5A5A5A;
        font-style:italic;}
span.MsoIntenseEmphasis
        {mso-style-priority:21;
        color:#4F81BD;
        font-weight:bold;
        font-style:italic;}
span.MsoSubtleReference
        {mso-style-priority:31;
        color:windowtext;
        text-decoration:underline;}
span.MsoIntenseReference
        {mso-style-priority:32;
        color:#76923C;
        font-weight:bold;
        text-decoration:underline;}
span.MsoBookTitle
        {mso-style-priority:33;
        font-family:"Cambria","serif";
        color:windowtext;
        font-weight:bold;
        font-style:italic;}
p.MsoTocHeading, li.MsoTocHeading, div.MsoTocHeading
        {mso-style-priority:39;
        margin-top:30.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.1Char
        {mso-style-name:"\6807\9898 1 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.2Char
        {mso-style-name:"\6807\9898 2 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 2";
        font-family:"Cambria","serif";
        color:#365F91;}
span.3Char
        {mso-style-name:"\6807\9898 3 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 3";
        font-family:"Cambria","serif";
        color:#4F81BD;}
span.4Char
        {mso-style-name:"\6807\9898 4 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 4";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-style:italic;}
span.5Char
        {mso-style-name:"\6807\9898 5 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 5";
        font-family:"Cambria","serif";
        color:#4F81BD;}
span.6Char
        {mso-style-name:"\6807\9898 6 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 6";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-style:italic;}
span.7Char
        {mso-style-name:"\6807\9898 7 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 7";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;}
span.8Char
        {mso-style-name:"\6807\9898 8 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 8";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-weight:bold;
        font-style:italic;}
span.9Char
        {mso-style-name:"\6807\9898 9 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 9";
        font-family:"Cambria","serif";
        color:#9BBB59;
        font-style:italic;}
span.Char
        {mso-style-name:"\6807\9898 Char";
        mso-style-priority:10;
        mso-style-link:\6807\9898;
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
span.Char0
        {mso-style-name:"\526F\6807\9898 Char";
        mso-style-priority:11;
        mso-style-link:\526F\6807\9898;
        font-family:"Calibri","sans-serif";
        font-style:italic;}
span.Char1
        {mso-style-name:"\65E0\95F4\9694 Char";
        mso-style-priority:1;
        mso-style-link:\65E0\95F4\9694;
        font-family:SimSun;}
span.Char2
        {mso-style-name:"\5F15\7528 Char";
        mso-style-priority:29;
        mso-style-link:\5F15\7528;
        font-family:"Cambria","serif";
        color:#5A5A5A;
        font-style:italic;}
span.Char3
        {mso-style-name:"\660E\663E\5F15\7528 Char";
        mso-style-priority:30;
        mso-style-link:\660E\663E\5F15\7528;
        font-family:"Cambria","serif";
        color:white;
        background:#4F81BD;
        font-style:italic;}
span.EmailStyle46
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>Cannot
remove invalid symbol link<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>[root@xen-727057
XXX]# ln -s ../logX.txt .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
../logX.txt is not exist!!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>[root@xen-727057
XXX]# ll<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>total
0<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>lrwxrwxrwx
1 nobody nobody 11 Mar 26 17:59 logX.txt -&gt; ../logX.txt<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>[root@xen-727057
XXX]# rm logX.txt <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>rm:
remove symbolic link `logX.txt'? y<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'>rm:
cannot remove `logX.txt': No such file or directory<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> harshavardhanacool@gmail.com
[mailto:harshavardhanacool@gmail.com] <b>On Behalf Of </b>Harshavardhana<br>
<b>Sent:</b> Thursday, March 26, 2009 1:17 PM<br>
<b>To:</b> Kirby Zhou<br>
<b>Cc:</b> gluster-users@gluster.org<br>
<b>Subject:</b> Re: [Gluster-users] 2.0.0rc7 rpmbuild failed<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>Hi Kirby,<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; For the time being if you don't require mod_glusterfs
you can build rpms <br>
&nbsp;&nbsp;&nbsp;&nbsp; without mod_glusterfs by passing the following
commands in rpmbuild <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; &quot;rpmbuild -ta glusterfs-2.0.0rc7.tar.gz --without
modglfs&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Issue reported by you is not reproducible on our test
cluster with CentOS 5.2 <br>
&nbsp;&nbsp;&nbsp;&nbsp; and apache 2.2.10 version. Can you please state your
distribution and release<br>
&nbsp;&nbsp;&nbsp;&nbsp; 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>
<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US>On Thu, Mar 26, 2009 at 8:38 AM, Kirby Zhou
&lt;<a href="mailto:kirbyzhou@sohu-rd.com">kirbyzhou@sohu-rd.com</a>&gt; wrote:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>+ /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>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to fail. To ignore these errors, you can
set the '$QA_RPATHS'<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;environment variable which is a bitmask
allowing the values<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;below. The current value of QA_RPATHS is
0x0000.<br>
*<br>
* &nbsp; &nbsp;0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a
minor<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; issue but are introducing
redundant searchpaths without<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; providing a benefit. They
can also cause errors in multilib<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; environments.<br>
* &nbsp; &nbsp;0x0002 ... invalid RPATHs; these are RPATHs which are neither
absolute<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nor relative filenames and
can therefore be a SECURITY risk<br>
* &nbsp; &nbsp;0x0004 ... insecure RPATHs; these are relative RPATHs which are
a<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SECURITY risk<br>
* &nbsp; &nbsp;0x0008 ... the special '$ORIGIN' RPATHs are appearing after
other<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RPATHs; this is just a minor
issue but usually unwanted<br>
* &nbsp; &nbsp;0x0010 ... the RPATH is empty; there is no reason for such
RPATHs<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and they cause unneeded work
while loading libraries<br>
* &nbsp; &nbsp;0x0020 ... an RPATH references '..' of an absolute path; this
will<br>
break<br>
* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the functionality when the
path before '..' is a symlink<br>
*<br>
*<br>
* Examples:<br>
* - to ignore standard and empty RPATHs, execute 'rpmbuild' like<br>
* &nbsp; $ 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>
* &nbsp; $ RPM_BUILD_ROOT=&lt;top-dir&gt; /usr/lib/rpm/check-rpaths<br>
*<br>
****************************************************************************<br>
***<br>
ERROR &nbsp; 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><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>