[ebuild R ] media-gfx/graphviz-2.12 USE="X gnome gtk nls perl python tcl tk -doc -examples -pango -ruby" 0 kB ... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/tk8.5/include/generic -I/usr/lib/tcl8.5/include/generic -I/usr/lib/tcl8.5/include/generic -I/usr/lib/tk8.5/include/generic -I../../tclpkg/tkstubs -DUSE_TCL_STUBS -DUSE_TK_STUBS -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" "-DPACKAGE_STRING=\"tk 8.5\"" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 "-DMODULE_SCOPE=extern __attribute__((__visibility__(\"hidden\")))" -DPEEK_XCLOSEIM=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 "-DTCL_WIDE_INT_TYPE=long long" -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 -UPACKAGE_NAME -UPACKAGE_STRING -UPACKAGE_TARNAME -UPACKAGE_VERSION -O2 -pipe -fomit-frame-pointer -march=athlon-xp -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT tkspline.lo -MD -MP -MF .deps/tkspline.Tpo -c tkspline.c -fPIC -DPIC -o .libs/tkspline.o In file included from /usr/lib/tk8.5/include/generic/tkInt.h:27, from tkspline.c:22: /usr/lib/tk8.5/include/generic/tkPort.h:32:25: error: tkUnixPort.h: No such file or directory make[4]: *** [tkspline.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/tkspline' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/tkspline' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-2.12 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile graphviz-2.12.ebuild, line 157: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-gfx/graphviz-2.12/temp/build.log'. Reproducible: Always Steps to Reproduce:
oh, and I can spot you the source of error: it should be added -I/usr/lib/tk8.5/include/unix in addition to -I/usr/lib/tk8.5/include/generic to CFLAGS, but I don't know where to patch that (Makefile isn't the right place, uh?)
This is where I got. One has to have tcl and tk installed for python to make the _tkinter.so(I think) library. (Try python -c"import Tkinter") if this fails python's setup.py didn't find the said libraries. Im guessing it has something to do with them being renamed to (/usr/lib/libtcl.8.4g.so can't check my computer atm) instead of *8.4.so
(In reply to comment #2) > This is where I got. > One has to have tcl and tk installed for python to make the _tkinter.so(I > think) > library. (Try python -c"import Tkinter") if this fails python's setup.py didn't $ python -c'import Tkinter' && echo it works here it works here > find the said libraries. Im guessing it has something to do with them being > renamed to (/usr/lib/libtcl.8.4g.so can't check my computer atm) instead of > *8.4.so $ locate libtcl | grep \\.so\$ | xargs ls -o lrwxrwxrwx 1 root 26 26 mar 05:40 /usr/lib/graphviz/tcl/libtcldot_builtin.so -> libtcldot_builtin.so.0.0.0 lrwxrwxrwx 1 root 18 26 mar 05:40 /usr/lib/graphviz/tcl/libtcldot.so -> libtcldot.so.0.0.0 lrwxrwxrwx 1 root 19 26 mar 05:40 /usr/lib/graphviz/tcl/libtclplan.so -> libtclplan.so.0.0.0 -r-xr-xr-x 1 root 958112 27 mag 14:07 /usr/lib/libtcl8.5.so lrwxrwxrwx 1 root 12 27 mag 14:07 /usr/lib/libtcl.so -> libtcl8.5.so (graphviz-related libs are from previous emerge, against tcl/tk-8.4) It seems this is not the case you reported, BlGene. Actually I don't know what's going on; just I'll check wether if this it's going to happen on more machines.
is this still a problem with media-gfx/graphviz-2.16.1-r2 ?
yes, same error. I tried media-gfx/graphviz-2.16.1-r2 with dev-lang/tcl-8.5.0
I added a patch in media-gfx/graphviz-2.16.1-r2. Thanks for the report.