From 2cb097cee4e49b80d6121400a68b9eb794a05093 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 4 Dec 2026 04:10:56 +0900 Subject: internal/rosa: update packages LLVM has been updated, causing many rebuilds. A newly broken test caused by guile regression in autogen has been disabled. The new guile release contains massive breakage: bad includes have been fixed, the gnulib bump is reverted, utilising the newly introduced compressed patch support to reduce file size, and newly broken tests have been disabled. Signed-off-by: Ophestra --- .../package/guile/disable-broken-tests-musl.patch | 30 ++++++++++++++++++--- .../package/guile/disable-broken-tests-zfs.patch | 8 +++--- internal/rosa/package/guile/fix-includes.patch | 24 +++++++++++++++++ internal/rosa/package/guile/package.az | 7 +++-- .../package/guile/revert-gnulib-update.patch.zst | Bin 0 -> 465522 bytes 5 files changed, 59 insertions(+), 10 deletions(-) create mode 100644 internal/rosa/package/guile/fix-includes.patch create mode 100644 internal/rosa/package/guile/revert-gnulib-update.patch.zst (limited to 'internal/rosa/package/guile') diff --git a/internal/rosa/package/guile/disable-broken-tests-musl.patch b/internal/rosa/package/guile/disable-broken-tests-musl.patch index bf507f86..902d8806 100644 --- a/internal/rosa/package/guile/disable-broken-tests-musl.patch +++ b/internal/rosa/package/guile/disable-broken-tests-musl.patch @@ -1,8 +1,8 @@ diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am -index 492214845..396f5e83e 100644 +index 64e1d8d59..ab7161e36 100644 --- a/test-suite/Makefile.am +++ b/test-suite/Makefile.am -@@ -69,7 +69,6 @@ SCM_TESTS = tests/00-initial-env.test \ +@@ -72,7 +72,6 @@ SCM_TESTS = tests/00-initial-env.test \ tests/guardians.test \ tests/hash.test \ tests/hooks.test \ @@ -10,11 +10,33 @@ index 492214845..396f5e83e 100644 tests/iconv.test \ tests/import.test \ tests/interp.test \ -@@ -186,7 +185,6 @@ SCM_TESTS = tests/00-initial-env.test \ +@@ -95,7 +94,6 @@ SCM_TESTS = tests/00-initial-env.test \ + tests/poe.test \ + tests/popen.test \ + tests/ports.test \ +- tests/posix.test \ + tests/q.test \ + tests/r4rs.test \ + tests/r5rs_pitfall.test \ +@@ -192,7 +190,6 @@ SCM_TESTS = tests/00-initial-env.test \ + tests/texinfo.plain-text.test \ tests/texinfo.serialize.test \ tests/texinfo.string-utils.test \ - tests/threads.test \ - tests/time.test \ tests/tree-il.test \ tests/types.test \ tests/unicode.test \ +diff --git a/test-suite/standalone/Makefile.am b/test-suite/standalone/Makefile.am +index d646709ae..bc5e50903 100644 +--- a/test-suite/standalone/Makefile.am ++++ b/test-suite/standalone/Makefile.am +@@ -88,9 +88,6 @@ TESTS += test-command-line-encoding + check_SCRIPTS += test-command-line-encoding2 + TESTS += test-command-line-encoding2 + +-check_SCRIPTS += test-command-line-encoding3 +-TESTS += test-command-line-encoding3 +- + check_SCRIPTS += test-language + TESTS += test-language + EXTRA_DIST += test-language.el test-language.js diff --git a/internal/rosa/package/guile/disable-broken-tests-zfs.patch b/internal/rosa/package/guile/disable-broken-tests-zfs.patch index 8feb71ee..12b04bd6 100644 --- a/internal/rosa/package/guile/disable-broken-tests-zfs.patch +++ b/internal/rosa/package/guile/disable-broken-tests-zfs.patch @@ -1,16 +1,16 @@ diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am -index 396f5e83e..fe55e3116 100644 +index ab7161e36..5db155b18 100644 --- a/test-suite/Makefile.am +++ b/test-suite/Makefile.am -@@ -90,7 +90,6 @@ SCM_TESTS = tests/00-initial-env.test \ +@@ -93,7 +93,6 @@ SCM_TESTS = tests/00-initial-env.test \ tests/procs.test \ tests/poe.test \ tests/popen.test \ - tests/ports.test \ - tests/posix.test \ tests/q.test \ tests/r4rs.test \ -@@ -168,7 +167,6 @@ SCM_TESTS = tests/00-initial-env.test \ + tests/r5rs_pitfall.test \ +@@ -174,7 +173,6 @@ SCM_TESTS = tests/00-initial-env.test \ tests/streams.test \ tests/strings.test \ tests/structs.test \ diff --git a/internal/rosa/package/guile/fix-includes.patch b/internal/rosa/package/guile/fix-includes.patch new file mode 100644 index 00000000..2124adbc --- /dev/null +++ b/internal/rosa/package/guile/fix-includes.patch @@ -0,0 +1,24 @@ +diff --git a/libguile/jit.c b/libguile/jit.c +index cfcb6c2ae..f626073cc 100644 +--- a/libguile/jit.c ++++ b/libguile/jit.c +@@ -39,7 +39,6 @@ + #include "vm-operations.h" + + #ifdef __linux__ +-# include + # include + # ifndef PR_SET_VMA + # define PR_SET_VMA 0x53564d41 +diff --git a/libguile/linux.c b/libguile/linux.c +index 8fa64fdd0..69176c775 100644 +--- a/libguile/linux.c ++++ b/libguile/linux.c +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + + #include "extensions.h" + #include "finalizers.h" diff --git a/internal/rosa/package/guile/package.az b/internal/rosa/package/guile/package.az index 6907c624..5261c930 100644 --- a/internal/rosa/package/guile/package.az +++ b/internal/rosa/package/guile/package.az @@ -3,13 +3,15 @@ package guile { website = "https://www.gnu.org/software/guile"; anitya = 1277; - version# = "3.0.11"; + version# = "3.0.12"; source = remoteTar { url = "https://codeberg.org/guile/guile/archive/v"+version+".tar.gz"; - checksum = "Ta7GIA0MBn5_sG089hJJ8W5QFrHqv9UKXR3D5arIEndeRjGlWCCWj_nIwFyTXcQN"; + checksum = "7QgM1xhMmIfRl1aAki8Wz83bgF_8ZgU_WFtSfQKmD3MR1fanACfnGgcZN9uRpAMw"; compress = gzip; }; patches = [ + "revert-gnulib-update.patch.zst", + "fix-includes.patch", "failing-filesys-test.patch", "failing-encoding-test.patch", "disable-broken-tests-musl.patch", @@ -50,6 +52,7 @@ echo '`+version+`' > .tarball-version libffi, bdwgc, libiconv, + kernel-headers, ]; tools = [ diff --git a/internal/rosa/package/guile/revert-gnulib-update.patch.zst b/internal/rosa/package/guile/revert-gnulib-update.patch.zst new file mode 100644 index 00000000..adc52408 Binary files /dev/null and b/internal/rosa/package/guile/revert-gnulib-update.patch.zst differ -- cgit v1.3.1