$ 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.
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(-)