Bug 428444

Summary: requirement script doesn't report that pam needs libtool
Product: [Fedora] Fedora Reporter: Josef Kubin <jkubin>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-14 10:42:22 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 Josef Kubin 2008-01-11 16:04:35 UTC
Description of problem:
$ cvs co pam
$ make sources
$ make prep
...
Patch #46 (pam-0.99.8.1-succif-in-operator.patch):
+ patch -p1 -b --suffix .in-operator -s
+ echo 'Patch #47 (pam-0.99.8.1-xauth-no-free.patch):'
Patch #47 (pam-0.99.8.1-xauth-no-free.patch):
+ patch -p1 -b --suffix .no-free -s
+ autoreconf
configure.in:58: error: possibly undefined macro: AC_ENABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:59: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:75: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
error: Bad exit status from /var/tmp/rpm-tmp.60730 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.60730 (%prep)
make: *** [prep] Error 1
$

Version-Release number of selected component (if applicable):
$ cat pam.spec
...
Name: pam
Version: 0.99.8.1
Release: 10%{?dist}
...

Comment 1 Tomas Mraz 2008-01-14 10:42:22 UTC
The make prep command unfortunately doesn't evaluate BuildRequires. If you'd
built the rpm through rpmbuild -bb pam.spec you'd see that libtool is required.