Bug 213927 - rpm: rpmte.c:589: rpmteColorDS: Assertion `ix < Count' failed
Summary: rpm: rpmte.c:589: rpmteColorDS: Assertion `ix < Count' failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-03 19:49 UTC by Jason Pepas
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-07 22:42:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Pepas 2006-11-03 19:49:36 UTC
Description of problem:

Occaisionally, when installing rpm's I have made with rpmbuild, I get the
following error:

rpm: rpmte.c:589: rpmteColorDS: Assertion `ix < Count' failed

I don't know if this is a problem with rpm or rpmbuild.  There is a similar bug
report, but their conclusion seemed to be that it was somethign specific to the
package being installed.

Version-Release number of selected component (if applicable):

$ rpm -qa | grep rpm
rpm-4.4.2-15.2
redhat-rpm-config-8.0.40-1
rpm-libs-4.4.2-15.2
rpm-build-4.4.2-15.2
rpm-python-4.4.2-15.2
rpm-devel-4.4.2-15.2
fedora-rpmdevtools-1.6-1.fc5

Comment 1 Jason Pepas 2006-11-03 19:51:09 UTC
The other bug report I mentioned is #190972
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190972

Comment 2 Jeff Johnson 2006-11-04 04:32:04 UTC
Packages built with
    AutoReqProv: no
should *not* be built with the internal dependency generator.

Assertion failures result.
    

Comment 3 Jason Pepas 2006-11-06 19:47:16 UTC
Are you saying that rpmbuild is not to be used to build rpms with autoreqprov =
no?  What then, should I use to build these rpms?

Comment 4 Jeff Johnson 2006-11-06 20:35:51 UTC
No I'm not saying that rpmbuild cannot be used.

I'm saying that you cannot use the internal dependency generator with AutoReqProv:,
you must also change to use the older find-{provides,requires} at the same time. This
means that one cannot prepare multilib ready packages reliably using AutoReqProv:.

Comment 5 Jason Pepas 2006-11-07 14:51:25 UTC
clearly I have not read enough documentation to understand how to properly use
rpmbuild.  is there some sort of documentation in addition to the man pages
(developer docs of some sort?) which explains how to disable the internal
dependency generator?

Comment 6 Jeff Johnson 2006-11-07 22:39:31 UTC
Add this line at the beginning of a spec file to disable
    %define _use_internal_dependency_generator     0

I'd suggest not using AutoReqProv: instead of adding the config line.

Any package using AutoReqProv: which contains ELF binaries will not
contain the information necessary to install correctly on multilib systems.

Filtering out one or two unwanted dependencies that are being extracted
can be done by removing the execute bit on the file that is generating the
undesired dependency.

Comment 7 Jason Pepas 2006-11-07 22:42:15 UTC
thanks.  I was accidentally using "AutoReq: no" instead of "AutoReqProv: no". 
all is well now.


Note You need to log in before you can comment on or make changes to this bug.