Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699262 - dev-tcltk/tdom-0.9.1 installs tcl files directly into /usr/lib64 and fails to load ("can't find package tdom")
Summary: dev-tcltk/tdom-0.9.1 installs tcl files directly into /usr/lib64 and fails to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-03 23:45 UTC by Alexander Miller
Modified: 2019-11-04 08:12 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 Alexander Miller 2019-11-03 23:45:27 UTC
$ tclsh <<< 'package require tdom'
can't find package tdom

Bummer. What's installed anyway?

$ equery l tdom
 * Searching for tdom ...
[IP-] [  ] dev-tcltk/tdom-0.9.1:0

$ qlist dev-tcltk/tdom | grep lib
/usr/lib64/libtdom0.9.1.so
/usr/lib64/tdomConfig.sh
/usr/lib64/tdom.tcl
/usr/lib64/tdomhtml0.1.0/tdomhtml.tcl
/usr/lib64/tdomhtml0.1.0/pkgIndex.tcl
/usr/lib64/libtnc0.3.0.so
/usr/lib64/pkgIndex.tcl

That looks fishy. /usr/lib64/pkgIndex.tcl, really? Obviusly that should go into a subdirectory, and tdom.tcl, too.

Let's compare with the previous version 0.8.3-r4. There we had:
/usr/lib64/tnc0.3.0/pkgIndex.tcl
/usr/lib64/tdomhtml0.1.0/tdomhtml.tcl
/usr/lib64/tdomhtml0.1.0/pkgIndex.tcl
/usr/lib64/tdomConfig.sh
/usr/lib64/tdom0.8.3/tdom.tcl
/usr/lib64/tdom0.8.3/pkgIndex.tcl
/usr/lib64/libtnc0.3.0.so
/usr/lib64/libtdom0.8.3.so
That looks much saner (and it worked). Also note that there are 3 pkdIndex.tcl files, and in version 0.9.1 one of them seems to get overwritten.

The installation path of the tcl files needs to be fixed.
Comment 1 Larry the Git Cow gentoo-dev 2019-11-04 08:12:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf3dc8251e79a674c8fc399004d05611f4508b3

commit 6bf3dc8251e79a674c8fc399004d05611f4508b3
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2019-11-04 08:11:56 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2019-11-04 08:11:56 +0000

    dev-tcltk/tdom: fix installation
    
    Closes: https://bugs.gentoo.org/699262
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tdom/files/tdom-0.9.1-tnc.patch | 55 -----------------------------
 dev-tcltk/tdom/files/tdom-0.9.1.patch     | 58 -------------------------------
 dev-tcltk/tdom/tdom-0.9.1.ebuild          |  6 ----
 3 files changed, 119 deletions(-)