Bug 211748
Summary: | Option --target seems to be broken (OS is not included) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> | ||||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | n3npq | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-10-29 22:06:13 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Robert Scheck
2006-10-21 18:50:46 UTC
Created attachment 139065 [details]
rpm --rcfile /usr/lib/rpm/rpmrc:/usr/lib/rpm/redhat/rpmrc --showrc
Last working version seems to be 4.4.7-0.13, which I had to revert to for building kernel and openssl successfully. Hmmm, openssl is building for me. I cannot reproduce the problem. The rpmrc values in --showrc spew are identical to yours afaict too (if I remove /etc/rpm/platform). My build result is invariant to whether /etc/rpm/platform exists or not. OTOH, my machine is used for rpm development, and might be configured rather differently. Lemme trash and burn my installed rpm, and update to FC6 final (I'm mebbe 3 weeks back) to see if I can reproduce. FYI, here's what I have in /etc/rpm/platform: "i386-unknown-linux-gnu" The issue is likely to be configuration however. Strange, a after downgrade to -0.13 and upgrade to -1, kernel-2.6.18-1.2798.fc6 is only reproducer for me, but this with and without a /etc/rpm/platform file containing "i386-unknown-linux-gnu". Created attachment 139080 [details] strace output $ wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/kernel-2.6.18-1.2798.fc6.src.rpm $ rpm -Uvh kernel-2.6.18-1.2798.fc6.src.rpm $ cd /usr/src/rpm/SPECS $ rpmbuild --rcfile /usr/lib/rpm/rpmrc:/usr/lib/rpm/redhat/rpmrc -ba --target i686 kernel-2.6.spec Building target platforms: i686 error: OS is not included: $ Output of strace is attached. Invoking a kernel build with --target i686-linux "works". The kernel package (and 50 others in FC) have chosen to add ExclusiveOS: Linux Ripping rpmrc out of 4.4.7 has change how the default value for OS is set. Fixed in rpm CVS, should be in rpm-4.4.8-0.2 when built. UPSTREAM Thank you very much, closing with expected result. |