Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18300 - dev-lang/tk-8.3.4 compilation fails
Summary: dev-lang/tk-8.3.4 compilation fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 11:07 UTC by Marc 'huz' REYNES
Modified: 2003-03-28 20:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 'huz' REYNES 2003-03-27 11:07:35 UTC
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=" 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/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
USE="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"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Marc 'huz' REYNES 2003-03-28 04:31:25 UTC
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/<your_tcl>/work
emerge tk
remove your tcl temporary build dir


The problem may come from the /usr/lib/tclConfig.sh 
 
Comment 2 Marc 'huz' REYNES 2003-03-28 14:43:02 UTC
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 ... 
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-28 18:41:57 UTC
what would you suggest?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-28 18:48:44 UTC
does -r1 sort you out?
Comment 5 Marc 'huz' REYNES 2003-03-28 19:42:04 UTC
sorry I am stupid ... classify this bug as invalid .. 

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

I'm so sorry ... 
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-28 20:13:04 UTC
closing