Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23468 - emerge vkeybd with tcl-8.3.x fails due to variable not being passed to makefile
Summary: emerge vkeybd with tcl-8.3.x fails due to variable not being passed to makefile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stanislav Brabec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-25 09:49 UTC by Jonathan Kraut
Modified: 2004-02-01 03:59 UTC (History)
0 users

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 Jonathan Kraut 2003-06-25 09:49:00 UTC
``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!
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-02-01 03:57:06 UTC
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.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-02-01 03:59:15 UTC
Err, forgot to state (bit obvious I suppose), but this has been commited to cvs.