diff --git a/0001-Skip-WASI-tests.patch b/0001-Skip-WASI-tests.patch index 6b71d1e..5bbdfdd 100644 --- a/0001-Skip-WASI-tests.patch +++ b/0001-Skip-WASI-tests.patch @@ -1,7 +1,7 @@ From 8116847a5ef1b2127f8a0f178ae432dc41472454 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 15 Dec 2020 05:06:04 -0500 -Subject: [PATCH 1/7] Skip WASI tests. +Subject: [PATCH 1/8] Skip WASI tests. We do not have wasmtime available. @@ -34,5 +34,5 @@ index 3b088ada..dbbf7bfb 100644 } for _, targ := range targs { -- -2.35.1 +2.36.1 diff --git a/0002-Use-system-mingw64-headers-and-crt.patch b/0002-Use-system-mingw64-headers-and-crt.patch index c27f56d..e091f5f 100644 --- a/0002-Use-system-mingw64-headers-and-crt.patch +++ b/0002-Use-system-mingw64-headers-and-crt.patch @@ -1,7 +1,7 @@ From 67f561400614dfde114b31f4b08a340fa352939e Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 2 Jan 2022 05:47:18 -0500 -Subject: [PATCH 2/7] Use system mingw64 headers and crt +Subject: [PATCH 2/8] Use system mingw64 headers and crt Signed-off-by: Elliott Sales de Andrade --- @@ -118,5 +118,5 @@ index b30e653e..d5bfaa25 100644 ) case "": -- -2.35.1 +2.36.1 diff --git a/0003-Skip-some-cross-Linux-tests-where-qemu-is-broken.patch b/0003-Skip-some-cross-Linux-tests-where-qemu-is-broken.patch index ed8514e..6e44cad 100644 --- a/0003-Skip-some-cross-Linux-tests-where-qemu-is-broken.patch +++ b/0003-Skip-some-cross-Linux-tests-where-qemu-is-broken.patch @@ -1,7 +1,7 @@ From b9ac4d7d45fe7710f7f5264ab182d7a2a10ddace Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 3 Jan 2022 22:39:31 -0500 -Subject: [PATCH 3/7] Skip some cross Linux tests where qemu is broken +Subject: [PATCH 3/8] Skip some cross Linux tests where qemu is broken The upstream issues will hopefully be fixed soon: @@ -60,5 +60,5 @@ index dbbf7bfb..4183c6b1 100644 actual := bytes.Replace(stdout.Bytes(), []byte{'\r', '\n'}, []byte{'\n'}, -1) expected = bytes.Replace(expected, []byte{'\r', '\n'}, []byte{'\n'}, -1) // for Windows -- -2.35.1 +2.36.1 diff --git a/0004-Suggest-optional-packages-to-install-if-missing.patch b/0004-Suggest-optional-packages-to-install-if-missing.patch index 1e41d76..8cf11e8 100644 --- a/0004-Suggest-optional-packages-to-install-if-missing.patch +++ b/0004-Suggest-optional-packages-to-install-if-missing.patch @@ -1,7 +1,7 @@ From 12016fd98fe0f0eb818f059a9b88465230817954 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 6 Feb 2022 03:49:16 -0500 -Subject: [PATCH 4/7] Suggest optional packages to install if missing +Subject: [PATCH 4/8] Suggest optional packages to install if missing Signed-off-by: Elliott Sales de Andrade --- @@ -74,5 +74,5 @@ index 53d89bf0..e55719b2 100644 + return err } -- -2.35.1 +2.36.1 diff --git a/0005-Skip-slice-copy-test-for-LLVM-14.patch b/0005-Skip-slice-copy-test-for-LLVM-14.patch index db3e14f..cda8e85 100644 --- a/0005-Skip-slice-copy-test-for-LLVM-14.patch +++ b/0005-Skip-slice-copy-test-for-LLVM-14.patch @@ -1,7 +1,7 @@ From e9592baa218826ca59faf7086838a923236baccb Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 7 May 2022 19:47:59 -0400 -Subject: [PATCH 5/7] Skip slice-copy test for LLVM < 14 +Subject: [PATCH 5/8] Skip slice-copy test for LLVM < 14 Signed-off-by: Elliott Sales de Andrade --- @@ -46,5 +46,5 @@ index ae2635af..a1bea65e 100644 t.Parallel() runTest(t, "testdata/"+name) -- -2.35.1 +2.36.1 diff --git a/0006-Skip-TestDirFS-on-32-bit-systems.patch b/0006-Skip-TestDirFS-on-32-bit-systems.patch index 96df69d..27dd500 100644 --- a/0006-Skip-TestDirFS-on-32-bit-systems.patch +++ b/0006-Skip-TestDirFS-on-32-bit-systems.patch @@ -1,7 +1,7 @@ From a1095b1808280148cbb0f0457bf49899ba007833 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 8 May 2022 04:18:05 -0400 -Subject: [PATCH 6/7] Skip TestDirFS on 32-bit systems +Subject: [PATCH 6/8] Skip TestDirFS on 32-bit systems Because Seek is not fully implemented there. @@ -26,5 +26,5 @@ index c218a02d..a7e13003 100644 t.Fatal(err) } -- -2.35.1 +2.36.1 diff --git a/0007-Skip-broken-tests-on-i686.patch b/0007-Skip-broken-tests-on-i686.patch index ff1fad7..ab6deeb 100644 --- a/0007-Skip-broken-tests-on-i686.patch +++ b/0007-Skip-broken-tests-on-i686.patch @@ -1,7 +1,7 @@ From 3a2a96984d51beb348a9003ae8221a935a626918 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 8 May 2022 18:39:26 -0400 -Subject: [PATCH 7/7] Skip broken tests on i686 +Subject: [PATCH 7/8] Skip broken tests on i686 * compress/flate runs out of memory * testing/fstest uses Seek, which is not implemented there @@ -34,5 +34,5 @@ index dc388c21..359ec8f5 100644 TEST_PACKAGES_DARWIN := $(TEST_PACKAGES_LINUX) -- -2.35.1 +2.36.1 diff --git a/0008-Temporarily-skip-io-fs-tests.patch b/0008-Temporarily-skip-io-fs-tests.patch new file mode 100644 index 0000000..cad82f7 --- /dev/null +++ b/0008-Temporarily-skip-io-fs-tests.patch @@ -0,0 +1,27 @@ +From 7f56024921ef935950f3dbb44067cc47094334d0 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade +Date: Thu, 21 Jul 2022 02:06:53 -0400 +Subject: [PATCH 8/8] Temporarily skip io/fs tests + +Signed-off-by: Elliott Sales de Andrade +--- + Makefile | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 359ec8f5..2f4a9bce 100644 +--- a/Makefile ++++ b/Makefile +@@ -297,8 +297,7 @@ TEST_PACKAGES_LINUX := \ + archive/zip \ + compress/lzw \ + debug/dwarf \ +- debug/plan9obj \ +- io/fs ++ debug/plan9obj + ifneq ($(shell uname -p),i686) + TEST_PACKAGES_LINUX += \ + compress/flate \ +-- +2.36.1 + diff --git a/tinygo.spec b/tinygo.spec index 2ff72b5..078d4e0 100644 --- a/tinygo.spec +++ b/tinygo.spec @@ -89,6 +89,10 @@ Patch0005: 0005-Skip-slice-copy-test-for-LLVM-14.patch Patch0006: 0006-Skip-TestDirFS-on-32-bit-systems.patch Patch0007: 0007-Skip-broken-tests-on-i686.patch +# https://github.com/tinygo-org/tinygo/issues/3008 +# Broken due to TestCVE202230630 +Patch0008: 0008-Temporarily-skip-io-fs-tests.patch + # Not supported upstream yet. ExcludeArch: armv7hl ppc64le s390x