<?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>18300</bug_id>
          
          <creation_ts>2003-03-27 11:07 0000</creation_ts>
          <short_desc>dev-lang/tk-8.3.4 compilation fails</short_desc>
          <delta_ts>2003-03-28 20:13:04 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>Development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>marc.reynes@tuxfamily.org</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          <cc>marc.reynes@tuxfamily.org</cc>

      

      
          <long_desc isprivate="0">
            <who>marc.reynes@tuxfamily.org</who>
            <bug_when>2003-03-27 11:07:35 0000</bug_when>
            <thetext>Here is the error : 

creating Makefile
creating tkConfig.sh
gcc -pipe -c -march=pentium3 -O3 -pipe -Wall -Wconversion -Wno-implicit-int
-fPIC -I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix
-I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../generic
-I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../bitmaps
-I/tmp/portage/portage/tcl-8.3.4/work/tcl8.3.4/generic -I/usr/X11R6/include
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../generic/tk3d.c
gcc -pipe -c -march=pentium3 -O3 -pipe -Wall -Wconversion -Wno-implicit-int
-fPIC -I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix
-I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../generic
-I/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../bitmaps
-I/tmp/portage/portage/tcl-8.3.4/work/tcl8.3.4/generic -I/usr/X11R6/include
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/../generic/tkArgv.c
In file included from
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tkPort.h:32,
                 from
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tkArgv.c:16:
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/tkUnixPort.h:222:20: tclInt.h:
No such file or directory
In file included from
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tkPort.h:32,
                 from /tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tkInt.h:27,
                 from /tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tk3d.h:18,
                 from /tmp/portage/portage/tk-8.3.4/work/tk8.3.4/generic/tk3d.c:16:
/tmp/portage/portage/tk-8.3.4/work/tk8.3.4/unix/tkUnixPort.h:222:20: tclInt.h:
No such file or directory
make: *** [tkArgv.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [tk3d.o] Error 1

!!! ERROR: dev-lang/tk-8.3.4 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
GENTOO_MIRRORS=&quot; http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/tmp/portage/&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;libg++ nls gdbm slang gpm esd motif 3dnow aalib alsa apm -arts -atlas -avi
berkdb -bonobo cdr crypt cups dga directfb dvd encode ethereal fbcon flash gd
gif gtk gtk2 gtkhtml guile imap imlib innodb ipv6 java jpeg libwww maildir mbox
mikmod mmx mozilla mpeg mysql ncurses oggvorbis opengl oss pam pcmcia pdflib
perl png pnp python qt quicktime readline samba sasl sdl slp snmp spell sse ssl
svga tcltk tcpd tetex tiff truetype trusted usb wmf X xface xml2 xmms xv zeo
zlib x86 -gnome -kde&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium3 -O3 -pipe&quot;
CXXFLAGS=&quot;-O2 -mcpu=i686 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marc.reynes@tuxfamily.org</who>
            <bug_when>2003-03-28 04:31:25 0000</bug_when>
            <thetext>I found a work around to this problem :
emerge tcl and stop it during the configure to keet the sources in your /var/tmp/portage/&lt;your_tcl&gt;/work
emerge tk
remove your tcl temporary build dir


The problem may come from the /usr/lib/tclConfig.sh 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marc.reynes@tuxfamily.org</who>
            <bug_when>2003-03-28 14:43:02 0000</bug_when>
            <thetext>ok, the error comes from the fact i overwrite PORTAGE_TMPDIR to /tmp/protage.
The sed script involved in the ebuild handles that very badly ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2003-03-28 18:41:57 0000</bug_when>
            <thetext>what would you suggest?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2003-03-28 18:48:44 0000</bug_when>
            <thetext>does -r1 sort you out?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marc.reynes@tuxfamily.org</who>
            <bug_when>2003-03-28 19:42:04 0000</bug_when>
            <thetext>sorry I am stupid ... classify this bug as invalid .. 

&gt; what would you suggest?
Insist more on *** DO NOT INCLUDE A TRAILING &quot;/&quot; *** in the preambule of the Portage directories of make.conf ? 
look at my emerge info output :  PORTAGE_TMPDIR=&quot;/tmp/portage/&quot;

I&apos;m so sorry ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2003-03-28 20:13:04 0000</bug_when>
            <thetext>closing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>