# rpm -q rpm redhat-rpm-config rpm-4.4.2-33.fc6 redhat-rpm-config-8.0.45-9.fc6 # rpm --showrc | grep ": _host\W" -14: _host i686-redhat-linux-gnu yum update to 4.4.2.1-1.fc6 # rpm --showrc | grep ": _host\W" -14: _host i686-pc-linux-gnu
Ok, verified. The various _host values get "hardcoded" into /usr/lib/rpm/macros during build time, and in this case it looks like /etc/redhat-release has been missing on the buildroot when 4.4.2.1-1.fc6 was built, so it hasn't been detected as redhat-linux-gnu but a generic "pc". Hum, I'm afraid I don't have the build logs available anymore...
Right... rpm-4.4.2 comes with a version of config.guess that detects RH, 4.4.2.1 doesn't - what a lovely mess: [pmatilai@localhost ~]$ /usr/share/automake-1.4/config.guess x86_64-redhat-linux-gnu [pmatilai@localhost ~]$ /usr/share/automake-1.5/config.guess x86_64-unknown-linux-gnu [pmatilai@localhost ~]$ /usr/share/automake-1.6/config.guess x86_64-unknown-linux-gnu [pmatilai@localhost ~]$ /usr/share/automake-1.7/config.guess x86_64-unknown-linux-gnu [pmatilai@localhost ~]$ /usr/share/automake-1.10/config.guess x86_64-unknown-linux-gnu [pmatilai@localhost ~]$ /usr/lib/rpm/redhat/config.guess x86_64-redhat-linux-gnu On F7 and 8, /usr/lib/rpm/redhat/config.guess reports -redhat-linux-gnu, on F6 it says -pc-linux-gnu. Normal software ends up using the RH config.guess through use of %configure but rpm itself can't as of 4.4.2.* be configured with %configure macro so it uses whatever it happens to have and... I guess I'll just have to patch FC6 rpm config.guess to have RH detection, for F7 a similar hack to what's in F8 should suffice. Oh ugh.
rpm-4.4.2.2-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpm'
rpm-4.4.2.2-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Reopening as this is still present in FC6 package which this bug report is against...
Fixed in rpm-4.4.2.1-2.fc6 which has been pushed to updates now.