[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange problem compiling source rpms



On Thu, 12 Dec 2002 00:10:46 -0500, Derrick 'dman' Hudson
<dman@dman.ddts.net> wrote:
 
> --hQiwHBbRI9kgIhsi
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Thu, Dec 12, 2002 at 03:37:37AM +0000, Faheem Mitha wrote:
>| On Wed, 11 Dec 2002 15:53:27 -0800 (PST), nate <debian-user@aphroland.org=
>> wrote:
>| > Faheem Mitha said:
> 
>| > after it's compiled it usually dumps a binary rpm somewhere in
>| > /usr/src/rpms.
>|=20
>| Yes, this is what should happen in theory. However, this does not work
>| either, at least on the new computer. I get similar errors, ie.=20
>|=20
>| laplace:/home/faheem# rpm --rebuild plugger-4.0-17.src.rpm
>| Installing plugger-4.0-17.src.rpm
>| error: cannot create %sourcedir /usr/src/rpm/SOURCES
>                                  ^^^^^^^^^^^^^^^^^^^^^
> Back when I used redhat that was where it would unpack a source rpm
> to.  Does that directory exist?  

No. Am I supposed to create it? Isn't this something that should be
done automatically, by a postinst script of whatever? If I am supposed
to create it, I think it should be documented.

> Does the user running rpm have
> permission to create it?  (I suspect not to both)

Um. Yes. It is root. (See the #?) Actually, even my user account
(faheem) has permission to create directories in /usr/src. I've
compiled kernels there as user. This is what is so puzzling about this
error message.

Am I missing something here? In any case, I submitted a bug report to
Joey Hess. If I am doing something wrong, he will presumably tell me.

Note, I've tried this on another machine with the same result.

                                               Faheem.




Reply to: