On Freitag, 29. November 2024, 23:33:50 CET John Paul Adrian Glaubitz via openSUSE Factory wrote:
Hi,
thanks for the hints!
On Fri, 2024-11-29 at 23:27 +0100, Jan Engelhardt wrote:
However, that means that tag 257 is in fact valid, and something got probably miscompiled if a tag is reported as invalid with the numeric value 257.
I seem to remember that RPMTAG_SIGSIZE (257) is obsoleted by RPMTAG_LONGSIGSIZE (270) and would perform the following steps:
- use an x86_64 `rpm -qip` and/or `rpm -U --force --ignorearch` command on the loongarch.rpm; see if it exhibits the same problem of rejecting the file.
The RPM installs just fine. I also test-installed it on Debian loong64 using Debian's "rpm" command just fine. So the package [1] seems to be okay.
there were broken rpm releases writing this header in wrong places it seems. I workarounded for now with some really ugly hacks in build script and rpm to get these packages installing nevertheless. We can get rid of that once we bootstrapped LoongArch64 luckily again. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev