Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19913 - ERROR: dev-tcltk/tclx-8.3-r1 failed.
Summary: ERROR: dev-tcltk/tclx-8.3-r1 failed.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stanislav Brabec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-25 02:42 UTC by Tom Wesley
Modified: 2003-05-05 12:44 UTC (History)
2 users (show)

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


Attachments
tclx-8.3-r1.diff (tclx-8.3-r1.diff,1015 bytes, patch)
2003-04-29 12:46 UTC, Stanislav Brabec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wesley 2003-04-25 02:42:39 UTC
Compile fails here: 
 
/var/tmp/portage/tclx-8.3-r1/work/tclx8.3/unix/runtcl 
/var/tmp/portage/tclx-8.3-r1/work/tclx8.3/unix/tools/genindex.tcl tcl.tlib 
Error: version conflict for package "Tcl": have 8.4, need 8.3 
    (while initializing TclX) 
    while 
initializing application (Tcl_AppInit?) 
make[1]: *** [tcl.tndx] Error 255 
make[1]: Leaving directory `/var/tmp/portage/tclx-8.3-r1/work/tclx8.3/tcl/unix' 
make: *** [TCLX] Error 2 
 
!!! ERROR: dev-tcltk/tclx-8.3-r1 failed. 
!!! Function src_compile, Line 54, Exitcode 2 
 
 

Reproducible: Always
Steps to Reproduce:
I'm using "Emerge -uDp world" but I guess emerging any way. 
Actual Results:  
Output from above 


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r3 i686 AMD Athlon(tm) XP 1700+ 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo 
http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/texmf/tex/generic/config /usr/share/texmf/tex/platex/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses 
nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb 
slang readline arts tetex aalib bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam 
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 " 
CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 " 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Stanislav Brabec 2003-04-25 09:32:03 UTC
Strange. I am not able to repeat it. What version of tcl/tk have you already merged on your system? Cannot it be a result of bug 19877?
Comment 2 Nathan W. Labadie 2003-04-25 20:27:04 UTC
Exact same problem here. It happened when doing an 'emerge -u --deep world'.  
Comment 3 Stanislav Brabec 2003-04-27 14:46:23 UTC
If you are in state, when 8.3 is merged and in next cycle 8.4 goes to merge, please run "emerge -u --deep -p world" and let me know the output (the most interesting is probably first line after tcl, tk or tclx - i. e. package, which causes re-merging of old version).
Comment 4 Tom Wesley 2003-04-27 14:52:35 UTC
The current output of this command is: 
 
These are the packages that I would merge, in order: 
 
Calculating world dependencies ...done! 
[ebuild    U ] media-video/mplayer-0.90-r1 [0.90] 
[ebuild    U ] dev-tcltk/tclx-8.3-r1 [8.3] 
[ebuild    U ] app-editors/nano-1.2.1 [1.2.0] 
 
Is this what you meant?	 
Comment 5 Stanislav Brabec 2003-04-27 15:22:35 UTC
Yes it is.

I hope that you have now on your system tcl/tk 8.4 (can be verified by "ls -al /usr/lib/libtcl* /usr/lib/libtk*") and tcl/tk 8.3 is not going to go back. Does "ACCEPT_KEYWORDS='~x86' emerge tclx" still fail?
Comment 6 Tom Wesley 2003-04-27 17:04:59 UTC
OK, I'm bored with the bug now.  :-)  I have just: 
 
# emerge sync 
done 
 
# ACCEPT_KEYWORDS='~x86' emerge tclx -p 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild    U ] dev-tcltk/tclx-8.3-r1 [8.3] 
 
# ACCEPT_KEYWORDS='x86' emerge tclx -p 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild    U ] dev-tcltk/tclx-8.3-r1 [8.3] 
 
[tom@tawesley]~$ ls -al /usr/lib/libtcl* /usr/lib/libtk* 
lrwxrwxrwx    1 root     root           21 Apr 24 08:52 /usr/lib/libtcl.so -> 
/usr/lib/libtcl8.4.so* 
-r-xr-xr-x    1 root     root       772295 Apr 24 08:52 /usr/lib/libtcl8.4.so* 
lrwxrwxrwx    1 root     root           24 Apr 24 08:52 /usr/lib/libtclstub.a -> 
/usr/lib/libtclstub8.4.a 
-rw-r--r--    1 root     root         1832 Apr 24 08:52 /usr/lib/libtclstub8.4.a 
-rw-r--r--    1 root     root       229026 Mar 30 18:11 /usr/lib/libtclx.a 
lrwxrwxrwx    1 root     root           12 Mar 30 18:11 /usr/lib/libtclx.so -> libtclx.so.0* 
-rwxr-xr-x    1 root     root       195478 Mar 30 18:11 /usr/lib/libtclx.so.0* 
lrwxrwxrwx    1 root     root           20 Apr 24 08:56 /usr/lib/libtk.so -> 
/usr/lib/libtk8.4.so* 
-r-xr-xr-x    1 root     root       962279 Apr 24 08:56 /usr/lib/libtk8.4.so* 
lrwxrwxrwx    1 root     root           23 Apr 24 08:56 /usr/lib/libtkstub.a -> 
/usr/lib/libtkstub8.4.a 
-rw-r--r--    1 root     root         3520 Apr 24 08:56 /usr/lib/libtkstub8.4.a 
-rw-r--r--    1 root     root         5578 Mar 30 18:11 /usr/lib/libtkx.a 
lrwxrwxrwx    1 root     root           11 Mar 30 18:11 /usr/lib/libtkx.so -> libtkx.so.0* 
-rwxr-xr-x    1 root     root         9948 Mar 30 18:11 /usr/lib/libtkx.so.0* 
 
Both the upgrades above fail, complaining about: 
Error: version conflict for package "Tcl": have 8.4, need 8.3 
    (while initializing TclX) 
    while 
initializing application (Tcl_AppInit?) 
 
If tclx requires a higher version shouldn't the ebuild have that dependency? 
 
 
Comment 7 Sami Nieminen 2003-04-28 18:19:55 UTC
I have the same problem with tclx. 
Comment 8 Stanislav Brabec 2003-04-29 12:43:30 UTC
.Finally I am able to repeat it and fix.

I have tried to degrade before upgrade to be able to repeat this bug.
But I have failed to merge tclx-8.3 to tcl/tk-8.3 system. Seems to be
a problem of version change. Please try "emerge -C tclx" before update. Works for me.
Comment 9 Stanislav Brabec 2003-04-29 12:46:02 UTC
Created attachment 11299 [details, diff]
tclx-8.3-r1.diff

I am adding a patch to display proper warning message before update.
Comment 10 Stanislav Brabec 2003-04-30 04:01:06 UTC
Because my CVS commit access was revoked, I am assigning the bug back
to bug-wranglers (I cannot commit the fix).
Comment 11 Thomas Schuetz 2003-04-30 10:15:32 UTC
I don't know why utx is missing his cvs-account, could you please check it and/or submit the fix?
Comment 12 Jeff Stuart 2003-05-03 16:09:49 UTC
AHH Thank you!  That was my problem with tclx as well! SWEET.... I am COMPLETELY 100% updated again!  WEE! :)
Comment 13 Stanislav Brabec 2003-05-05 12:44:37 UTC
Warning message is now in repository. Not optimal, but working solution.