Following up on my own post...<br><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 10:15 AM, Fulko Hew <span dir="ltr">&lt;<a href="mailto:fulko.hew@gmail.com">fulko.hew@gmail.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;">

I now,  all of a sudden :-)  I seem to be getting this error message when I build my package.<br><br>I don&#39;t recall changing my spec file since the last time it worked properly,<br>only adding some files &#39;inside&#39; my package.<br>


<br>I&#39;m using a simple scenario, probably not the best/correct approach, but it basically is:<br><br>a) develop the app in its target (installed) directory,<br>b) when rpm-build&#39;ing, copy the necessary files into the &#39;build&#39; directory and continue.<br>


<br>So I don&#39;t know what I&#39;m doing wrong, the error message isn&#39;t helping me to understand<br>what is going wrong, and I don&#39;t think I changed anything since the last time it worked.  :-)<br>Can someone shed some light please.<br>


<br>TIA<br>Fulko<br><br>PS.  I&#39;m building on a Fedora 8 box using RPM version 4.4.2.2<br></blockquote><div><br>... snip ...<br><br> I read all the related search-able stuff on the web that I could find, and I found one<br>

and I found one link that gave a clue, that said:<br><br>&quot;Well, the problem is that a file in the package has the buildroot location in it.  This needs to be fixed.&quot;<br><br></div></div>So I thought what file do I have that has the string &#39;/usr/src/redhat/BUILD/NetWatch-root&#39; in it?<br>

My spec file doesn&#39;t, only the macro that would expand to it!<br>So I grep&#39;ed everything and I found a &#39;typescript&#39; log file lying around that contained<br>the log of a previous build.  I guess I wanted to see all the steps that were occuring during<br>

the packaging.  Obviously this file didn&#39;t need to be part of my package, so I deleted it.<br>Re-packaging now works fine.<br><br>Like other people before me, I was bewildered by what the error message was trying to tell me...<br>

<br>   Found &#39;/usr/src/redhat/BUILD/NetWatch-root&#39; in installed files; aborting<br><br>Perhaps if it had hit me over the head with the following phrase instead, I would have solved it faster:<br><br>   Found the not-allowed string &#39;/usr/src/redhat/BUILD/NetWatch-root&#39; in a file in the package being created;  aborting<br>

<br>Thanks for listening<br>Fulko<br><br><br>