On Nov 12, 2010, at 12:11 PM, Jeff Johnson wrote:
> 
> And if /etc/rpm/platform doesn't exists, then create with 1 line containing
>       CPU-VENDOR-OS
> (and add the pesky -gnu or not to taste).
> 

One other hint:

        Add --miredebug

or (from within ruby) set this integer to -1

mire.c:int _mire_debug = 0;

mire.h:extern int _mire_debug;
poptIO.c: { "miredebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, 
&_mire_debug, -1,

Recompile rpm with
        int _mire_debug = -1;
if you're lazy. ;-)

Please note that its all the same lather-rinse-repeat drill
for debugging any RPM object. Find the insturmentation (which
always exists for ctors/dtors) and turn it on. Then narrow the
context down to the specific issue.

The mire object is particularly painful. The workaorund I gave
you avoids the pain for now. Once you get farther along (and
its clearer how you wish to initialize RPM from ruby), then
it will be possible to add the missing reference count accurately.

hth

73 de Jeff
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to