diff options
author | Alexander Kanavin <alex@linutronix.de> | 2025-01-08 09:42:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 11:10:00 +0000 |
commit | f7a3dd46ab9bfc5344fc8c757e2f667c9a2ba90f (patch) | |
tree | dfcf4862fe77cc91a80c0379eb820d0bb015daf7 /meta/recipes-devtools | |
parent | 991cbf2336e815c8d8aa161f0f76ae93dac132ec (diff) | |
download | poky-f7a3dd46ab9bfc5344fc8c757e2f667c9a2ba90f.tar.gz |
tcl8: upgrade 8.6.15 -> 8.6.16
Adjust run-ptest to use the absolute ptest library location
(tcl 9.x already does this) to avoid clock.test failures.
(From OE-Core rev: 6161afaa3d4f6600a3598bf559576fb571968cbb)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/interp.patch | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb (renamed from meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb) | 3 |
7 files changed, 20 insertions, 19 deletions
diff --git a/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch b/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch index bfc718cfd3..6ceb297cea 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch +++ b/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3130dca60636dc12d0d12df75b002fd123349e21 Mon Sep 17 00:00:00 2001 | 1 | From 8bb8174e13c1c0e3b27fdf96a393f9fb1b7e14be Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Tue, 22 Nov 2022 18:48:27 +0800 | 3 | Date: Tue, 22 Nov 2022 18:48:27 +0800 |
4 | Subject: [PATCH] tcl: update the header location | 4 | Subject: [PATCH] tcl: update the header location |
@@ -26,7 +26,7 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | |||
26 | 3 files changed, 4 insertions(+), 4 deletions(-) | 26 | 3 files changed, 4 insertions(+), 4 deletions(-) |
27 | 27 | ||
28 | diff --git a/unix/Makefile.in b/unix/Makefile.in | 28 | diff --git a/unix/Makefile.in b/unix/Makefile.in |
29 | index a3b7d69..969ddb8 100644 | 29 | index c3b75e3..60ed93e 100644 |
30 | --- a/unix/Makefile.in | 30 | --- a/unix/Makefile.in |
31 | +++ b/unix/Makefile.in | 31 | +++ b/unix/Makefile.in |
32 | @@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) | 32 | @@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) |
@@ -39,10 +39,10 @@ index a3b7d69..969ddb8 100644 | |||
39 | # Path to the private tcl header dir: | 39 | # Path to the private tcl header dir: |
40 | PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ | 40 | PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ |
41 | diff --git a/unix/configure.in b/unix/configure.in | 41 | diff --git a/unix/configure.in b/unix/configure.in |
42 | index 4974fb6..a72934f 100644 | 42 | index 8e6726b..2345689 100644 |
43 | --- a/unix/configure.in | 43 | --- a/unix/configure.in |
44 | +++ b/unix/configure.in | 44 | +++ b/unix/configure.in |
45 | @@ -776,7 +776,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" | 45 | @@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" |
46 | eval "TCL_LIB_FILE=${TCL_LIB_FILE}" | 46 | eval "TCL_LIB_FILE=${TCL_LIB_FILE}" |
47 | 47 | ||
48 | test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' | 48 | test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' |
@@ -51,7 +51,7 @@ index 4974fb6..a72934f 100644 | |||
51 | HTML_DIR='$(DISTDIR)/html' | 51 | HTML_DIR='$(DISTDIR)/html' |
52 | 52 | ||
53 | # Note: in the following variable, it's important to use the absolute | 53 | # Note: in the following variable, it's important to use the absolute |
54 | @@ -897,7 +897,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" | 54 | @@ -898,7 +898,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" |
55 | TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" | 55 | TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" |
56 | 56 | ||
57 | # Install time header dir can be set via --includedir | 57 | # Install time header dir can be set via --includedir |
diff --git a/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch index 7480156ce0..61153878fe 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch +++ b/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bd512547fc002fdb20808bf5b8b9feeb848b6512 Mon Sep 17 00:00:00 2001 | 1 | From 3d11e7fd9aba6251974d990286347c06582e87b9 Mon Sep 17 00:00:00 2001 |
2 | From: Nitin A Kamble <nitin.a.kamble@intel.com> | 2 | From: Nitin A Kamble <nitin.a.kamble@intel.com> |
3 | Date: Fri, 13 Aug 2010 12:24:00 -0700 | 3 | Date: Fri, 13 Aug 2010 12:24:00 -0700 |
4 | Subject: [PATCH] tcl: fix a build issue | 4 | Subject: [PATCH] tcl: fix a build issue |
@@ -10,7 +10,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
10 | 1 file changed, 10 insertions(+), 10 deletions(-) | 10 | 1 file changed, 10 insertions(+), 10 deletions(-) |
11 | 11 | ||
12 | diff --git a/unix/Makefile.in b/unix/Makefile.in | 12 | diff --git a/unix/Makefile.in b/unix/Makefile.in |
13 | index 965f6da..a0bd63f 100644 | 13 | index a2f9e21..c3b75e3 100644 |
14 | --- a/unix/Makefile.in | 14 | --- a/unix/Makefile.in |
15 | +++ b/unix/Makefile.in | 15 | +++ b/unix/Makefile.in |
16 | @@ -723,7 +723,7 @@ tcltest-real: | 16 | @@ -723,7 +723,7 @@ tcltest-real: |
diff --git a/meta/recipes-devtools/tcltk8/tcl8/interp.patch b/meta/recipes-devtools/tcltk8/tcl8/interp.patch index 2e0dc94cff..a4fb0c5a9d 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/interp.patch +++ b/meta/recipes-devtools/tcltk8/tcl8/interp.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 426aa2ff62dda77fd011e8f630b9d4ea17984817 Mon Sep 17 00:00:00 2001 | 1 | From 09049beed723243d092ffaa37939dfe0f2ed6828 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@arm.com> | 2 | From: Ross Burton <ross.burton@arm.com> |
3 | Date: Mon, 12 Jul 2021 14:50:13 +0100 | 3 | Date: Mon, 12 Jul 2021 14:50:13 +0100 |
4 | Subject: [PATCH] tcl: fix race in interp.test | 4 | Subject: [PATCH] tcl: fix race in interp.test |
@@ -13,10 +13,10 @@ Signed-off-by: Ross Burton <ross.burton@arm.com> | |||
13 | 1 file changed, 4 insertions(+), 3 deletions(-) | 13 | 1 file changed, 4 insertions(+), 3 deletions(-) |
14 | 14 | ||
15 | diff --git a/tests/interp.test b/tests/interp.test | 15 | diff --git a/tests/interp.test b/tests/interp.test |
16 | index d742484..fc90990 100644 | 16 | index 24ffb1b..c6460ad 100644 |
17 | --- a/tests/interp.test | 17 | --- a/tests/interp.test |
18 | +++ b/tests/interp.test | 18 | +++ b/tests/interp.test |
19 | @@ -3595,17 +3595,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup { | 19 | @@ -3614,17 +3614,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup { |
20 | variable result | 20 | variable result |
21 | set result [lindex $args 0] | 21 | set result [lindex $args 0] |
22 | } | 22 | } |
diff --git a/meta/recipes-devtools/tcltk8/tcl8/run-ptest b/meta/recipes-devtools/tcltk8/tcl8/run-ptest index c485e535c7..bea9d9ccfd 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/run-ptest +++ b/meta/recipes-devtools/tcltk8/tcl8/run-ptest | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | # clock.test needs a timezone to be set | 3 | # clock.test needs a timezone to be set |
4 | export TZ="Europe/London" | 4 | export TZ="Europe/London" |
5 | export TCL_LIBRARY=library | 5 | export TCL_LIBRARY=@libdir@/tcl8/ptest/library |
6 | export ERROR_ON_FAILURES=1 | 6 | export ERROR_ON_FAILURES=1 |
7 | 7 | ||
8 | # Some tests are overly strict with timings and fail on loaded systems. | 8 | # Some tests are overly strict with timings and fail on loaded systems. |
diff --git a/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch b/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch index 1cd4d76283..88faf8ac73 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch +++ b/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b89fd73daf9b3eb2f889f65baba5f90d8a930c82 Mon Sep 17 00:00:00 2001 | 1 | From 0d8e567d132e050c5d4a8d8d9257417e0679483c Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <rpurdie@linux.intel.com> | 2 | From: Richard Purdie <rpurdie@linux.intel.com> |
3 | Date: Wed, 9 Dec 2009 23:59:44 +0000 | 3 | Date: Wed, 9 Dec 2009 23:59:44 +0000 |
4 | Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function | 4 | Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function |
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
11 | 2 files changed, 7 insertions(+), 1 deletion(-) | 11 | 2 files changed, 7 insertions(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/unix/Makefile.in b/unix/Makefile.in | 13 | diff --git a/unix/Makefile.in b/unix/Makefile.in |
14 | index 7619afc..9dd053d 100644 | 14 | index bc743b3..a2f9e21 100644 |
15 | --- a/unix/Makefile.in | 15 | --- a/unix/Makefile.in |
16 | +++ b/unix/Makefile.in | 16 | +++ b/unix/Makefile.in |
17 | @@ -904,7 +904,10 @@ install-binaries: binaries | 17 | @@ -812,7 +812,10 @@ install-binaries: binaries |
18 | done | 18 | done |
19 | @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" | 19 | @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" |
20 | @@INSTALL_LIB@ | 20 | @@INSTALL_LIB@ |
@@ -27,7 +27,7 @@ index 7619afc..9dd053d 100644 | |||
27 | @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" | 27 | @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" |
28 | @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" | 28 | @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" |
29 | diff --git a/unix/tcl.m4 b/unix/tcl.m4 | 29 | diff --git a/unix/tcl.m4 b/unix/tcl.m4 |
30 | index 0307a06..37c4d67 100644 | 30 | index 7f5464e..cd8d929 100644 |
31 | --- a/unix/tcl.m4 | 31 | --- a/unix/tcl.m4 |
32 | +++ b/unix/tcl.m4 | 32 | +++ b/unix/tcl.m4 |
33 | @@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ | 33 | @@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ |
diff --git a/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch index 93e7877256..0a0c1173a2 100644 --- a/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch +++ b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 050fc597fbfa4da2c31bd0df58c871892a490470 Mon Sep 17 00:00:00 2001 | 1 | From 6e3cbc3600ac474776e92eb9a88abcb74299c321 Mon Sep 17 00:00:00 2001 |
2 | From: "Song.Li" <Song.Li@windriver.com> | 2 | From: "Song.Li" <Song.Li@windriver.com> |
3 | Date: Wed, 1 Aug 2012 19:05:51 +0800 | 3 | Date: Wed, 1 Aug 2012 19:05:51 +0800 |
4 | Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target | 4 | Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target |
@@ -17,10 +17,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
18 | 18 | ||
19 | diff --git a/unix/configure.in b/unix/configure.in | 19 | diff --git a/unix/configure.in b/unix/configure.in |
20 | index 4f62510..4974fb6 100644 | 20 | index e88ec3c..8e6726b 100644 |
21 | --- a/unix/configure.in | 21 | --- a/unix/configure.in |
22 | +++ b/unix/configure.in | 22 | +++ b/unix/configure.in |
23 | @@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" | 23 | @@ -774,7 +774,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" |
24 | 24 | ||
25 | eval "TCL_LIB_FILE=${TCL_LIB_FILE}" | 25 | eval "TCL_LIB_FILE=${TCL_LIB_FILE}" |
26 | 26 | ||
diff --git a/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb b/meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb index b13102dd7a..c8f4b5df2a 100644 --- a/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb +++ b/meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb | |||
@@ -24,7 +24,7 @@ SRC_URI = "${BASE_SRC_URI} \ | |||
24 | file://interp.patch \ | 24 | file://interp.patch \ |
25 | file://run-ptest \ | 25 | file://run-ptest \ |
26 | " | 26 | " |
27 | SRC_URI[sha256sum] = "844775491e435e34d83d6ccfbadd1342f1855f1705253233a86152df0765e78d" | 27 | SRC_URI[sha256sum] = "3b371386a9a928eecdbf263bcab7d6a531e620ca3fbab4fdeeb3d6a9a56f38e9" |
28 | 28 | ||
29 | SRC_URI:class-native = "${BASE_SRC_URI}" | 29 | SRC_URI:class-native = "${BASE_SRC_URI}" |
30 | 30 | ||
@@ -85,6 +85,7 @@ do_install_ptest() { | |||
85 | cp ${B}/tcltest ${D}${PTEST_PATH} | 85 | cp ${B}/tcltest ${D}${PTEST_PATH} |
86 | cp -r ${S}/library ${D}${PTEST_PATH} | 86 | cp -r ${S}/library ${D}${PTEST_PATH} |
87 | cp -r ${S}/tests ${D}${PTEST_PATH} | 87 | cp -r ${S}/tests ${D}${PTEST_PATH} |
88 | sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest | ||
88 | } | 89 | } |
89 | 90 | ||
90 | do_install_ptest:append:libc-musl () { | 91 | do_install_ptest:append:libc-musl () { |