Created attachment 995287 [details] Fix for this bug Description of problem: The /usr/share/config.site script tries to detect when a prefix of /usr is used and fixes up some of the paths that autoconf uses by default. It gets this right when configure is called with the --prefix=/usr option, but fails when a package uses the following autoconf macro to change the default prefix: AC_PREFIX_DEFAULT(/usr) In that case, prefix is set to NONE and ac_default_prefix is set to /usr in /usr/share/config.site. Version-Release number of selected component (if applicable): autoconf-2.69-16.fc21.noarch How reproducible: Always Steps to Reproduce: Run ./configure in a package whose configure.ac contains "AC_PREFIX_DEFAULT(/usr)" and observe that libdir is set to "${exec_prefix}/lib" instead of "${exec_prefix}/lib64". If no such package is at hand, add "AC_PREFIX_DEFAULT(/usr)" to a random package and regenerate the configure script. Actual results: libdir set to "${exec_prefix}/lib" Expected results: libdir set to "${exec_prefix}/lib64" Additional info: It is extremely dumb of autoconf to require a complicated config.site script for such a common case.
Created attachment 995289 [details] /usr/local/share/config.site In addition, the /usr/share/config.site script is not used by autoconf for the default "/usr/local" prefix, so libdir is also set wrong in that case. As long as autoconf doesn't learn to set libdir correctly itself, the Fedora autoconf package should probably also include a /usr/local/share/config.site script similar to this attachment.
autoconf-2.69-17.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/autoconf-2.69-17.fc21
autoconf-2.69-17.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/autoconf-2.69-17.fc22
Package autoconf-2.69-17.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing autoconf-2.69-17.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2760/autoconf-2.69-17.fc22 then log in and leave karma (feedback).
autoconf-2.69-17.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
autoconf-2.69-17.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.