revdep-rebuilds needs to reinstall this package after upgrade of tcl-tk * broken /usr/bin/bltsh (requires libtcl8.4.so) * broken /usr/bin/bltsh24 (requires libtcl8.4.so) * broken /usr/bin/bltwish (requires libtcl8.4.so) * broken /usr/bin/bltwish24 (requires libtcl8.4.so) Reproducible: Always Steps to Reproduce: 1. emerge dev-tcltk/blt 2. 3. Actual Results: emerge -av1 dev-tcltk/blt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-tcltk/blt-2.4z-r2 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-tcltk/blt-2.4z-r2 to / * BLT2.4z.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking BLT2.4z.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking BLT2.4z.tar.gz to /var/tmp/portage/dev-tcltk/blt-2.4z-r2/work * Applying blt2.4z-install.diff ... [ ok ] * Applying blt2.4z-64bit.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-tcltk/blt-2.4z-r2/work/blt2.4z ... /var/tmp/portage/dev-tcltk/blt-2.4z-r2/temp/environment: line 2624: tc-getCFLAGS: command not found * econf: updating blt2.4z/cf/config.guess with /usr/share/gnuconfig/config.guess * econf: updating blt2.4z/cf/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-blt=/usr/lib64 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking which C compiler... x86_64-pc-linux-gnu-gcc checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking if C compiler is really gcc... yes checking default compiler flags... -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -fPIC checking for Cygwin environment... no checking for mawk... no checking for gawk... gawk checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for main in -lsocket... no checking for main in -lnsl... yes checking for main in -lm... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for inttypes.h... yes checking for limits.h... yes checking for sys/param.h... yes checking for string.h... yes checking for ctype.h... yes checking for errno.h... yes checking for float.h... yes checking for math.h... yes checking for ieeefp.h... no checking for sys/time.h... yes checking for waitflags.h... no checking for sys/wait.h... (cached) yes checking for malloc.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stdlib.h... yes checking for unistd.h... yes checking for size_t... yes checking for pid_t... yes checking whether union wait is defined correctly... yes checking whether byte ordering is bigendian... no checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void *... 8 checking for strdup... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for drand48... yes checking for srand48... yes checking for finite... yes checking for isnan... yes checking for isfinite... no checking whether DBL_EPSILON is defined in float.h... yes checking whether declaration is needed for strdup... no checking whether declaration is needed for drand48... no checking whether declaration is needed for srand48... no checking whether declaration is needed for j1... no checking for X... libraries /usr/lib64, headers checking for tclConfig.sh... /usr/lib/tclConfig.sh checking for tkConfig.sh... /usr/lib/tkConfig.sh checking for XExtendedMaxRequestSize... yes checking BLT_MAJOR_VERSION... 2 checking BLT_MINOR_VERSION... 4 checking TCL_VERSION in tcl.h... 8.5 checking TK_VERSION in tk.h... 8.5 Configuration results: tcl.h found in /usr/include tk.h found in /usr/include X11/Xlib.h found in libtcl8.5 found in /usr/lib libtk8.5 found in /usr/lib libX11 found in /usr/lib64 Directories where BLT is to be installed: "$prefix" is /usr "$exec_prefix" is /usr bltwish to be installed in ${exec_prefix}/bin libBLT.a to be installed in /usr/lib64 scripts to be installed in /usr/lib64/blt2.4 manual pages to be installed in /usr/share/man creating ./config.status creating Makefile creating src/Makefile creating src/bltHash.h creating src/shared/Makefile creating man/Makefile creating library/Makefile creating demos/Makefile creating src/bltConfig.h (cd src; make all) make[1]: Entering directory `/var/tmp/portage/dev-tcltk/blt-2.4z-r2/work/blt2.4z/src' x86_64-pc-linux-gnu-gcc -c -Wall -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -fPIC -I. -I. bltAlloc.c In file included from bltInt.h:81, from bltAlloc.c:2: bltNsUtil.h:50: error: conflicting types for 'Tcl_FindCommand' /usr/include/tclDecls.h:3125: error: previous declaration of 'Tcl_FindCommand' was here bltNsUtil.h:67: error: conflicting types for 'Tcl_CreateNamespace' /usr/include/tclDecls.h:3070: error: previous declaration of 'Tcl_CreateNamespace' was here bltNsUtil.h:72: error: conflicting types for 'Tcl_FindNamespace' /usr/include/tclDecls.h:3118: error: previous declaration of 'Tcl_FindNamespace' was here bltNsUtil.h:75: error: conflicting types for 'Tcl_Export' /usr/include/tclDecls.h:3088: error: previous declaration of 'Tcl_Export' was here make[1]: *** [bltAlloc.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-tcltk/blt-2.4z-r2/work/blt2.4z/src' make: *** [all] Error 2 * * ERROR: dev-tcltk/blt-2.4z-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2420: Called die * The specific snippet of code: * emake -j1 || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/blt-2.4z-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/blt-2.4z-r2/temp/environment'. * Expected Results: compile and install # emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-zen1 x86_64) ================================================================= System uname: 2.6.24-zen1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Timestamp of tree: Sat, 08 Mar 2008 12:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.bytemark.co.uk/gentoo/" LANG="C" LC_ALL="C" LDFLAGS="-Wl,--as-needed" LINGUAS="en en_GB nl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/einit /usr/portage/local/layman/initng /usr/portage/local/layman/arcon /usr/portage/local/layman/science /usr/local/portage /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/einit /usr/portage/local/layman/initng /usr/portage/local/layman/arcon /usr/portage/local/layman/science" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bluetooth branding browser bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus directfb divx dts dvd dvdnav dvdr dvdread eds emboss emerald enchant encode equalizer esd evo exif extrafilters fam fbcon fbcondecor ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gimp gksu glitz gmedia gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv id3tag imap imlib irmc isdnlog jack java javascript jbig jpeg jpeg2k ladcca lcms libnotify libsexy libwww lm_sensors logrotate mad mdnsresponder-compat midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mpeg mplayer mplayer-bin mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ogg opengl openmp oss pam paste64 pcre pda pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp sdl sdl-image sensord session skins smp sms sounds spell spl srt sse sse2 ssl subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff tk totem tracker trayicon truetype twolame um unicode unsupported upnp usb userlocales userpriv vorbis winbind wma wmf wmp wxwindows x264 xcb xcomposite xml xorg xosd xprint xrandr xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="directory lg_gsm" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 145584 [details, diff] blt-2.4z-tcl8.5-fix.patch This patch is being used in mandriva for fixing this
(In reply to comment #1) > Created an attachment (id=145584) [edit] > blt-2.4z-tcl8.5-fix.patch > > This patch is being used in mandriva for fixing this It compiles but look at this: trillian ~ # tclsh % package require BLT version conflict for package "Tcl": have 8.5.1, need exactly 8.5 So every time you use 'package require BLT' to test for BLT's presence and load the library, it fails. No idea where that comes from. Denis.
Created attachment 154647 [details, diff] blt-2.4z-tcl8.5-fixpkgruntime.patch for fixing the package require issue on Tcl/Tk 8.5.x
Created attachment 154649 [details] ebuild using the new patches
please try my attached fixes on Tcl/Tk 8.4 I tried here, and both compiles and works at runtime: $ tclsh % package require BLT 2.4 % puts $tcl_patchLevel 8.5.1 %
btw, BLT has some issues (i.e. crashes) with the Blt_ZoomStack, if Tk is compiled with xft (truetype USE flag) enabled [note for me: need to contact either jdc or rmax on #tcl in order to get a testcase and check]
MEMO: http://wiki.tcl.tk/3660#pagetoc67120067
blt-2.4z-r4 in CVS. please test, as now it's using a fork from jdc
patch blt-2.4z-tcl8.5-fixpkgruntime.patch is missing in portage
sorry, I forgot to commit blt-2.4z-tcl8.5-fixpkgruntime.patch re-sync in a few hours and you'll be ok (or reopen this bug)