Created attachment 335604 [details] failed build log Build fails with: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -W -Wno-unused-parameter -Wno-unused-function -DDD_DEBUG -I../include -I../spice ../tcl/tclwrap.c -o obj/tclwrap.o ../tcl/tclwrap.c: In function ‘tcRunScript’: ../tcl/tclwrap.c:49:16: error: ‘Tcl_Interp’ has no member named ‘errorLine’ ../tcl/tclwrap.c:49:35: error: ‘Tcl_Interp’ has no member named ‘result’ ../tcl/tclwrap.c: In function ‘tcRunInterpreter’: ../tcl/tclwrap.c:78:42: error: ‘Tcl_Interp’ has no member named ‘result’ make: *** [obj/tclwrap.o] Error 1 make: *** Waiting for unfinished jobs.... A workaround is to append "-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT" to CFLAGS, which changes the errors to deprecation warnings and lets the package build: ../tcl/tclwrap.c: In function ‘tcRunScript’: ../tcl/tclwrap.c:49:10: warning: ‘errorLine’ is deprecated (declared at /usr/include/tcl.h:524) [-Wdeprecated-declarations] ../tcl/tclwrap.c:49:10: warning: ‘result’ is deprecated (declared at /usr/include/tcl.h:507) [-Wdeprecated-declarations] ../tcl/tclwrap.c: In function ‘tcRunInterpreter’: ../tcl/tclwrap.c:78:9: warning: ‘result’ is deprecated (declared at /usr/include/tcl.h:507) [-Wdeprecated-declarations]
I have the same error.
Created attachment 339952 [details] gnetman-0.0.1_pre20110124.ebuild I can install sci-electronics/gnetman-0.0.1_pre2011012 with the attached ebuild.
Created attachment 339958 [details] tcl-8.6.patch Patch file to emerge gnetman-0.0.1_pre20110124 with tcl-8.6
(In reply to Juergen Rose from comment #3) > Created attachment 339958 [details] > tcl-8.6.patch > > Patch file to emerge gnetman-0.0.1_pre20110124 with tcl-8.6 It work fine for me on ~amd64. Thank you!
The ebuild above works here, too, with tcl-8.6. Any chances to include this patch in the official portage???
Getting the same error still with sci-electronics/gnetman-0.0.1_pre20110124 and dev-lang/tcl-8.6.1-r1:0/8.6 USE="threads -debug" on gentoo 64bits
Recently, tcl has been slotted. I now have both tcl-8.5 and tcl-8.6 installed, but the tclsh symlink still points to 8.6, so I still run in to this issue lrwxrwxrwx 1 root root 8 Mar 21 13:48 /usr/bin/tclsh -> tclsh8.6 I am not sure how this should be handled properly. Patch gnetman to run tclsh8.5?
@tcltk, can you advise on the best solution here?
(In reply to Michał Górny from comment #8) > @tcltk, can you advise on the best solution here? The 8.5 SLOT is only meant for binary packages. Every other package should depend on SLOT=0
(In reply to Juergen Rose from comment #3) > Created attachment 339958 [details] > tcl-8.6.patch > > Patch file to emerge gnetman-0.0.1_pre20110124 with tcl-8.6 This patch looks good.
+ 06 Apr 2015; Michał Górny <mgorny@gentoo.org> + +files/gnetman-0.0.1_pre20110124-tcl86.patch, + -gnetman-0.0.1_pre20041222.ebuild, -gnetman-0.0.1_pre20060522-r2.ebuild, + gnetman-0.0.1_pre20110124.ebuild: + Fix build with tcl-8.6, bug #452034. Drop old.