Description
Sometime between mid-December and mid-January my snapshot builds started failing on i386: https://copr.fedorainfracloud.org/coprs/pmatilai/rpm-snapshot/builds/ with the following:
stderr:
/usr/bin/pkg-config: line 8: /usr/bin/i386-redhat-linux-gnu-pkg-config: No such file or directory
This comes from pkg-config which on Fedora calls rpm (🤪 ) macro evaluation to determine the path of the actual script to call - in this case the actual file is /usr/bin/i686-redhat-linux-gnu-pkg-config. The relevant macro is %{_target_cpu}
so that's what's now evaluating differently, and the likely cause being the rpmrc STL refactoring I did in the first half of December.
Comparing between two mock shells suggests it's probably buildarch translation that's misbehaving:
sh-5.2# rpm --version;rpm --showrc|head -2
RPM version 4.20.0
ARCHITECTURE AND OS:
build arch : i686
vs
sh-5.2# rpm --version;rpm --showrc|head -3
RPM version 5.99.90
ARCHITECTURE AND OS:
build arch : i386
compatible build archs: i686 i586 i486 i386 noarch fat
Most likely this is a regression, but the rpmrc stuff being so old and strange, it's possible something was actually misbehaving earlier. Need to sort this out before 6.0 alpha though.
Metadata
Assignees
Type
Projects
Status
Backlog
Activity