xfs
[Top] [All Lists]

Re: xfsprogs Makepkgs fails to make rpm

To: John Wingenbach <xfs@xxxxxxxxxxxxxx>
Subject: Re: xfsprogs Makepkgs fails to make rpm
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 22 Mar 2002 09:53:49 +1100
Cc: XFS mailing list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3C9A61AC.E9FAE3EB@wingenbach.org>; from xfs@wingenbach.org on Thu, Mar 21, 2002 at 05:41:48PM -0500
References: <3C9A1E06.729AC72C@wingenbach.org> <20020322092120.L23600@wobbly.melbourne.sgi.com> <3C9A61AC.E9FAE3EB@wingenbach.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Mar 21, 2002 at 05:41:48PM -0500, John Wingenbach wrote:
> Hi Nathan,
> 
> The problem I am seeing is the same thing I saw when building another rpm
> myself.  When I try to run:
> 
> rpm -bANYTHING specfile
> 
> I always get:
> No such file or directory

That sounds like your rpm installation is borken - I'm not sure
exactly how it got in that state though.  Just as a second
workaround, you could set RPM=/bin/rpmbuild in the environment
before the build and it will use that in preference (with no
Makefile changes, etc).

What does "strace rpm -bANYTHING specfile" list as the file that
is not found?

> >From searching the net, all I could find was a recommendation to use rpmbuild
> instead of rpm.  When I did that, it worked perfectly.  The Makepkgs run also
> is trying to perform a "rpm" build.  Simply fooling Makepkgs into using
> rpmbuild instead of rpm built the rpms.
> 
> The rpm versions I have installed are:
> rpm-4.0.3-1.03
> rpmbuild-4.0.3-1.03
> rpm-python-4.0.3-1.03
> 

The only difference between your Redhat machine and mine is that
# rpm -q rpm rpmbuild rpm-python
rpm-4.0.3-1.03
package rpmbuild is not installed
rpm-python-4.0.3-1.03

Oh, wait I have:
# rpm -q -f `which rpmbuild`
rpm-build-4.0.3-1.03


Was that a typo above in your list?


Anyway, maybe you should try a fresh install of rpm - sounds like
something is fishy on your machine (maybe try compare your machine
to another with similar config to see whats different?)

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>