First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 34936
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Greisberger Christophe <christophe@greisberger.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 34936 depends on: Show dependency tree
Show dependency graph
Bug 34936 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: 2003-12-02 16:09 0000
Error in the compilation. 
As shown in the log, "varargs.h" should be replaced with "stdarg.h" 
(well, I hope it's enough). 

Reproducible: Always
Steps to Reproduce:
1. emerge app-i18n/kcc 
2. 
3. 
Actual Results:  
root # emerge app-i18n/kcc 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-i18n/kcc-1.0 to / 
>>> md5 src_uri ;-) kcc.tar.gz 
>>> Unpacking source... 
>>> Unpacking kcc.tar.gz to /var/tmp/portage/kcc-1.0/work 
patching file Makefile 
>>> Source unpacked. 
gcc -O   -c -o kcc.o kcc.c 
In file included from kcc.c:367: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/varargs.h:4:2: #error "GCC no longer 
implements <varargs.h>." 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/varargs.h:5:2: #error "Revise your code 
to use <stdarg.h>." 
kcc.c:370: error: syntax error before "va_dcl" 
kcc.c:371: error: syntax error before '{' token 
kcc.c:374: warning: parameter names (without types) in function declaration 
kcc.c:374: warning: data definition has no type or storage class 
kcc.c:375: error: syntax error before string constant 
kcc.c:375: warning: conflicting types for built-in function `fprintf' 
kcc.c:375: warning: data definition has no type or storage class 
kcc.c:376: error: syntax error before '(' token 
kcc.c:376: error: syntax error before ')' token 
kcc.c:377: error: syntax error before '\xa' 
kcc.c:377: warning: data definition has no type or storage class 
kcc.c:378: warning: parameter names (without types) in function declaration 
kcc.c:378: warning: data definition has no type or storage class 
kcc.c:379: error: syntax error before numeric constant 
kcc.c:379: warning: data definition has no type or storage class 
make: *** [kcc.o] Error 1 
 
>>> Install kcc-1.0 into /var/tmp/portage/kcc-1.0/image/ category app-i18n 
make kcc 
make[1]: Entering directory `/var/tmp/portage/kcc-1.0/work/kcc' 
gcc -O   -c -o kcc.o kcc.c 
In file included from kcc.c:367: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/varargs.h:4:2: #error "GCC no longer 
implements <varargs.h>." 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/varargs.h:5:2: #error "Revise your code 
to use <stdarg.h>." 
kcc.c:370: error: syntax error before "va_dcl" 
kcc.c:371: error: syntax error before '{' token 
kcc.c:374: warning: parameter names (without types) in function declaration 
kcc.c:374: warning: data definition has no type or storage class 
kcc.c:375: error: syntax error before string constant 
kcc.c:375: warning: conflicting types for built-in function `fprintf' 
kcc.c:375: warning: data definition has no type or storage class 
kcc.c:376: error: syntax error before '(' token 
kcc.c:376: error: syntax error before ')' token 
kcc.c:377: error: syntax error before '\xa' 
kcc.c:377: warning: data definition has no type or storage class 
kcc.c:378: warning: parameter names (without types) in function declaration 
kcc.c:378: warning: data definition has no type or storage class 
kcc.c:379: error: syntax error before numeric constant 
kcc.c:379: warning: data definition has no type or storage class 
make[1]: *** [kcc.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kcc-1.0/work/kcc' 
make: *** [/var/tmp/portage/kcc-1.0/image//usr/bin/kcc] Error 2 
 
!!! ERROR: app-i18n/kcc-1.0 failed. 
!!! Function src_install, Line 32, Exitcode 2 
!!! installation failed 
 


root # emerge info 
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) 
================================================================= 
System uname: 2.4.22 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.3.12 
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops 
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups curl dga 
directfb doc dvb dvd encode fbcon foomaticdb freewnn gdbm ggi gif gphoto2 
gstreamer gtk guile imap imlib jack java joystick jpeg kde libg++ lirc mad maildir mbox 
mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pdflib perl png 
postgres prelude python qt quicktime readline samba scanner sdl slang slp spell sse 
ssl svga tcltk tcpd tetex tiff truetype unicode usb vim-with-x wmf x86 xinerama xml xml2 
xmms xv zlib"

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2003-12-03 02:32:16 0000 -------
app-i18n/kcc isn't KDE app but Japanese encodings converter.

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2004-01-07 01:49:39 0000 -------
It needed more than expected, but finally I fixed it. Thanks for
reporting. btw, I wonder why you wanted to try it. nkf and qkc are
more familiar encoding converters than kcc (to tell you the truth,
I had never known kcc before I saw this bug).

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