Bug 164351

Summary: spec file is missing BuildPrereq: gettext-devel
Product: Red Hat Enterprise Linux 4 Reporter: David Jao <djao>
Component: fetchmailAssignee: Miloslav Trmač <mitr>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-27 13:26:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Jao 2005-07-27 06:32:28 UTC
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:

+ make
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):
fetchmail-6.2.5-6.el4.2

How reproducible:
Always

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.



Additional info:

Comment 1 Miloslav Trmač 2005-07-27 13:26:49 UTC
Fixed in CVS, so this should not happen in future errata, if there will be any.

Thanks for your report.