First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 42970
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Guy Martin <gmsoft@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
4.17.4-gcc3.patch Workaround for absence of varargs.h and clash with built-in function log() under gcc 3 patch Joe Khoobyar 2004-03-01 15:39 0000 2.08 KB Details | Diff
glimpse-4.17.4-r1.ebuild Ebuild to apply the gcc3 patch, and disable parallel makes text/plain Joe Khoobyar 2004-03-01 15:59 0000 836 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42970 depends on: Show dependency tree
Show dependency graph
Bug 42970 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-26 04:20 0000
<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.

------- Comment #1 From Joe Khoobyar 2004-03-01 15:33:01 0000 -------
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.

------- Comment #2 From Joe Khoobyar 2004-03-01 15:39:29 0000 -------
Created an attachment (id=26690) [edit]
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 #3 From Joe Khoobyar 2004-03-01 15:45:34 0000 -------
(From update of attachment 26690 [edit])
Have to rename this to work with epatch, whoops...

------- Comment #4 From Joe Khoobyar 2004-03-01 15:59:02 0000 -------
Created an attachment (id=26691) [edit]
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.

------- Comment #5 From SpanKY 2004-04-21 19:13:43 0000 -------
fixed in 4.17.4

thanks for the patch

First Last Prev Next    No search results available      Search page      Enter new bug