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 - 11:28:12 CET
Message-ID: <929b46b62516f06946022fc92dc28b74@blankpage.ch>
On Thu, 04 Feb 2010 10:53:04 -0500, Jeff Johnson <n3npq@mac.com> wrote:
> On Feb 4, 2010, at 9:36 AM, Bernhard Rosenkränzer wrote:
>
> So only BuildRequires: ? I'll look, so far I haven't
> paid much attention to BuildRequires and so I may have missed something.

Yes, so far it only happened when trying to install .src.rpms
There's not much else going on in that particular chroot jail though.

> BTW, this should recreate the Provides: index/table:
> 	ls -al /var/lib/rpm/Providename
> 	rm -f /var/lib/rpm/Providename
> 	rpm -q --whatprovides gdbm-devel
> 	ls -al /var/lib/rpm/Providename

Already tried that -- the problem remains after recreating Providename.
--whatprovides seems to be problematic too, so probably something is going
wrong while creating Providename:

[root@matterhorn rpm]# ls -l Providename
-rw-r--r-- 1 root root 819200 Feb  5 08:58 Providename
[root@matterhorn rpm]# rm -f Providename
[root@matterhorn rpm]# rpm -q --whatprovides gdbm-devel
[root@matterhorn rpm]# ls -l Providename
-rw-r--r-- 1 root root 815104 Feb  5 10:07 Providename
[root@matterhorn rpm]# rpm -q gdbm-devel
gdbm-devel-1.8.3-5ark.x86_64
[root@matterhorn rpm]# rpm -q --provides gdbm-devel
gdbm-devel = 1.8.3-5ark
[root@matterhorn rpm]# rpm -q --whatprovides gdbm-devel
[root@matterhorn rpm]#


Another issue, but probably unrelated: rpmbuild --rebuild any.src.rpm
segfaults (but -ivh --nodeps followed by -ba is ok)

Starting program: /usr/bin/rpmbuild --rebuild /monotone-0.46-1ark.src.rpm
[Thread debugging using libthread_db enabled]
Installing /monotone-0.46-1ark.src.rpm
[New Thread 0x7fffef40e710 (LWP 21972)]
[New Thread 0x7fffeec0d710 (LWP 21973)]
[New Thread 0x7fffee40c710 (LWP 21974)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff795b7d2 in rpmpsmStage (psm=0x7fffffffdd60, stage=<value
optimized out>)
    at psm.c:2643
2643                    xx = rpmtxnCommit(rpmtsGetRdb(ts)->db_txn);
(gdb) bt
#0  0x00007ffff795b7d2 in rpmpsmStage (psm=0x7fffffffdd60, stage=<value
optimized out>)
    at psm.c:2643
#1  0x00007ffff795c2a3 in rpmInstallSourcePackage (ts=0x640d20, _fd=<value
optimized out>,
    specFilePtr=<value optimized out>, cookie=<value optimized out>) at
psm.c:202
#2  0x00007ffff79750a9 in rpmInstallSource (ts=0x640d20,
    arg=0x7fffffffe4e8 "/monotone-0.46-1ark.src.rpm",
specFilePtr=0x7fffffffe138,
    cookie=0x7ffff7ddf450) at rpminstall.c:833
#3  0x000000000040369f in main (argc=<value optimized out>,
argv=0x7ffff7ddf440)
    at ./rpmqv.c:792


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