RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Bogus dependency errors with HEAD from last week

From: Bernhard Rosenkränzer <bero@arklinux.ch>
Date: Fri 05 Feb 2010 - 12:29:53 CET
Message-ID: <a76101f99ca244a2f21b9dedc18431d9@blankpage.ch>
Hi,

> Here's two more ways:
> 
> 1) dumping the index
> 	cd /var/lib/rpm
> 	db_dump -p Providename

[root@matterhorn rpm]# /usr/lib/rpm/bin/db_dump -p Providename |grep -A1
-B1 gdbm
 \00\00\03O
 gdbm
 \00\00\03\d9
 gdbm-debug\ac
 \00\00\03T
 gdbm-devel\ac
 \00\00\04v
 gdbm-static\95
 \00\00\08\b2
 gdbm.so()(64bit)
 \00\00\00\1c
 gdbmmodule.so()(64bit)
 \00\00\08\ec
--
 \00\00\09|
 libgdbm.so.3()(64bit)
 \00\00\03\d9
 libgdbm_compat.so.3()(64bit)
 \00\00\03\d9


> 2) add debug to the line in /usr/lib/rpm/macros that configures
> the Providename table/index.

[root@matterhorn rpm]# rpm -q --provides gdbm-devel
gdbm-devel = 1.8.3-5ark
[root@matterhorn rpm]# rpm -q --whatprovides gdbm-devel
<-- db3open(0x21f9340,Providename,0x7fffd6f4d848) dbi 0x21fd590 rc 0
        flags: 0x500<AUTO_COMMIT,RDONLY>
<--
db3associate(0x21fa780(Packages),0x21fd590(Providename),0x7f2e0e76af30,0x0)
rc 0
        flags: 0x0
--> rpmmiInit(0x21f9340, Providename, 0x21f9240[0]="gdbm-devel") dbi
0x21fd590 mi 0x21fe0e0
--> rpmmiNext(0x21fe0e0) dbi 0x21fd590(Providename)
<-- db3copen(0x21fd590,(nil),0x21fe110,0x0) dbc 0x21fe210 rc 0
<-- db3cget(0x21fd590,0x21fe210,0x7fffd6f4d8d0,0x7fffd6f4d870,0x1b) rc
-30988
        flags: DB_SET
          key: 0x21fd570[10]    0x0     "gdbm-devel"
         data: (nil)[0] 0x400<USERMEM>
<--
rpmmiGet(0x21fd590(Providename),0x21fe210,0x7fffd6f4d8d0,0x7fffd6f4d870,0x1b)
rc -30988
<-- db3close(0x21fd590,0x0) rc 0

> I'm at FOSDEM so its a bit awkward to check in code. Expect the fixes
> early next week.

Thanks, enjoy FOSDEM!

ttyl
bero
Received on Fri Feb 5 12:18:30 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.