[Rpm-maint] [rpm-software-management/rpm] Strange behavior for multilib (Issue #2837)

Arkadiusz Miśkiewicz notifications at github.com
Tue Apr 14 09:03:21 UTC 2026


arekm left a comment (rpm-software-management/rpm#2837)

I'm playing with claude on exactly the same issue on PLD/linux rpm 6.0.1. But also checked Fedora 42 and current Fedora rawhide:

```
$ cat colortest.spec
Name:    colortest
Version: 1.0
Release: 1
Summary: Uncolored multilib test
License: GPL
%description
%{summary}
%install
mkdir -p %{buildroot}/opt/colortest/
echo "%{_arch}" > %{buildroot}/opt/colortest/%{_arch}
%files
/opt/colortest/

$ rpmbuild -bb --target i686 colortest.spec
$ rpmbuild -bb --target x86_64 colortest.spec
```

Multilib has to be active (3):
```
$ rpm --eval '%_transaction_color'
3
```

And reproducer

```
# rpm -U colortest-1.0-1.i686.rpm
# rpm -q colortest
colortest-1.0-1.i686

# rpm -U colortest-1.0-1.x86_64.rpm
# rpm -q colortest
colortest-1.0-1.x86_64          ← i686 silently erased while it shouldn't be
```


So far findings are described here:

https://ixion.pld-linux.org/~arekm/rpm-multilib-bug/bug.html

and two claude derived patches:

https://ixion.pld-linux.org/~arekm/rpm-multilib-bug/rpm-patches/

I'm not posting these here because I don't have enough understanding of rpm internals to 100% confirm these findings and people just don't like AI bugreports. The reproducer works well though.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2837#issuecomment-4242637124
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2837/4242637124 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260414/c6fb0a9a/attachment.htm>


More information about the Rpm-maint mailing list