Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76491 - dev-ada/cbind not able to compile due to "GCC no longer implements <varargs.h>"
Summary: dev-ada/cbind not able to compile due to "GCC no longer implements <varargs.h>"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 01:41 UTC by Gerrit
Modified: 2005-04-23 03:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerrit 2005-01-03 01:41:48 UTC
While trying to emerge dev-ada/cbind an error about the use of varargs.h occurs which is said to be no longer implemented in gcc


Reproducible: Always
Steps to Reproduce:
1. emerge dev-ada/cbind


Actual Results:  
>>> emerge (1 of 1) dev-ada/cbind-6 to /
>>> md5 src_uri ;-) cbind6.zip
>>> Unpacking source...
>>> Unpacking cbind6.zip to /var/tmp/portage/cbind-6/work
 * Applying cbind6.diff ...                                                    
                                                                               
                                              [ ok ]
>>> Source unpacked.
cc -g -DPUBLIC   -c -o htype.o htype.c
cc  htype.o  -o htype
./hostinfo hostinfo.h
a.out: Command not found.
cc -g -DPUBLIC   -c -o ada_name.o ada_name.c
cc -g -DPUBLIC   -c -o ada_perf.o ada_perf.c
cc -g -DPUBLIC   -c -o allocate.o allocate.c
cc -g -DPUBLIC   -c -o anonymous.o anonymous.c
cc -g -DPUBLIC   -c -o buffer.o buffer.c
cc -g -DPUBLIC   -c -o c_perf.o c_perf.c
cc -g -DPUBLIC   -c -o cbfe.o cbfe.c
cc -g -DPUBLIC   -c -o cbind.o cbind.c
cc -g -DPUBLIC   -c -o cbpp.o cbpp.c
cc -g -DPUBLIC   -c -o cdep.o cdep.c
cc -g -DPUBLIC   -c -o cpp.o cpp.c
cc -g -DPUBLIC   -c -o cpp_eval.o cpp_eval.c
cc -g -DPUBLIC   -c -o cpp_perf.o cpp_perf.c
cc -g -DPUBLIC   -c -o errors.o errors.c
In file included from errors.c:2:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/varargs.h:4:2: #error "GCC no
longer implements <varargs.h>."
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/varargs.h:5:2: #error "Revise
your code to use <stdarg.h>."
errors.c: In function `fatal':
errors.c:39: error: syntax error before "va_dcl"
errors.c:57: error: redeclaration of `l'
errors.c:38: error: `l' previously declared here
errors.c:58: error: syntax error before "va_dcl"
errors.c:75: error: redeclaration of `l'
errors.c:57: error: `l' previously declared here
errors.c:76: error: syntax error before "va_dcl"
errors.c:93: error: redeclaration of `l'
errors.c:75: error: `l' previously declared here
errors.c:94: error: syntax error before "va_dcl"
errors.c:110: error: redeclaration of `l'
errors.c:93: error: `l' previously declared here
errors.c:93: error: declaration for parameter `l' but no such parameter
errors.c:75: error: declaration for parameter `l' but no such parameter
errors.c:57: error: declaration for parameter `l' but no such parameter
errors.c:38: error: declaration for parameter `l' but no such parameter
errors.c:113: error: `msg' undeclared (first use in this function)
errors.c:113: error: (Each undeclared identifier is reported only once
errors.c:113: error: for each function it appears in.)
make: *** [errors.o] Error 1

!!! ERROR: dev-ada/cbind-6 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
emerge without errors

There seems to be a patch on the net already that solves some of the problems
but not all:

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2003-September/013501.html
Comment 1 David Holm (RETIRED) gentoo-dev 2005-04-23 03:24:30 UTC
Fixed in CVS.