RPM Community Forums

Mailing List Message of <rpm-devel>

Re: HEAD hangs on rpm --import

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 11 Oct 2007 - 15:31:37 CEST
Message-Id: <4817576A-172A-4BE2-A37C-B82D2199BACF@mac.com>

On Oct 11, 2007, at 2:19 AM, Ralf S. Engelschall wrote:

> The latest RPM5 HEAD as of this morning (but also already as of
> yesterday evening) hangs during "rpm --import" on the following simple
> procedure:
>
> | $ make
> | $ make install
> | $ /tmp/rpm/bin/rpm --initdb
> | $ /tmp/rpm/bin/rpm -qa
> | $ /tmp/rpm/bin/rpm --import JBJ-GPG-KEY
>
> The "hang" is actually a 100% CPU bursting endless loop as it looks...
>

I can't reproduce the endless loop, but there are several other  
problems.

The root cause I'm seeing is headerGetExtension() returning NULL for
RPMTAG_NVRA. I'll have a fix this evening.

BTW, rpm -e gpg-pubkey-2039b291 also doesn't erase the just imported  
key.
That should be added to devtool.

rpm -qa should be done after the import, not before. --initdb does  
little
that is interesting or useful.

And all the sanity checks in devtool should be run with -vv.

73 de Jeff
Received on Thu Oct 11 15:32:16 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.