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.
- if so, either figure out why rpmbuild emitted tag 257 in the first place,
I guess we can rule this out.
- or file a bug report upstream that rpm is too eager rejecting "old" files (there is precedent: https://github.com/rpm-software-management/rpm/issues/1762)
I think I'm more leaning to think that rpm was miscompiled. But what really puzzles me that it worked just fine in previous builds. Or there might be something wrong with the emulated environment. Adrian
[1] https://ftp.suse.com/pub/people/glaubitz/bootstrap/loongarch64/compat-usrmer...