[Rpm-maint] [Rpm-announce] RPM 4.14.0 release candidate 2 is out

Thierry Vignaud thierry.vignaud at gmail.com
Mon Oct 2 20:54:49 UTC 2017


On 2 October 2017 at 15:08, Panu Matilainen <pmatilai at redhat.com> wrote:
>>>> perl-RPM4's testsuite seems to have caught a regression:
>>>> Simulating several simulate rpm -bi in a row now fails with:
>>>> error: Wrong number of entries for tag Filemodes: 2 found but 1
>>>> expected.
>>>>
>>>> As a workaround, we've to reload the spec file between 2 tests:
>>>>
>>>>
>>>> http://svnweb.mageia.org/packages/cauldron/perl-RPM4/current/SOURCES/reload-spec-file-before-builds.patch?revision=1143572&view=markup
>>>>
>>>> I've attached the output of erl t/04spec.t with & w/o this patch
>>>>
>>>
>>> Wild guess: debuginfo link creation.
>>>
>>> Does setting %_build_id_links to "none" or "alldebug" make the issue go
>>> away?
>
>
> ...without the actual quotes, that is.
>
>>
>> None of that fixes it
>
>
> So what is the extra entry that's getting added then?
>
>         - Panu -

That's in the logs:
"error: Wrong number of entries for tag Filemodes: 2 found but 1 expected."
This cames from lib/rpmfi.c 's _hgfi()

Thus this cames from rpmfilesPopulate():
lib/rpmfi.c:1533:       _hgfi(h, RPMTAG_FILEMODES, &td, scareFlags, fi->fmodes);


More information about the Rpm-maint mailing list