On Wed, Jul 26, 2000 at 12:44:06AM +0200, Alexander Skwar wrote:

> > I'm not sure.  I can't explain it, but I know it happens to me on
> > occassion as well.  I wish I could offer a better explanation, but I
> > don't know it.
> 
> 
> ARRGHHHLLLLLL! 8_()  Hmm, may I read you the interesting sections of
> %install?
> 
> %install
> %makeinstall
> rm -rf $RPM_BUILD_ROOT
> 
> See that last line?  Maybe, just maybe, I should make that the FIRST line,
> and NOT the LAST line.  Hmm, kinda strange, now everything works....

dOh!  Sorry, I should have looked closer.  Honestly, I always put the
buildroot clean in %build, but I do it like this:

[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
mkdir -p %{buildroot}

This is a little safer in case someone has a misconfigured
~/.rpmmacros or something.

> Well, sometimes it helps to think a tiny little bit :[]
> 
> Thanks for your time, but obviously you shouldn't waste any more time on me
> when I already fail at such a small hurdle :-)) Expect the RPM soon :]

=)  Glad you found the problem... I feel a little embarrased that I
didn't spot it, so don't feel too bad!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 4 days 22 hours 34 minutes.

Reply via email to