Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130469

Summary: media-gfx/transfig-3.2.4-r1 fails to compile with GCC 4.1
Product: Gentoo Linux Reporter: Tiago Freire <tiago.freire>
Component: [OLD] GCC PortingAssignee: Philip Walls (RETIRED) <malverian>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Tiago Freire 2006-04-19 06:13:02 UTC
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing    -I..  -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE                           -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                            -DFUNCPROTO=15 -DNARROWPROTO      -DNFSS -DUSE_INLINE  -DI18N  -DUSE_PNG -DUSE_XPM -I/usr/include/libpng -I/usr/include/X11    -c -o psfonts.o psfonts.c
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing    -I..  -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                               -D_POSIX_SOURCE -D_XOPEN_SOURCE                           -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                     -DFUNCPROTO=15 -DNARROWPROTO      -DNFSS -DUSE_INLINE         -DI18N  -DUSE_PNG -DUSE_XPM -I/usr/include/libpng -I/usr/include/X11    fig2dev.c
In file included from fig2dev.h:25,
                 from fig2dev.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from fig2dev.h:25,
                 from psfonts.c:22:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
make[1]: *** [psfonts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [fig2dev.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/transfig-3.2.4-r1/work/transfig.3.2.4/fig2dev'
make: *** [all] Error 2

!!! ERROR: media-gfx/transfig-3.2.4-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  transfig-3.2.4-r1.ebuild, line 43:   Called die
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-04-25 15:59:14 UTC
This has been fixed in -r2. See bug #110948.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-05-01 15:59:10 UTC

*** This bug has been marked as a duplicate of 110948 ***