On 5/27/21 1:34 PM, Panu Matilainen wrote:
On 4/26/21 5:24 PM, Thierry Vignaud wrote:
Le lun. 26 avr. 2021 à 11:34, Panu Matilainen <pmati...@redhat.com
<mailto:pmati...@redhat.com>> a écrit :
The beginning of this year has gone nothing like planned, and
consequently we had to postpone and even revert some things
originally
planned for 4.17. But what the hey, there's plenty of good stuff
here as
it is, and there will always be another release.
Highlights include:
- More robust install failure handling
- Many macro improvements, in particular wrt Lua integration
- Some long-needed transaction API enhancements
- Beginnings of a reference manual
In particular macros have seen a big overhaul: built-in and
user-defined
macros have been unified internally, and in general can be called by
using either syntax. The Lua-macro interface is much improved, macro
arguments are passed as native Lua arguments, parametric macros
can be
called as native Lua functions and all rpm macros can be natively
accessed via a handy 'macros' table. In theory this is all backwards
compatible, but with as with any changes there could be something we
missed.
For further details and download info, head over to
https://rpm.org/wiki/Releases/4.17.0
<https://rpm.org/wiki/Releases/4.17.0>
On behalf of the rpm team,
- Panu -
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org <mailto:Rpm-maint@lists.rpm.org>
http://lists.rpm.org/mailman/listinfo/rpm-maint
<http://lists.rpm.org/mailman/listinfo/rpm-maint>
For the record, rpm-4.16.90's testsuite has an unexpected failure here:
323: rpm -i hardlinks FAILED
(rpmi.at:758 <http://rpmi.at:758>)
(…)
+++
/ff/rpm/BUILD/rpm-4.16.90-git15395/tests/rpmtests.dir/at-groups/323/stderr
2021-04-26 10:35:59.602608319 +0000
@@ -1,3 +1 @@
-error: unpacking of archive failed: cpio: Archive file not in header
-error: hlinktest-1.0-1.noarch: install failed
./rpmi.at:758 <http://rpmi.at:758>: exit code was 0, expected 1
323. rpmi.at:728 <http://rpmi.at:728>: 323. rpm -i hardlinks
(rpmi.at:728 <http://rpmi.at:728>): FAILED (rpmi.at:758
<http://rpmi.at:758>)
For the record, the generated package is also installable with
rpm-4.16.1.3:
$ rpm -Uvh --test
./BUILD/rpm-4.16.90-git15395/tests/rpmtests.dir/323/testing/build/RPMS/noarch/hlinktest-1.0-1.noarch.rpm
Verifying...
################################# [100%]
Preparing...
################################# [100%]
This is a new test introduced in commit
a82251b44ee2d2802ee8aea1b3d89f88beee4bad
Hey, sorry for almost missing this amidst other events. Issues are
always better reported at GH so they don't fall off anybodys inbox.
I have no idea how to reproduce the situation, can you provide the
binary package this test fails on?
Okay, ran into this myself now while trying to create 4.17 beta: the
test relies on manipulating offsets in the produced package file, and
those offsets depend on string lengths in the header, including rpm
version and libmagic produced strings. So it's the test that is flawed,
rather than the new code behaving in weird ways.
- Panu -
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint