``emerge vkeybd-0.1.13-r1``, with tcl-8.3.4 installed, fails with the following during src_install (see actual results): this can be fixed by using this line instead in src_install (): make DESTDIR=${D} PREFIX=/usr TCL_VERSION=$TCL_VERSION \ install || die "Installation Failed" Reproducible: Always Steps to Reproduce: 1. have tcl-8.3.4 2. emerge vkeybd 3. Actual Results: gcc -o vkeybd vkb.o vkb_device.o oper_awe.o oper_midi.o oper_alsa.o -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lasound -lm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltk8.4 collect2: ld returned 1 exit status make: *** [vkeybd] Error 1 !!! ERROR: media-sound/vkeybd-0.1.13-r1 failed. !!! Function src_install, Line 48, Exitcode 2 !!! Installation Failed Expected Results: emerge vkeybd successfully!
This affects 0.13 and 0.15 actually; either way, commited a better (imo) method of pulling the tcl version; TCL_VERSION=`echo 'puts [info tclversion]' | tclsh` The actual breakage is due to the fact that the binaries aren't generated till install phase (upstream ought to adjust this), and TCL_VERSION wasn't being passed in for make install. Heh. Close #39119 along w/ the necessary adjustment to 0.13-r1 and 0.15 to fix 8.3/8.4 issues.
Err, forgot to state (bit obvious I suppose), but this has been commited to cvs.