Message ID | 20241223090642.959439-1-jiaying.song.cn@windriver.com |
---|---|
State | New |
Headers | show |
Series | tcl: Fix issue causing tcl-ptest to fail | expand |
On 12/23/24 17:06, Song, Jiaying (CN) via lists.openembedded.org wrote: > From: Jiaying Song <jiaying.song.cn@windriver.com> > > Modify the TCL_LIBRARY to the correct value to resolve the following error: > > application-specific initialization failed: Cannot find a usable init.tcl in the following directories: > /usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library > > Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> > --- > meta/recipes-devtools/tcltk/tcl/run-ptest | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest > index 8a9f611b0f..0842ca320d 100644 > --- a/meta/recipes-devtools/tcltk/tcl/run-ptest > +++ b/meta/recipes-devtools/tcltk/tcl/run-ptest > @@ -1,6 +1,6 @@ > #!/bin/sh > > -export TCL_LIBRARY=/usr/lib/tcl/ptest/library > +export TCL_LIBRARY=/usr/lib64/tcl/ptest/library Please hold on the patch, I guess it doesn't work when multilib is not enabled. // Robert > export ERROR_ON_FAILURES=1 > export LANG=en-US.UTF-8 > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#209015): https://lists.openembedded.org/g/openembedded-core/message/209015 > Mute This Topic: https://lists.openembedded.org/mt/110254947/7304958 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [liezhi.yang@eng.windriver.com] > -=-=-=-=-=-=-=-=-=-=-=- >
On Mon, Dec 23, 2024 at 1:40 AM Robert Yang via lists.openembedded.org <liezhi.yang=windriver.com@lists.openembedded.org> wrote: > > > > On 12/23/24 17:06, Song, Jiaying (CN) via lists.openembedded.org wrote: > > From: Jiaying Song <jiaying.song.cn@windriver.com> > > > > Modify the TCL_LIBRARY to the correct value to resolve the following error: > > > > application-specific initialization failed: Cannot find a usable init.tcl in the following directories: > > /usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library > > > > Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> > > --- > > meta/recipes-devtools/tcltk/tcl/run-ptest | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest > > index 8a9f611b0f..0842ca320d 100644 > > --- a/meta/recipes-devtools/tcltk/tcl/run-ptest > > +++ b/meta/recipes-devtools/tcltk/tcl/run-ptest > > @@ -1,6 +1,6 @@ > > #!/bin/sh > > > > -export TCL_LIBRARY=/usr/lib/tcl/ptest/library > > +export TCL_LIBRARY=/usr/lib64/tcl/ptest/library > > Please hold on the patch, I guess it doesn't work when multilib is not enabled. > Right, it needs to substitute with ${libdir} instad of hardcoding the path to /usr/lib or /usr/lib64 during install time > // Robert > > > export ERROR_ON_FAILURES=1 > > export LANG=en-US.UTF-8 > > > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#209038): https://lists.openembedded.org/g/openembedded-core/message/209038 > Mute This Topic: https://lists.openembedded.org/mt/110254947/1997914 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest index 8a9f611b0f..0842ca320d 100644 --- a/meta/recipes-devtools/tcltk/tcl/run-ptest +++ b/meta/recipes-devtools/tcltk/tcl/run-ptest @@ -1,6 +1,6 @@ #!/bin/sh -export TCL_LIBRARY=/usr/lib/tcl/ptest/library +export TCL_LIBRARY=/usr/lib64/tcl/ptest/library export ERROR_ON_FAILURES=1 export LANG=en-US.UTF-8