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

2011-02-13 Thread Silvan Calarco
On Sunday 13 February 2011 02:43:58 Jeff Johnson wrote: On Feb 12, 2011, at 1:48 PM, Jeff Johnson wrote: Note that the non-repudiable signature (i.e. rpmbuild automatically signs every package using DSA) in rpm-5.3.4+ is also needed for the --import to become FULLY equivalent to using

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

2011-02-13 Thread Jeff Johnson
On Feb 13, 2011, at 11:37 AM, Silvan Calarco wrote: AFAIR I made a script using 'expect' and other attempts but though it all worked from a terminal it didn't as a cron job because of things like missing console. I think this is more a gnupg issue (/feature) than rpm but if someone

Re: [CVS] RPM: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
Mark with #ifdef RPM_VENDOR_MANDRIVA please. I haven't the foggiest idea what you are fixing or how to reproduce or what is right or wrong. There is no reason to start calling dbiCount() everywhere just in case its needed on some obscure path imho. hth 73 de Jeff On Feb 13, 2011, at

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
Hmmm ... rpmmiCount is supposed to be invoked lazily when needed, not as part of every iteration. The conditions in rpmmiCount() may need adjustment. That I can easily believe. But an extra dbiGet() and dbiCount() call introduced into rpmmiNext() is almost certainly neither the right fix, nor

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
On Feb 13, 2011, at 9:15 PM, Jeff Johnson wrote: Log: set mi-mi_count when rpmmiNext() initializes db cursor so that rpmmiCount() won't break (mdvbz#62267) Note that using %trigger* in order to re-create symlinks when a package is upgraded is just wrong as well. Yes you can do that,

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Per Øyvind Karlsen
2011/2/14 Jeff Johnson n3...@mac.com: Hmmm ... rpmmiCount is supposed to be invoked lazily when needed, not as part of every iteration. The conditions in rpmmiCount() may need adjustment. That I can easily believe. in lib/psm.c:1666 rpmmiCount() is used, where rpmmiNext() has already created

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
On Feb 13, 2011, at 9:41 PM, Per Øyvind Karlsen wrote: 2011/2/14 Jeff Johnson n3...@mac.com: Hmmm ... rpmmiCount is supposed to be invoked lazily when needed, not as part of every iteration. The conditions in rpmmiCount() may need adjustment. That I can easily believe. in lib/psm.c:1666

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
On Feb 13, 2011, at 10:15 PM, Jeff Johnson wrote: Hmm the rpmiPrune() just above psm.c:1666 might need to looked at ... until yesterday it really dinna matter whether %trigger's worked beyond the toy test cases I originally wrote when implementing. Its probably ok, rpmmiPrune() is used

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Per Øyvind Karlsen
2011/2/14 Jeff Johnson n3...@mac.com: On Feb 13, 2011, at 9:41 PM, Per Øyvind Karlsen wrote: 2011/2/14 Jeff Johnson n3...@mac.com: Hmmm ... rpmmiCount is supposed to be invoked lazily when needed, not as part of every iteration. The conditions in rpmmiCount() may need adjustment. That I

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Per Øyvind Karlsen
2011/2/14 Jeff Johnson n3...@mac.com: On Feb 13, 2011, at 10:15 PM, Jeff Johnson wrote: Hmm the rpmiPrune() just above psm.c:1666 might need to looked at ... until yesterday it really dinna matter whether %trigger's worked beyond the toy test cases I originally wrote when implementing. Its

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/rpmdb/ rpmdb.c

2011-02-13 Thread Jeff Johnson
On Feb 13, 2011, at 10:56 PM, Per Øyvind Karlsen wrote: And no I'm not subscribed to maintainers@ ... , my reply bounced. it's an open list, just a matter of subscribing :) You assume I know more than I do. Until you mentioned, I had no idea. And I still don't know what list is where