Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mangled tcl environment #5875

Open
oharboe opened this issue Oct 4, 2024 · 0 comments
Open

Mangled tcl environment #5875

oharboe opened this issue Oct 4, 2024 · 0 comments

Comments

@oharboe
Copy link
Collaborator

oharboe commented Oct 4, 2024

Describe the bug

sudo apt install tcllib
oyvind@corona:~/OpenROAD-flow-scripts/flow$ tclsh
% package require yaml
0.4.1
%

Whereas:

$ openroad
OpenROAD v2.0-16219-g56c3c86ba 
Features included (+) or not (-): +Charts +GPU +GUI +Python
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
openroad> package require yaml
error reading package index file /usr/lib/blt2.5/pkgIndex.tcl: Error: pkgIndex.tcl, 59 can't read "dir": no such variable
error reading package index file /usr/lib/tcltk/x86_64-linux-gnu/tclreadline2.3.8/pkgIndex.tcl: Error: pkgIndex.tcl, 11 can't read "dir": no such variable
[etc]
can't find package yaml
while evaluating package require yaml
openroad> 

Also:

$ sta
OpenSTA 2.6.0 20925bb009 Copyright (c) 2024, Parallax Software, Inc.
License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>

This is free software, and you are free to change and redistribute it
under certain conditions; type `show_copying' for details. 
This program comes with ABSOLUTELY NO WARRANTY; for details type `show_warranty'.
sta [~/OpenROAD-flow-scripts/flow] package require yaml
error reading package index file /usr/lib/blt2.5/pkgIndex.tcl: Error: pkgIndex.tcl, 59 can't read "dir": no such variable
[deleted]
while evaluating package require yaml
sta [~/OpenROAD-flow-scripts/flow] 

Expected Behavior

No error

Environment

sta or OpenROAD

To Reproduce

see above

Relevant log output

No response

Screenshots

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant