Bug 72948

Summary: rpm Building problems on RH 6.2
Product: [Retired] Red Hat Linux Reporter: Zoltan Kota <zoltank>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-14 15:20:26 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 Zoltan Kota 2002-08-29 12:45:16 UTC
Description of Problem:

I tried to rebuild openssh-3.1p1-6 from the source rpm of RH 7.x. According to
the spec
file, there is an option to compile it on RH 6.x. (Anyway, with the previous
update it worked). 
The building process failes at 

auth2-pam.c: In function `input_userauth_info_response_pam':
auth2-pam.c:146: `__func__' undeclared (first use in this function)
auth2-pam.c:146: (Each undeclared identifier is reported only once
auth2-pam.c:146: for each function it appears in.)
make: *** [auth2-pam.o] Error 1

As I see the patch openssh-adv.iss.patch patches this file and introduce this
"__func__" stuff. 
I checked also the portable openssh source (3.4p1) from openssh.com. With rpm
-bc ... it was ok with auth2-pam.c. Maybe some stuff for this __func__  thing is
missing from the old source.
(e.g. during configure of 3.4p1 there is some checking for __func__
functionality of $cc.)


Version-Release number of selected component (if applicable):
openssh-3.1p1-6.src.rpm

How Reproducible:


Steps to Reproduce:
1. %define build6x 1 in spec file 
2.  rpm -bc openssh.spec
3. 

Actual Results:
make: *** [auth2-pam.o] Error 1

Expected Results:


Additional Information: