Hide Forgot
Description of problem: According to rpm(8) the order of reading macro definitions is: Macro Configuration /usr/lib/rpm/macros /usr/lib/rpm/redhat/macros /etc/rpm/macros ~/.rpmmacros Which means that even though /usr/lib/rpm/macros defines: %configure \ ... %{_configure} --host=%{_host} --build=%{_build} \\\ ... /usr/lib/rpm/redhat/macros overrides it as: %configure \ ... ./configure --build=%{_build} --host=%{_host} \\\ So the value of _configure will be ignored, even though it is necessary to compile some packages (like python3 from pkgs.fedoraproject.org). Version-Release number of selected component (if applicable): $ rpm -qf /usr/lib/rpm/redhat/macros redhat-rpm-config-9.0.3-34.el6.sl.noarch $ rpm -qf /usr/lib/rpm/macros rpm-4.8.0-19.el6.x86_64
Since RHEL 6.3 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Since the fix is so damn simple (s.b.), it would be nice if you could include it in RHEL 6.4 anyway. --- /usr/lib/rpm/redhat/macros.orig 2012-05-03 09:26:30.055106442 +0200 +++ /usr/lib/rpm/redhat/macros 2012-05-03 09:26:51.112107285 +0200 @@ -31,7 +31,7 @@ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \ - ./configure --build=%{_build} --host=%{_host} \\\ + %{_configure} --build=%{_build} --host=%{_host} \\\ --target=%{_target_platform} \\\ --program-prefix=%{?_program_prefix} \\\ --prefix=%{_prefix} \\\
*** This bug has been marked as a duplicate of bug 652084 ***
(In reply to comment #9) > *** This bug has been marked as a duplicate of bug 652084 *** "You are not authorized to access bug #652084." Would be nice if you could fix that, so I can have a look at the other bug myself.
(In reply to comment #10) > (In reply to comment #9) > > *** This bug has been marked as a duplicate of bug 652084 *** > "You are not authorized to access bug #652084." > > Would be nice if you could fix that, so I can have a look at the other bug > myself. I still am not allowed to see that bugreport. Could you please change that?