controls.h:146: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:147: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:148: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:149: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:150: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:151: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here xaw_c.c: In function `ctl_current_time': xaw_c.c:194: warning: unused variable `flags' xaw_c.c: In function `ctl_lyric': xaw_c.c:296: warning: unused variable `lyric' xaw_c.c:297: warning: unused variable `lyric_col' xaw_c.c:298: warning: unused variable `lyric_buf' xaw_c.c:294: warning: unused parameter `lyricid' xaw_c.c: In function `ctl_open': xaw_c.c:303: warning: unused parameter `using_stdin' xaw_c.c:303: warning: unused parameter `using_stdout' xaw_c.c: In function `ctl_file_name': xaw_c.c:383: warning: unused parameter `name' xaw_c.c: In function `ctl_pass_playing_list': xaw_c.c:616: warning: empty body in an if-statement xaw_c.c: At top level: xaw_c.c:749: warning: no previous prototype for `a_pipe_nread' xaw_c.c: In function `a_pipe_write_msg': xaw_c.c:761: warning: unused variable `p' xaw_c.c:761: warning: unused variable `q' xaw_c.c: In function `ctl_reset': xaw_c.c:883: warning: unused variable `bank' xaw_c.c: At top level: xaw_c.c:930: warning: no previous prototype for `interface_a_loader' xaw_c.c:295: warning: `ctl_lyric' defined but not used /bin/sh ../../libtool --silent --mode=link gcc -DDEFAULT_PATH=\"/usr/kde/3.1/share/apps/kmidi/config\" -DAU_OSS -DAU_ESD -DIA_NCURSES -DIA_SLANG -DIA_MOTIF -DTCLTK -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=i686 -O2 -pipe `/usr/kde/3.1/bin/artsc-config --libs` -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o hpux_d_a.o alsa_a.o arts_a.o bsd20_a.o esd_a.o nas_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lncurses -lslang -lXm -ltcl -ltk -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -lXaw -lXt -lX11 -L/usr/X11R6/lib -lkdefakes -lm -L/usr/lib -lesd -laudiofile -lm collect2: ld terminated with signal 11 [Segmentation fault] common.o(.text+0x2d2): In function `open_file': : warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead make[3]: *** [timidity] 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 all kde-3.1.4-r1 packages minus kdemultimedia-3.1.4-r1 2.kdemultimedia-3.1.4-r1 injected but not emerged 3.emerge kdemultimedia-3.1.4-r1 Actual Results: checking if mpg123_artsplugin should be compiled... no checking if oggvorbis_artsplugin should be compiled... no checking if xine_artsplugin should be compiled... yes checking if krec should be compiled... yes checking if noatun should be compiled... yes checking if mpeglib_artsplug should be compiled... yes configure: creating ./config.status Good - your configure finished. Start make now **** snip ***** controls.h:146: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:147: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:148: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:149: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:150: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here controls.h:151: warning: declaration of `channel' shadows a global declaration playmidi.h:218: warning: shadowed declaration is here xaw_c.c: In function `ctl_current_time': xaw_c.c:194: warning: unused variable `flags' xaw_c.c: In function `ctl_lyric': xaw_c.c:296: warning: unused variable `lyric' xaw_c.c:297: warning: unused variable `lyric_col' xaw_c.c:298: warning: unused variable `lyric_buf' xaw_c.c:294: warning: unused parameter `lyricid' xaw_c.c: In function `ctl_open': xaw_c.c:303: warning: unused parameter `using_stdin' xaw_c.c:303: warning: unused parameter `using_stdout' xaw_c.c: In function `ctl_file_name': xaw_c.c:383: warning: unused parameter `name' xaw_c.c: In function `ctl_pass_playing_list': xaw_c.c:616: warning: empty body in an if-statement xaw_c.c: At top level: xaw_c.c:749: warning: no previous prototype for `a_pipe_nread' xaw_c.c: In function `a_pipe_write_msg': xaw_c.c:761: warning: unused variable `p' xaw_c.c:761: warning: unused variable `q' xaw_c.c: In function `ctl_reset': xaw_c.c:883: warning: unused variable `bank' xaw_c.c: At top level: xaw_c.c:930: warning: no previous prototype for `interface_a_loader' xaw_c.c:295: warning: `ctl_lyric' defined but not used /bin/sh ../../libtool --silent --mode=link gcc -DDEFAULT_PATH=\"/usr/kde/3.1/share/apps/kmidi/config\" -DAU_OSS -DAU_ESD -DIA_NCURSES -DIA_SLANG -DIA_MOTIF -DTCLTK -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=i686 -O2 -pipe `/usr/kde/3.1/bin/artsc-config --libs` -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o hpux_d_a.o alsa_a.o arts_a.o bsd20_a.o esd_a.o nas_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lncurses -lslang -lXm -ltcl -ltk -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -lXaw -lXt -lX11 -L/usr/X11R6/lib -lkdefakes -lm -L/usr/lib -lesd -laudiofile -lm collect2: ld terminated with signal 11 [Segmentation fault] common.o(.text+0x2d2): In function `open_file': : warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead make[3]: *** [timidity] 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 Expected Results: compiled kdemultimedia-3.1.4-r1 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r1) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox noclean noauto keeptemp keepwork" 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="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline arts aalib bonobo svga ggi tcltk java guile mysql sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr X -alsa -nas esd motif slang tcltk oggvorbis cdr mysql"
local problem - try a new gcc and glibc, then retry with a more recent kde version.