Description of problem: When the x86_64 release of RHEL 5 is installed on a Xeon EM64T box, the rpm macro %{_sysconfdir} points to /usr/etc rather than /etc This causes RPMs to be built incorrectly. This can be checked by the command "rpmbuild --showrc | grep _sysconfdir.*etc" Version-Release number of selected component (if applicable): rpm-4.4.2-37.el5 How reproducible: Always. Steps to Reproduce: 1. install x86_64 release of RHEL4 on a Xeon EM64T box 2. use rpmbuild Actual results: %_sysconfdir is set to /usr/etc causing RPMs to build incorrectly Expected results: %_sysconfdir is set to /etc causing RPMs to build correctly Additional info: The cause of the problem is that the arch in /etc/rpm/platform is set to "ia32e-redhat-linux" which causes the system to look in /usr/lib/rpm/ia32e-linux for macro details. The fix is to either change the arch in /etc/rpm/platform to "x86_64-redhat-linux" or "ln -s x86_64-linux /usr/lib/rpm/ia32e-linux"
*** This bug has been marked as a duplicate of 211119 ***