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"
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?
Exact same problem here. It happened when doing an 'emerge -u --deep world'.
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).
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?
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?
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?
I have the same problem with tclx.
.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.
Created attachment 11299 [details, diff] tclx-8.3-r1.diff I am adding a patch to display proper warning message before update.
Because my CVS commit access was revoked, I am assigning the bug back to bug-wranglers (I cannot commit the fix).
I don't know why utx is missing his cvs-account, could you please check it and/or submit the fix?
AHH Thank you! That was my problem with tclx as well! SWEET.... I am COMPLETELY 100% updated again! WEE! :)
Warning message is now in repository. Not optimal, but working solution.