Bug 164351 - spec file is missing BuildPrereq: gettext-devel
spec file is missing BuildPrereq: gettext-devel
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: fetchmail (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2005-07-27 02:32 EDT by David Jao
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-27 09:26:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Jao 2005-07-27 02:32:28 EDT
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):

How reproducible:

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 09:26:49 EDT
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.