[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM command parameters parsing ( bug ? ... )
- From: Matthias Saou <matthias rpmforge net>
- To: rpm-list redhat com
- Subject: Re: RPM command parameters parsing ( bug ? ... )
- Date: Wed, 2 Jan 2002 11:00:34 +0100
Once upon a time, Sergey wrote :
> Hello Jeff,
> I installed rpm-4.0.4-0.4.src.rpm from rawhide.
> Here's what I'm getting when building a package:
>
> rpm -bc -vv --nodeps --target i586-younameit-linux binutils.spec
> OK...
>
> rpm -bc -vv --target i586-younameit-linux --nodeps binutils.spec
> gives:
>
> Building target platforms: --nodeps
> Building for target --nodeps
> error: failed to stat /usr/local/src/chechaco/SPECS/i586-chechaco-linux:
> No such file or directory
>
> After playing with the latter examle little bit I can say that the rpm
> wants--target <...> to immediately precede .spec file.
> If there's something in between, it'd spit out something like above.
Once again, using "rpm" for package building is not the preferred way
anymore, and yes, the "compatibility" given is quite buggy. You should try
to use "rpmbuild" instead and see if this still happens (I suppose it
won't).
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.2 (Enigma) running Linux kernel 2.4.17-rc2i8k
Load : 0.10 0.13 0.16, AC on-line, battery charging: 100% (11:30)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]