[Rpm-maint] RPM 4.11.0 beta1 released

Thierry Vignaud thierry.vignaud at gmail.com
Tue Dec 18 11:31:36 UTC 2012


On 18 December 2012 09:53, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
>>> not to fail in such a way.
>>> It's not a "regression" that would affect lot of users but it may
>>> break other package managers.
>>> It would be better to return if no packages has been added to the
>>> transaction.
>
> It's a regression alright, it affects rpm itself as well in some corner
> cases. rpmtsRun() explicitly handles the empty transaction as a non-error
> but the development-time safe-guard assert() triggers on rpmtsCheck() /
> rpmtsOrder(). Will fix before 4.11 final.

I take you don't like my patch :-)

>> Eg, for the record, this is breaking perl-RPM4 too...
>
>
> Out of curiosity, how/why exactly is it breaking perl-RPM4?

It breaks its testsuite:
http://rpm4.zarb.org/svn/trunk/RPM4/t/05transaction.t

It runs various tests on the same ts object then calls empty (rpmtsEmpty)
then run rpmtsOrder() again:

ok(!defined($ts->transreset), "Reseting current transaction");

#ok($ts->transremove($roffset), "Removing pkg from header and offset");
ok($ts->transorder == 0, "Run transaction order");


More information about the Rpm-maint mailing list