RPM Community Forums

Mailing List Message of <rpm-devel>

Re: rpm: header.c:1044: headerLoad: Assertion `(rpmint32_t)rdl >= 0' failed.

From: Silvan Calarco <silvan.calarco@mambasoft.it>
Date: Thu 20 Jan 2011 - 17:11:15 CET
Message-Id: <201101201711.15975.silvan.calarco@mambasoft.it>
On Wednesday 19 January 2011 03:40:07 Jeff Johnson wrote:
> Hmmmm ... if this issue isn't dead-on reproducible, then there's likely
> some other memory scribbling root cause that needs to found first.

On another arm target I don't have the problem. I'm not yet sure it is arm 
related:

 243:chrony                 ########################################### [ 84%]
 244:lrzsz                  ########################################### [ 85%]
 245:mkfontdir              ########################################### [ 85%]
 246:xorg-fonts-75dpi       ########################################### [ 85%]
 247:xorg-fonts-base        ########################################### [ 86%]
 248:rp-pppoe-gui           ########################################### [ 86%]
 249:openmamba-devel        ########################################### [ 86%]
 250:xkeyboard-config       ########################################### [ 87%]
 251:lxde-icon-theme        ########################################### [ 87%]
 252:bluez-firmware         ########################################### [ 88%]
 253:rt2870-firmware        ########################################### [ 88%]
 254:rt2501-firmware        ########################################### [ 88%]

Then it goes until the end without errors. The problem must be related to the 
whole list of packages given to rpm, apparently with no understandable reason 
(not just removing but adding random packages may fix the problem, so it could 
be a problem in the way rpm internally sorts out operations).
The removed loop errors are mostly like in the previous example that fails:

Installing application packages.
warning: /var/ftp/pub/openmamba/devel//RPMS.arm/bluez-
firmware-1.2-1mamba.arm.rpm: Header V4 DSA signature: NOKEY, key ID 87468781
error: LOOP:
error: removing rt2501-firmware-1.8-1mamba.arm "Requires: 
/usr/share/doc/rt2501-firmware-1.8" from tsort relations.
error: LOOP:
error: removing rt2870-firmware-2.4.0.1.2010.0709-1mamba.noarch "Requires: 
/usr/share/doc/rt2870-firmware-2.4.0.1.2010.0709" from tsort relations.
error: LOOP:
error: removing binutils-2.21-1mamba.arm "Requires(auto): libbfd-2.21.so" from 
tsort relations.
error: removing libbinutils-2.21-1mamba.arm "Requires: binutils = 2.21" from 
tsort relations.
error: LOOP:
error: removing bluez-firmware-1.2-1mamba.arm "Requires: /usr/share/doc/bluez-
firmware-1.2" from tsort relations.
error: LOOP:
error: removing lxde-icon-theme-0.0.1-3mamba.arm "Requires: 
/usr/share/doc/lxde-icon-theme-0.0.1" from tsort relations.
error: LOOP:
error: removing hal-info-20091130-1mamba.noarch "Requires: /usr/share/doc/hal-
info-20091130" from tsort relations.
error: LOOP:
error: removing libpci-3.1.7-1mamba.arm "Requires: /usr/lib/libpci.so.3.1.7" 
from tsort relations.

If you would like to make a test installing these openmamba packages in a 
chroot environment I can try to find a rpm command (with a long list of 
packages to install) which should make the errore reproducible on your 
computer.
Thanks.

Regards,
Silvan

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
 
mambaSoft Store @ http://www.mambastore.it
openmamba GNU/Linux development @ http://www.openmamba.org
Received on Thu Jan 20 17:11:34 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.