Bug 115185

Summary: setpgrp in sh.h vs unistd.h: Compile error
Product: [Fedora] Fedora Reporter: Ivan Gyurdiev <ivg231>
Component: tcshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Bill Huang <bhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 6.12.00-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-10 16:41:37 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 Ivan Gyurdiev 2004-02-08 09:28:53 UTC
tcsh-6.12-6.src.rpm

+ make all
grep 'ERR_' ./sh.err.c | grep '^#define' >> sh.err.h
gcc -E  -I. -I. -D_PATH_TCSHELL='"/bin/tcsh"'    -D_h_tc_const\
    ./tc.const.c | grep 'Char STR' | \
    sed -e 's/Char \([a-zA-Z0-9_]*\) *\[ *\].*/extern Char \1[];/' | \
    sort >> tc.const.h
gcc  -c -O2 -g -pipe -march=athlon               -I. -I.
-D_PATH_TCSHELL='"/bin/tcsh"'    sh.c
In file included from sh.c:34:
sh.h:477: error: conflicting types for `setpgrp'
/usr/include/unistd.h:587: error: previous declaration of `setpgrp'
make: *** [sh.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.7865 (%build)
  
  
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.7865 (%build)