RPM Community Forums

Mailing List Message of <rpm-devel>

rpm-5.x segfaults on Fedora ...

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 13 Aug 2008 - 23:32:54 CEST
Message-id: <D649FA79-DE6A-478E-8EF0-3657E627F3FB@mac.com>
Grrr ...

While trying to diagnose rsc's perl issue, I find myself on a
"vanilla" F10 system with "make install" of rpm-5.1.4.

Here's what I see

[jbj@localhost ~]$ rpm --version
rpm (RPM) 5.1.DEVEL

[jbj@localhost ~]$ perl -MRPM::PackageIterator -e '$iter =  
RPM::PackageIterator->new("NAME", "rpm"); while ($pkg = $iter->next())  
{print $pkg->as_nvre(), "\n";}' popt
Segmentation fault
[jbj@localhost ~]$ gdb /usr/bin/perl
GNU gdb Fedora (6.8-19.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show  
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
warning: dbiTagsInit: unrecognized tag name: "Packagecolor" ignored
warning: dbiTagsInit: unrecognized tag name: "Nvra" ignored
error: unrecognized db option: "thread_count" ignored.
error: unrecognized db option: "thread_count" ignored.
error: unrecognized db option: "thread_count" ignored.
Segmentation fault
[jbj@localhost ~]$

I have a list of ~10 incompatibilities, growing hourly, all introduced  
rpm-4.5.90 deployment into Fedora 10.

Since I have to get some real work down with rpm-5.1.4 on Fedora 10  
this week,
I'm going to need to solve the biggest issue, incompatible content
on the path /usr/lib/rpm/macros first.

So I'm likely to resurrect
    %rpmhome	/usr/lib/rpm/5.1.4
and flip the "default" macros path to

The next major issue will be db->4.5 != db-4.7 (and a deficient
implementation in rpm-4.5.90, rpm-4.4.8 and later already accomodates
other versions of Berkeley DB in other tools for rdonly access)  

At that point I can begin to retrofit compatibility for the rpm-4.5.90  
header and
keyring changes unilaterally ...

Sound like a plan?

73 de Jeff
Received on Wed Aug 13 23:32:58 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.