Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892029 - dev-lang/tcl: installed tclConfig.sh has braces in TCL_PACKAGE_PATH, breaks packages (was: app-accessibility/brltty-6.5 silently fails to install bindings for tcl)
Summary: dev-lang/tcl: installed tclConfig.sh has braces in TCL_PACKAGE_PATH, breaks p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: TCL/TK Project
URL: https://core.tcl-lang.org/tcltls/tktv...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-25 19:39 UTC by alfr0451
Modified: 2023-01-26 04:40 UTC (History)
2 users (show)

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


Attachments
emerge --info (einfo-brltty,11.13 KB, text/plain)
2023-01-25 19:40 UTC, alfr0451
Details
build.log (brltty-6.5:20230120-220344.log,318.20 KB, text/x-log)
2023-01-25 19:41 UTC, alfr0451
Details
ls -aR of /var/tmp/portage/app-accessibility/brltty-6.5 (brltty-lsa-R,368 bytes, text/plain)
2023-01-25 19:42 UTC, alfr0451
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alfr0451 2023-01-25 19:39:43 UTC
Install phase doesn't properly put all files into ${D}, see lines 751 and 1807 of the build log.


Reproducible: Always

Steps to Reproduce:
emerge =app-accessibility/brltty-6.5
Actual Results:  
Missing files.

Expected Results:  
Files installed and not leftovers in $PORTAGE_TMPDIR.
Comment 1 alfr0451 2023-01-25 19:40:46 UTC
Created attachment 849201 [details]
emerge --info
Comment 2 alfr0451 2023-01-25 19:41:30 UTC
Created attachment 849203 [details]
build.log
Comment 3 alfr0451 2023-01-25 19:42:00 UTC
Created attachment 849205 [details]
ls -aR of /var/tmp/portage/app-accessibility/brltty-6.5
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-26 04:26:49 UTC
Indeed, my /usr/lib64/tclConfig.sh has:
> List of standard directories in which to look for packages during
># "package require" commands.  Contains the "prefix" directory plus also
># the "exec_prefix" directory, if it is different.
>TCL_PACKAGE_PATH='{/usr/lib64} {/usr/lib} '

I found https://core.tcl-lang.org/tcltls/tktview?name=37bbdb9fb2 which seems to nail the problem.
Comment 5 Larry the Git Cow gentoo-dev 2023-01-26 04:40:28 UTC
The bug has been closed via the following commit(s):

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

commit c47157dbcb8c5eb1a9f2fcb5864f2e3a3e46df99
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-26 04:39:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-26 04:40:19 +0000

    app-accessibility/brltty: depend on tcl w/ fixed tclConfig.sh
    
    Fixes install of bindings.
    
    Closes: https://bugs.gentoo.org/892029
    Signed-off-by: Sam James <sam@gentoo.org>

 app-accessibility/brltty/brltty-6.5-r1.ebuild | 223 ++++++++++++++++++++++++++
 1 file changed, 223 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d3cf4a3dfc10754974b5d79eb4bf1ed0448a92

commit 87d3cf4a3dfc10754974b5d79eb4bf1ed0448a92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-26 04:38:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-26 04:40:17 +0000

    dev-lang/tcl: fix tclConfig.sh's TCL_PACKAGE_PATH
    
    Bug: https://bugs.gentoo.org/892029
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-8.6.13-tclConfig-TCL_PACKAGE_PATH-braces.patch |  16 +++
 dev-lang/tcl/tcl-8.6.13-r1.ebuild                  | 124 +++++++++++++++++++++
 2 files changed, 140 insertions(+)