media-sound/timidity++ is one more package which got broken by Tcl/Tk 8.6 tk_c.c:916:18: error: 'Tcl_Interp' has no member named 'result'
Created attachment 335254 [details] build.log
Created attachment 335272 [details, diff] Patch to fix break with tcl/tk 8.6
hfsutils has the same issue: https://bugs.gentoo.org/show_bug.cgi?id=451112 Adding #define USE_INTERP_RESULT 1 to config.h after it's done configuring appears to solve the issue. I attached a patch (pretty basic, but it works)
Confirmed here. I have the same problem
The patch didn't apply for me cleanly in post_src_prepare since config.h did not exist yet. Changing the patch to config.h.in however did the trick. Thanks!
Ohh, good point. I put it in the ebuild immediately after it was done configuring (although, I'm not sure if that would be the best place for it) I'm glad config.h.in works, though!
Created attachment 335446 [details, diff] Modified timidity-result patch This modification worked for me. It was applied at the end of src_prepare() Thank you for the tip.
(In reply to comment #7) > Created attachment 335446 [details, diff] [details, diff] > Modified timidity-result patch > > This modification worked for me. > It was applied at the end of src_prepare() > Thank you for the tip. well patch ed but i got this error and i have no clue how to solve :( de -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DAU_OSS -DAU_ALSA -DAU_NAS -DAU_JACK -DAU_AO -DAU_VORBIS -I/usr/include -I/usr/include -DAU_FLAC -DAU_SPEEX -march=corei7 -O2 -pipe -march=corei7 -O2 -pipe -pthread -c xaw_c.c In file included from ../timidity/readmidi.h:25:0, from tk_c.c:57: ../timidity/reverb.h:34:0: warning: "EXTERN" redefined [enabled by default] /usr/include/tcl.h:308:0: note: this is the location of the previous definition tk_c.c: In function ‘v_eval’: tk_c.c:916:18: error: ‘Tcl_Interp’ has no member named ‘result’ make[3]: *** [tk_c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/media-sound/timidity++-2.14.0/work/TiMidity++-2.14.0/interface' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/timidity++-2.14.0/work/TiMidity++-2.14.0/interface' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/timidity++-2.14.0/work/TiMidity++-2.14.0' make: *** [all] Error 2 * ERROR: media-sound/timidity++-2.14.0 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/timidity++-2.14.0'`, * the complete build log and the output of `emerge -pqv '=media-sound/timidity++-2.14.0'`. * The complete build log is located at '/var/tmp/portage/media-sound:timidity++-2.14.0:20130128-224413.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/timidity++-2.14.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/timidity++-2.14.0/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/timidity++-2.14.0/work/TiMidity++-2.14.0' * S: '/var/tmp/portage/media-sound/timidity++-2.14.0/work/TiMidity++-2.14.0'
Created attachment 337200 [details, diff] alternate patch for tcl/tk-8.6 The patch posted previously didn't work for me either. Furthermore it tries to use a deprecated feature. The alternate patch seems to be the right solution at least for Tcl/Tk 8.6 and upwards.
The alternative patch worked for me. Thank you
*** Bug 455398 has been marked as a duplicate of this bug. ***
*** Bug 456366 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > Created attachment 337200 [details, diff] [details, diff] > alternate patch for tcl/tk-8.6 > > The patch posted previously didn't work for me either. > Furthermore it tries to use a deprecated feature. thanks! everyone else too. > The alternate patch seems to be the right solution at least for > Tcl/Tk 8.6 and upwards. that is why I've revbumped to -r1 and set the dependency at least to last from 8.5 series, hope this is enough +*timidity++-2.14.0-r1 (10 Feb 2013) + + 10 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> + +timidity++-2.14.0-r1.ebuild, +files/timidity++-2.14.0-tcltk86.patch: + Fix compability with dev-lang/tk >= 8.6.0 wrt #451296 by Helmut Jarausch and + others