[Rpm-maint] [rpm-software-management/rpm] RPM 4.20.0 ALPHA2 (PR #3107)
soig
notifications at github.com
Sat Jun 1 18:48:56 UTC 2024
Le sam. 1 juin 2024 à 17:59, Thierry Vignaud ***@***.***> a
écrit :
> Le ven. 17 mai 2024 à 13:37, Michal Domonkos ***@***.***> a
> écrit :
>
>> Merged #3107 <https://github.com/rpm-software-management/rpm/pull/3107>
>> into rpm-4.20.x.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <https://github.com/rpm-software-management/rpm/pull/3107#event-12846898308>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAXGVEIQAUGIDQRJCUCKQETZCXTXBAVCNFSM6AAAAABH34XQOWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHA2DMOBZHAZTAOA>
>> .
>> You are receiving this because you are subscribed to this thread.
>>
>
> We are hitting 3 issues on Mageia with 4.20.x.
> Note that we all those upstream patches have been backported:
> 0001-Ensure-noarch-packages-don-t-get-debuginfo.patch
> 0001-Fix-noprep-regression-from-introducing-mkbuilddir.patch
> 0002-Drop-an-accidentally-added-duplicated-test.patch
> 0003-Make-build-in-place-much-less-of-a-hack-and-also-wor.patch
> 0001-Fix-incomplete-header-on-plain-src.rpm-build-modes-r.patch
> 0001-Hammer-in-no-debuginfo-for-noarch-packages-damn-it-r.patch
> 0001-Fix-regression-on-subpackage-debuginfo-RPMTAG_SOURCE.patch
>
> 1) signatures being refused
> This one seems to be on Mageia :
> error: Verifying a signature using certificate
> 00EDB89585B012A8916F0DF8B742FA8B80420F66 (Mageia Packages <
> ***@***.***>):
> 1. Certificiate B742FA8B80420F66 invalid: certificate is not alive
> because: The primary key is not live
> because: Expired on 2012-03-13T12:10:11Z
> 2. Key B742FA8B80420F66 invalid: key is not alive
> because: The primary key is not live
> because: Expired on 2012-03-13T12:10:11Z
>
> However this break "urpmi --no-verify" which used to behave like rpm
> --no-verify
> But now only rpm --nosignature can bypass this check, whereas rpm
> --no-verify used to do the same, which looks like regression ?
>
>
> 2) this breaks perl-RPM4's testsuite:
> See
> https://gitweb.mageia.org/software/rpm/perl-RPM4/tree/RPM4/t/04spec.t#n57
> This can be run with: cd RPM4; perl Makefile.PL; make && make test
>
> With rpm-4.19:
> ok 13 - simulate rpm -bp (check prep)
> Executing(%build): /bin/sh -e /tmp/7ICL2x4Fnn/rpm-tmp.MpqXIY
>
> With rpm-4.20:
> +not ok 13 - simulate rpm -bp (check prep)
> +# Failed test 'simulate rpm -bp (check prep)'
> +# at t/04spec.t line 57.
> +Executing(%build): /bin/sh -e /tmp/Cb7Sykk9CP/rpm-tmp.H778zX
> +/tmp/Cb7Sykk9CP/rpm-tmp.H778zX: line 31: cd:
> /tmp/Cb7Sykk9CP/test-rpm-1.0-build: No such file or directory
> +error: Bad exit status from /tmp/Cb7Sykk9CP/rpm-tmp.H778zX (%build)
>
> There's a regression here: it doesn' create the directory anymore.
> Is this a rpm regression or does RPM4 needs to be adjusted?
> Both builddir and topdir are absolute
> The test spec file it loads is
> https://gitweb.mageia.org/software/rpm/perl-RPM4/tree/RPM4/t/test-rpm.spec
> I'd really like to have a feedback for this one.
>
>
> 3) urpmi testsuite fails b/o of missing debuginfo:
> error: Empty %files file
> /home/tv/mga/git/mga/urpmi/t/tmp/BUILD/a-1-build/debugsourcefiles.list
> error: Empty %files file
> /home/tv/mga/git/mga/urpmi/t/tmp/BUILD/b-1-build/debugsourcefiles.list
> But it's silly to try to extract debuginfo when there's no
> I could make those pkgs noarch or set debug_package to %{nil}
> On second though I wonder why this wasn't an issue before ?
>
> I fixed those ones in urpmi.
> But then I'm hitting this one:
> error: Bad exit status from
> /home/tv/mga/git/mga/urpmi/t/tmp/rpm-tmp.h09qUo (%install)
>
> # Failed test 'rpmbuild --quiet --define '_topdir
> /home/tv/mga/git/mga/urpmi/t/tmp' --define '_tmppath
> /home/tv/mga/git/mga/urpmi/t/tmp' -bb --clean --nodeps --define
> '__os_install_post %nil' --define 'rpm_version %(rpm -q --queryformat
> "%{VERSION}" rpm|sed -e "s/\\.//g")' data/SPECS/buildroot_default.spec'
> will
>
> This can be reproduced by running:
> rpmbuild -bb --clean t/data/SPECS/buildroot_default.spec
> I've attached the rpmbuild output for both 4.19 & 4.20 which shows the
> regression
>
> Compare:
>
> rpm-4.19.1.1:
> $ rpm --eval %buildroot
> /home/tv/rpmbuild/BUILDROOT/%{NAME}-%{VERSION}-%{RELEASE}.x86_64
>
> rpm-4.19.91:
> $ rpm --eval %buildroot
> %buildroot
>
> I just saw commit 0310a233b953c015bd17ecfbb0e558ceaf071fc7 (" Fix a
> %buildroot regression on an early %__spec_install_pre %global override"),
> I'll try again with that commit backported, even though the context is
> different as it happens quite a lot later, at the end of the build process.
>
That commit didn't helped at all sadly
The issue is that the _buildrootdir macro disappeared in commit
9d35c8df497534e1fbd806a4dc78802bcf35d7cb
I fear it'll break quite a lot of existing spec files :-(
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3107#issuecomment-2143547080
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3107/c2143547080 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240601/dcba71b7/attachment.html>
More information about the Rpm-maint
mailing list