Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164649 - dev-lang/tk-8.4.9 - tkConfig.sh not being modified
Summary: dev-lang/tk-8.4.9 - tkConfig.sh not being modified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 150094
  Show dependency tree
 
Reported: 2007-01-31 03:41 UTC by Brian Atkinson
Modified: 2007-04-28 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ebuild for tk-8.4.9 (tk-8.4.9-r1.ebuild,3.12 KB, text/plain)
2007-01-31 04:09 UTC, Brian Atkinson
Details
The unified diff (tkConfig.txt,625 bytes, patch)
2007-01-31 17:57 UTC, Brian Atkinson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Atkinson 2007-01-31 03:41:43 UTC
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
Comment 1 Brian Atkinson 2007-01-31 04:09:41 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-31 08:07:22 UTC
Please, attach a unified diff. Makes reviewing the changes hell lot easier.
Comment 3 Brian Atkinson 2007-01-31 17:57:35 UTC
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 -
;)
Comment 4 Brian Atkinson 2007-02-09 01:47:25 UTC
Patch added so that this bug can be closed.
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-27 17:55:18 UTC
Fixed in cvs.