Bug 164351 - spec file is missing BuildPrereq: gettext-devel
Summary: spec file is missing BuildPrereq: gettext-devel
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: fetchmail
Version: 4.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Miloslav Trmač
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-27 06:32 UTC by David Jao
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-07-27 13:26:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.