tk_c.c: In function `ctl_program': tk_c.c:315: warning: unused parameter `name' tk_c.c: In function `ctl_pitch_bend': tk_c.c:361: warning: unused parameter `ch' tk_c.c:361: warning: unused parameter `val' tk_c.c: In function `ctl_open': tk_c.c:391: warning: unused parameter `using_stdin' tk_c.c:391: warning: unused parameter `using_stdout' tk_c.c: At top level: tk_c.c:579: warning: `pipe_open' was used with no prototype before its definition tk_c.c: In function `pipe_open': tk_c.c:583: warning: passing arg 1 of `pipe_error' discards qualifiers from pointer target type tk_c.c:586: warning: passing arg 1 of `pipe_error' discards qualifiers from pointer target type tk_c.c: At top level: tk_c.c:616: warning: no previous prototype for `pipe_read_ready' tk_c.c: In function `pipe_gets': tk_c.c:677: warning: unused parameter `maxlen' tk_c.c: In function `get_child': tk_c.c:700: warning: unused parameter `sig' tk_c.c: In function `start_panel': tk_c.c:739: warning: assignment discards qualifiers from pointer target type tk_c.c:741: warning: assignment discards qualifiers from pointer target type tk_c.c:744: warning: assignment discards qualifiers from pointer target type tk_c.c:745: warning: assignment discards qualifiers from pointer target type tk_c.c: In function `AppInit': tk_c.c:773: warning: passing arg 2 of `Tcl_CreateCommand' discards qualifiers from pointer target type tk_c.c:775: warning: passing arg 2 of `Tcl_CreateCommand' discards qualifiers from pointer target type tk_c.c:777: warning: passing arg 2 of `Tcl_CreateCommand' discards qualifiers from pointer target type tk_c.c:779: warning: passing arg 2 of `Tcl_CreateCommand' discards qualifiers from pointer target type tk_c.c:781: warning: passing arg 2 of `Tcl_CreateCommand' discards qualifiers from pointer target type tk_c.c: In function `ExitAll': tk_c.c:785: warning: unused parameter `clientData' tk_c.c:785: warning: unused parameter `interp' tk_c.c:786: warning: unused parameter `argc' tk_c.c:786: warning: unused parameter `argv' tk_c.c: In function `TraceCreate': tk_c.c:826: warning: unused parameter `clientData' tk_c.c:826: warning: unused parameter `interp' tk_c.c:827: warning: unused parameter `argc' tk_c.c:827: warning: unused parameter `argv' tk_c.c: In function `TraceReset': tk_c.c:936: warning: unused parameter `clientData' tk_c.c:936: warning: unused parameter `interp' tk_c.c:937: warning: unused parameter `argc' tk_c.c:937: warning: unused parameter `argv' tk_c.c: In function `TraceUpdate': tk_c.c:991: warning: unused parameter `clientData' tk_c.c:991: warning: unused parameter `interp' tk_c.c:992: warning: unused parameter `argc' tk_c.c:992: warning: unused parameter `argv' make[3]: *** [tk_c.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kmidi/TIMIDITY' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kmidi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.1.4-r1 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1.emerge -kuv kde 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.21-0.13mdk) ================================================================= System uname: 2.4.21-0.13mdk i686 Intel(R) Celeron(TM) CPU 1300MHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.247.18/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga sdl gpm tcpd pam python esd imlib oggvorbis kde motif opengl cdr directfb xkb nas nojoystick aalib -alsa nvidia nv X gtk2 cjk qt guile tcltk ruby ruby18 maildir curl flash javascript fbcon xml acl odbc ssl samba gtk perl threads sse mmx tiff"
At first glance this is most likely a gcc 3.3 problem with this package. I would recommend you try this: export DO_NOT_COMPILE="kmidi" then re-emerge. That should fix this problem. I don't know if it will get fixed upstream or not as kmidi has been removed from the 3.2 series of KDE.
bug occured in chroot (MDK9.1) install cage only. works fine now.