<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>181526</bug_id>
          
          <creation_ts>2007-06-10 10:42 0000</creation_ts>
          <short_desc>media-gfx/graphviz -- compile broken (possibly) by Tcl/Tk-8.5</short_desc>
          <delta_ts>2007-12-29 09:13:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>173467</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mescalinum@gentoo.org</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          <cc>mescalinum@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2007-06-10 10:42:38 0000</bug_when>
            <thetext>[ebuild   R   ] media-gfx/graphviz-2.12  USE=&quot;X gnome gtk nls perl python tcl tk -doc -examples -pango -ruby&quot; 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=\&quot;tk\&quot; -DPACKAGE_TARNAME=\&quot;tk\&quot; -DPACKAGE_VERSION=\&quot;8.5\&quot; &quot;-DPACKAGE_STRING=\&quot;tk 8.5\&quot;&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -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 &quot;-DMODULE_SCOPE=extern __attribute__((__visibility__(\&quot;hidden\&quot;)))&quot; -DPEEK_XCLOSEIM=1 -DTCL_SHLIB_EXT=\&quot;.so\&quot; -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 &quot;-DTCL_WIDE_INT_TYPE=long long&quot; -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&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/tkspline&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12&apos;
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 &apos;src_compile&apos;
  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 &apos;/var/tmp/portage/media-gfx/graphviz-2.12/temp/build.log&apos;.



Reproducible: Always

Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2007-06-10 13:58:54 0000</bug_when>
            <thetext>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&apos;t know where to patch that (Makefile isn&apos;t the right place, uh?)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>argus.max@gmail.com</who>
            <bug_when>2007-07-12 10:04:03 0000</bug_when>
            <thetext>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&quot;import Tkinter&quot;) if this fails python&apos;s setup.py didn&apos;t find the said libraries. Im guessing it has something to do with them being renamed to (/usr/lib/libtcl.8.4g.so can&apos;t check my computer atm) instead of *8.4.so
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2007-07-12 22:30:12 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; This is where I got.
&gt; One has to have tcl and tk installed for python to make the _tkinter.so(I
&gt; think)
&gt; library. (Try python -c&quot;import Tkinter&quot;) if this fails python&apos;s setup.py didn&apos;t

$ python -c&apos;import Tkinter&apos; &amp;&amp; echo it works here
it works here

&gt; find the said libraries. Im guessing it has something to do with them being
&gt; renamed to (/usr/lib/libtcl.8.4g.so can&apos;t check my computer atm) instead of
&gt; *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 -&gt; libtcldot_builtin.so.0.0.0
lrwxrwxrwx 1 root     18 26 mar 05:40 /usr/lib/graphviz/tcl/libtcldot.so -&gt; libtcldot.so.0.0.0
lrwxrwxrwx 1 root     19 26 mar 05:40 /usr/lib/graphviz/tcl/libtclplan.so -&gt; 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 -&gt; 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&apos;t know what&apos;s going on; just I&apos;ll check wether if this it&apos;s going to happen on more machines.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2007-12-22 16:38:52 0000</bug_when>
            <thetext>is this still a problem with media-gfx/graphviz-2.16.1-r2 ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2007-12-22 22:09:37 0000</bug_when>
            <thetext>yes, same error.

I tried media-gfx/graphviz-2.16.1-r2 with dev-lang/tcl-8.5.0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2007-12-29 09:13:19 0000</bug_when>
            <thetext>I added a patch in media-gfx/graphviz-2.16.1-r2. Thanks for the report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>