Description of problem: rpmbuild stores i386 libraries in incorrect directory under x86_64.fc6 environment. #rpmbuild --target=i386 -ba xxxxxx.spec the .RPM package built should include i386 library files in /usr/lib, but in /usr/lib64. Of course, rpm installs the files into the wrong directory: /usr/lib64. Version-Release number of selected component (if applicable): rpm-build-4.4.2-32.x86_64 How reproducible: Always Steps to Reproduce: 1.Modify the spec file as follows; ".... %build echo %_target echo %_lib echo %_libdir ...." 2.run #rpmbuild --target=i386 -ba xxxxxx.spec Actual results: rpmbuild shows me; ".... + echo i386-linux i386-linux + echo lib64 lib64 + echo /usr/lib64 /usr/lib64 ...." Expected results: ".... + echo i386-linux i386-linux + echo lib lib + echo /usr/lib /usr/lib ...."
This is fixed (by using arch from --target) in rpm-4.4.8. UPSTREAM Meanwhile, change /etc/rpm/platform to have i386, not x86_64.
User pnasrat's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
*** Bug 231489 has been marked as a duplicate of this bug. ***
*** Bug 281401 has been marked as a duplicate of this bug. ***
This is not going to get fixed for FC6, moving to devel to avoid "timeouting" (and yes there are plans to fix this eventually)
This should work on rawhide as of rpm 4.4.2.2-13.