Red Hat Bugzilla – Bug 164351
spec file is missing BuildPrereq: gettext-devel
Last modified: 2007-11-30 17:07:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.10) Gecko/20050723 Red Hat/1.0.6-1.4.1 Firefox/1.0.6
Description of problem:
Any attempts to build the fetchmail-6.2.5-6.el4.2 package without the gettext-devel rpm installed results in the error:
cd . && /bin/sh /usr/src/redhat/BUILD/fetchmail-6.2.5/missing --run aclocal-1.6
aclocal: configure.in: 72: macro `AM_GNU_GETTEXT' not found in library
make: *** [aclocal.m4] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.44609 (%build)
The error goes away when the gettext-devel rpm is installed. Accordingly, the gettext-devel package should be listed as a BuildPrereq in the fetchmail.spec file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e gettext-devel
2. rpmbuild --rebuild fetchmail-6.2.5-6.el4.2.src.rpm
Actual Results: Assuming that all the other BuildPrereqs of fetchmail are installed on the system, rpmbuild begins building the package and fails with the error message above.
Expected Results: One normally expects rpmbuild to succeed if all the build prerequisites are satisfied. Either the build prerequisites must be expanded to include gettext-devel or the build process must be rearranged so that gettext-devel is not required.
Fixed in CVS, so this should not happen in future errata, if there will be any.
Thanks for your report.