| Summary: | glimpse does not merge anymore because of newer gcc which doesn't support varargs.h | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Guy Martin (RETIRED) <gmsoft> |
| Component: | Current packages | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | joe |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Workaround for absence of varargs.h and clash with built-in function log() under gcc 3
Ebuild to apply the gcc3 patch, and disable parallel makes |
||
Same problem here, on x86. Here's a proposed patch to fix the problem. Joe Khoobyar http://ankhcraft.com <joe@ankhcraft.com> By the way, here's a shameless plug: Check out http://freshmeat.net/projects/vim4j This is new fork of Vim4J with a Java AWT GUI that integrates with Vim's gui subsystem via JNI and the mail goal is integration with Eclipse (and other Java-based IDE's) as an editor plugin. Created attachment 26690 [details, diff]
Workaround for absence of varargs.h and clash with built-in function log() under gcc 3
Workaround for absence of varargs.h and clash with built-in function log()
under gcc 3.
A very brief patch, and should work on any arch.
Comment on attachment 26690 [details, diff]
Workaround for absence of varargs.h and clash with built-in function log() under gcc 3
Have to rename this to work with epatch, whoops...
Created attachment 26691 [details]
Ebuild to apply the gcc3 patch, and disable parallel makes
Ebuild to apply the gcc3 patch, and disable parallel makes.
Parallel make seems to break builds for glimpse-4.17.4, and the make will
simply fail silently, while emerge will fail with an error message.
fixed in 4.17.4 thanks for the patch |
<snip> In file included from log.c:61: /usr/lib/gcc-lib/hppa-unknown-linux-gnu/3.3.2/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc-lib/hppa-unknown-linux-gnu/3.3.2/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>." In file included from log.c:63: ../include/util.h:102: warning: conflicting types for built-in function `log' log.c:133: error: parse error before "va_dcl" log.c:134: error: syntax error before '{' token log.c:138: error: parse error before "if" log.c:141: warning: parameter names (without types) in function declaration log.c:141: warning: data definition has no type or storage class log.c:142: error: conflicting types for `fmt' <snip> gcc -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -ldl -ldl make[1]: Leaving directory `/var/tmp/portage/glimpse-4.17.4/work/glimpse-4.17.4/index' make[1]: Entering directory `/var/tmp/portage/glimpse-4.17.4/work/glimpse-4.17.4/dynfilters' flex -F -8 htuml2txt.lex gcc -O3 -fomit-frame-pointer -c lex.yy.c gcc -o htuml2txt lex.yy.o -lfl make[1]: Leaving directory `/var/tmp/portage/glimpse-4.17.4/work/glimpse-4.17.4/dynfilters' !!! ERROR: app-misc/glimpse-4.17.4 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) ok this is on hppa but it's the same for x86. lanius told me to assign this to you. perhaps more apps breaks.