Inside the ebuild under the src_install function the lines: sed -i \ -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \ -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \ -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \ -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \ ${D}/usr/lib/tkConfig.sh Does not happen and it dies silently (without 'die'ing). This inhibits tix from being installed. This happens because on the amd64 platform the tkConfig.sh is placed in: /usr/lib64/ The error (hidden in the output) is: sed: can't read /var/tmp/portage/tk-8.4.9/image//usr/lib/tkConfig.sh: No such file or directory Reproducible: Always
Created attachment 108716 [details] Fixed ebuild for tk-8.4.9 The file is the tk-8.4.9 ebuild modified to fix the sed problem.
Please, attach a unified diff. Makes reviewing the changes hell lot easier.
Created attachment 108782 [details, diff] The unified diff A simple: wget -O - http://bugs.gentoo.org/attachment.cgi?id=108716 | diff -u /usr/portage/dev-lang/tk/tk-8.4.9.ebuild - ;)
Patch added so that this bug can be closed.
Fixed in cvs.