Description of problem: The target flag affects some RPM macros, like %optflags. Others, in particular %_lib, still have their x86_64 definition (lib64 rather than lib in the case of %_lib). Version-Release number of selected component (if applicable): rpm-4.3.3-11_nonptl redhat-rpm-config-8.0.32.1-1 How reproducible: Every time. Steps to Reproduce: 1.Build any package on an x86_64, using --target=i386 Actual results: Anything using %_libdir will point to /usr/lib64 Expected results: %_libdir should point to /usr/lib
Out of curiosity if you mv /etc/rpm/platform /etc/rpm/platform.old and retry does the desired behaviour occur?
No, removing the platform file didn't change anything. %optflags still works and %_lib still doesn't.
Applies to ppc64 ( and sparc 64 too for Aurora).
how about using: setarch=i386 {rpmbuild command} --target i386
oops I meant setarch i386 {rpmbuild command} --target i386
Even with setarch, %_libdir still is /lib/lib64. At least for me.
On Aurora, using sparc32/sparc64 and removing /etc/rpm/platform entirely is a valid workaround.
This problem is likely fixed (by setting arch from --target) in rpm-4.4.7-0.15 UPSTREAM
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
when was this closed WONTFIX and what is the explanation for it?
Paul Nasrat 2006-09-07 08:55 EST Resolution WONTFIX As for the explanation who knows...
Dennis - the WONTFIX state is to indicate this will not be done for an update release for RHEL 4. I am following the Red Hat bug state process for setting this state. You should be dealing with support/IT for escalation as an RFE for future product releases and not directly in bugzilla. Support engineers are aware of the content process update and should communicate with you the reasonig.