On Wed, 25 Mar 2020 07:11:02 -0700 Felix Lechner
This is the problem:
$self->tag('binary-is-wrong-architecture', $file) |
if ( $architecture =~ /^arm[el|hf]$/ |
&& $file->file_info !~ /ARM,(?: EABI5)? version 1 \(SYSV\)/) |
|| ( $architecture eq 'i386' |
&& $file->file_info !~ /x86-64, version 1 \(SYSV\)/) |
If architecture is i386 (OK, mine is), but file info DOESN'T indicate x86-64 (yes, 386 binaries don't), we tag the package. That can't be right; I don't want x86-64 files on a 386 system. And I want 386 binaries instead. Please fix that.
As an aside, why is that test even necessary? The next line (... !~ $pattern) should work fine for i386.
Regards
Jiri Palecek