RPM Community Forums

Mailing List Message of <rpm-devel>

Re: error in devtool build

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 13 Dec 2007 - 15:59:09 CET
Message-Id: <1B0016B0-FA06-4DF0-9AD3-B829A3D5C797@mac.com>

On Dec 13, 2007, at 9:46 AM, Jason Corley wrote:

> Has anyone else seen this error?  It appears install-exec-hook is
> ignoring $prefix for the repackage dir?
>
> make  install-exec-hook
> make[3]: Nothing to be done for `install-exec-hook'.
> mkdir: /var/local: Permission denied
> mkdir: /var/local: No such file or directory
> mkdir: /var/local/spool: No such file or directory
> make[2]: *** [install-data-local] Error 1
> make[1]: *** [install-am] Error 2
> make: *** [install-recursive] Error 1
>
> ... devtool trace ...
>
> error: cannot create %_repackage_dir /var/local/spool/repackage/ 
> 1197490417
> Wrote: /var/local/spool/repackage/1197490417/gpg- 
> pubkey-2039b291-3dbaae72.(none)
> .rpm
>

Yah, I've seen.

The hysterical issue has always been deciding who/what is responsible
for configuring rpm. If rpm is responsible, then there is a missing lazy
mkdir on the entire path. If the luser is responsible for configuring
rpm, then its rpm's responsibility to report the mis-configuration as
an error.

I'll add the lazy mkdir and try to couple the side-effect into  
repackaging
configuration more carefully.

73 de Jeff
Received on Thu Dec 13 16:00:19 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.