03/03: gnu: gnome-shell: Replace libgnomekbd with tecla.

2025-03-30 Thread guix-commits
lilyp pushed a commit to branch master
in repository guix.

commit 77d5eb4c16984e430b377e0b5f1551fbda171ec6
Author: Noé Lopez 
AuthorDate: Fri Mar 28 14:25:59 2025 +0100

gnu: gnome-shell: Replace libgnomekbd with tecla.

This was changed in GNOME 45.

* gnu/packages/gnome.scm (gnome-shell): Replace libgnomekbd with tecla.

Change-Id: Iad3248319f95fe43c30e83c4ef6a7690f6e123d8
Signed-off-by: Liliana Marie Prikler 
---
 gnu/packages/gnome.scm | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 46b008f9c4..46e360067f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9587,14 +9587,13 @@ properties, screen resolution, and other GNOME 
parameters.")
 (add-before 'configure 'record-absolute-file-names
   (lambda* (#:key inputs #:allow-other-keys)
 (let ((ibus-daemon (search-input-file inputs 
"bin/ibus-daemon"))
-  (gkbd-keyboard-display
-   (search-input-file inputs "bin/gkbd-keyboard-display")))
+  (tecla (search-input-file inputs "bin/tecla")))
   (substitute* "js/misc/ibusManager.js"
 (("'ibus-daemon'")
  (string-append "'" ibus-daemon "'")))
   (substitute* "js/ui/status/keyboard.js"
-(("'gkbd-keyboard-display'")
- (string-append "'" gkbd-keyboard-display "'"))
+(("'tecla'")
+ (string-append "'" tecla "'"))
 (add-before 'check 'pre-check
   (lambda* (#:key inputs #:allow-other-keys)
 ;; Tests require a running X server.
@@ -9706,7 +9705,6 @@ printf '~a is deprecated.  Use the \"gnome-extensions\" 
CLI or \
ibus
libcanberra
libcroco
-   libgnomekbd  ;for gkbd-keyboard-display
libgweather4
libnma
libsoup
@@ -9718,6 +9716,7 @@ printf '~a is deprecated.  Use the \"gnome-extensions\" 
CLI or \
pulseaudio
python-pygobject
startup-notification
+   tecla;for keyboard previews
telepathy-logger
upower
;; XXX: These requirements were added in 3.24, but no mention in 
NEWS.



branch master updated (2ed28b5c24 -> 77d5eb4c16)

2025-03-30 Thread guix-commits
lilyp pushed a change to branch master
in repository guix.

from 2ed28b5c24 gnu: font-openmoji: Update to 15.1.0.
 new 27740f284f gnu: gnome-initial-setup: Replace libgnomekbd with tecla.
 new 7770ce8380 gnu: gnome-control-center: Replace libgnomekbd with tecla.
 new 77d5eb4c16 gnu: gnome-shell: Replace libgnomekbd with tecla.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/gnome.scm | 19 +++
 1 file changed, 7 insertions(+), 12 deletions(-)



[shepherd] 01/04: log-rotation: Recognize more compressed file extensions.

2025-03-30 Thread Ludovic Courtès
civodul pushed a commit to branch main
in repository shepherd.

commit a4aedb21efd0e6712f7ceeb71281b555f78cfd6a
Author: Ludovic Courtès 
AuthorDate: Sun Mar 30 12:45:57 2025 +0200

log-rotation: Recognize more compressed file extensions.

* modules/shepherd/service/log-rotation.scm (%compression-extensions):
Add extensions.
---
 modules/shepherd/service/log-rotation.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/shepherd/service/log-rotation.scm 
b/modules/shepherd/service/log-rotation.scm
index 9d97388..5ad0021 100644
--- a/modules/shepherd/service/log-rotation.scm
+++ b/modules/shepherd/service/log-rotation.scm
@@ -44,7 +44,7 @@
 
 (define %compression-extensions
   ;; Compressed file extensions.
-  '("gz" "bz2" "lz" "zst"))
+  '("gz" "bz2" "lz" "lzma" "xz" "zst"))
 
 (define (next-rotated-file-name reference file)
   "Return the file name @var{file} should be renamed to and its rotation



19/290: gnu: elfutils: Update to 0.192; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 5c25abfe553de35495bc6726ac5703a53b92a05f
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 5 13:45:52 2024 +0100

gnu: elfutils: Update to 0.192; fixes build with gcc-14.

Version 0.187 does not compile with gcc-14: -Werror=stringop-overflow.

* gnu/packages/elf.scm (elfutils): Update to 0.192.  This fixes the build 
with
gcc-14.
* gnu/packages/elf.scm (elfutils)[arguments]: Remove patch phase.
* gnu/packages/patches/elfutils-libdwfl-string-overflow.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: I9e31f24c1e62c45390789072b52dfc10d90581fe
---
 gnu/local.mk   |   1 -
 gnu/packages/elf.scm   |  13 +--
 .../patches/elfutils-libdwfl-string-overflow.patch | 116 -
 3 files changed, 2 insertions(+), 128 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 5684bbf429..227418e891 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1211,7 +1211,6 @@ dist_patch_DATA = 
\
   %D%/packages/patches/eigen-fix-strict-aliasing-bug.patch \
   %D%/packages/patches/einstein-build.patch\
   %D%/packages/patches/elfutils-tests-ptrace.patch \
-  %D%/packages/patches/elfutils-libdwfl-string-overflow.patch  \
   %D%/packages/patches/elixir-path-length.patch\
   %D%/packages/patches/elm-ghc9.2.patch\
   %D%/packages/patches/elm-offline-package-registry.patch  \
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index 7b769770f8..cf2b7c2d1d 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -76,14 +76,14 @@ libraries.")
 (define-public elfutils
   (package
 (name "elfutils")
-(version "0.187")
+(version "0.192")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://sourceware.org/elfutils/ftp/";
   version "/elfutils-" version ".tar.bz2"))
   (sha256
(base32
-"1j2lsicm3dkj5n6spszr9qy5rqm48bqimmz03x6hry8hwvxhs2z7"))
+"1d0nnkm59pwi9hrr28w0ifb6smldrjk6rn33kcgs3ar4msz9jq31"))
   (patches (search-patches "elfutils-tests-ptrace.patch"
 (build-system gnu-build-system)
 
@@ -175,15 +175,6 @@ libraries.")
  "tests/run-varlocs.sh")
 (("^#!.*" all)
  (string-append all "exit 77;\n"))
-   #~())
-#$@(if (%current-target-system)
-   #~((add-after 'unpack 'patch
-(lambda* (#:key native-inputs #:allow-other-keys)
-  (invoke
-   "patch" "-p1" "--force" "-i"
-   #$(local-file
-  (search-patch
-   "elfutils-libdwfl-string-overflow.patch"))
#~()
 (native-inputs (append (if (target-loongarch64?)
(list config)
diff --git a/gnu/packages/patches/elfutils-libdwfl-string-overflow.patch 
b/gnu/packages/patches/elfutils-libdwfl-string-overflow.patch
deleted file mode 100644
index e9d51359c4..00
--- a/gnu/packages/patches/elfutils-libdwfl-string-overflow.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-from 
https://sourceware.org/cgit/elfutils/patch/?id=0873ae782d14e672e8344775e76b7fca0a8b41bf
-
-Adjust the changelog so it can be applied on elfutils 0.187.
-
-From 0873ae782d14e672e8344775e76b7fca0a8b41bf Mon Sep 17 00:00:00 2001
-From: Mark Wielaard 
-Date: Thu, 28 Jul 2022 15:31:12 +0200
-Subject: libdwfl: Rewrite reading of ar_size in elf_begin_rand
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-With GCC 12.1.1, glibc 2.35, -fsanitize=undefined and
--D_FORTIFY_SOURCE=3 we get the following error message:
-
-In file included from /usr/include/ar.h:22,
- from ../libelf/libelfP.h:33,
- from core-file.c:31:
-In function ‘pread’,
-inlined from ‘pread_retry’ at ../lib/system.h:188:21,
-inlined from ‘elf_begin_rand’ at core-file.c:86:16,
-inlined from ‘core_file_read_eagerly’ at core-file.c:205:15:
-/usr/include/bits/unistd.h:74:10: error: ‘__pread_alias’ writing 58 or more 
bytes into a region of size 10 overflows the destination 
[-Werror=stringop-overflow=]
-   74 |   return __glibc_fortify (pread, __nbytes, sizeof (char),
-  |  ^~~
-/usr/include/ar.h: In function ‘core_file_read_eagerly’:
-/usr/include/ar.h:41:10: note: destination object ‘ar_size’ of size 10
-   41 | char ar_size[10];   /* File size, in ASCII decimal.  */
-  |  ^~~
-/usr/include/bits/unistd.h:50:16: note: in a call to function ‘__pread_alias’ 
declared with attribute

97/290: gnu: zxing-cpp-1-2.0: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 4cd0a791d1a2ea4d4c97f435d744113b65497dd5
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 22:22:24 2024 +0100

gnu: zxing-cpp-1-2.0: Fix build with gcc-14.

* gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/aidc.scm (zxing-cpp-1.2)[source]: Use it.

Change-Id: I6a007ac9728d8ed16ddeef425cc544e7f0d861c1
---
 gnu/local.mk  |  3 ++-
 gnu/packages/aidc.scm |  2 ++
 gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch | 13 +
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 0ac2bd492a..fd367ccf28 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2476,7 +2476,8 @@ dist_patch_DATA = 
\
   %D%/packages/patches/zig-0.14-use-baseline-cpu-by-default.patch  \
   %D%/packages/patches/zig-0.14-use-system-paths.patch \
   %D%/packages/patches/zsh-egrep-failing-test.patch\
-  %D%/packages/patches/zuo-bin-sh.patch
+  %D%/packages/patches/zuo-bin-sh.patch\
+  %D%/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
 
 MISC_DISTRO_FILES =\
   %D%/packages/ld-wrapper.in
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 2ba6e88412..5359f23ae5 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant 
 ;;; Copyright © 2020 Leo Famulari 
 ;;; Copyright © 2024 Nicolas Graves 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -86,6 +87,7 @@
 (url "https://github.com/nu-book/zxing-cpp";)
 (commit (string-append "v" version
   (file-name (git-file-name name version))
+  (patches (search-patches "zxing-cpp-1.2.0-gcc-14.patch"))
   (sha256
(base32
 "1gjj9c7h634rrmmgzbc7cxjqsxdq0paj6113k02ncjm1s9abk7ik"
diff --git a/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch 
b/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
new file mode 100644
index 00..466969ee00
--- /dev/null
+++ b/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
@@ -0,0 +1,13 @@
+Upstream-status: Not presented upstream.
+
+--- source/core/src/textcodec/JPTextEncoder.cpp.orig   2024-12-31 
22:18:42.612859809 +0100
 source/core/src/textcodec/JPTextEncoder.cpp2024-12-31 
22:19:21.637235909 +0100
+@@ -37,6 +37,8 @@
+ 
+ #include "JPTextEncoder.h"
+ 
++#include 
++
+ /*
+ * This data is derived from Unicode 1.1,
+ * JIS X 0208 (1990) to Unicode mapping table version 0.9 .



69/290: Revert "gnu: gcc-4.7: Fix build with gcc-14."

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 03c40b1204ab3f2f1c9fb2e997f67bc534fcee55
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 16 09:23:18 2024 +0100

Revert "gnu: gcc-4.7: Fix build with gcc-14."

Touching gcc-4.7 is best avoided as it causes a gcc-mesboot world build.
Also, gcc-4.7 didnt' build with gcc-11 either.

This reverts commit adea36d41ef106633cc74a5b054d8b7e323a8432.
---
 gnu/local.mk   |  1 -
 gnu/packages/gcc.scm   |  6 ++
 .../patches/gcc-4.7-ucontext-type-confusion.patch  | 25 --
 3 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index bd7f3fd1bd..b08ab9e914 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1363,7 +1363,6 @@ dist_patch_DATA = 
\
   %D%/packages/patches/gcc-cross-environment-variables.patch   \
   %D%/packages/patches/gcc-cross-gxx-include-dir.patch  \
   %D%/packages/patches/gcc-fix-texi2pod.patch  \
-  %D%/packages/patches/gcc-4.7-ucontext-type-confusion.patch   \
   %D%/packages/patches/gcc-4.8-libsanitizer-fix.patch  \
   %D%/packages/patches/gcc-4.9-inline.patch\
   %D%/packages/patches/gcc-4.9-libsanitizer-fix.patch  \
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index ea031abeca..fce3436bd2 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -178,8 +178,7 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
   (base32
"10k2k71kxgay283ylbbhhs51cl55zn2q38vj5pk4k950qdnirrlj"))
  (patches (search-patches "gcc-4-compile-with-gcc-5.patch"
-  "gcc-fix-texi2pod.patch"
-  
"gcc-4.7-ucontext-type-confusion.patch"
+  "gcc-fix-texi2pod.patch"
(build-system gnu-build-system)
 
;; Separate out the run-time support libraries because all the
@@ -203,8 +202,7 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
;; incompatible with some earlier versions.
;; Force an earlier C++ standard while building.
(cond
-((or (version-prefix? "4.7" version)
- (version-prefix? "4.8" version))
+ ((version-prefix? "4.8" version)
   `(cons "CXX=g++ -std=c++03" ,flags))
  ((or (version-prefix? "4.9" version)
   (version-prefix? "5" version))
diff --git a/gnu/packages/patches/gcc-4.7-ucontext-type-confusion.patch 
b/gnu/packages/patches/gcc-4.7-ucontext-type-confusion.patch
deleted file mode 100644
index 406c5d2863..00
--- a/gnu/packages/patches/gcc-4.7-ucontext-type-confusion.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From ef0d1ac2580b43535965eb4b31f077f355660215 Mon Sep 17 00:00:00 2001
-From: Ekaitz Zarraga 
-Date: Wed, 30 Mar 2022 13:41:15 +0200
-Subject: [PATCH] Fix ucontext_t issue
-

- libgcc/config/i386/linux-unwind.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgcc/config/i386/linux-unwind.h 
b/libgcc/config/i386/linux-unwind.h
-index cd9a9a1e2b6..62ce4e44d54 100644
 a/libgcc/config/i386/linux-unwind.h
-+++ b/libgcc/config/i386/linux-unwind.h
-@@ -53,7 +53,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
-   if (*(unsigned char *)(pc+0) == 0x48
-   && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
- {
--  struct ucontext *uc_ = context->cfa;
-+  struct ucontext_t *uc_ = context->cfa;
-   /* The void * cast is necessary to avoid an aliasing warning.
-  The aliasing warning is correct, but should not be a problem
-  because it does not alias anything.  */
--- 
-2.46.0
-



[shepherd] branch main updated (bee8929 -> a5d9a41)

2025-03-30 Thread Ludovic Courtès
civodul pushed a change to branch main
in repository shepherd.

from bee8929  tests: Use ‘wait’ instead of ‘kill -0’.
 new a4aedb2  log-rotation: Recognize more compressed file extensions.
 new b613ab0  log-rotation: Do not compress already-compressed log files.
 new a154627  tests: Fix race condition in ‘logging.sh’.
 new a5d9a41  logger: Do not send messages to service that is potentially 
stopped.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 NEWS  | 12 
 modules/shepherd/logger.scm   | 16 +++-
 modules/shepherd/service.scm  |  6 +-
 modules/shepherd/service/log-rotation.scm | 14 --
 modules/shepherd/service/system-log.scm   |  2 ++
 tests/logging.sh  | 30 +-
 6 files changed, 67 insertions(+), 13 deletions(-)



[shepherd] 04/04: logger: Do not send messages to service that is potentially stopped.

2025-03-30 Thread Ludovic Courtès
civodul pushed a commit to branch main
in repository shepherd.

commit a5d9a41aa0bfadea9617df4411b86c6ea0c525bd
Author: Ludovic Courtès 
AuthorDate: Sun Mar 30 18:30:02 2025 +0200

logger: Do not send messages to service that is potentially stopped.

Fixes .

Fixes a deadlock whereby ‘service-builtin-logger’ would send messages to
a service (to determine its PID), but since that service was stopped,
‘put-message’ would hang forever.

* modules/shepherd/logger.scm (%service-file-logger): Handle
'set-process-id messages.
(service-builtin-logger): Likewise.  Remove calls to ‘service-status’
and ‘service-running-value’, which could cause a deadlock.
(service-system-logger): Handle 'set-process-id messages.
* modules/shepherd/service/system-log.scm (log-dispatcher): Likewise.
* modules/shepherd/service.scm (service-controller): Set 'set-process-id
messages to LOGGER when PID is known.
* tests/logging.sh: Test it.
* NEWS: Update.

Reported-by: nathan 
---
 NEWS|  7 +++
 modules/shepherd/logger.scm | 16 +++-
 modules/shepherd/service.scm|  6 +-
 modules/shepherd/service/system-log.scm |  2 ++
 tests/logging.sh| 23 ++-
 5 files changed, 43 insertions(+), 11 deletions(-)

diff --git a/NEWS b/NEWS
index 1931874..c55ddce 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,13 @@ It used to be that, when trying to start a one-shot service 
that was already
 starting, ‘herd start’ would wrongfully report failure to start.  This is no
 longer the case.
 
+** Fix potential deadlock with built-in service logger
+   ()
+
+The built-in service logger (the one used when constructors are not given a
+#:log-file argument) could deadlock under some conditions when the service it
+was logging has just stopped.  This is now fixed.
+
 ** ‘log-rotation’ does not compressed already-compressed log files
 
 Programs such as nginx can compress log files as they write them.  The
diff --git a/modules/shepherd/logger.scm b/modules/shepherd/logger.scm
index 2e0e891..40762df 100644
--- a/modules/shepherd/logger.scm
+++ b/modules/shepherd/logger.scm
@@ -214,6 +214,8 @@ rotate '~a' (log file is '~a').")
requested-file file)
  (put-message reply #f)
  (loop messages service
+  (('set-process-id pid)  ;ignore
+   (loop messages service))
   (line
(let ((now (log-line line output)))
  (loop (ring-buffer-insert (cons now line)
@@ -308,16 +310,10 @@ to @var{history-size} lines in memory."
 (('rotate _ _ reply)  ;nothing to rotate
  (put-message reply #f)
  (loop pid messages service))
+(('set-process-id new-pid)
+ (loop new-pid messages service))
 (line
- (let* ((pid (or pid
- (and service
-  (eq? 'running (service-status service))
-  (match (service-running-value service)
-((? process? process)
- (process-id process))
-(value
- value)
-(now (current-time))
+ (let* ((now (current-time))
 ;; Note: 'simple-format' is not suspendable, hence 
'put-string'.
 (line* (if (integer? pid)
(simple-format #f "~a[~a] ~a~%" command pid line)
@@ -380,6 +376,8 @@ it's logging for @var{service}."
 (('rotate _ _ reply)  ;nothing to rotate
  (put-message reply #f)
  (loop messages service))
+(('set-process-id pid);ignore
+ (loop messages service))
 (line
  (let ((now (current-time)))
(call-with-syslog-port
diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 7e574d9..5477aa5 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -593,7 +593,11 @@ denoting what the service provides."
   (else new-value
 (when new-value
   (local-output (l10n "Service ~a running with value ~s.")
-(service-canonical-name service) new-value))
+(service-canonical-name service) new-value)
+  (when (and (process? new-value) logger)
+;; Tell LOGGER which process messages come from.
+(put-message logger
+ `(set-process-id ,(process-id new-value)
 
 ;; Handle process terminations that occurred while starting.
 (for-each (match-lambda
diff --git a/modules/shepherd/service/system-log.scm 
b

[shepherd] 03/04: tests: Fix race condition in ‘logging.sh’.

2025-03-30 Thread Ludovic Courtès
civodul pushed a commit to branch main
in repository shepherd.

commit a1546277a8dad16a14a311e136606afe5078d252
Author: Ludovic Courtès 
AuthorDate: Sun Mar 30 18:25:11 2025 +0200

tests: Fix race condition in ‘logging.sh’.

* tests/logging.sh: Wait for all messages to have been logged before
grepping the log for each message.
---
 tests/logging.sh | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/tests/logging.sh b/tests/logging.sh
index ef3896d..2106fb2 100644
--- a/tests/logging.sh
+++ b/tests/logging.sh
@@ -90,6 +90,9 @@ shepherd_pid="`cat $pid`"
 while ! test -f "$service_pid" ; do sleep 0.3 ; done
 until $herd status test-file-logging | grep running; do sleep 1; done
 
+# Wait until all the messages have been logged.
+until grep "latin1 garbage" "$service_log"; do sleep 0.3; done
+
 cat "$service_log"
 for message in "STARTING" "STARTED" "café" "latin1 garbage: .* alors"
 do
@@ -133,6 +136,10 @@ fi
 
 rm -f "$service_pid"
 $herd start test-builtin-logging
+
+# Wait until all the messages have been logged.
+until grep "latin1 garbage" "$log"; do sleep 0.3; done
+
 for message in "STARTING" "STARTED" "café" "latin1 garbage: .* alors"
 do
 grep -E '^2[0-9]{3}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} 
\['"$(basename $SHELL)"'\] '"$message" "$log"



285/290: gnu-bootstrap: Use ‘search-input-file’.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit d0e66dab6e7830a0e4a1764016179cf435d9d095
Author: Ludovic Courtès 
AuthorDate: Sat Mar 22 23:45:24 2025 +0100

gnu-bootstrap: Use ‘search-input-file’.

* guix/build/gnu-bootstrap.scm (bootstrap-configure)
(bootstrap-install): Use ‘search-input-file’ instead of ‘assoc-ref’.

Change-Id: I8cd876d099a346b55b5e06b3a220f712dd504791
---
 guix/build/gnu-bootstrap.scm | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/guix/build/gnu-bootstrap.scm b/guix/build/gnu-bootstrap.scm
index b4257a3717..b265be7d1d 100644
--- a/guix/build/gnu-bootstrap.scm
+++ b/guix/build/gnu-bootstrap.scm
@@ -39,8 +39,7 @@ directory and configure all of the '.in' files with the 
bootstrap
 Guile and its module and object directories."
   (lambda* (#:key inputs outputs #:allow-other-keys)
 (let* ((out (assoc-ref outputs "out"))
-   (guile-dir (assoc-ref inputs "guile"))
-   (guile (string-append guile-dir "/bin/guile"))
+   (guile (search-input-file inputs "/bin/guile"))
(moddir (string-append out "/share/guile/site/"
   (effective-version)))
(godir (string-append out "/lib/guile/"
@@ -92,8 +91,7 @@ directories in MODULES, and all the executable files in the 
SCRIPTS
 directory."
   (lambda* (#:key inputs outputs #:allow-other-keys)
 (let* ((out (assoc-ref outputs "out"))
-   (guile-dir (assoc-ref inputs "guile"))
-   (guile (string-append guile-dir "/bin/guile"))
+   (guile (search-input-file inputs "/bin/guile"))
(moddir (string-append out "/share/guile/site/"
   (effective-version)))
(godir (string-append out "/lib/guile/"



152/290: gnu: python-pypairix: Update to 0.3.8 and fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0389b8fcdbd188401b9ec4c7abca26891760f9e6
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 10:07:41 2025 +0100

gnu: python-pypairix: Update to 0.3.8 and fix build with gcc-14.

* gnu/packages/bioinformatics.scm (python-pypairix): Update to 0.3.8.
[arguments]: Use G-Expressions.  Add phase "relax-gcc-14-strictness".

Change-Id: I5766c457da18ec7c9fedd83a583dc5e244f33dea
---
 gnu/packages/bioinformatics.scm | 28 
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d42e5cebeb..5a43e0cfbb 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -19820,7 +19820,7 @@ bound.")
 (define-public python-pypairix
   (package
 (name "python-pypairix")
-(version "0.3.7")
+(version "0.3.8")
 ;; The tarball on pypi does not include the makefile to build the
 ;; programs.
 (source
@@ -19832,19 +19832,23 @@ bound.")
(file-name (git-file-name name version))
(sha256
 (base32
- "1snr3lrmsld8sy77ng6ba6wcmd33xjccf1l2f3m6pi29xis9nd6p"
+ "1jlxj3xa67q1i58pmbi6imhvl6f5w9m5qxv0xd45ba86mp8mnmvz"
 (build-system python-build-system)
 (arguments
- `(#:phases
-   (modify-phases %standard-phases
- (add-before 'build 'build-programs
-   (lambda _ (invoke "make")))
- (add-after 'install 'install-programs
-   (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively "bin" (string-append
-  (assoc-ref outputs "out")
-  "/bin"))
- #t)
+ (list
+  #:phases
+  #~(modify-phases %standard-phases
+  (add-before 'build 'relax-gcc-14-strictness
+(lambda _
+  (setenv "CFLAGS"
+  (string-append "-g -O2"
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=int-conversion"
+  (add-before 'build 'build-programs
+(lambda _ (invoke "make")))
+  (add-after 'install 'install-programs
+(lambda _
+  (copy-recursively "bin" (string-append #$output "/bin")))
 (inputs
  (list zlib))
 (home-page "https://github.com/4dn-dcic/pairix";)



117/290: gnu: libgee: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 2bcbcfed8f2b9fd5915421cd1389a29212710644
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 15:29:38 2025 +0100

gnu: libgee: Fix build with gcc-14.

* gnu/packages/gnome.scm (libgee)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: Iefcd8d7bb458f0c6a24fc980812080b1dec24389
---
 gnu/packages/gnome.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a95d34f291..b6f58548ca 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7731,6 +7731,8 @@ wraps things up in a developer-friendly way.")
 (build-system gnu-build-system)
 (arguments
  (list
+  #:configure-flags
+  #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
   #:phases
   #~(modify-phases %standard-phases
   (add-after 'unpack 'fix-introspection-install-dir



133/290: gnu: zxing-cpp: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 4371e3aac693b133035060e202a7e7013c9e36d3
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 13:27:46 2025 +0100

gnu: zxing-cpp: Fix build with gcc-14.

* gnu/packages/aidc.scm (zxing-cpp-1.2)[source]: Use 
"zxing-cpp-1.2.0-gcc-14.patch".

Change-Id: I61486f55197f7d7314fa6fca97d9b3c43c89f880
---
 gnu/packages/aidc.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 5359f23ae5..3ef297e0fa 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant 
 ;;; Copyright © 2020 Leo Famulari 
 ;;; Copyright © 2024 Nicolas Graves 
-;;; Copyright © 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -64,6 +64,7 @@
 (uri (git-reference
   (url "https://github.com/nu-book/zxing-cpp";)
   (commit commit)))
+(patches (search-patches "zxing-cpp-1.2.0-gcc-14.patch"))
 (file-name (git-file-name name version))
 (sha256
  (base32



190/290: gnu: sdl-image-1.2.12: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 09bf3be9f9d1d2ac10e987fe72541b1f9746bec9
Author: Janneke Nieuwenhuizen 
AuthorDate: Sat Jan 4 18:17:58 2025 +0100

gnu: sdl-image-1.2.12: Fix build with gcc-14.

* gnu/packages/sdl.scm (sdl-image): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ib589af2325488cc9e96333fd3046983714357508
---
 gnu/packages/sdl.scm | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 792d32c06a..b88d8a77bb 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2023 Evgeny Pisemsky 
 ;;; Copyright © 2023, 2024 dan 
 ;;; Copyright © 2025 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -342,11 +343,14 @@ other supporting functions for SDL.")
 (build-system gnu-build-system)
 (outputs '("out" "debug"))
 (arguments
- ;; Explicitly link against shared libraries instead of dlopening them.
- '(#:configure-flags '("--disable-jpg-shared"
-   "--disable-png-shared"
-   "--disable-tif-shared"
-   "--disable-webp-shared")))
+ (list
+  #:configure-flags
+  #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
+  ;; Explicitly link against shared libraries instead of dlopening 
them.
+  "--disable-jpg-shared"
+  "--disable-png-shared"
+  "--disable-tif-shared"
+  "--disable-webp-shared")))
 (native-inputs (list pkg-config))
 ;; libjpeg, libpng, and libtiff are propagated inputs because the
 ;; SDL_image headers include the headers of these libraries.  SDL is a



196/290: gnu: gucharmap: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit e92e6ae0fee506e924f3e20b63acdaa58b6e5b83
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Jan 5 12:03:38 2025 +0100

gnu: gucharmap: Fix build with gcc-14.

* gnu/packages/gnome.scm (gucharmap)[argument]: Add CFLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: I234d21da13a688029e306a793d5348e17c6c9042
---
 gnu/packages/gnome.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ae52e6798d..2d47e9cfa1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11500,7 +11500,9 @@ basically a text box in which notes can be written.")
 (guix build glib-or-gtk-build-system)
 (guix build utils))
  #:configure-flags
- (list "--with-unicode-data=../unicode-data")
+ (list
+  "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
+  "--with-unicode-data=../unicode-data")
  #:phases
  (modify-phases %standard-phases
(add-after 'unpack 'prepare-unicode-data



163/290: gnu: r-rcppparallel: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 81fb20f9c20a191b183c9df568cdc2e6eeb64fe4
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 14:39:21 2025 +0100

gnu: r-rcppparallel: Fix build with gcc-14.

* gnu/packages/cran.scm (r-rcppparallel)[arguments]: Use G-Expressions.  Add
phase "relax-gcc-14-strictness".

Change-Id: I3d6c0d0986405dcc327bddb1eccaf95c298aec1d
---
 gnu/packages/cran.scm | 21 +
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8522eb07a5..688e45dc69 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2024 Marco Baggio 
 ;;; Copyright © 2024, 2025 Spencer King 
 ;;; Copyright © 2024 Tor-björn Claesson 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22042,10 +22043,22 @@ package provides a minimal R interface by relying on 
the Rcpp package.")
 (arguments
  (list
   #:phases
-  '(modify-phases %standard-phases
- (add-after 'unpack 'use-system-tbb
-   (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TBB_ROOT" (assoc-ref inputs "tbb")))
+  #~(modify-phases %standard-phases
+  (add-after 'unpack 'use-system-tbb
+(lambda* (#:key inputs #:allow-other-keys)
+  (setenv "TBB_ROOT" (assoc-ref inputs "tbb"
+  (add-before 'install 'relax-gcc-14-strictness
+(lambda _
+  ;; XXX FIXME: $HOME/.R/Makevars seems to be the only way to
+  ;; set custom CFLAGS for R?
+  (setenv "HOME" (getcwd))
+  (mkdir-p ".R")
+  (with-directory-excursion ".R"
+(with-output-to-file "Makevars"
+  (lambda _
+(display (string-append
+  "CXXFLAGS=-g -O2"
+  " -Wno-error=changes-meaning\n"))
 (inputs (list tbb-2020))
 (native-inputs (list r-rcpp r-runit))
 (home-page "https://rcppcore.github.io/RcppParallel/";)



115/290: gnu: mypaint-brushes-1.3.1: Revert to automake-1.16.5; fixes build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit f59e6f30b945d4ef67dc1085911cd897ce232e8f
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 14:49:53 2025 +0100

gnu: mypaint-brushes-1.3.1: Revert to automake-1.16.5; fixes build.

* gnu/packages/gimp.scm (mypaint-brushes-1.3)[native-inputs]: New field.

Change-Id: Id4b75fb06018d24c7a2a152f53763671e5f99f0d
---
 gnu/packages/gimp.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 6e4916600f..8eef025b82 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 Michael Rohleder 
 ;;; Copyright © 2021, 2022 Vinicius Monego 
 ;;; Copyright © 2022 Maxim Cournoyer 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -590,7 +591,8 @@ MyPaint.")
  (commit (string-append "v" version
(file-name (git-file-name name version))
(sha256
-(base32 "1c95l1vfz7sbrdlzrbz7h1p6s1k113kyjfd9wfnxlm0p6562cz3j"))
+(base32 "1c95l1vfz7sbrdlzrbz7h1p6s1k113kyjfd9wfnxlm0p6562cz3j"
+(native-inputs (list autoconf automake-1.16.5
 
 (define-public gimp-resynthesizer
   ;; GIMP does not respect any plugin search path environment variable, so 
after



75/290: gnu: gdl: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit b61a50e6c06376eba8c1f82a7f59bf5965ed627c
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 30 18:53:54 2024 +0100

gnu: gdl: Fix build with gcc-14.

* gnu/packages/gnome.scm (gdl)[arguments]: New field to relax gcc-14's 
strictness.

Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
---
 gnu/packages/gnome.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 16b4994f55..afca692c84 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2584,6 +2584,9 @@ GNOME Desktop.")
(base32
 "11hp93gqk7m64h84q5hndzlwj4w6hl0cbmzrk2pkdn04ikm2zj4v"
 (build-system gnu-build-system)
+(arguments
+ (list #:configure-flags
+   #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")))
 (native-inputs
  (list autoconf
automake



50/290: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit b494f26763067686d1ea7be18597fb37a91b2614
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 21:36:22 2024 +0100

gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14.

* gnu/packages/patches/python-numpy-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.26.4 and use it.
[arguments]: Add phase "relax-gcc-14-strictness".  In phase "check", disable
more tests.
[native-inputs]: Add gcc-14 before gfortran so that gfortran's fenv.h 
include
doesn't win and break the build.

Change-Id: I9c8053c66f21521371a85107ef1864a1c0d19ad4
---
 gnu/local.mk   |  1 +
 gnu/packages/patches/python-numpy-gcc-14.patch | 14 +++
 gnu/packages/python-xyz.scm| 51 ++
 3 files changed, 50 insertions(+), 16 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 1611ff43d9..36abe6854a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2016,6 +2016,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/python-feedparser-missing-import.patch  \
   %D%/packages/patches/python-louvain-fix-test.patch   \
   %D%/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch
\
+  %D%/packages/patches/python-numpy-gcc-14.patch   \
   %D%/packages/patches/python-random2-getrandbits-test.patch   \
   %D%/packages/patches/python-pillow-use-zlib-1.3.patch\
   %D%/packages/patches/python-pydocstyle-add-support-for-pep701.patch  \
diff --git a/gnu/packages/patches/python-numpy-gcc-14.patch 
b/gnu/packages/patches/python-numpy-gcc-14.patch
new file mode 100644
index 00..1d022108c7
--- /dev/null
+++ b/gnu/packages/patches/python-numpy-gcc-14.patch
@@ -0,0 +1,14 @@
+Upstream status: Not presented upstream.
+
+--- numpy-1.26.4/numpy/core/src/common/half_private.hpp.orig   2024-12-11 
22:32:59.883085553 +0100
 numpy-1.26.4/numpy/core/src/common/half_private.hpp2024-12-11 
22:33:05.291112742 +0100
+@@ -1,6 +1,9 @@
+ #ifndef NUMPY_CORE_SRC_COMMON_HALF_PRIVATE_HPP
+ #define NUMPY_CORE_SRC_COMMON_HALF_PRIVATE_HPP
+ 
++int fetestexcept (int);
++int feclearexcept (int);
++int feraiseexcept (int);
+ #include "npstd.hpp"
+ #include "float_status.hpp"
+ 
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8c7a60f3e7..f2e142fac4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9500,7 +9500,7 @@ programming language and the extended Cython programming 
language.  It makes
 writing C extensions for Python as easy as Python itself.")
 (license license:asl2.0)))
 
-;; Needed for scipy
+;; Needed for scipy and numpy
 (define-public python-cython-0.29.35
   (package
 (inherit python-cython)
@@ -9578,11 +9578,7 @@ writing C extensions for Python as easy as Python 
itself.")
 (define-public python-numpy
   (package
 (name "python-numpy")
-;; XXX: Any other versions up to 1.26.4 failed to build with error similar
-;; to: 'fenv_t' has not been declared in '::' 58 | using ::fenv_t;
-;; See 
,
-;; .
-(version "1.24.4")
+(version "1.26.4")
 (source
  (origin
(method url-fetch)
@@ -9591,7 +9587,8 @@ writing C extensions for Python as easy as Python 
itself.")
  version "/numpy-" version ".tar.gz"))
(sha256
 (base32
- "0qwldmkq5bns561ppkz7psphc4jqfj5j1x4dhq0i8r4qwjjf7xc0"
+ "0410j6jfz1yzm5s0v0yrc1j0q6ih4322357and7arr0jxnlsn0ia"))
+   (patches (search-patches "python-numpy-gcc-14.patch"
 (build-system pyproject-build-system)
 (arguments
  (list
@@ -9600,6 +9597,10 @@ writing C extensions for Python as easy as Python 
itself.")
   (ice-9 format))
   #:phases
   #~(modify-phases %standard-phases
+  (add-before 'build 'relax-gcc-14-strictness
+(lambda _
+  (setenv "CFLAGS"
+  "-g -O2 -Wno-error=implicit-function-declaration")))
   (add-before 'build 'parallelize-build
 (lambda _
   (setenv "NPY_NUM_BUILD_JOBS"
@@ -9675,22 +9676,40 @@ include_dirs = ~:*~a/include~%"
   ;; These tests seem to fail on machines without
   ;; an FPU is still under investigation upstream.
   ;; https://github.com/numpy/numpy/issues/20635
-  #$@(if (target-riscv64?)
-   `(" and not test_float"
- " and not test_fpclass")
-   '())
-(native-inputs
- (list gfortran
-   meson-python
+   

25/290: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit f46614658fc0384a78428d9aac6852dc29d42c33
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Dec 8 11:35:30 2024 +0100

gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14.

* gnu/packages/xml.scm (python-lxml): Update to 5.2.2.  This fixes the build
with gcc-14.

Change-Id: Ia14c5266f157ed373d4d0129cc4623a09f22bb75
---
 gnu/packages/xml.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 10cd6d98fa..2b38037553 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2016 Mathieu Lirzin 
 ;;; Copyright © 2016, 2017 Leo Famulari 
 ;;; Copyright © 2016 Ben Woodcroft 
-;;; Copyright © 2016 Jan Nieuwenhuizen 
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen 
 ;;; Copyright © 2016, 2017 Nikita 
 ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice 
 ;;; Copyright © 2016-2022 Marius Bakke 
@@ -1887,13 +1887,13 @@ because lxml.etree already has its own implementation 
of XPath 1.0.")
 (define-public python-lxml
   (package
 (name "python-lxml")
-(version "4.9.1")
+(version "5.2.2")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "lxml" version))
(sha256
- (base32 "0grczyrrq2rbwhvpri15cyhv330s494vbz3js3jky8xp5c2rnx7y"
+(base32 "11yvrzlswlh81z6lpmds2is2jd3wkigpwj6mcfcaggl0h64w8bdv"
 (build-system python-build-system)
 (arguments
  `(#:phases (modify-phases %standard-phases



53/290: gnu: tevent: Update to 0.16.1; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 8de6692bd3d41682f73c55be559ab3bf3e5985e5
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 10:11:07 2024 +0100

gnu: tevent: Update to 0.16.1; fixes build with gcc-14.

* gnu/packages/samba.scm (tevent): Update to 0.16.1.

Change-Id: I1ea6d75b49eaa243d5e895c2699757ccf9e7bd2c
---
 gnu/packages/samba.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index d164b4ef4d..6e2183f6af 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -387,14 +387,14 @@ destructors.  It is the core memory allocator used in 
Samba.")
 (define-public tevent
   (package
 (name "tevent")
-(version "0.13.0")
+(version "0.16.1")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://www.samba.org/ftp/tevent/tevent-";
   version ".tar.gz"))
   (sha256
(base32
-"030x6ziapxiqvmi2m23ri2p9rsa202gfqr7b3cv48lx5gy8plhxr"
+"17h293jyya0ad4znral5vhi8qd5qqhcn6wz4dxgr1h9dygh72a9n"
 (build-system gnu-build-system)
 (arguments
  '(#:phases



140/290: gnu: chmlib: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit ae9b657e1d804cfdc91e735734b88285d761d4a2
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 14:40:13 2025 +0100

gnu: chmlib: Fix build with gcc-14.

* gnu/packages/ebook.scm (chmlib)[arguments]: New field to relax gcc-14's 
strictness.

Change-Id: Ia2fb349d9aeda92d7753c5b1ac98dd85869a2f70
---
 gnu/packages/ebook.scm | 5 +
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 8200f13554..ca37932cfc 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2021 Petr Hodina 
 ;;; Copyright © 2021 Mathieu Laparie 
 ;;; Copyright © 2024 jgart 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -99,6 +100,10 @@
 "18zzb4x3z0d7fjh1x5439bs62dmgsi4c1pg3qyr7h5gp1i5xcj9l"))
  (patches (search-patches "chmlib-inttypes.patch"
 (build-system gnu-build-system)
+(arguments
+ (list
+  #:configure-flags
+  #~(list "CFLAGS=-Wno-error=implicit-function-declaration")))
 (home-page "http://www.jedrea.com/chmlib/";)
 (synopsis "Library for CHM files")
 (description "CHMLIB is a library for dealing with ITSS/CHM format files.")



41/290: gnu: gamin: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a6ddb88cb9843016f598dedbdb13a81e3f7406ba
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 13:54:34 2024 +0100

gnu: gamin: Fix build with gcc-14.

* gnu/packages/gnome.scm (gamin)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
---
 gnu/packages/gnome.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 46e360067f..3f5e4840f3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12675,7 +12675,11 @@ repository and commit your work.")
 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"
 (build-system gnu-build-system)
 (arguments
- `(#:phases
+ `(#:configure-flags `(,(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=return-mismatch"))
+   #:phases
(modify-phases %standard-phases
  ;; The 'config.sub' is too old to recognise aarch64.
  ,@(if (or (target-aarch64?) (target-riscv64?))



03/290: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd.""

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit c88384fb202482d0af622da4f175943d3834ba84
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 5 20:55:08 2024 +0100

Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, 
for the 64bit Hurd.""

This cleanup was reverted because it led to a world rebuild.

This reverts commit 7b64a96326bde6b51f887a96345ba89c115ceeae.

Change-Id: Ieefd576c365527267c04ee64292c15e9702d5254
---
 gnu/packages/make-bootstrap.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 864d84d89e..c2a51f9b8b 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -540,8 +540,7 @@ for `sh' in $PATH, and without nscd, and with static NSS 
modules."
 (substitute* (cons "gcc/config/rs6000/sysv4.h"
(find-files "gcc/config"
"^gnu-user.*\\.h$"))
-  ((" -lgcc_s}}") "}}"))
-#$@(if (target-hurd64?) '() '(#t
+  ((" -lgcc_s}}") "}}"
  (inputs
   `(("zlib:static" ,zlib "static")
 ("isl:static" ,isl "static")



22/290: gnu: expect: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 44c4c6f5b6bb27d5fc78c7ab46c440eb066e940d
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Dec 6 22:53:49 2024 +0100

gnu: expect: Fix build with gcc-14.

* gnu/packages/tcl.scm (expect)[arguments]: Add CFLAGS to #:configure-flags 
to
relax gcc-14's strictness.

Change-Id: Ic371619c87cac9a047fdee6eded21611bc23bd1b
---
 gnu/packages/tcl.scm | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index a888304e0f..0d9c7909b6 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2014, 2015, 2018 Mark H Weaver 
 ;;; Copyright © 2014 Eric Bavier 
 ;;; Copyright © 2016, 2018 Efraim Flashner 
-;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen 
+;;; Copyright © 2016, 2023, 2024 Janneke Nieuwenhuizen 
 ;;; Copyright © 2017 Kei Kebreau 
 ;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice 
 ;;; Copyright © 2019 Julien Lepiller 
@@ -171,7 +171,11 @@ multiple inheritance and public and private classes and 
variables.")
  '(#:configure-flags
(let ((out (assoc-ref %outputs "out"))
  (tcl (assoc-ref %build-inputs "tcl")))
- (list (string-append "--with-tcl=" tcl "/lib")
+ (list (string-append "CFLAGS=-g -O2"
+  " -Wno-error=implicit-function-declaration"
+  " -Wno-error=implicit-int"
+  " -Wno-error=incompatible-pointer-types")
+   (string-append "--with-tcl=" tcl "/lib")
(string-append "--with-tclinclude=" tcl "/include")
(string-append "--exec-prefix=" out)
(string-append "--mandir=" out "/share/man")))



15/290: gnu: automake: Update to 1.17; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 01e8c8db8aa4c363c991f880749b9fc40d3b5117
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 5 10:44:38 2024 +0100

gnu: automake: Update to 1.17; fixes build with gcc-14.

* gnu/packages/autotools.scm (automake): Update to 1.17.  This fixes the 
build
with gcc-14.
[arguments]: Rembove custom #:configure-flags.

Change-Id: Iedddebb6245c85f7a7c532594e6bc0fd9b151584
---
 gnu/packages/autotools.scm | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 2e9e72ce6b..e16e594ad8 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -320,14 +320,14 @@ output is indexed in many ways to simplify browsing.")
 (define-public automake
   (package
 (name "automake")
-(version "1.16.5")
+(version "1.17")
 (source (origin
   (method url-fetch)
   (uri (string-append "mirror://gnu/automake/automake-"
   version ".tar.xz"))
   (sha256
(base32
-"0sdl32qxdy7m06iggmkkvf7j520rmmgbsjzbm7fgnxwxdp6mh7gh"))
+"146rkdcwri2dkwn3pjrjs9v0wm4xyav9vvq4yw5vj4qy87yc2849"))
   (patches
(search-patches "automake-skip-amhello-tests.patch"
 (build-system gnu-build-system)
@@ -346,7 +346,6 @@ output is indexed in many ways to simplify browsing.")
   (srfi srfi-1)
   (srfi srfi-26)
   (rnrs io ports))
-  #:configure-flags #~'("CFLAGS=-g -O2 -Wno-implicit-function-declaration")
   #:phases
   #~(modify-phases %standard-phases
   (add-before 'patch-source-shebangs 'patch-tests-shebangs
@@ -362,11 +361,14 @@ output is indexed in many ways to simplify browsing.")
 (setenv "CONFIG_SHELL" sh
   (add-before 'check 'skip-test
 (lambda _
-  ;; This test requires 'etags' and fails if it's missing.
-  ;; Skip it.
-  (substitute* "t/tags-lisp-space.sh"
-(("^required.*" all)
- (string-append "exit 77\n" all "\n")
+  (substitute*
+  ;; This test requires 'etags' and fails if it's missing.
+  '("t/tags-lisp-space.sh"
+;; This test fails, probably a timestamp thing:
+;; make: Nothing to be done for 'all'.
+"t/remake-aclocal-version-mismatch.sh")
+(("^#!.*" all)
+ (string-append all "exit 77;\n")
 
   #$@(if (%current-target-system)
  #~((add-after 'install 'patch-non-shebang-references



33/290: gnu: gcc-boot0: Fix building for aarch64-linux.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit fb06c479c63a99e53be613c50ad2ad94350ffca6
Author: Efraim Flashner 
AuthorDate: Tue Dec 10 14:30:38 2024 +0200

gnu: gcc-boot0: Fix building for aarch64-linux.

* gnu/packages/commencement.scm (gcc-boot0)[inputs]: When building for
aarch64-linux use libstdc++-boot0 from gcc-5.

Change-Id: I647694e70e461e100052801874f50c5c20b49398
---
 gnu/packages/commencement.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1f8e7d9de3..3d35fa04d1 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2485,6 +2485,7 @@ exec " gcc "/bin/" program
 
   ;; The libstdc++ that libcc1 links against.
   ("libstdc++" ,(match (%current-system)
+   ("aarch64-linux" (make-libstdc++-boot0 
gcc-5))
("powerpc64le-linux" (make-libstdc++-boot0 
gcc-5))
("riscv64-linux" (make-libstdc++-boot0 
gcc-7))
("x86_64-gnu" (make-libstdc++-boot0 gcc-14))



27/290: gnu: cmake-bootstrap: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0153e9ca19835d1d6d04a10cb6df853705a5e950
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Dec 8 13:09:32 2024 +0100

gnu: cmake-bootstrap: Fix build with gcc-14.

Apparently cmake-minimal cannot be updated because of the introducion of a
circular cppdap dependency.

* gnu/packages/cmake.scm (%common-disabled-tests): Add failing "LoadCommand"
and "LoadedCommandOneConfig" tests.

Change-Id: Ic71aa92c327f7853248748d6eab4db9309c90408
---
 gnu/packages/cmake.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 1ddcfa4d80..5cf6eba7bd 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -146,7 +146,10 @@ using the CMake build system.")
 ;; This test requires 'ldconfig' which is not available in Guix.
 "RunCMake.install"
 ;; This test fails for unknown reason.
-"RunCMake.file-GET_RUNTIME_DEPENDENCIES"))
+"RunCMake.file-GET_RUNTIME_DEPENDENCIES"
+;; These tests fail with gcc-14.
+"LoadCommand"
+"LoadedCommandOneConfig"))
 
 (define %common-disabled-tests/hurd
   '("CTestTestTimeout"



36/290: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 5131fc7b32be9a5213b448f091bcaec3d2604dbd
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 10 22:39:42 2024 +0100

gnu: fontforge: Update to 20230101 and fix build with gettext-0.23.

* gnu/packages/fontutils.scm (fontforge): Update to 20230101.
[arguments]: Add stage "do-not-use-msgfmt--check".

Change-Id: I2e4e347e86a32963ac7b927be3bc9235dc326fd6
---
 gnu/packages/fontutils.scm | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 7d101bebff..a85477e25a 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1622,14 +1622,14 @@ definitions.")
 (define-public fontforge
   (package
 (name "fontforge")
-(version "20220308")
+(version "20230101")
 (source (origin
   (method url-fetch)
   (uri (string-append
 "https://github.com/fontforge/fontforge/releases/download/";
 version "/fontforge-" version ".tar.xz"))
   (sha256
-   (base32 
"0ncfc4ajwy4ng6b6h79w52jh9z3lngvf3f3ldi1wzkhcg9zh3r01"
+   (base32 
"1y30bk9rdya8bkw4q77y6nq5xfg7nm0qliz5miqdlk8c0r6fr0na"
 (build-system cmake-build-system)
 (native-inputs
  (list pkg-config))
@@ -1657,7 +1657,7 @@ definitions.")
zlib))
 (arguments
  (list
-  #:configure-flags #~'( ;; TODO: Provide GTK+ for the Wayland-friendly GDK
+  #:configure-flags #~`(;; TODO: Provide GTK+ for the Wayland-friendly GDK
 ;; backend, instead of the legacy X11 backend.
 ;; Currently it introduces a circular dependency.
 "-DENABLE_X11=ON")
@@ -1670,6 +1670,12 @@ definitions.")
   (substitute* "CMakeLists.txt"
 (("^set_default_rpath\\(\\)")
  ""
+  (add-after 'unpack 'do-not-use-msgfmt--check
+(lambda _
+  ;; msgfmt --check from gettext-0.23 fails on fr.po:
+  ;; 'msgstr' is not a valid C format string
+  (substitute* "po/CMakeLists.txt"
+((" --check") ""
   #$@(if (target-hurd?)
  #~((add-after 'unpack 'apply-hurd-patch
   (lambda _



30/290: gnu: hplip: Update to 3.24.4 and fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a654554b41e4380cb8aa2001f38e9559ff3cf5f4
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 9 10:16:50 2024 +0100

gnu: hplip: Update to 3.24.4 and fix build with gcc-14.

* gnu/packages/cups.scm (hplip): Update to 3.24.4.
[arguments]: Add "set-gcc-14-cflags" phase to relax gcc-14's strictness.

Change-Id: Ie753c9ebb51f08c4683e9a9762e9c269eceb5e22
---
 gnu/packages/cups.scm | 17 +++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index e8ca5efc86..93fa3e698a 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 Marius Bakke 
 ;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer 
 ;;; Copyright © 2023 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -529,14 +530,14 @@ should only be used as part of the Guix cups-pk-helper 
service.")
 (define-public hplip
   (package
 (name "hplip")
-(version "3.23.12")
+(version "3.24.4")
 (source (origin
   (method url-fetch)
   (uri (string-append "mirror://sourceforge/hplip/hplip/" version
   "/hplip-" version ".tar.gz"))
   (sha256
(base32
-"1vb9irqsm3d4c2qdr4h6ia940x65bb99h4x31mgxn7dkvv42lv57"))
+"1yzil1fn9ib2hxmqh9in0apmmznvln0xahlxvyny59ck321l6xjx"))
   (patches (search-patches "hplip-usb-timeout.patch"))
   (modules '((guix build utils)))
   (snippet
@@ -599,6 +600,18 @@ should only be used as part of the Guix cups-pk-helper 
service.")
   "--disable-qt4")
   #:phases
   #~(modify-phases %standard-phases
+  (add-after 'unpack 'set-gcc-14-cflags
+;; We set CFLAGS here because adding setting it in
+;; #:configure-flags or #:make-flags does not work.
+(lambda _
+  (substitute* "Makefile.in"
+(("CFLAGS = @CFLAGS@" all)
+ (string-append all
+" -Wno-error=attributes"
+" -Wno-error=implicit-function-declaration"
+" -Wno-error=implicit-int"
+" -Wno-error=incompatible-pointer-types"
+" -Wno-error=return-mismatch")
   (add-after 'unpack 'fix-hard-coded-file-names
 (lambda* (#:key inputs outputs #:allow-other-keys)
   (let ((out #$output)



13/290: gnu: unzip: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 9105c6d4905fc893f6e9b1b693450894342e9b1a
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 4 09:28:12 2024 +0100

gnu: unzip: Fix build with gcc-14.

* gnu/packages/compression.scm (unzip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness.  In phase "build" use target "generic" rather 
than
"generic_gcc".

Change-Id: I9b4753529b15b5766d7764553bf1fb234c437d45
---
 gnu/packages/compression.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 208ae8e06e..fa0c48303f 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2039,15 +2039,17 @@ Compression ratios of 2:1 to 3:1 are common for text 
files.")
   `("-j" ,(number->string
(parallel-job-count))
 ,@make-flags
-"generic_gcc")
+"generic")
#:make-flags
;; Fix cross-compilation without affecting native builds, as doing 
so
;; would trigger too many rebuilds: 
https://issues.guix.gnu.org/57127
(if (%current-target-system)
#~(list "-f" "unix/Makefile"
+   "CC=gcc -Wno-error=implicit-function-declaration"
(string-append "prefix=" #$output)
(string-append "MANDIR=" #$output "/share/man/man1"))
#~(list "-f" "unix/Makefile"
+   "CC=gcc -Wno-error=implicit-function-declaration"
(string-append "prefix=" %output)
(string-append "MANDIR=" %output "/share/man/man1")
 (home-page "http://www.info-zip.org/UnZip.html";)



07/290: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0237c31d3d07760617e7906bfed4a7795a473fed
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 3 13:15:04 2024 +0100

gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14.

Summary: Use fixes for the 64bit Hurd also on linux.

* gnu/packages/commencement.scm (gcc-final)[arguments]: When building for
x86-linux, create a gcc wrapper in phase "create-stage-wrapper", use it by
adding STAGE_CC_WRAPPER to #:make-flags, and CC to #:configure-flags to
convince configure gmp that gcc and g++ work.
---
 gnu/packages/commencement.scm | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 787555c78f..1f8e7d9de3 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3274,7 +3274,8 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
\"$@\"~%"
"/lib -L" zlib "/lib -Wl,-rpath="
zlib "/lib")
 flag))
-  #$(if (target-hurd64?)
+  #$(if (or (target-hurd64?)
+(and (target-x86?) (target-linux?)))
 `(cons
   (string-append
;;Convince gmp's configure that gcc works
@@ -3282,7 +3283,8 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
\"$@\"~%"
   ,flags)
 flags
 ((#:configure-flags flags)
- (if (target-hurd64?)
+ (if (or (target-hurd64?)
+ (and (target-x86?) (target-linux?)))
  #~(append
 #$flags
 (list #$(string-append
@@ -3336,7 +3338,8 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
\"$@\"~%"
#\:))
   ":")
  "\nAM_CXXFLAGS = "))
- #$@(if (target-hurd64?)
+ #$@(if (or (target-hurd64?)
+(and (target-x86?) (target-linux?)))
 #~((add-after 'configure 'create-stage-wrapper
  (lambda _
(with-output-to-file "gcc.sh"



132/290: gnu: boost-for-mysql: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 4d09b3ee5f4418e65110940b3329300c5e4c3dc6
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 13:15:55 2025 +0100

gnu: boost-for-mysql: Fix build with gcc-14.

* gnu/packages/boost.scm (boost-for-mysql)[arguments]: Add phase
"apply-gcc-14-patch".

Change-Id: If75c77d514702c2af127eadba44d195d7443d4f5
---
 gnu/packages/boost.scm | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 4f54c6b578..36faceb07a 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2019, 2020 Giacomo Leidi 
 ;;; Copyright © 2020, 2022 Marius Bakke 
 ;;; Copyright © 2020 Jonathan Brielmaier 
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen 
+;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen 
 ;;; Copyright © 2021, 2022 Greg Hogan 
 ;;; Copyright © 2021 Franck Pérignon 
 ;;; Copyright © 2021 Aleksandr Vityazev 
@@ -342,6 +342,16 @@ across a broad spectrum of applications.")
  "--with-toolset=gcc")))
((#:phases phases)
 #~(modify-phases #$phases
+(add-after 'unpack 'apply-gcc-14-patch
+  (lambda _
+(substitute* "tools/build/src/engine/build.sh"
+  (("=gcc")
+   "=\"gcc -Wno-error=implicit-function-declaration\""))
+(substitute* "tools/build/src/engine/build.jam"
+  ((": -pedantic -fno-strict-aliasing" all)
+   (string-append
+all
+" -Wno-error=implicit-function-declaration")
 (replace 'patch-shells
   (lambda _
 (substitute* (append



144/290: gnu: freeipmi: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 2d0ce274c97408f20f19fbc0d1986345e409af75
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 18:24:44 2025 +0100

gnu: freeipmi: Fix build with gcc-14.

* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add CFLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: I468eab233af14ee41f50fed851bd3e107f8ba617
---
 gnu/packages/freeipmi.scm | 46 +-
 1 file changed, 25 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/freeipmi.scm b/gnu/packages/freeipmi.scm
index 0febd97122..b3a3c8cdc0 100644
--- a/gnu/packages/freeipmi.scm
+++ b/gnu/packages/freeipmi.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013 Ludovic Courtès 
 ;;; Copyright © 2015, 2016, 2017, 2020, 2021, 2022 Efraim Flashner 

 ;;; Copyright © 2019–2022 Tobias Geerinckx-Rice 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,27 +42,30 @@
"1bwc5gz3985fly84ap1yq8jkddkf6s5px2dinmswxx9r8qsrr4nn"
 (build-system gnu-build-system)
 (arguments
- (append (if (and (%current-target-system)
-  (target-riscv64?))
- (list #:phases
-   #~(modify-phases %standard-phases
-   (add-after 'unpack 'update-config-scripts
- (lambda* (#:key inputs native-inputs 
#:allow-other-keys)
-   ;; Replace outdated config.guess and config.sub.
-   (for-each (lambda (file)
-   (install-file
-(search-input-file
- (or native-inputs inputs)
- (string-append "/bin/" file)) 
"config"))
- '("config.guess" "config.sub"))
- '())
- (list #:configure-flags #~'("--disable-static"
- #$@(if (%current-target-system)
-;; We cannot check for these 
devices
-;; when cross compiling.
-`("ac_cv_file__dev_random=yes"
-  
"ac_cv_file__dev_urandom=yes")
-'())
+ (append
+  (if (and (%current-target-system)
+   (target-riscv64?))
+  (list #:phases
+#~(modify-phases %standard-phases
+(add-after 'unpack 'update-config-scripts
+  (lambda* (#:key inputs native-inputs #:allow-other-keys)
+;; Replace outdated config.guess and config.sub.
+(for-each (lambda (file)
+(install-file
+ (search-input-file
+  (or native-inputs inputs)
+  (string-append "/bin/" file)) "config"))
+  '("config.guess" "config.sub"))
+  '())
+ (list #:configure-flags
+   #~'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
+   "--disable-static"
+   #$@(if (%current-target-system)
+  ;; We cannot check for these devices
+  ;; when cross compiling.
+  `("ac_cv_file__dev_random=yes"
+"ac_cv_file__dev_urandom=yes")
+  '())
 (native-inputs
  (if (and (%current-target-system)
   (target-riscv64?))



175/290: gnu: icu4c: Revert to 71.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 18fb4e4bc6558e8470e331d05c90480c897cdfa6
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 20:06:12 2025 +0100

gnu: icu4c: Revert to 71.

It seems that there's some incompatibility, many packages, such as guix, are
failing after the update to 76.1.

* gnu/packages/icu4c.scm (icu4c): Rename to...
(icu4c-76): ...this.
(icu4c): Set to icu4c-71.

Change-Id: Ibbe9154ade830cdbd0f1f0b8a870dc8d792b3e4c
---
 gnu/packages/icu4c.scm | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 74ac9dff63..b3d9e1d8db 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -52,7 +52,7 @@
(string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
"-src.tgz"))
 
-(define-public icu4c
+(define-public icu4c-76
   (package
 (name "icu4c")
 (version "76.1")
@@ -125,7 +125,7 @@ C/C++ part.")
 
 (define-public icu4c-71
   (package
-(inherit icu4c)
+(inherit icu4c-76)
 (name "icu4c")
 (version "71.1")
 (source (origin
@@ -134,6 +134,8 @@ C/C++ part.")
   (sha256
(base32 
"1gqywaqj9jmdwrng9lm6inyqmi5j2cz36db9dcqg3yk13zjyd9v7"))
 
+(define-public icu4c icu4c-71)
+
 (define-public icu4c-73
   (package
 (inherit icu4c)



87/290: gnu: mariadb: Update to 10.11.10 and fix build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 7acae62347f840bf309ad564c3661665af47b530
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 10:36:25 2024 +0100

gnu: mariadb: Update to 10.11.10 and fix build.

* gnu/packages/databases.scm (mariadb): Update to 10.11.10.
[arguments]: In phase "ajdust-tests", disable failing 
"main.mysqldump-header"
test, and unstable "main.log_low" and "main.mysqld--help-aria" tests.

Change-Id: Ic44c76b34d278ffebeebb2ae65b9f2b40bf43dd3
---
 gnu/packages/databases.scm | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a5d8238721..d409b92546 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -956,7 +956,7 @@ Language.")
 (define-public mariadb
   (package
 (name "mariadb")
-(version "10.10.2")
+(version "10.11.10")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://downloads.mariadb.com/MariaDB";
@@ -964,7 +964,7 @@ Language.")
   version ".tar.gz"))
   (sha256
(base32
-"1ciw7y08wms9g3hzhyria49r1b9n5wpbhkndazv95d925c8x1jsp"))
+"08phlqcwcwl753zi2jv702q7b3h25d489289mflnm8c31djp8smh"))
   (modules '((guix build utils)))
   (snippet
'(begin
@@ -1074,11 +1074,16 @@ Language.")
   ;; .
   "main.selectivity_no_engine"
 
-  ;; FIXME: This test checks various table encodings and
+  ;; FIXME: These tests check various table encodings and
   ;; fails because Guix defaults to UTF8 instead of the
   ;; upstream default latin1_swedish_ci.  It's not easily
   ;; substitutable because several encodings are tested.
   "main.system_mysql_db"
+  "main.mysqldump-header"
+
+  ;; These test sometimes fail.
+  "main.log_slow"
+  "main.mysqld--help-aria"
 
   ;; XXX: This test occasionally fails on i686-linux:
   ;; 



228/290: gnu: ed: Update to 1.21.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit ccb09aab302c71a2f8514516d1d9807e7035dab5
Author: Andy Tai 
AuthorDate: Wed Feb 5 22:47:25 2025 -0800

gnu: ed: Update to 1.21.

* gnu/packages/text-editors.scm (ed): Update to 1.21.

Change-Id: If4adc3d92cf14b5bf5acbb43c1c9d65e15824139
Signed-off-by: Zheng Junjie 
---
 gnu/packages/text-editors.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 33462748fc..6b31ca8071 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -131,14 +131,14 @@
 (define-public ed
   (package
 (name "ed")
-(version "1.20.1")
+(version "1.21")
 (source (origin
  (method url-fetch)
  (uri (string-append "mirror://gnu/ed/ed-"
  version ".tar.lz"))
  (sha256
   (base32
-   "1jmvpbs2mnrmk870js11v7g5qr3z8w0ws7sbdj3zjhd1jyr6795i"
+   "0xddpcdsdhf1cx7izk9l5dmf8vakjx5ncm1cy1f3libxfac4kqk0"
 (build-system gnu-build-system)
 (native-inputs (list lzip))
 (arguments



49/290: gnu: openblas: Update to 0.3.28; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a8eb4419360d16ed8db89f0c0af10a02a8bb254b
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 20:20:25 2024 +0100

gnu: openblas: Update to 0.3.28; fixes build with gcc-14.

* gnu/packages/maths.scm (openblas): Update to 0.3.28.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/packages/maths.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 3de5b7b8ae..ae57a9de52 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5718,7 +5718,7 @@ parts of it.")
 (define-public openblas
   (package
 (name "openblas")
-(version "0.3.20")
+(version "0.3.28")
 (source
  (origin
(method git-fetch)
@@ -5728,7 +5728,7 @@ parts of it.")
(file-name (git-file-name name version))
(sha256
 (base32
- "0r4sz3rn68fyc2paq0a04pgfi7iszpm95f6ggbzxpvjzx9qxbcql"
+ "13qyhb71ddq5qjjvpijg2lb3f3hlpd8b3if3iml17865iqdk6zg3"
 (build-system gnu-build-system)
 (arguments
  (list



86/290: gnu: jamvm-1-bootstrap: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit fde0237a82796d4f1e805ab5621dcc415c3d8996
Author: Zheng Junjie 
AuthorDate: Tue Dec 31 09:43:29 2024 +0800

gnu: jamvm-1-bootstrap: Fix build with gcc-14.

* gnu/packages/java-bootstrap.scm (jamvm-1-bootstrap)[arguments]
<#:configure-flags>: Add CFLAGS.

Change-Id: I354113621cb5b69e9a6e836250335319561a17e3
---
 gnu/packages/java-bootstrap.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/java-bootstrap.scm b/gnu/packages/java-bootstrap.scm
index bce7b4fbfc..7a6251611e 100644
--- a/gnu/packages/java-bootstrap.scm
+++ b/gnu/packages/java-bootstrap.scm
@@ -161,7 +161,11 @@ language.")
 (assoc-ref %build-inputs "classpath"))
  "--disable-int-caching"
  "--enable-runtime-reloc-checks"
- "--enable-ffi")
+ "--enable-ffi"
+ ,(string-append
+   "CFLAGS=-g -O2"
+   " -Wno-error=implicit-function-declaration"
+   " -Wno-error=incompatible-pointer-types"))
#:phases
,(if (string-prefix? "aarch64" (or (%current-system)
   (%current-target-system)))



91/290: gnu: libvisual: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 65238a71cd72288cbe2f91c64c610ba9efd786d7
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 13:36:03 2024 +0100

gnu: libvisual: Fix build with gcc-14.

* gnu/packages/gstreamer.scm (libvisual)[arguments]: Add #:configure-flags 
to
relax gcc-14's strictness.

Change-Id: I84cb625c98e4ef75a87ad9ffe7fa580685c0fcf0
---
 gnu/packages/gstreamer.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index b93e84dba4..b81d241ed4 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020 Michael Rohleder 
 ;;; Copyright © 2023, 2024 Maxim Cournoyer 
 ;;; Copyright © 2024 Remco van 't Veer 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -238,7 +239,9 @@ and very fast.")
 (base32 "12xf0qzn9w090kakrj59makjbjg9vhga5mgchmx6c1ypw10fjfbc"
 (build-system gnu-build-system)
 (arguments
- (list #:phases
+ (list #:configure-flags
+   #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+   #:phases
#~(modify-phases %standard-phases
;; The package is in a sub-dir of this repo.
(add-after 'unpack 'chdir



215/290: gnu: clang-runtime: Remove gcc-12, 13, 14 from native-inputs.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 52d9c2d59aa9be104bca279124da3e17c7b163d8
Author: Janneke Nieuwenhuizen 
AuthorDate: Sat Dec 14 22:40:14 2024 +0100

gnu: clang-runtime: Remove gcc-12,13,14 from native-inputs.

* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use
llvm's native inputs unmodified.

Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
---
 gnu/packages/llvm.scm | 18 +-
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 039c7c84db..2ca535e66a 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -156,23 +156,7 @@ as \"x86_64-linux\"."
(patches (map search-patch patches)))
  (llvm-monorepo (package-version llvm
 (build-system cmake-build-system)
-(native-inputs
- (cond ((version>=? version "19")
-;; TODO: Remove this when GCC 14 is the default.
-;; libfuzzer fails to build with GCC 13
-(modify-inputs (package-native-inputs llvm)
-  (prepend gcc-14)))
-   ((version>=? version "18")
-;; TODO: Remove this when GCC 13 is the default.
-;; libfuzzer fails to build with GCC 12
-(modify-inputs (package-native-inputs llvm)
-  (prepend gcc-13)))
-   ((version>=? version "15")
-;; TODO: Remove this when GCC 12 is the default.
-;; libfuzzer fails to build with GCC 11
-(modify-inputs (package-native-inputs llvm)
-  (prepend gcc-12)))
-   (else (package-native-inputs llvm
+(native-inputs (package-native-inputs llvm))
 (inputs
  (append
   (list llvm)



254/290: gnu: glib: Update to 2.83.3. Fix test for tzdata@2025a.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0ff36d7df0f78233fecc87b523fdcef427c38d62
Author: Zheng Junjie 
AuthorDate: Sat Feb 8 14:34:30 2025 +0800

gnu: glib: Update to 2.83.3. Fix test for tzdata@2025a.

* gnu/packages/glib.scm (glib): Update to 2.83.3.
[arguments]<#:phases>: Adjust patch-pkg-config-files phase.

Change-Id: Icf53572bfbd38056a7587869a602d7d9dc778c45
---
 gnu/packages/glib.scm | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2f1c1f6724..e0777ddfc0 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -246,7 +246,7 @@ information, refer to the @samp{dbus-daemon(1)} man 
page.")))
 (define glib-minimal
   (package
 (name "glib")
-(version "2.82.1")
+(version "2.83.3")
 (source
  (origin
(method url-fetch)
@@ -255,7 +255,7 @@ information, refer to the @samp{dbus-daemon(1)} man 
page.")))
name "/" (string-take version 4) "/"
name "-" version ".tar.xz"))
(sha256
-(base32 "19l98kdv6d4363minliw0imvxh4qfdw5im988knf8bpm1d2391j7"))
+(base32 "139jpar5f5qjxkf3knvqq1kgdxgsrxqqmybw4yaaagrfpcc57inh"))
(patches
 (search-patches "glib-appinfo-watch.patch"
 "glib-skip-failing-test.patch"))
@@ -333,7 +333,7 @@ information, refer to the @samp{dbus-daemon(1)} man 
page.")))
  ;; assertion failed (last_thread_id <= thread_id): (3 <= 
2)
  #~((substitute* "glib/tests/thread-pool-slow.c"
   (("^   g_assert_cmpint \\(last_thread_id.*" all)
-  (string-append "//" all "\n"
+   (string-append "//" all "\n"
  #~())
   #$@(if (system-hurd?)
  '((with-directory-excursion "gio/tests"
@@ -480,7 +480,9 @@ information, refer to the @samp{dbus-daemon(1)} man 
page.")))
   ;; outputs.
   (substitute*
   (list (search-input-file outputs "lib/pkgconfig/gio-2.0.pc")
-(search-input-file outputs 
"lib/pkgconfig/glib-2.0.pc"))
+(search-input-file outputs "lib/pkgconfig/glib-2.0.pc")
+(search-input-file outputs
+   
"lib/pkgconfig/girepository-2.0.pc"))
 (("^bindir=.*")
  "")
 (("=\\$\\{bindir\\}/")



209/290: gnu: freerdp: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 88f877d4a32fa26991b43ac21696ff5804569de3
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Jan 5 16:39:22 2025 +0100

gnu: freerdp: Fix build with gcc-14.

* gnu/packages/rdesktop.scm (freerdp)[arguments]: Add -DCMAKE_C_FLAGS to
relax gcc-14's strictness.

Change-Id: I7a655245820ab97aeafa21c6a8591b9a5a05fabc
---
 gnu/packages/rdesktop.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index d5d49edc20..256325a50a 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Leo Famulari 
 ;;; Copyright © 2019 Eric Bavier 
 ;;; Copyright © 2023 Maxim Cournoyer 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -147,7 +148,10 @@ to remotely control a user's Windows desktop.")
 (arguments
  (list #:build-type "RELEASE"
#:configure-flags
-   #~(list "-DWITH_JPEG=ON"
+   #~(list (string-append "-DCMAKE_C_FLAGS="
+  " -Wno-error=incompatible-pointer-types"
+  " -Wno-error=int-conversion")
+   "-DWITH_JPEG=ON"
#$@(if (target-x86-64?)
   #~("-DWITH_SSE2=ON")
   #~())



124/290: gnu: icu4c: Update to 76.1; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 6225e362e6b26a2115bea665a7abad31de444f83
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 16:38:34 2025 +0100

gnu: icu4c: Update to 76.1; fixes build with gcc-14.

* gnu/packages/icu4c.scm (icu4c): Update to 76.1.

Change-Id: I4baa174bb1e1698ae95df155635d0f9c39318609
---
 gnu/packages/icu4c.scm | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 2c836a8622..6f17316d0d 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant 
 ;;; Copyright © 2023 Nicolas Graves 
 ;;; Copyright © 2024 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -54,16 +55,12 @@
 (define-public icu4c
   (package
 (name "icu4c")
-(version "73.1")
+(version "76.1")
 (source (origin
   (method url-fetch)
   (uri (icu4c-uri version))
   (sha256
-   (base32 "0iccpdvc0kvpww5a31k9gjkqigyz016i7v80r9zamd34w4fl6mx4"))
-  (patches
-   (search-patches
-"icu4c-icu-22132-fix-vtimezone.patch"
-"icu4c-fix-TestHebrewCalendarInTemporalLeapYear.patch"
+   (base32 
"0gjg1zrnqk4vmidqgqx4xbz05898px212gnff8242is7zrmv9b6z"
 (build-system gnu-build-system)
 (native-inputs
  (append (list python-minimal)



72/290: gnu: gtk+-2: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 758817fb73239ce120cd382eee419400e9d88490
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 30 16:00:25 2024 +0100

gnu: gtk+-2: Fix build with gcc-14.

* gnu/packages/gtk.scm (gtk+-2)[arguments]: Add CFLAGS to #:configure-flags 
to
relax gcc-14's strictness.

Change-Id: If2433b1f905a9a01d31f439e77ee302840c92755
---
 gnu/packages/gtk.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0fe1f8a016..2cfcbb9f67 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -993,7 +993,11 @@ is part of the GNOME accessibility project.")
  (list
   #:parallel-tests? #f
   #:configure-flags
-  #~(list "--with-xinput=yes"
+  #~(list #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types")
+  "--with-xinput=yes"
   (string-append "--with-html-dir=" #$output
  "/share/gtk-doc/html"))
   #:phases



155/290: gnu: portmidi: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 8e9f2f07243f7ff8bf3935d2a9d3a9fbc586fec6
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 10:58:56 2025 +0100

gnu: portmidi: Fix build with gcc-14.

* gnu/packages/music.scm (portmidi)[arguments]: Add CMAKE_C_FLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: I35e8a4d0c8d6db7b76af011b064cc356e95614f2
---
 gnu/packages/music.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e46a228599..0db25b8e3a 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2024 hapster 
 ;;; Copyright © 2024 Nikita Domnitskii 
 ;;; Copyright © 2024 Ashish SHUKLA 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3173,7 +3174,8 @@ main purpose is to liberate raw audio rendering from 
audio and MIDI drivers.")
  `(#:tests? #f  ; tests cannot be linked
#:build-type "Release"   ; needed to have PMALSA set
#:configure-flags
-   (list "-DPORTMIDI_ENABLE_JAVA=Off"
+   (list "-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+ "-DPORTMIDI_ENABLE_JAVA=Off"
  "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
#:phases
(modify-phases %standard-phases



230/290: gnu: libatomic-ops: Update to 7.8.2.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a53d07b87564525a635501892deca2396817fcba
Author: Zheng Junjie 
AuthorDate: Mon Dec 23 00:11:51 2024 +0800

gnu: libatomic-ops: Update to 7.8.2.

* gnu/packages/bdw-gc.scm (libatomic-ops): Update to 7.8.2.

Change-Id: Ieeaaab473defd5f128b2c2b9875af5af882a0485
---
 gnu/packages/bdw-gc.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 71103d1c77..bfa7b7f91d 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -145,7 +145,7 @@ C or C++ programs, though that is not its primary goal.")
 (define-public libatomic-ops
   (package
 (name "libatomic-ops")
-(version "7.6.12")
+(version "7.8.2")
 (source (origin
   (method url-fetch)
   (uri (string-append
@@ -153,7 +153,7 @@ C or C++ programs, though that is not its primary goal.")
 version "/libatomic_ops-" version ".tar.gz"))
   (sha256
(base32
-"0glzah695wsf6c27hs5wwlw4mnq1vfivdshz1rb8pq7w4mp5dazh"
+"0lcv86ib2ryqh18gsgarpkyf6k5l2bd1kh5lbkxv7wh7w9zj01fk"
 (build-system gnu-build-system)
 (outputs '("out" "debug"))
 (native-inputs (if (target-loongarch64?)



branch core-packages-team deleted (was 17fda2758e)

2025-03-30 Thread guix-commits
andreas pushed a change to branch core-packages-team
in repository guix.

 was 17fda2758e gnu: mpfr: Update to 4.2.2.

This change permanently discards the following revisions:

 discard 17fda2758e gnu: mpfr: Update to 4.2.2.
 discard 8ef60ae305 gnu: gash-utils-boot: Use a gexp.
 discard 80ad605e87 gnu: gash-boot: Shorten symlinks.
 discard b554ae1342 gnu: gash-boot: Remove input labels.
 discard 768bf80cd3 gnu: bootar: Remove input label.
 discard 7aa0cc42b4 gnu-bootstrap: Use ‘search-input-file’.
 discard b052850de5 build-system/gnu: Use ‘search-input-file’ instead of input 
labels.
 discard a72583f1da utils: Set $0 to basename of command in `wrap-program'.
 discard 96a719cfec gnu: coreutils: Skip ‘cp/reflink-auto.sh’ as it can fail on 
Btrfs.
 discard 9eef88d396 gnu: minizip: Remove phase 'remove-crypt-h.
 discard ab738a2380 gnu: perl-io-socket-ssl: Update to 2.089.
 discard 51f127c6de gnu: perl-net-ssleay: Update to 1.94.
 discard a02a7aed5e gnu: guile: Add GUILE_EXTENSIONS_PATH to 
native-search-paths.
 discard c236a961b2 Revert "gnu: which: Update to 2.22."
 discard ad761d2d96 Revert "gnu: which: Update to 2.23."
 discard 249d72ca68 gnu: which: Update to 2.23.
 discard 02df68252f gnu: c-ares: Update to 1.34.4.
 discard bf2b33d966 gnu: pciutils: Use new style.
 discard 0b7216a89c gnu: pciutils: Update to 3.13.0.
 discard a379ae344a gnu: hwdata: Update to 0.392.
 discard 3a9914dc1d gnu: linux-libre-headers: Update to 6.12.17.
 discard c52a4fd3e2 gnu: libiconv: Update to 1.18.
 discard 1262a718b2 gnu: diffutils: Update to 3.11.
 discard eea783ddf3 gnu: tar: Update to 1.35.
 discard 9dea04049c gnu: findutils: Update to 4.10.0.
 discard 42e4369425 gnu: util-linux: Update to 2.40.4.
 discard 6ba57d6830 gnu: commencement: gcc-boot0: Fix building on the 32bit 
Hurd.
 discard 9cb6b95b65 gnu: nvi: Fix build with gcc-14.
 discard 71248ab519 gnu: xorg-server-for-test: Update to 21.1.15; fixes build 
with gcc-14.
 discard ebb36016e8 gnu: gnumach: Fix build.
 discard 3292d646fe gnu: flex: Fix cross-compiling.
 discard 619c733125 gnu: gnumach-headers: Fix build.
 discard 7f959e5f42 Revert "gnu: elfutils: Fix build to loongarch64."
 discard 618ab8f96c gnu: bash-static: Fix cross-compiling for glibc@2.41.
 discard b1575b883c gnu: sed: Update to 4.9.
 discard 462780a840 gnu: binutils: Update to 2.44.
 discard 4b56ffcea5 gnu: glib: Update to 2.83.3. Fix test for tzdata@2025a.
 discard b57eee7539 gnu: libtasn1: Update to 4.20.0.
 discard 0a6eec9c02 gnu: libpsl: Update to 0.21.5.
 discard 853501f254 gnu: gdbm: Update to 1.24.
 discard 8d966de265 gnu: nettle: Update to 3.10.1.
 discard 80583dd422 gnu: libidn2: Update to 2.3.7.
 discard a31ea29ac2 gnu: iptables: Update to 1.8.11.
 discard ec1420f773 gnu: libnftnl: Update to 1.2.8.
 discard 3fdecfb925 gnu: tcsh: Update to 6.24.15.
 discard 48a00fed72 gnu: python-pytz: Update to 2025.1.
 discard 5e3898dd6b gnu: python-tzdata: Update to 2025.1.
 discard a7ec946102 gnu: tzdata: Update to 2025a.
 discard 3b5526d2fc gnu: libxcrypt: Update to 4.4.38.
 discard a51314f581 gnu: file: Update to 5.46.
 discard a9e026d915 gnu: openssl-3.0: Update to 3.4.0.
 discard d6f865d76c gnu: glibc: update to 2.41.
 discard 94c1072448 gnu: bash: Update to 5.2.37.
 discard 09f613ed5f gnu: readline: update to 8.2.13.
 discard aa03179383 gnu: zlib: Update to 1.3.1.
 discard d7d6ee6176 gnu: libunistring: Update to 1.3.
 discard e963d8ca6e gnu: lzip: Update to 1.25.
 discard 9e2ab183f7 gnu: zstd: Use G-expressions.
 discard 2637e18bfa gnu: zstd: Update to 1.5.6.
 discard 4a19953e85 gnu: libgc: Update to 8.2.8.
 discard 11815d5d49 gnu: libatomic-ops: Update to 7.8.2.
 discard 8a67ffc298 gnu: which: Update to 2.22.
 discard 8d4f11d9f3 gnu: ed: Update to 1.21.
 discard 72badda095 gnu: libffcall: Update to 2.5.
 discard 1bbeaf2725 gnu: libseccomp: Update to 2.6.0.
 discard eaa18e0831 gnu: glibc: Update to 2.40.
 discard 86346d2237 doc: Update arguments for gexp procedures.
 discard 927ba546c5 gexp: Attempt to set LC_CTYPE in compiled-modules.
 discard 55f7806234 gexp: Improve support of Unicode characters.
 discard c25f0398ea gnu: gcc-4.7: Fix slash in startfile prefix.
 discard 57135098a4 gnu: gettext: Update to 0.23.1.
 discard f8e26441ac gnu: clang-runtime-19: Build with gcc-14.
 discard 6184e9e3e4 gnu: clang-runtime-17: Build with gcc-13.
 discard df681822ff gnu: clang-runtime-18: Build with gcc-13.
 discard 3210266394 gnu: clang-runtime-18: Build with gcc-12.
 discard 0ba77118c3 gnu: clang-runtime: Remove gcc-12,13,14 from native-inputs.
 discard ca0c7df474 gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.
 discard 62be632ebd gnu: netcdf: Fix build with gcc-14.
 discard db49dd935f gnu: python-h5py: Fix build with gcc-14.
 discard f238021bb5 gnu: openmpi-4: Fix build with gcc-14.
 discard fd80c5f08d gnu: freeipmi: Fix build with gcc-14.
 discard ab2d1bc646 gnu: freerdp: Fix build with gcc-14.
 discard 8ead49c7cb gnu: libunwind: Fix build with gcc-14 for i686-linux.
 discard d405efa706 gnu: iced

45/290: gnu: pth: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit d0a0f33c773e13b62b1259640b611f8fec8cd4e7
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 16:38:51 2024 +0100

gnu: pth: Fix build with gcc-14.

* gnu/packages/pth.scm (pth)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ifb215f3ae393a268b15dc0316b34c5bb8607b46f
---
 gnu/packages/pth.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm
index 8efede068c..6211741385 100644
--- a/gnu/packages/pth.scm
+++ b/gnu/packages/pth.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Mark H Weaver 
 ;;; Copyright © 2017 Efraim Flashner 
 ;;; Copyright © 2021 Thiago Jung Bauermann 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,7 +41,9 @@
 "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"
 (build-system gnu-build-system)
 (arguments
- '(#:parallel-build? #f
+ '(#:configure-flags
+   '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+   #:parallel-build? #f
#:phases
(modify-phases %standard-phases
  (add-after 'unpack 'update-config-scripts



31/290: gnu: serf: Update to 1.3.10 and fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 2069733e31c5530f75882f55cd5b4a0d3f47a209
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 9 11:04:37 2024 +0100

gnu: serf: Update to 1.3.10 and fix build with gcc-14.

* gnu/packages/patches/serf-python3.patch: Remove file.N
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/web.scm (serf): Update to 1.3.10 and remove it.
[arguments]: Add CFLAGS to #:scons-flags to relax gcc-14's strictness.

Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0
---
 gnu/local.mk|  1 -
 gnu/packages/patches/serf-python3.patch | 29 -
 gnu/packages/web.scm|  8 
 3 files changed, 4 insertions(+), 34 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 6c8aac3269..1611ff43d9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2256,7 +2256,6 @@ dist_patch_DATA = 
\
   %D%/packages/patches/seq24-rename-mutex.patch\
   %D%/packages/patches/libsequoia-fix-ffi-Makefile.patch   \
   %D%/packages/patches/libsequoia-remove-store.patch   \
-  %D%/packages/patches/serf-python3.patch  \
   %D%/packages/patches/shakespeare-spl-fix-grammar.patch   \
   %D%/packages/patches/shared-mime-info-xdgmime-path.patch \
   %D%/packages/patches/sharutils-CVE-2018-197.patch\
diff --git a/gnu/packages/patches/serf-python3.patch 
b/gnu/packages/patches/serf-python3.patch
deleted file mode 100644
index 636f51ed1e..00
--- a/gnu/packages/patches/serf-python3.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix build with Python 3 scons.
-
-Patch taken from Arch Linux:
-https://github.com/archlinux/svntogit-packages/blob/packages/serf/trunk/scons-python3.patch
-
 serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +
-+++ serf-1.3.9/SConstruct  2019-07-26 17:49:54.073821735 +
-@@ -163,9 +163,9 @@
-   suffix='.def', src_suffix='.h')
-   })
- 
--match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
--  'SERF_MINOR_VERSION ([0-9]+).*'
--  'SERF_PATCH_VERSION ([0-9]+)',
-+match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
-+  b'SERF_MINOR_VERSION ([0-9]+).*'
-+  b'SERF_PATCH_VERSION ([0-9]+)',
-   env.File('serf.h').get_contents(),
-   re.DOTALL)
- MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
-@@ -183,7 +183,7 @@
- 
- unknown = opts.UnknownVariables()
- if unknown:
--  print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
-+  print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))
- 
- apr = str(env['APR'])
- apu = str(env['APU'])
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dd6e73e548..abde0f3abe 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2433,15 +2433,14 @@ from streaming URLs.  It is a command-line wrapper for 
the libquvi library.")
 (define-public serf
   (package
 (name "serf")
-(version "1.3.9")
+(version "1.3.10")
 (source
  (origin
(method url-fetch)
(uri (string-append "mirror://apache/serf/serf-"
version ".tar.bz2"))
-   (patches (search-patches "serf-python3.patch"))
(sha256
-(base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"
+(base32 "1rk4q0fv9xs57fivjy5mxqkk5g7pvvvssxvalz6nwld2p84fz0dy"
 (build-system scons-build-system)
 (propagated-inputs
  (list apr apr-util openssl-1.1))
@@ -2450,7 +2449,8 @@ from streaming URLs.  It is a command-line wrapper for 
the libquvi library.")
;;("gss" ,gss)
zlib))
 (arguments
- `(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs 
"apr"))
+ `(#:scons-flags (list "CFLAGS=-g -O2 
-Wno-error=incompatible-pointer-types"
+   (string-append "APR=" (assoc-ref %build-inputs 
"apr"))
(string-append "APU=" (assoc-ref %build-inputs 
"apr-util"))
(string-append "OPENSSL=" (assoc-ref %build-inputs 
"openssl"))
;; (string-append "GSSAPI=" (assoc-ref 
%build-inputs "gss"))



12/290: gnu: gettext: Update to 0.23.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 326b60d12a7dfcec6e78a8a1ad4f2f83754c5902
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 5 08:30:11 2024 +0100

gnu: gettext: Update to 0.23.

* gnu/packages/patches/gettext-libunicode-update.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.23.
[source]: Remove patch.
[arguments]: In phase "patch-tests", skip gnulib test "test-execute.sh".

Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
---
 gnu/local.mk   |  1 -
 gnu/packages/gettext.scm   | 19 ++---
 .../patches/gettext-libunicode-update.patch| 99 --
 3 files changed, 8 insertions(+), 111 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 49081073e3..5684bbf429 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1424,7 +1424,6 @@ dist_patch_DATA = 
\
   
%D%/packages/patches/gemrb-remove-ifdef-and-externalize-path-setting-to-cmake.patch
  \
   %D%/packages/patches/genimage-mke2fs-test.patch  \
   %D%/packages/patches/geoclue-config.patch\
-  %D%/packages/patches/gettext-libunicode-update.patch \
   %D%/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch\
   %D%/packages/patches/ghc-9.2-cabal-support-package-path.patch \
   %D%/packages/patches/ghc-9-StgCRunAsm-only-when-needed.patch \
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 1e501ee517..870d35d60e 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -55,15 +55,14 @@
 (define-public gettext-minimal
   (package
 (name "gettext-minimal")
-(version "0.21")
+(version "0.23")
 (source (origin
   (method url-fetch)
   (uri (string-append "mirror://gnu/gettext/gettext-"
   version ".tar.gz"))
   (sha256
(base32
-"04kbg1sx0ncfrsbr85ggjslqkzzb243fcw9nyh3rrv1a22ihszf7"))
-  (patches (search-patches "gettext-libunicode-update.patch"
+"19h717qnmg01499gi3494z9l2ss12cp60405ml473p82580dfpcl"
 (build-system gnu-build-system)
 (outputs '("out"
"doc"));9 MiB of HTML
@@ -89,13 +88,13 @@
(substitute* '("gettext-tools/src/project-id"
   "gettext-tools/projects/KDE/trigger"
   "gettext-tools/projects/GNOME/trigger")
- (("/bin/pwd") "pwd"))
-   #t))
+ (("/bin/pwd") "pwd"
(add-before 'check 'patch-tests
  (lambda* (#:key inputs #:allow-other-keys)
-   ;; This test fails
-   (substitute* "gettext-tools/tests/xgettext-javascript-6"
- (("^#!.*" all) (string-append all "exit 77;\n")))
+   ;;libgettextlib-0.23.so => not found
+   (substitute* "gettext-tools/gnulib-tests/test-execute.sh"
+ (("^#!.*" all)
+  (string-append all "exit 77;\n")))
(let* ((bash (which "sh")))
  ;; Some of the files we're patching are
  ;; ISO-8859-1-encoded, so choose it as the default
@@ -131,9 +130,7 @@
  "gettext-tools/gnulib-tests/Makefile.in"
;; See 'coreutils' for the rationale.
((" test-tls\\$\\(EXEEXT\\) ") " ")))
-  '())
-
-   #t
+  '())
   #$@(if (%current-target-system)
  #~((add-after 'install 'patch-cross-shebangs
   (lambda _
diff --git a/gnu/packages/patches/gettext-libunicode-update.patch 
b/gnu/packages/patches/gettext-libunicode-update.patch
deleted file mode 100644
index 2a67f4803a..00
--- a/gnu/packages/patches/gettext-libunicode-update.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=56dc658db752c2894861ee574866d507f12a17f8
-Due to the encoding it needs to be retrieved from a git clone.
-
-commit 56dc658db752c2894861ee574866d507f12a17f8
-Author: Bruno Haible 
-Date:   Sun Jan 2 15:43:41 2022 +0100
-
-Update after gnulib changed.
-
-* gettext-tools/tests/msgcat-17: Update test for changed libunistring line
-breaking behaviour.
-* gettext-tools/tests/msgfilter-sr-latin-1: Likewise.
-* gettext-tools/tests/msgmerge-11: Likewise.
-* gettext-tools/tests/xgettext-python-1: Likewise.
-
-diff --git a/gettext-tools/tests/msgcat-17 b/gettext-tools/tests/msgcat-17
-index 8fecc4039..c4aa220b9 100755
 a/gettext-tools/tests/msgcat-17
-+++ b/gettext

73/290: gnu: vala-0.52: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a227ea9c1eeecabd336cdb698dfd0ac4095458e5
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 30 17:02:51 2024 +0100

gnu: vala-0.52: Fix build with gcc-14.

* gnu/packages/gnome.scm (vala-0.52)[argumens]: New field.

Change-Id: I9fbc643df7571405f4b36aa44de9d76596e2aece
---
 gnu/packages/gnome.scm | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3f5e4840f3..16b4994f55 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4675,7 +4675,15 @@ targeting the GNOME stack simple.")
   "vala-" version ".tar.xz"))
   (sha256
(base32
-"12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))
+"12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"
+(arguments
+ (substitute-keyword-arguments (package-arguments vala)
+   ((#:configure-flags flags #~'())
+#~(cons*
+   (string-append "CFLAGS=-g -O2"
+  " -Wno-error=address"
+  " -Wno-error=incompatible-pointer-types")
+   #$flags))
 
 (define-public vte
   (package



96/290: gnu: raptor2: Update to 2.0.16; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 2a354285092b61e95e347bea9c3f9cbbd0c1990e
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 22:10:21 2024 +0100

gnu: raptor2: Update to 2.0.16; fixes build with gcc-14.

* gnu/packages/patches/raptor2-heap-overflow.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/rdf.scm (raptor2): Update to 2.0.16 and drop it.

Change-Id: I6a007ac9728d8ed16ddeef425cc544e7f0d861c1
---
 gnu/local.mk |  1 -
 gnu/packages/patches/raptor2-heap-overflow.patch | 51 
 gnu/packages/rdf.scm |  7 ++--
 3 files changed, 3 insertions(+), 56 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index ad91504415..0ac2bd492a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2176,7 +2176,6 @@ dist_patch_DATA = 
\
   %D%/packages/patches/ragel-char-signedness.patch \
   %D%/packages/patches/randomjungle-disable-static-build.patch \
   %D%/packages/patches/rapidcheck-fix-libs.patch   \
-  %D%/packages/patches/raptor2-heap-overflow.patch \
   %D%/packages/patches/ratpoison-shell.patch   \
   %D%/packages/patches/retroarch-unbundle-spirv-cross.patch\
   %D%/packages/patches/rct-add-missing-headers.patch   \
diff --git a/gnu/packages/patches/raptor2-heap-overflow.patch 
b/gnu/packages/patches/raptor2-heap-overflow.patch
deleted file mode 100644
index ce2a4516f8..00
--- a/gnu/packages/patches/raptor2-heap-overflow.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-This patch addresses two heap overflow bugs in raptor2:
-
-http://seclists.org/oss-sec/2017/q2/424
-
-Patch copied from libreoffice:
-
-https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1
-
-From 590681e546cd9aa18d57dc2ea1858cb734a3863f Mon Sep 17 00:00:00 2001
-From: Dave Beckett 
-Date: Sun, 16 Apr 2017 23:15:12 +0100
-Subject: [PATCH] Calcualte max nspace declarations correctly for XML writer
-
-(raptor_xml_writer_start_element_common): Calculate max including for
-each attribute a potential name and value.
-
-Fixes Issues #617 http://bugs.librdf.org/mantis/view.php?id=617
-and #618 http://bugs.librdf.org/mantis/view.php?id=618

- src/raptor_xml_writer.c | 7 ---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c
-index 693b946..0d3a36a 100644
 a/src/raptor_xml_writer.c
-+++ b/src/raptor_xml_writer.c
-@@ -181,9 +181,10 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* 
xml_writer,
-   size_t nspace_declarations_count = 0;  
-   unsigned int i;
- 
--  /* max is 1 per element and 1 for each attribute + size of declared */
-   if(nstack) {
--int nspace_max_count = element->attribute_count+1;
-+int nspace_max_count = element->attribute_count * 2; /* attr and value */
-+if(element->name->nspace)
-+  nspace_max_count++;
- if(element->declared_nspaces)
-   nspace_max_count += raptor_sequence_size(element->declared_nspaces);
- if(element->xml_language)
-@@ -237,7 +238,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* 
xml_writer,
- }
-   }
- 
--  /* Add the attribute + value */
-+  /* Add the attribute's value */
-   nspace_declarations[nspace_declarations_count].declaration=
- raptor_qname_format_as_xml(element->attributes[i],
-
&nspace_declarations[nspace_declarations_count].length);
--- 
-2.9.3
-
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 58a485553e..481f848a6b 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2022 Marius Bakke 
 ;;; Copyright © 2022 Maxim Cournoyer 
 ;;; Copyright © 2023 Brendan Tildesley 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -68,16 +69,14 @@
 (define-public raptor2
   (package
 (name "raptor2")
-(version "2.0.15")
+(version "2.0.16")
 (source (origin
  (method url-fetch)
  (uri (string-append "https://download.librdf.org/source/"; name
  "-" version ".tar.gz"))
- (patches
-  (search-patches "raptor2-heap-overflow.patch"))
  (sha256
   (base32
-   "1vc02im4mpc28zxzgli68k6j0dakh0k3s389bm436yvqajxg19xd"
+   "1026whyxpajwijlr4k5c0iliwn09mwxrg7gkvd5kb0n9ga6vg788"
 (build-system gnu-build-system)
 (inputs
  (list curl libxml2 libxslt zlib))



109/290: gnu: efivar: Update to 39; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 47c4e353f1520a1f00888588e5006cd1d0a2a820
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 12:41:51 2025 +0100

gnu: efivar: Update to 39; fixes build with gcc-14.

* gnu/packages/linux.scm (efivar): Update to 39.

Change-Id: I13646c7e379df2b92629eb6e53d3d43e49dddb83
---
 gnu/packages/linux.scm | 85 --
 1 file changed, 41 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b414b05407..ce957a713d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -42,7 +42,7 @@
 ;;; Copyright © 2020 Pierre Neidhardt 
 ;;; Copyright © 2020 Chris Marusich 
 ;;; Copyright © 2020 Vincent Legoll 
-;;; Copyright © 2020, 2023, 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen 
 ;;; Copyright © 2020 Morgan Smith 
 ;;; Copyright © 2020 John Soo 
 ;;; Copyright © 2020, 2022 Michael Rohleder 
@@ -8197,50 +8197,47 @@ under OpenGL graphics workloads.")
 (license license:gpl3)))
 
 (define-public efivar
-  ;; XXX: 15622b7e5761f3dde3f0e42081380b2b41639a48 fixes compilation on i686.
-  ;; ca48d3964d26f5e3b38d73655f19b1836b16bd2d fixes cross-compilation.
-  (let ((commit "ca48d3964d26f5e3b38d73655f19b1836b16bd2d")
-(revision "0"))
-(package
-  (name "efivar")
-  (version (git-version "38" revision commit))
-  (source (origin
-(method git-fetch)
-(uri (git-reference
-  (url "https://github.com/rhboot/efivar";)
-  (commit commit)))
-(file-name (git-file-name name version))
-(sha256
- (base32
-  "0zsab3hcv1v53cxwkvsk09ifnwhs48a6xa3kxlwvs87yxswspvi8"
-  (build-system gnu-build-system)
-  (arguments
-   (list
-;; Tests require a UEFI system and is not detected in the chroot.
-#:tests? #f
-#:make-flags #~(list (string-append "prefix="
-#$output)
- (string-append "libdir="
-#$output "/lib")
- (string-append "CC="
-#$(cc-for-target)) "HOSTCC=gcc"
- (string-append "LDFLAGS=-Wl,-rpath="
-#$output "/lib"))
-#:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'build-deterministically
-   (lambda _
- (substitute* "src/include/defaults.mk"
-   ;; Don't use -march=native.
-   (("-march=native")
-""
- (delete 'configure
-  (native-inputs (list mandoc pkg-config))
-  (inputs (list popt))
-  (home-page "https://github.com/rhboot/efivar";)
-  (synopsis "Tool and library to manipulate EFI variables")
-  (description "This package provides a library and a command line
+  (package
+(name "efivar")
+(version "39")
+(source (origin
+  (method git-fetch)
+  (uri (git-reference
+(url "https://github.com/rhboot/efivar";)
+(commit version)))
+  (file-name (git-file-name name version))
+  (sha256
+   (base32
+"1zd9dghg1z2rrsazv3d9rj7nik6kdqz42jiak65pipz7mpjn9zdk"
+(build-system gnu-build-system)
+(arguments
+ (list
+  ;; Tests require a UEFI system and is not detected in the chroot.
+  #:tests? #f
+  #:make-flags #~(list (string-append "prefix="
+  #$output)
+   (string-append "libdir="
+  #$output "/lib")
+   (string-append "CC="
+  #$(cc-for-target))
+   "HOSTCC=gcc"
+   (string-append "LDFLAGS=-Wl,-rpath="
+  #$output "/lib"))
+  #:phases #~(modify-phases %standard-phases
+   (add-after 'unpack 'build-deterministically
+ (lambda _
+   (substitute* "src/include/defaults.mk"
+ ;; Don't use -march=native.
+ (("-march=native")
+  ""
+   (delete 'configure
+(native-inputs (list mandoc pkg-config))
+(inputs (list popt))
+(home-page "https://github.com/rhboot/efivar";)
+(synopsis "Tool and library to manipulate EFI variables")
+(description "This package provides a library and a command line
 interface to the variable facility of UEFI boot firmware.")
-  (license license:lgpl2.1+)))

65/290: gnu: gcc-4.7: Add gcc-wrapper from gcc-final.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 67e36cbb814105a88cb036643bfbb39da9321dfd
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 12:34:03 2024 +0100

gnu: gcc-4.7: Add gcc-wrapper from gcc-final.

* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove CC_FOR_BUILD 
strictness
relaxing from #:make-flags.
(gcc-final)[arguments]: Move stage "create-stage-wrapper" and related 
settings
in #:configure-flags and #:make-flags to...
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: ...new 
"relax-gcc-14s-strictness
stage here.

Change-Id: I0c372a4f372281b54e44dd446b6e5ddac5841c5a
---
 gnu/packages/commencement.scm | 39 +--
 gnu/packages/gcc.scm  | 27 +++
 2 files changed, 32 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 3d35fa04d1..e1c7082753 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2399,13 +2399,7 @@ exec " gcc "/bin/" program
,(glibc-dynamic-linker
  (match (%current-system)
("x86_64-linux" "i686-linux")
-   (_ (%current-system))
-  (if (target-hurd64?)
-  ;;Convince gmp's configure that gcc works
-  (list (string-append
- "CC_FOR_BUILD=gcc"
- " -Wno-implicit-function-declaration"))
-  '())
+   (_ (%current-system))
 ((#:phases phases)
  #~(modify-phases #$phases
  (add-after 'unpack 'unpack-gmp&co
@@ -3275,24 +3269,14 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker 
-Wl,~a/~a \"$@\"~%"
"/lib -L" zlib "/lib -Wl,-rpath="
zlib "/lib")
 flag))
-  #$(if (or (target-hurd64?)
-(and (target-x86?) (target-linux?)))
-`(cons
-  (string-append
-   ;;Convince gmp's configure that gcc works
-   "STAGE_CC_WRAPPER=" (getcwd) "/build/gcc.sh")
-  ,flags)
-flags
+  #$flags)))
 ((#:configure-flags flags)
+ ;; XXX FIXME: Does this need to stay separate?
  (if (or (target-hurd64?)
  (and (target-x86?) (target-linux?)))
  #~(append
 #$flags
-(list #$(string-append
- ;;Convince gmp's configure that gcc works
- "CC=gcc"
- " -Wno-implicit-function-declaration")
-  "--disable-plugin"))
+(list "--disable-plugin"))
  flags))
 ;; Build again GMP & co. within GCC's build process, because it's hard
 ;; to do outside (because GCC-BOOT0 is a cross-compiler, and thus
@@ -3338,20 +3322,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
\"$@\"~%"
(getenv "CPLUS_INCLUDE_PATH")
#\:))
   ":")
- "\nAM_CXXFLAGS = "))
- #$@(if (or (target-hurd64?)
-(and (target-x86?) (target-linux?)))
-#~((add-after 'configure 'create-stage-wrapper
- (lambda _
-   (with-output-to-file "gcc.sh"
- (lambda _
-   (format #t "#! ~a/bin/bash
-exec \"$@\" \
--Wno-error \
--Wno-implicit-function-declaration"
-   #$static-bash-for-glibc)))
-   (chmod "gcc.sh" #o555
-#~()))
+ "\nAM_CXXFLAGS = ")))
 
 ;; This time we want Texinfo, so we get the manual.  Add
 ;; STATIC-BASH-FOR-GLIBC so that it's used in the final shebangs of
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 147f8a8ca9..2950011eca 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -239,6 +239,33 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
 
   #:phases
   (modify-phases %standard-phases
+(add-before 'configure 'relax-gcc-14s-strictness
+  (lambda* (#:key inputs #:allow-other-keys)
+(let ((bash (assoc-ref inputs "bash"))
+  (wrapper (string-append (getcwd) "/gcc.sh"))
+  (stage-wrapper (string-append (getcwd) "/stage-gcc.sh")))
+  (

83/290: gnu: libcddb: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 1f526c1adf30cdf859514541a5c364d08f33679c
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 09:52:16 2024 +0100

gnu: libcddb: Fix build with gcc-14.

* gnu/packages/cdrom.scm (libcddb)[arguments]: Add #:configure-flags to 
relax
gcc-14's strictness.

Change-Id: I463872e31d6f8c42136e6e04cf4013c2261d43cc
---
 gnu/packages/cdrom.scm | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 98c9127803..42e014 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216...@qq.com>
 ;;; Copyright © 2024 Julian Flake 
 ;;; Copyright © 2025 Yovan Naumovski 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -90,7 +91,13 @@
   (base32
"0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim"
 (build-system gnu-build-system)
-(arguments '(#:tests? #f))  ; tests rely on access to external servers
+(arguments
+ (list
+  #:tests? #f;tests rely on access to external servers
+  #:configure-flags #~(list
+   #$(string-append
+  "CFLAGS=-g -O2"
+  " -Wno-error=incompatible-pointer-types"
 (home-page "https://libcddb.sourceforge.net/";)
 (synopsis "C library to access data on a CDDB server")
 (description



174/290: gnu: aria2: Fix build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0c000d81efdb7ab0a881a050fcf4cd59e20e336b
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 19:56:53 2025 +0100

gnu: aria2: Fix build.

* gnu/packages/bittorrent.scm (aria2)[arguments]: Add phase 
"patch-configure".

Change-Id: I205ebc7017e266341863a2b84c93f3d94ab4b262
---
 gnu/packages/bittorrent.scm | 5 +
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index e946660ab7..200f9172c7 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2023 Clément Lassieur 
 ;;; Copyright © 2024 Noisytoot 
 ;;; Copyright © 2024 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -318,6 +319,10 @@ Transmission BitTorrent daemon.")
   #$output "/etc/bash_completion.d/"))
#:phases
#~(modify-phases %standard-phases
+   (add-after 'unpack 'patch-configure
+ (lambda _
+   (substitute* "configure.ac"
+ (("0[.]18") "0.19.6"
(add-after 'unpack 'delete-socket-tests
  (lambda _
(substitute* "test/LpdMessageDispatcherTest.cc"



46/290: gnu: tdb: Update to 1.4.12; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 62823576b2c000da923bc45648c70182777f1c04
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 17:47:55 2024 +0100

gnu: tdb: Update to 1.4.12; fixes build with gcc-14.

* gnu/packages/databases.scm (tdb): Update to 2.6.9.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/packages/databases.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 18f7eb8efd..a5d8238721 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016, 2017 Nikita 
 ;;; Copyright © 2016, 2017, 2018 Roel Janssen 
 ;;; Copyright © 2016 David Craven 
-;;; Copyright © 2016 Jan Nieuwenhuizen 
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen 
 ;;; Copyright © 2016 Andy Patterson 
 ;;; Copyright © 2016 Danny Milosavljevic 
 ;;; Copyright © 2016-2022 Marius Bakke 
@@ -2050,14 +2050,14 @@ changes.")
 (define-public tdb
   (package
 (name "tdb")
-(version "1.4.7")
+(version "1.4.12")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://www.samba.org/ftp/tdb/tdb-";
   version ".tar.gz"))
   (sha256
(base32
-"03n2hz4sv003gpkyp57hk5kiw4xk9f2dkxq75kzk2gskxy6idyx4"
+"0yndhh829ai2p3n4i63h1rhl22dcvzba0rffgqihjbc1k1sb5r3c"
 (build-system gnu-build-system)
 (arguments
  '(#:phases



66/290: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a1c0dc75fe1b69c3ccdf3bfad44dfa2a7ed988f9
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 14:08:27 2024 +0100

bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.

* gnu/packages/bash.scm (bash-minimal)[arguments]: Unconditionally add 
CFLAGS
to #:configure-flags to relax gcc-14's strictness.

Change-Id: Ifd502adf8c53aa960c02a50bc5bd498bfb9858f6
---
 gnu/packages/bash.scm | 12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 3612c69ec9..979372acb6 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -271,7 +271,8 @@ without modification.")
   (srfi srfi-1)
   (srfi srfi-26)))
((#:configure-flags flags '())
-`(list "--without-bash-malloc"
+`(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
+   "--without-bash-malloc"
"--disable-readline"
"--disable-history"
"--disable-help-builtin"
@@ -283,15 +284,6 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
 
-   ,@(if (or (target-hurd64?)
- (%current-target-system)
- (and (target-x86?) (target-linux?)))
- ;; gcc-14 implictly uses -Wimplicit-function-declaration
- ;; which together with -Werror causes:
- ;; ./enable.def:492:11: error: implicit declaration of 
function ‘dlclose’;
- '("CFLAGS=-g -O2 
-Wno-error=implicit-function-declaration")
- '())
-
,@(if (%current-target-system)
  '("bash_cv_job_control_missing=no"
"bash_cv_getcwd_malloc=yes")



105/290: gnu: glibc-2.35: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 402965369f9419ecf5410a9e29b05c958f6b7a37
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 11:30:31 2025 +0100

gnu: glibc-2.35: Fix build with gcc-14.

* gnu/packages/base.scm (glibc-2.35)[arguments]: Add CFLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: Ib731ac64e70f1b29655d26dead8b4b970e90f063
---
 gnu/packages/base.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 4c96ffa1a4..7db27da287 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2014 Alex Kost 
 ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis 
 ;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner 
-;;; Copyright © 2016, 2020, 2023, 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2016, 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen 

 ;;; Copyright © 2016, 2018 Alex Vong 
 ;;; Copyright © 2017 Rene Saavedra 
 ;;; Copyright © 2017, 2020 Mathieu Othacehe 
@@ -1269,7 +1269,8 @@ with the Linux kernel.")
 (arguments
  (substitute-keyword-arguments (package-arguments glibc)
((#:configure-flags flags #~'())
-#~(cons* "--enable-crypt"
+#~(cons* "CFLAGS=-g -O2 -Wno-error=builtin-declaration-mismatch"
+ "--enable-crypt"
  ;; We do not want to use the C++ compiler, because its
  ;; libstdc++ is linked against a newer glibc, and so relies
  ;; on those newer symbols.  Pretend it doesn't link (the test



107/290: gnu: cryptsetup-static: Update to latest json-c (0.18).

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 4141c69592e2aa08e63c817f8401c2fa1c6455db
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 12:10:27 2025 +0100

gnu: cryptsetup-static: Update to latest json-c (0.18).

* gnu/packages/cryptsetup.scm (static-library): Also cater for the cmake 
build
system.
(cryptsetup-static)[inputs]: Update to use json-c instead of json-c-0.13.

Change-Id: Ic1d3644227d34d72204b4f670f1c84bfcea19702
---
 gnu/packages/cryptsetup.scm | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 2b6cc635ee..7843dd3c1b 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2016 Ludovic Courtès 
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice 
 ;;; Copyright © 2024 Efraim Flashner 
-;;; Copyright © 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -24,6 +24,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix gexp)
   #:use-module (guix utils)
@@ -121,8 +122,13 @@ files).  This assumes LIBRARY uses Libtool."
 (arguments
  (substitute-keyword-arguments (package-arguments library)
((#:configure-flags flags #~'())
-#~(append '("--disable-shared" "--enable-static")
-  #$flags))
+(let* ((build-system (package-build-system library))
+   (static-flags (cond ((eq? build-system cmake-build-system)
+'("-DBUILD_SHARED_LIBS=OFF"))
+   (else
+'("--disable-shared" "--enable-static")
+  #~(append '#$static-flags
+#$flags)))
 
 (define-public cryptsetup-static
   ;; Stripped-down statically-linked 'cryptsetup' command for use in initrds.
@@ -179,7 +185,7 @@ files).  This assumes LIBRARY uses Libtool."
   (propagated-inputs
`(("libgpg-error-host" ,(static-library libgpg-error)))
`(("argon2" ,(static-library argon2))
- ("json-c" ,(static-library json-c-0.13))
+ ("json-c" ,(static-library json-c))
  ("libgcrypt" ,libgcrypt-static)
  ("lvm2" ,lvm2-static)
  ("util-linux" ,util-linux "static")



24/290: gnu: go-1.21.5: Skip test failing with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 5066087c1b684cc605eaa9a94979de96eca55a3b
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Dec 8 10:44:34 2024 +0100

gnu: go-1.21.5: Skip test failing with gcc-14.

* gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" 
phase.

Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af
---
 gnu/packages/golang.scm | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 791e2db9f9..028ea5a742 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -919,6 +919,13 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
 (substitute* "src/cmd/go/testdata/script/cgo_path_space.txt"
   (("/bin/sh") (which "sh")
 
+(add-after 'unpack 'remove-failing-test
+  (lambda _
+;; This test fails with newer gcc's
+;; https://github.com/golang/go/issues/57691
+(substitute* "src/cmd/cgo/internal/testsanitizers/asan_test.go"
+  ((".*arena_fail.*") ""
+
 (add-after 'enable-external-linking 'enable-external-linking-1.21
   (lambda _
 ;; Invoke GCC to link any archives created with GCC (that is,



08/290: gnu: libffi: Fix build for x86_64-linux with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 87650af5af30487a4c3dc7024bb82ea59e7a800a
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 3 20:44:24 2024 +0100

gnu: libffi: Fix build for x86_64-linux with gcc-14.

* gnu/packages/libffi.scm (libffi) [arguments]: When building for
x86_64-linux, also use "CFLAGS=-g -O2 -Wno-implicit-function-declaration".

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
 gnu/packages/libffi.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 5ac092da1c..660762ea09 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -65,7 +65,9 @@
;; compiler.  See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4".
#:configure-flags '("--enable-portable-binary"
"--without-gcc-arch"
-   ,@(if (or (target-hurd64?) (%current-target-system))
+   ,@(if (or (target-hurd64?)
+ (%current-target-system)
+ (and (target-x86-64?) (target-linux?)))
  (list (string-append
 "CFLAGS=-g -O2"
 " -Wno-implicit-function-declaration"))



110/290: gnu: libdom: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit aa15562078fd70f68e7970d272950ef3ea4f2474
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 13:18:05 2025 +0100

gnu: libdom: Fix build with gcc-14.

* gnu/packages/web.scm (netsurf-buildsystem-arguments): Relax gcc-14's
strictness.

Change-Id: Ie9b2e22fac663246777d8978f88de9ef4b8c5b2a
---
 gnu/packages/web.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8cb3a2dd5f..dc9e17555f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5912,7 +5912,8 @@ libraries.")
 
 (define netsurf-buildsystem-arguments
   `(#:make-flags `("COMPONENT_TYPE=lib-shared"
-   "CC=gcc" "BUILD_CC=gcc"
+   "CC=gcc -Wno-error=calloc-transposed-args"
+   "BUILD_CC=gcc -Wno-error=calloc-transposed-args"
,(string-append "PREFIX=" %output)
,(string-append "NSSHARED="
(assoc-ref %build-inputs



142/290: gnu: podofo: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit b040325c3302a98a0e3fb249f7a34cf7c87662ec
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 17:50:09 2025 +0100

gnu: podofo: Fix build with gcc-14.

* gnu/packages/patches/podofo-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/pdf.scm (podofo)[source]: Use it.

Change-Id: I9a85c994f69587cc3ba463a3e647f0aeebd53d04
---
 gnu/local.mk |  1 +
 gnu/packages/check.scm   |  6 +++---
 gnu/packages/patches/podofo-gcc-14.patch | 13 +
 gnu/packages/pdf.scm |  2 ++
 4 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 81174774b4..df0b723561 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2004,6 +2004,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/plasp-fix-normalization.patch \
   %D%/packages/patches/plasp-include-iostream.patch \
   %D%/packages/patches/pocketfft-cpp-prefer-preprocessor-if.patch  
\
+  %D%/packages/patches/podofo-gcc-14.patch \
   %D%/packages/patches/pokerth-boost.patch \
   %D%/packages/patches/ppsspp-disable-upgrade-and-gold.patch   \
   %D%/packages/patches/procps-strtod-test.patch \
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 8193dd785f..45fcaad1e7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -494,9 +494,9 @@ with a flexible variety of user interfaces.")
  (method url-fetch)
   (uri (string-append "http://dev-www.libreoffice.org/src/";
   name "-" version ".tar.gz"))
- (sha256
-  (base32
-   "19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9"
+  (sha256
+   (base32
+"19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9"
 ;; Explicitly link with libdl. This is expected to be done by packages
 ;; relying on cppunit for their tests. However, not all of them do.
 ;; If we added the linker flag to such packages, we would pollute all
diff --git a/gnu/packages/patches/podofo-gcc-14.patch 
b/gnu/packages/patches/podofo-gcc-14.patch
new file mode 100644
index 00..5238bc7e2a
--- /dev/null
+++ b/gnu/packages/patches/podofo-gcc-14.patch
@@ -0,0 +1,13 @@
+Upstream-status: Not presented upstream.
+
+--- podofo-0.9.8/test/unit/StringTest.h.orig   2025-01-02 17:35:43.328872274 
+0100
 podofo-0.9.8/test/unit/StringTest.h2025-01-02 17:36:17.384862445 
+0100
+@@ -22,6 +22,8 @@
+ #define _STRING_TEST_H_
+ 
+ #include 
++#include 
++namespace PoDoFo {std::ostream& operator<<(std::ostream& o, const PdfString& 
s);}
+ 
+ #ifndef __clang__
+ 
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 6340f9b3bf..1efe8e9d96 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2023 Benjamin Slade 
 ;;; Copyright © 2024 Artyom V. Poptsov 
 ;;; Copyright © 2024 Aaron Covrig 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -762,6 +763,7 @@ interaction.")
 (url "https://github.com/podofo/podofo";)
 (commit version)))
   (file-name (git-file-name name version))
+  (patches (search-patches "podofo-gcc-14.patch"))
   (sha256
(base32
 "1fyv0zbl6zs93wy0qb3mjkfm99pgz5275nkzss115ww2w04h0ssl"



60/290: gnu: libssh: Use -Wno-error= for Hurd cross-build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit ca60a10139fc56eb2429bb5a6fe3bc397e2f1b4a
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 14:30:49 2024 +0100

gnu: libssh: Use -Wno-error= for Hurd cross-build.

* gnu/packages/ssh.scm (libssh)[arguments]: Insert "error=" in 
#:configure-flags.

Change-Id: Iaad6931cbd99c5224fc799f9f8b2c39ee8e4ae12
---
 gnu/packages/ssh.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index fecb3a2559..c0f3174023 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -161,9 +161,10 @@ file names.
  `(#:configure-flags '("-DWITH_GCRYPT=ON"
,@(if (and (%current-target-system)
   (not (target-64bit?)))
- (list (string-append
-"-DCMAKE_C_FLAGS=-g -O2"
-" -Wno-incompatible-pointer-types"))
+ (list
+  (string-append
+   "-DCMAKE_C_FLAGS=-g -O2"
+   " -Wno-error=incompatible-pointer-types"))
  '()))
 
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.



10/290: gnu: zip: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit b18dd04aa6f8b4f0f9be269c06fe23b256340a41
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 4 09:28:12 2024 +0100

gnu: zip: Fix build with gcc-14.

* gnu/packages/compression.scm (zip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness.  In phase "build" use target "generic" rather 
than
"generic_gcc".

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
 gnu/packages/compression.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 497cea895d..208ae8e06e 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1942,13 +1942,14 @@ the actual decompression, the other input and output.")
  `(#:tests? #f ; no test target
#:make-flags (let ((out (assoc-ref %outputs "out")))
   (list "-f" "unix/Makefile"
+"CC=gcc -Wno-error=implicit-function-declaration"
 (string-append "prefix=" out)
 (string-append "MANDIR=" out "/share/man/man1")))
#:phases
(modify-phases %standard-phases
  (replace 'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
- (apply invoke "make" "generic_gcc" make-flags)))
+ (apply invoke "make" "generic" make-flags)))
  (delete 'configure
 (home-page "http://www.info-zip.org/Zip.html";)
 (synopsis "Compression and file packing utility")



257/290: gnu: bash-static: Fix cross-compiling for glibc@2.41.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 6b6b1ba58eed82e8e97be990dca3d4afdc88a188
Author: Zheng Junjie 
AuthorDate: Wed Feb 12 19:35:35 2025 +0800

gnu: bash-static: Fix cross-compiling for glibc@2.41.

* gnu/packages/bash.scm (static-bash)[arguments]<#:configure-flags>: When
cross-compiling, Add bash_cv_getenv_redef=no.

Change-Id: I8105e91831dfdcce4e5494b3588ab8431dbaf5a8
---
 gnu/packages/bash.scm | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index c8c1382136..79e58d6ac5 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -325,6 +325,16 @@ without modification.")
   (arguments
(substitute-keyword-arguments
`(#:allowed-references ("out") ,@(package-arguments bash))
+ ((#:configure-flags flags '())
+  ;; XXX: when Update glibc from 2.40 to 2.41,
+  ;; need this flag to compile successfully.
+  ;; Otherwise, an error will be reported:
+  ;; multiple definition of `getenv'
+  (if (%current-target-system)
+  `(cons
+"bash_cv_getenv_redef=no"
+,flags)
+  flags))
  ((#:phases phases)
   #~(modify-phases #$phases
   (add-after 'strip 'remove-everything-but-the-binary



56/290: gnu: hurd: Use -Wno-error=.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 65e5d47c79ce4801033b539425663fb9ed3b7a07
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 14:27:29 2024 +0100

gnu: hurd: Use -Wno-error=.

* gnu/packages/hurd.scm (hurd)[arguments]: Insert "error=" in WARNINGS.

Change-Id: I13f071edfce2b66e8fb0ead85403052a09fb0411
---
 gnu/packages/hurd.scm | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 3b02ed00d1..d5e86c6a22 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -499,12 +499,13 @@ exec ${system}/rc \"$@\"
  "/bin/bash")
   (string-append "CC="
  ,(cc-for-target))
-  (string-append "WARNINGS="
- " -Wno-declaration-missing-parameter-type"
- " -Wno-implicit-function-declaration"
- " -Wno-implicit-int"
- " -Wno-int-conversion"
- " -Wno-strict-prototypes")
+  (string-append
+   "WARNINGS="
+   " -Wno-error=declaration-missing-parameter-type"
+   " -Wno-error=implicit-function-declaration"
+   " -Wno-error=implicit-int"
+   " -Wno-error=int-conversion"
+   " -Wno-error=strict-prototypes")
   (string-append "ARCH=" arch)
  (add-after 'install 'install-goodies
   (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)



28/290: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 44f8d2f8a249f25db0d693498db60edf09d9dc9a
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Dec 8 13:57:32 2024 +0100

gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14.

* gnu/packages/cpp.scm (nlohmann-json): Up.date to 3.11.33.  This fixes the
build with gcc-14.

Change-Id: I49248356cddd3ed750e0768f9c5cd5abbe184121
---
 gnu/packages/cpp.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index bdd0a5e5c4..d5c6d993ea 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2024 Jakob Kirsch 
 ;;; Copyright © 2025 Sharlatan Hellseher 
 ;;; Copyright © 2025 Sergio Pastor Pérez 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1156,7 +1157,7 @@ data transfer object.")
 (define-public nlohmann-json
   (package
 (name "nlohmann-json")
-(version "3.11.2")
+(version "3.11.3")
 (home-page "https://github.com/nlohmann/json";)
 (source
  (origin
@@ -1164,7 +1165,7 @@ data transfer object.")
(uri (git-reference (url home-page)
(commit (string-append "v" version
(sha256
-(base32 "0g6rfsbkvrxmacchz4kbr741yybj7mls3r4hgyfdd3pdbqhn2is9"))
+(base32 "0y6474xxy027q083vyrz9iyz8xc090nydbd7pbxn58dmgyi0jpgc"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet



branch core-packages-team created (now fb8d5d63aa)

2025-03-30 Thread guix-commits
andreas pushed a change to branch core-packages-team
in repository guix.

  at fb8d5d63aa gnu: mpfr: Update to 4.2.2.

This branch includes the following new commits:

 new e156770ca8 Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: 
Also wrap g++ for the 64bit Hurd.""
 new d983a21f5f Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: 
Also fix libm.so.""
 new c88384fb20 Revert "Partial revert "gnu: make-bootstrap: Update 
gcc-static to gcc-14, for the 64bit Hurd.""
 new 7ce0e19e83 gnu: commencement: gcc-boot0: Fix build for x86-linux with 
gcc-14.
 new 99b914a7b8 gnu: gcc-boot0: Fix building on powerpc64le-linux.
 new 0b8f668cd8 gnu: bash-minimal: Fix build for x86-linux with gcc-14.
 new 0237c31d3d gnu: commencement: gcc-final: Fix build for x86-linux with 
gcc-14.
 new 87650af5af gnu: libffi: Fix build for x86_64-linux with gcc-14.
 new f7f8f3aaba gnu: libffi: Update to 3.4.6; fixes build with gcc-14.
 new b18dd04aa6 gnu: zip: Fix build with gcc-14.
 new 5b40c862e3 gnu: gettext: Fix build with gcc-14.
 new 326b60d12a gnu: gettext: Update to 0.23.
 new 9105c6d490 gnu: unzip: Fix build with gcc-14.
 new 12ab96cd69 gnu: automake: Fix build with gcc-14.
 new 01e8c8db8a gnu: automake: Update to 1.17; fixes build with gcc-14.
 new 7d4d59b7ae gnu: Re-Add automake-1.16.5.
 new 6c1f485e00 gnu: automake-1.16.5: Skip tests.
 new 4119be97d8 gnu: bdb: Use automake-1.16.5.
 new 5c25abfe55 gnu: elfutils: Update to 0.192; fixes build with gcc-14.
 new c68a5a7681 gnu: libstdc++: Fix build for linux with gcc-14.
 new 5739a8bf66 gnu: torsocks: Fix build with gcc-14.
 new 44c4c6f5b6 gnu: expect: Fix build with gcc-14.
 new 76b5c01149 gnu: guile-lzlib: Fix build with gcc-14.
 new 5066087c1b gnu: go-1.21.5: Skip test failing with gcc-14.
 new f46614658f gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14.
 new 1c4c8dadde gnu: xmlto: Fix build with gcc-14.
 new 0153e9ca19 gnu: cmake-bootstrap: Fix build with gcc-14.
 new 44f8d2f8a2 gnu: nlohmann-json: Update to 3.11.3; fixes build with 
gcc-14.
 new 4bdcc07fd0 gnu: llvm-13: Fix build with gcc-14.
 new a654554b41 gnu: hplip: Update to 3.24.4 and fix build with gcc-14.
 new 2069733e31 gnu: serf: Update to 1.3.10 and fix build with gcc-14.
 new 97297ebe8e gnu: localed: Fix build with gcc-14.
 new fb06c479c6 gnu: gcc-boot0: Fix building for aarch64-linux.
 new 9910878d14 gnu: zziplib: Update to 0.13.78; fixes build with gcc-14.
 new a88a5773e1 gnu: texlive-xdvi-bin: Fix build with gcc-14.
 new 5131fc7b32 gnu: fontforge: Update to 20230101 and fix build with 
gettext-0.23.
 new 0eb867131c gnu: epson-inkjet-printer-escpr: Fix build with gcc-14.
 new 9af080b7dd gnu: cyrus-sasl: Fix build mwith gcc-14.
 new a23c00e627 gnu: jack-1: Fix build with gcc-14.
 new 8f4d540862 gnu: bdb-4.8: Fix build with gcc-14.
 new a6ddb88cb9 gnu: gamin: Fix build with gcc-14.
 new 7b0b5100c5 gnu: gn: Fix build with gcc-14.
 new fce3c15635 gnu: ntp: Fix build with gcc-14.
 new 9be10bd764 gnu: openldap: Update to 2.6.9; fixes build with gcc-14.
 new d0a0f33c77 gnu: pth: Fix build with gcc-14.
 new 62823576b2 gnu: tdb: Update to 1.4.12; fixes build with gcc-14.
 new 8ae6c0b019 gnu: Add cryptsetup-minimal.
 new f00b166685 gnu: Use cryptsetup-minimal instead of cryptsetup.
 new a8eb441936 gnu: openblas: Update to 0.3.28; fixes build with gcc-14.
 new b494f26763 gnu: python-numpy: Update to 1.26.4 and fix build with 
gcc-14.
 new 283a2e2c52 gnu: talloc: Update to 2.4.2; fixes build with gcc-14.
 new 903ac5bc0c gnu: slim: Fix build with gcc-14.
 new 8de6692bd3 gnu: tevent: Update to 0.16.1; fixes build with gcc-14.
 new 42efa2aa03 gnu: ldb: Update to 2.9.2; fixes build with gcc-14.
 new d5b62c7af6 gnu: flex: Use -Wno-error= for cross-build.
 new 65e5d47c79 gnu: hurd: Use -Wno-error=.
 new 2cffd3dc72 gnu: netdde: Use -Wno-error=.
 new a1e6f5f3d2 gnu: libedit: Use -Wno-error= for cross-build.
 new 95af84c9ac gnu: m4: Use -Wno-error= for Hurd cross-build.
 new ca60a10139 gnu: libssh: Use -Wno-error= for Hurd cross-build.
 new a11d3667f4 gnu: texinfo-4: Use -Wno-error= for Hurd cross-build.
 new 9de108a3f1 gnu: git: Use -Wno-error= for Hurd cross-build.
 new dc52d77a5c gnu: bootstrap: %bootstrap-glibc: Patch more files.
 new 8f3169e84f gnu: bootstrap: %bootstrap-glibc: Fix linking on 
armhf-linux.
 new 67e36cbb81 gnu: gcc-4.7: Add gcc-wrapper from gcc-final.
 new a1c0dc75fe bash-minimal: Use gcc-14 hurd/x86-linux build fix for all 
platforms.
 new df525b44de gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14.
 new 9f4dffd482 gnu: gcc-4.7: Fix build with gcc-14.
 new 03c40b1204 Revert "gnu: gcc-4.7: Fix build with gcc-14."
 new 39238de5e4 gnu: polkit: Fix build with gcc-14.
 new 372c22aa9f gnu: xfsprogs: Upda

06/290: gnu: bash-minimal: Fix build for x86-linux with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0b8f668cd8b6a93f9860cd219064fb4f07b912c7
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 3 19:49:03 2024 +0100

gnu: bash-minimal: Fix build for x86-linux with gcc-14.

* gnu/packages/bash-minimal.scm (bash)[arguments]: When building
for x86-linux, also use CFLAGS in #:configure-flags to relax gcc-14's 
strictness.

Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
 gnu/packages/bash.scm | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index f45c0982f1..3612c69ec9 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -283,11 +283,13 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
 
-   ,@(if (or (target-hurd64?) (%current-target-system))
+   ,@(if (or (target-hurd64?)
+ (%current-target-system)
+ (and (target-x86?) (target-linux?)))
  ;; gcc-14 implictly uses -Wimplicit-function-declaration
  ;; which together with -Werror causes:
  ;; ./enable.def:492:11: error: implicit declaration of 
function ‘dlclose’;
- '("CFLAGS=-g -O2 -Wno-implicit-function-declaration")
+ '("CFLAGS=-g -O2 
-Wno-error=implicit-function-declaration")
  '())
 
,@(if (%current-target-system)



11/290: gnu: gettext: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 5b40c862e3b14e27a0d120d0f050f68864e005ee
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 5 08:14:37 2024 +0100

gnu: gettext: Fix build with gcc-14.

* gnu/packages/gettext.scm (gettext-minimal) [arguments]: In phase
"patch-tests", skip failing "xgettext-javascript-6" test.

Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
---
 gnu/packages/gettext.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 7862c296bd..1e501ee517 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -93,6 +93,9 @@
#t))
(add-before 'check 'patch-tests
  (lambda* (#:key inputs #:allow-other-keys)
+   ;; This test fails
+   (substitute* "gettext-tools/tests/xgettext-javascript-6"
+ (("^#!.*" all) (string-append all "exit 77;\n")))
(let* ((bash (which "sh")))
  ;; Some of the files we're patching are
  ;; ISO-8859-1-encoded, so choose it as the default



62/290: gnu: git: Use -Wno-error= for Hurd cross-build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 9de108a3f1b48b93e1c698815bdc16c22c68f192
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 14:35:35 2024 +0100

gnu: git: Use -Wno-error= for Hurd cross-build.

* gnu/packages/version-control.scm (git-minimal)[arguments]: Insert "error="
in #:configure-flags.

Change-Id: I8d2197b7eb5a1275aebe4d817ff0db77dee55134
---
 gnu/packages/version-control.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c8f244e0fa..12d68ca2b4 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -362,7 +362,7 @@ Python 3.3 and later, rather than on Python 2.")
   ;; nars; see .
   "NO_INSTALL_HARDLINKS=indeed"
   #$@(if (or (target-hurd64?) (%current-target-system))
- #~("-Wno-implicit-function-declaration")
+ #~("-Wno-error=implicit-function-declaration")
  #~()))
   #:phases
   #~(modify-phases %standard-phases



273/290: gnu: pciutils: Use new style.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit de766828cf217822ab389de8b51889dbe299bb55
Author: Zheng Junjie 
AuthorDate: Mon Mar 3 10:20:04 2025 +0800

gnu: pciutils: Use new style.

* gnu/packages/pciutils.scm (pciutils)[arguments]: Use G-expressions.
Simplify the use of cc-for-target.
[inputs]: Remove labels.

Change-Id: I1d19d2a8c4c01a2ea9a7b75a1fa224734710b43f
---
 gnu/packages/pciutils.scm | 30 ++
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index 47700f5fea..456b6ca6ad 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -91,7 +91,7 @@ Each database is contained in a specific package output, such 
as the
"share/hwdata/pci.ids")
 "pci.ids")))
  (replace 'configure
-   (lambda* (#:key outputs #:allow-other-keys)
+   (lambda _
  ;; There's no 'configure' script, just a raw makefile.
  (substitute* "Makefile"
#$@(if (%current-target-system)
@@ -109,13 +109,13 @@ Each database is contained in a specific package output, 
such as the
 "STRIP=\n"))
  '())
(("^PREFIX=.*$")
-(string-append "PREFIX := " (assoc-ref outputs "out")
+(string-append "PREFIX := " #$output
"\n"))
(("^MANDIR:=.*$")
 ;; By default the thing tries to automatically
 ;; determine whether to use $prefix/man or
 ;; $prefix/share/man, and wrongly so.
-(string-append "MANDIR := " (assoc-ref outputs "out")
+(string-append "MANDIR := " #$output
"/share/man\n"))
 
(("^SHARED=.*$")
@@ -136,27 +136,25 @@ Each database is contained in a specific package output, 
such as the
(("(.*INSTALL.*)update-pciids.8(.*)" _ head tail)
 (string-append head tail)
  (replace 'install
-   (lambda* (#:key outputs #:allow-other-keys)
+   (lambda _
  ;; Install the commands, library, and .pc files.
  (invoke "make" "install" "install-lib"
 
;; Make sure programs have an RPATH so they can find libpciutils.so.
-   #:make-flags #~(list #$(string-append "CC="
-  (if (%current-target-system)
-  (cc-for-target)
-  "gcc"))
-  (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))
+  #:make-flags
+  #~(list #$(string-append "CC=" (cc-for-target))
+  (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
 
-   ;; No test suite.
-   #:tests? #f))
+  ;; No test suite.
+  #:tests? #f))
 (native-inputs
  (list hwdata pkg-config which))
 (inputs
- `(,@(if (not (target-hurd?))
- `(("kmod" ,kmod))
- '())
-   ("zlib" ,zlib)))
+ (append
+  (if (not (target-hurd?))
+  (list kmod)
+  '())
+  (list zlib)))
 (home-page "https://mj.ucw.cz/sw/pciutils/";)
 (synopsis "Programs for inspecting and manipulating PCI devices")
 (description



61/290: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a11d3667f45caac87a584e39e35c704546295c25
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 14:33:22 2024 +0100

gnu: texinfo-4: Use -Wno-error= for Hurd cross-build.

* gnu/packages/texinfo.scm (texinfo-4)[arguments]: Insert "error=" in 
#:configure-flags.

Change-Id: Iff63cbfbfe39807d2279354732b34b5755b65b3b
---
 gnu/packages/texinfo.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index d389e4d60e..ea7b54b51d 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -210,7 +210,7 @@ is on expressing the content semantically, avoiding 
physical markup commands.")
 #t)))
   '()
   (if (or (target-hurd64?) (%current-target-system))
-  (list #:configure-flags ''("CFLAGS=-Wno-incompatible-pointer-types"))
+  (list #:configure-flags 
''("CFLAGS=-Wno-error=incompatible-pointer-types"))
   '())
 
 (define-public info-reader



179/290: gnu: gnome-font-viewer: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit ac259dff87ea946aaa4e31c8bf6087690ed61ac9
Author: Janneke Nieuwenhuizen 
AuthorDate: Sat Jan 4 09:51:31 2025 +0100

gnu: gnome-font-viewer: Fix build with gcc-14.

* gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add phase
"relax-gcc-14-strictness".

Change-Id: I16757149c442190ab7c4e0821c30131a755fdcd8
---
 gnu/packages/gnome.scm | 5 +
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1b92319650..696a740b7e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2445,6 +2445,11 @@ The gnome-about program helps find which version of 
GNOME is installed.")
 (lambda _
   (substitute* "meson-postinstall.sh"
 (("update-desktop-database") (which "true")
+  (add-before 'configure 'relax-gcc-14-strictness
+(lambda _
+  (setenv "CFLAGS"
+  (string-append "-g -O2"
+ " 
-Wno-error=incompatible-pointer-types"
   (add-after 'install 'patch-thumbnailer
 (lambda* (#:key outputs #:allow-other-keys)
   (substitute*



126/290: gnu: clucene: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 336573f9d77842d2a2d5e94b776f103b78a468e5
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 17:54:34 2025 +0100

gnu: clucene: Fix build with gcc-14.

* gnu/packages/patches/clucene-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/rdf.scm (clucene)[source]: Use it.

Change-Id: Ief8de0cb52480dccdbcc1ac45c33a8767fdd4211
---
 gnu/local.mk  |  1 +
 gnu/packages/bootstrap.scm|  5 +++--
 gnu/packages/patches/clucene-gcc-14.patch | 13 +
 gnu/packages/rdf.scm  |  5 +++--
 4 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index ddbf8e09c7..14feac0311 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1130,6 +1130,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/classpath-miscompilation.patch  \
   %D%/packages/patches/clitest-grep-compat.patch   \
   %D%/packages/patches/clog-fix-shared-build.patch \
+  %D%/packages/patches/clucene-gcc-14.patch\
   %D%/packages/patches/clucene-pkgconfig.patch \
   %D%/packages/patches/cmake-curl-certificates-3.24.patch  \
   %D%/packages/patches/coda-use-system-libs.patch  \
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index b8a38aab5c..3f634892e1 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -780,8 +780,9 @@ $out/bin/guile --version~%"
   ;; Patch linker scripts so they refer to the right file-names.
   (substitute* ,(cond ((target-hurd64?)
''("lib/libc.so" "lib/libm.so"))
-  ((or (target-x86?)
-   (target-arm?))
+  ((and (not (target-hurd?))
+(or (target-x86?)
+(target-arm?)))
''("lib/libc.so" "lib/libpthread.so"))
   (else
''("lib/libc.so")))
diff --git a/gnu/packages/patches/clucene-gcc-14.patch 
b/gnu/packages/patches/clucene-gcc-14.patch
new file mode 100644
index 00..aa1296a006
--- /dev/null
+++ b/gnu/packages/patches/clucene-gcc-14.patch
@@ -0,0 +1,13 @@
+Upstream-status: Not presented upstream.
+
+--- clucene-core-2.3.3.4.orig/src/core/CLucene/document/DateTools.cpp  
1970-01-01 01:00:01.0 +0100
 clucene-core-2.3.3.4/src/core/CLucene/document/DateTools.cpp   
2025-01-01 17:41:36.055237798 +0100
+@@ -9,6 +9,8 @@
+ #include "DateTools.h"
+ #include "CLucene/util/Misc.h"
+ 
++#include 
++
+ CL_NS_USE(util)
+ CL_NS_DEF(document)
+ 
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 481f848a6b..9e78fd7879 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2022 Marius Bakke 
 ;;; Copyright © 2022 Maxim Cournoyer 
 ;;; Copyright © 2023 Brendan Tildesley 
-;;; Copyright © 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -108,7 +108,8 @@ HTML and JSON.")
   (base32
"1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx"))
  (patches (search-patches "clucene-pkgconfig.patch"
-  "clucene-contribs-lib.patch"
+  "clucene-contribs-lib.patch"
+  "clucene-gcc-14.patch"
 (build-system cmake-build-system)
 (inputs
  (list boost ; could also use bundled copy



244/290: gnu: python-tzdata: Update to 2025.1.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 1d7de9b378614049889e3c669dc029ee6d9dd693
Author: Zheng Junjie 
AuthorDate: Sat Feb 8 01:44:43 2025 +0800

gnu: python-tzdata: Update to 2025.1.

* gnu/packages/time.scm (python-tzdata): Update to 2025.1.

Change-Id: Ic93b66f549a6181f6a72055a239388bbf5ad
---
 gnu/packages/time.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 56053da501..77407b3907 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -165,13 +165,13 @@ expressions.")
   (package
 (name "python-tzdata")
 ;; This package should be kept in sync with tzdata in (gnu packages base).
-(version "2023.4")
+(version "2025.1")
 (source
  (origin
(method url-fetch)
(uri (pypi-uri "tzdata" version))
(sha256
-(base32 "1ja8c6ybwhbzr37a0r56g4j555gxzss4k5irfwn54ra7557wjm6x"))
+(base32 "156nh5d0fagghgyz54ymbd4cnr6z05w8iiin2syjinwcx04lk294"))
(modules '((guix build utils)))
(snippet #~(delete-file-recursively "src/tzdata/zoneinfo"
 (build-system pyproject-build-system)



74/290: gnu: samba/pinned: Update to 4.18.1; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 7e70f7d87f73cf565a3a8ad34a549ecaf2983101
Author: Janneke Nieuwenhuizen 
AuthorDate: Mon Dec 30 18:35:06 2024 +0100

gnu: samba/pinned: Update to 4.18.1; fixes build with gcc-14.

* gnu/packages/samba.scm (samba/pinned): Update to 4.18.1
(samba)[version,source]: Remove fields.

Change-Id: I912f1bd1280f6422b0c167c3227a4c477e21b040
---
 gnu/packages/samba.scm | 14 ++
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index d1bf2faca0..9f5701fc10 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -178,7 +178,7 @@ external dependencies.")
   (hidden-package
(package
  (name "samba")
- (version "4.17.0")
+ (version "4.18.1")
  (source
   ;; For updaters: the current PGP fingerprint is
   ;; 81F5E2832BD2545A1897B713AA99442FB680B620.
@@ -187,7 +187,7 @@ external dependencies.")
 (uri (string-append "https://download.samba.org/pub/samba/stable/";
 "samba-" version ".tar.gz"))
 (sha256
- (base32 "0fl2y5avmyxjadh6zz0fwz35akd6c4j9lldzp2kyvjrgm36qx1h4"
+ (base32 "03ncp49pfpzjla205y3xpb9iy61dz4pryyrvyz26422a4hpsmpnf"
  (build-system gnu-build-system)
  (arguments
   (list
@@ -297,16 +297,6 @@ Desktops into Active Directory environments using the 
winbind daemon.")
 (define-public samba
   (package
 (inherit samba/pinned)
-(version "4.18.1")
-(source
- ;; For updaters: the current PGP fingerprint is
- ;; 81F5E2832BD2545A1897B713AA99442FB680B620.
- (origin
-   (method url-fetch)
-   (uri (string-append "https://download.samba.org/pub/samba/stable/";
-   "samba-" version ".tar.gz"))
-   (sha256
-(base32 "03ncp49pfpzjla205y3xpb9iy61dz4pryyrvyz26422a4hpsmpnf"
 (properties (alist-delete 'hidden? (package-properties samba/pinned)
 
 (define-public talloc



102/290: gnu: transcode: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 57af7edea563c456fafe810f925f63016ddd459b
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 23:13:43 2024 +0100

gnu: transcode: Fix build with gcc-14.

* gnu/packages/video.scm (transcode)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.

Change-Id: I48bdf9f98297e49f3529264ffd914125b18f50cc
---
 gnu/packages/video.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 0a1a6aaf44..1d4144af46 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -315,7 +315,9 @@ user has installed.")
 (arguments
  `(#:configure-flags
(list
-"CFLAGS=-O2 -g -fcommon"
+,(string-append "CFLAGS=-O2 -g -fcommon"
+" -Wno-error=implicit-function-declaration"
+" -Wno-error=int-conversion")
 ;; XXX: Broken API.
 ;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
 ;; "--enable-libv4l2"



111/290: gnu; glibc-2.33: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 31442822870932d6d1eff8dc401a9ac9c702b166
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 13:59:17 2025 +0100

gnu; glibc-2.33: Fix build with gcc-14.

* gnu/packages/base.scm (glibc-2.33)[arguments]: New field to further relax
gcc-14.'s strictness.

Change-Id: Ib6ac5bc44608a56bb7dd584c21beadee280fe519
---
 gnu/packages/base.scm | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 7db27da287..cdb5889ec2 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1305,7 +1305,28 @@ with the Linux kernel.")
 (member (basename patch)
 '("glibc-2.35-CVE-2023-4911.patch"
   "glibc-hurd-clock_gettime_monotonic.patch")))
- (origin-patches (package-source 
glibc-2.35)
+ (origin-patches (package-source glibc-2.35)))
+(arguments
+ (substitute-keyword-arguments (package-arguments glibc)
+   ((#:configure-flags flags #~'())
+#~(cons* #$(string-append
+"CFLAGS=-g -O2"
+" -Wno-error=builtin-declaration-mismatch"
+" -Wno-error=format-overflow"
+" -Wno-error=stringop-overflow"
+" -Wno-error=use-after-free")
+ "--enable-crypt"
+ ;; We do not want to use the C++ compiler, because its
+ ;; libstdc++ is linked against a newer glibc, and so relies
+ ;; on those newer symbols.  Pretend it doesn't link (the test
+ ;; doesn't actually check that the compiler works with new
+ ;; libstdc++ and older glibc).
+ "libc_cv_cxx_link_ok=no"
+ #$flags))
+   ((#:phases phases)
+`(modify-phases ,phases
+   ;; This phase fails trying to create /etc/ld.so.cache
+   (delete 'install-utf8-c-locale)))
 
 (define-public glibc-2.32
   (package



95/290: gnu: mediasdk: Update to 23.2.2 and fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a37fc88cb92b50b852fe0f874b3ea5f25c26be7a
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 31 21:47:03 2024 +0100

gnu: mediasdk: Update to 23.2.2 and fix build with gcc-14.

* gnu/packages/patches/mediasdk-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA):
* gnu/packages/video.scm (mediasdk): Update to 23.2.2 and use it.

Change-Id: I6a007ac9728d8ed16ddeef425cc544e7f0d861c1
---
 gnu/local.mk   |  1 +
 gnu/packages/patches/mediasdk-gcc-14.patch | 12 
 gnu/packages/video.scm |  5 +++--
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index b08ab9e914..ad91504415 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1850,6 +1850,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/lvm2-no-systemd.patch   \
   %D%/packages/patches/maturin-no-cross-compile.patch  \
   %D%/packages/patches/mecab-variable-param.patch  \
+  %D%/packages/patches/mediasdk-gcc-14.patch   \
   %D%/packages/patches/memtest86+-build-reproducibly.patch \
   %D%/packages/patches/mercurial-hg-extension-path.patch   \
   %D%/packages/patches/mhash-keygen-test-segfault.patch\
diff --git a/gnu/packages/patches/mediasdk-gcc-14.patch 
b/gnu/packages/patches/mediasdk-gcc-14.patch
new file mode 100644
index 00..c52908a803
--- /dev/null
+++ b/gnu/packages/patches/mediasdk-gcc-14.patch
@@ -0,0 +1,12 @@
+Upstream status: Not presented upstcream.
+
+--- source/api/mfx_dispatch/linux/mfxparser.cpp.orig   2024-12-31 
21:52:28.147107173 +0100
 source/api/mfx_dispatch/linux/mfxparser.cpp2024-12-31 
21:52:47.471325750 +0100
+@@ -23,6 +23,7 @@
+ #include 
+ #include 
+ 
++#include 
+ #include 
+ 
+ #include "mfxloader.h"
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 0d8c6d2809..1b7f9a91c9 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -436,7 +436,7 @@ the Core 2 Duo.")
 (define-public mediasdk
   (package
 (name "mediasdk")
-(version "22.4.4")
+(version "23.2.2")
 (source
  (origin
(method git-fetch)
@@ -444,9 +444,10 @@ the Core 2 Duo.")
 (git-reference
  (url "https://github.com/Intel-Media-SDK/MediaSDK";)
  (commit (string-append "intel-" name "-" version
+   (patches (search-patches "mediasdk-gcc-14.patch"))
(file-name (git-file-name name version))
(sha256
-(base32 "18mrqringyv1drswm4m8ppw7sks6x4jzp6s0ag0h9hrpd15kn5rx"
+(base32 "12if7ylhz1r8mpj2q2n7nw8nnsglm90jg8lqpl3zhajjyrmkfyn2"
 (build-system cmake-build-system)
 (arguments
  (list



168/290: gnu: python-pyportmidi: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 4083092e0b53f41cc53a822ffb9baaf93c7acce3
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 18:16:58 2025 +0100

gnu: python-pyportmidi: Fix build with gcc-14.

* gnu/packages/music.scm (python-pyportmidi)[arguments]: New field to relax
gcc-14's strictness.

Change-Id: I4c77560991a12cf86ffa751c66aa98e602613d68
---
 gnu/packages/music.scm | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0db25b8e3a..846138199e 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3266,6 +3266,13 @@ using a system-independent interface.")
   (base32 "1jvp9na8d1hw46w9ybhkimbavfb3ysw7hp30cbk6dj40k5y5vgvz"))
  (file-name (git-file-name name version
   (build-system python-build-system)
+  (arguments
+   (list
+#:phases
+#~(modify-phases %standard-phases
+(add-before 'build 'relax-gcc-14-strictness
+  (lambda _
+(setenv "CFLAGS" "-Wno-error=incompatible-pointer-types"))
   (inputs (list portmidi-2 alsa-lib))
   (native-inputs (list python-cython))
   (home-page "https://github.com/PortMidi";)



131/290: gnu: mpdscribble: Update to 0.25; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit cdee72c74c862070704f202726f2b0ffc1a1acf8
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 12:41:49 2025 +0100

gnu: mpdscribble: Update to 0.25; fixes build with gcc-14.

* gnu/packages/mpd.scm (mpdscribble): Update to 0.25.

Change-Id: Ic6b59583c594c4329b407aa6b24f6bb5667ee09f
---
 gnu/packages/mpd.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 1cf9c6c781..0f64ca7a6b 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Lars-Dominik Braun 
 ;;; Copyright © 2020–2023 Simon Streit 
 ;;; Copyright © 2021 Noah Evans 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -333,14 +334,14 @@ sort playlists, and a local file system browser.")
 (define-public mpdscribble
   (package
 (name "mpdscribble")
-(version "0.24")
+(version "0.25")
 (source (origin
   (method url-fetch)
   (uri (string-append 
"http://www.musicpd.org/download/mpdscribble/";
   version "/mpdscribble-" version ".tar.xz"))
   (sha256
(base32
-"1rx8n8pvx3a6n6z51pgy00p4rs93iqy95d3ha9q7xf5k92kwpd7n"
+"1kimbcmvwyfs3v9fi58jmd13icgxb6ipfyppigbc85zmbfa9vy10"
 (build-system meson-build-system)
 (inputs (list boost curl libgcrypt libmpdclient))
 (native-inputs (list pkg-config))



248/290: gnu: iptables: Update to 1.8.11.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 5144b7fd5bebd31a21c512dd5f1254a026a88b4c
Author: Zheng Junjie 
AuthorDate: Sat Feb 8 02:35:09 2025 +0800

gnu: iptables: Update to 1.8.11.

* gnu/packages/linux.scm (iptables): Update to 1.8.11.
[source]: Adjust download link.

Change-Id: I7d11caf2c3ef8b8977a32dbb518f303a3af3bf32
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 53c5f6c1ea..dccdf1e0d4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3622,14 +3622,14 @@ external rate conversion.")
 (define-public iptables
   (package
 (name "iptables")
-(version "1.8.8")
+(version "1.8.11")
 (source
  (origin
(method url-fetch)
(uri (list (string-append "mirror://netfilter.org/iptables/iptables-"
- version ".tar.bz2")))
+ version ".tar.xz")))
(sha256
-(base32 "17w5a4znq8rdj5djcldmy6mbnxq1v88ibssk2mipc1kivj4miivi"
+(base32 "1cp7kw0d3fpmfmbl4adh88v02wnj4s5rfgyxsk52pjgqbvah6wyq"
 (build-system gnu-build-system)
 (native-inputs
  (list pkg-config flex bison))



233/290: gnu: zstd: Use G-expressions.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit ba5eb9d8ffd1cab60e7a77511712ed6a702f0bec
Author: Zheng Junjie 
AuthorDate: Fri Feb 7 12:16:44 2025 +0800

gnu: zstd: Use G-expressions.

* gnu/packages/compression.scm (zstd)[arguments]: Use G-expressions.

Change-Id: Ic5dba01331a0c3c6f119ab9f800ac51829767ec2
---
 gnu/packages/compression.scm | 145 +--
 1 file changed, 72 insertions(+), 73 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 917182e906..6ac1ad1928 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1776,79 +1776,78 @@ or junctions, and always follows hard links.")
"lib";1.2MiB shared library and headers
"static"))   ;1.2MiB static library
 (arguments
- `(#:phases
-   (modify-phases %standard-phases
- (add-after 'unpack 'patch-command-file-names
-   ;; Don't require hard requirements to be in $PATH.
-   (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
-(our (lambda (name) (string-append out "/bin/" name
-   (substitute* "programs/zstdgrep"
- (("(:-)(grep)" _ prefix command)
-  (string-append prefix (which command)))
- (("(:-)(zstdcat)" _ prefix command)
-  (string-append prefix (our command
-   (substitute* "programs/zstdless"
- (("zstdcat" command)
-  (our command))
- (delete 'configure);no configure script
- (add-after 'install 'adjust-library-locations
-   (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
-(lib (assoc-ref outputs "lib"))
-(static (assoc-ref outputs "static"))
-(shared-libs (string-append lib "/lib"))
-(static-libs (string-append static "/lib")))
-   (mkdir-p static-libs)
-   ;; This is based on the win64 release zip file from zstd.
-   ,@(if (target-mingw?)
- `((for-each delete-file (find-files out "\\.so"))
-   (for-each delete-file (find-files shared-libs "\\.so"))
-   (rename-file (string-append shared-libs "/libzstd.a")
-(string-append static-libs 
"/libzstd_static.lib"))
-   (delete-file-recursively
-(string-append shared-libs "/pkgconfig"))
-   ;; no binary for interpreter `sh' found in $PATH
-   (delete-file (string-append out "/bin/zstdgrep"))
-   (delete-file (string-append out "/bin/zstdless"))
-   (delete-file (string-append out 
"/share/man/man1/zstdgrep.1"))
-   (delete-file (string-append out 
"/share/man/man1/zstdless.1")))
- `(;; Move the static library to its own output to save 
~1MiB.
-   (for-each (lambda (ar)
-   (link ar (string-append static-libs "/"
-   (basename ar)))
-   (delete-file ar))
- (find-files shared-libs "\\.a$"))
-
-   ;; Make sure the pkg-config file refers to the right 
output.
-   (substitute* (string-append shared-libs 
"/pkgconfig/libzstd.pc")
- (("^prefix=.*")
-  ;; Note: The .pc file expects a trailing slash for 
'prefix'.
-  (string-append "prefix=" lib "/\n")
-   #:make-flags
-   (list ,(string-append "CC=" (cc-for-target))
- (string-append "prefix=" (assoc-ref %outputs "out"))
- (string-append "libdir=" (assoc-ref %outputs "lib") "/lib")
- (string-append "includedir=" (assoc-ref %outputs "lib") 
"/include")
- ,@(if (target-mingw?)
-   `(;; See the note in the Makefile.
- "TARGET_SYSTEM=Windows"
- ;; Don't try to link with pthread.
- "THREAD_LD="
- ;; This isn't picked up correctly in the Makefiles.
- "EXT=.exe")
-   '())
- ;; Auto-detection is over-engineered and buggy.
- "PCLIBDIR=lib"
- "PCINCDIR=include"
- ;; Skip auto-detection of, and creating a dependency on, the build
- ;; environment's ‘xz’ for what amounts to a dubious feature 
anyway.
- "HAVE_LZMA=0"
- ;; Not currently detected, but be explicit & avoid surprises 
later.
- "HAVE_LZ4=0"
- "H

118/290: gnu: orbit2: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 34fb0346181cc563516ea29d0170be1bd0c30044
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 15:36:58 2025 +0100

gnu: orbit2: Fix build with gcc-14.

* gnu/packages/gnome.scm (orbit2): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.

Change-Id: I1c094a09f338335733197837e420211587aca833
---
 gnu/packages/gnome.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b6f58548ca..7dcdc1871b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3940,7 +3940,10 @@ functionality was designed to be as reusable and 
portable as possible.")
   ;; The "timeout-server" test hangs when run in parallel.
   #:parallel-tests? #f
   #:configure-flags
-  #~'(;; We don't need static libraries, plus they don't build reproducibly
+  #~'(#$(string-append "CFLAGS=-g -O2"
+   " -Wno-error=implicit-int"
+   " -Wno-error=incompatible-pointer-types")
+  ;; We don't need static libraries, plus they don't build reproducibly
   ;; (non-deterministic ordering of .o files in the archive.)
   "--disable-static"
 



206/290: gnu: cheese: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 62fd3689c10c5ee4a9a4243f2400f96bd7a3846a
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Jan 5 15:21:23 2025 +0100

gnu: cheese: Fix build with gcc-14.

* gnu/packages/gnome.scm (cheese)[arguments]: Add stage
"relax-gcc-14-strictness".

Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
---
 gnu/packages/gnome.scm | 4 
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f0c9b45698..52dbcb5f74 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11987,6 +11987,10 @@ photo-booth-like software, such as Cheese.")
(substitute* "meson.build"
  (("gtk_update_icon_cache: true")
   "gtk_update_icon_cache: false"
+   (add-before 'configure 'relax-gcc-14-strictness
+ (lambda _
+   (setenv "CFLAGS"
+   "-g -O2 -Wno-error=incompatible-pointer-types")))
(add-after 'install 'wrap-cheese
  (lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/cheese")



172/290: gnu: perl-tk: Build with gcc-12.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 7d944c7d23e197510919e70c0548fb76606c4662
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 18:54:57 2025 +0100

gnu: perl-tk: Build with gcc-12.

* gnu/packages/tcl.scm (perl-tk)[inputs]: Remove labels.  Add gcc-12.
[arguments]: Use G-Expressions.

Change-Id: I648817749e6b66ec7c650f13fe35a556b53fd33c
---
 gnu/packages/tcl.scm | 16 +++-
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index 0d9c7909b6..c2cdbd8a03 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -34,8 +34,9 @@
   #:use-module (guix build-system go)
   #:use-module (guix build-system perl)
   #:use-module (gnu packages)
-  #:use-module (gnu packages image)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages tls)
@@ -278,15 +279,12 @@ interfaces (GUIs) in the Tcl language.")
"0pha40m97fzafjnq8vwkbi5sml6xv8jki6qi60rxrzmxlrqp5aij"
 (build-system perl-build-system)
 (native-inputs (list pkg-config))
-(inputs `(("libx11" ,libx11)
-  ("libpng" ,libpng)
-  ("libjpeg" ,libjpeg-turbo)))
+(inputs (list gcc-12 libx11 libpng libjpeg-turbo))
 (arguments
- `(#:make-maker-flags `(,(string-append
-  "X11=" (assoc-ref %build-inputs "libx11")))
-
-   ;; Fails to build in parallel: .
-   #:parallel-build? #f))
+ (list
+  #:make-maker-flags #~(list (string-append "X11=" #$libx11))
+  ;; Fails to build in parallel: .
+  #:parallel-build? #f))
 (synopsis "Graphical user interface toolkit for Perl")
 (description
  "Tk is a Graphical User Interface ToolKit.")



263/290: gnu: nvi: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 730b8ff90de13e9f9b142804c27ff20a86e40dcc
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Jan 1 11:46:51 2025 +0100

gnu: nvi: Fix build with gcc-14.

* gnu/packages/nvi.scm (nvi)[arguments]: Add CFLAGS to #:make-flags to relax
gcc-14's strictness.

Change-Id: I8572a13360c1571c5afe29789061d6277d1fb977
---
 gnu/packages/nvi.scm | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/nvi.scm b/gnu/packages/nvi.scm
index 0ab8180946..430ced42bf 100644
--- a/gnu/packages/nvi.scm
+++ b/gnu/packages/nvi.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014 Marek Benc 
 ;;; Copyright © 2020 Marius Bakke 
 ;;; Copyright © 2024 Herman Rimm 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -74,9 +75,13 @@
   #$@(if (%current-target-system)
  '("vi_cv_sprintf_count=yes")
  '()))
-  #:make-flags #~(list "CFLAGS=-g -O2 -Wno-incompatible-pointer-types\
- -Wno-implicit-function-declaration")
-
+  #:make-flags
+  (list
+   ;; nvi's configure chokes on passing CFLAGS and ignores
+   ;; CFLAGS set in the environment
+   (string-append "CFLAGS=-g -O2"
+  " -Wno-error=implicit-function-declaration"
+  " -Wno-error=incompatible-pointer-types"))
   #:phases
   #~(modify-phases %standard-phases
   (add-before 'configure 'fix-configure



199/290: gnu: pidgin: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit c10ce4cd6caabbb69352a26ec9915a68f7b59c3b
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Jan 5 12:38:49 2025 +0100

gnu: pidgin: Fix build with gcc-14.

* gnu/packages/messaging.scm (pidgin)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.

Change-Id: Ic36a32d02d3051ea7639c2d47933b0293b72fb89
---
 gnu/packages/messaging.scm | 5 +
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index e8c25e7881..7cdeb15b72 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -45,6 +45,7 @@
 ;;; Copyright © 2024, 2025 Ashish SHUKLA 
 ;;; Copyright © 2024, 2025 Igor Goryachev 
 ;;; Copyright © 2024 Nguyễn Gia Phong 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1024,6 +1025,10 @@ authentication.")
 (arguments
  `(#:configure-flags
(list
+(string-append "CFLAGS=-I"
+   (assoc-ref %build-inputs "gst-plugins-base")
+   "/include/gstreamer-1.0"
+   " -Wno-error=incompatible-pointer-types")
 ;; XXX: Disable voice and video calls until Farstream is back to life:
 ;; .
 "--disable-vv"



67/290: gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit df525b44de3a43b0016b415f15e80dca2f4bdba7
Author: Janneke Nieuwenhuizen 
AuthorDate: Sun Dec 15 22:41:51 2024 +0100

gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14.

* gnu/packages/gcc.scm (gcc-11): Update to 11.5.0.

Change-Id: I57b0ab94e733ab9eb2ad226b5fcbc951860a48c3
---
 gnu/packages/gcc.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 2950011eca..fce3436bd2 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -770,14 +770,14 @@ It also includes runtime support libraries for these 
languages.")
 (define-public gcc-11
   (package
(inherit gcc-8)
-   (version "11.4.0")
+   (version "11.5.0")
(source (origin
 (method url-fetch)
 (uri (string-append "mirror://gnu/gcc/gcc-"
 version "/gcc-" version ".tar.xz"))
 (sha256
  (base32
-  "1ncd7akww0hl5kkmw1dj3qgqp3phdrr5dfnm7jia9s07n0ib4b9z"))
+  "0y1l6q4iy94nr30r3189fbb82ljbdqkq87y0y23wyifmx9l1iqm6"))
 (patches (search-patches "gcc-9-strmov-store-file-names.patch"
  "gcc-5.0-libvtv-runpath.patch"
  "gcc-10-libsanitizer-no-crypt.patch"



231/290: gnu: libgc: Update to 8.2.8.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 0e13a477deac49af4febcc605f08d6b88d81cb00
Author: Zheng Junjie 
AuthorDate: Fri Feb 7 11:08:04 2025 +0800

gnu: libgc: Update to 8.2.8.

* gnu/packages/bdw-gc.scm (libgc): Update to 8.2.8.

Change-Id: I863c78c69707ec6a92d6045662c4f789a11fa7f7
---
 gnu/packages/bdw-gc.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index bfa7b7f91d..0d6b1b6e97 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -35,7 +35,7 @@
 (define-public libgc
   (package
(name "libgc")
-   (version "8.2.4")
+   (version "8.2.8")
(source (origin
 (method url-fetch)
 (uri (list (string-append "https://github.com/ivmai/bdwgc/releases";
@@ -45,7 +45,7 @@
   "/gc-" version ".tar.gz")))
 (sha256
  (base32
-  "1hlgqkg9arc8sqf7wamvzmp3shb3np5z0h5v0qqksh3pw3dkq39x"
+  "0q5imdfzpngpz81banf2wn6b8byrj0jp9j5m3xg349nb44304jbn"
(build-system gnu-build-system)
(arguments
 (append



128/290: gnu: icu4c: Disable some tests for x86-32.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 45087e1293910bfbf247532cf0b0507048075f2e
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 10:13:47 2025 +0100

gnu: icu4c: Disable some tests for x86-32.

* gnu/packages/icu4c.scm (icu4c)[arguments]: When building for x86-32, add
"disable-failing-test" stage.

Change-Id: I57be6c07121182fb027b8f5c0b383617dd4f962a
---
 gnu/packages/icu4c.scm | 9 +
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 6f17316d0d..647484cbfb 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -100,6 +100,15 @@
   (("(TESTCASE_AUTO\\(unitUsage\\));" all)
(string-append "//" all))
  #~())
+  #$@(if (target-x86-32?)
+ #~((add-after 'unpack 'disable-failing-test
+  (lambda _
+;; The test reports 18 errors but it's woefully
+;; unclear which tests actually fail or how to disable
+;; individual tests.
+(substitute* "source/test/Makefile.in"
+  ((" intltest ") " ")
+ #~())
   (add-after 'install 'avoid-coreutils-reference
 ;; Don't keep a reference to the build tools.
 (lambda _



161/290: gnu: r-rcppparallel: Fix build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 7a17d9153d675df083488c2274ce02f32979bc07
Author: Janneke Nieuwenhuizen 
AuthorDate: Fri Jan 3 14:39:21 2025 +0100

gnu: r-rcppparallel: Fix build with gcc-14.

* gnu/packages/cran.scm (r-rcppparallel)[arguments]: Use G-Expressions.  Add
phase "relax-gcc-14-strictness".

Change-Id: I3d6c0d0986405dcc327bddb1eccaf95c298aec1d
---
 gnu/packages/cran.scm | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8522eb07a5..de686d1af4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2024 Marco Baggio 
 ;;; Copyright © 2024, 2025 Spencer King 
 ;;; Copyright © 2024 Tor-björn Claesson 
+;;; Copyright © 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22042,10 +22043,17 @@ package provides a minimal R interface by relying on 
the Rcpp package.")
 (arguments
  (list
   #:phases
-  '(modify-phases %standard-phases
- (add-after 'unpack 'use-system-tbb
-   (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TBB_ROOT" (assoc-ref inputs "tbb")))
+  #~(modify-phases %standard-phases
+  (add-after 'unpack 'use-system-tbb
+(lambda* (#:key inputs #:allow-other-keys)
+  (setenv "TBB_ROOT" (assoc-ref inputs "tbb"
+  (add-before 'install 'relax-gcc-14-strictness
+(lambda _
+  (substitute* "src/Makevars.in"
+(("(PKG|TBB)_CXXFLAGS =" all)
+ (string-append all " -Wno-error=changes-meaning"))
+(("CXXFLAGS=\"" all)
+ (string-append all "-Wno-error=changes-meaning "
 (inputs (list tbb-2020))
 (native-inputs (list r-rcpp r-runit))
 (home-page "https://rcppcore.github.io/RcppParallel/";)



214/290: gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit a7e968e331e61783fe76204d5068743c721a98f2
Author: Janneke Nieuwenhuizen 
AuthorDate: Tue Dec 3 08:52:13 2024 +0100

gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.

* gnu/packages/gcc.scm (gcc): Define as gcc-14 for all.
(libgccjit): Define as libgccjit-14.
* gnu/packages/commencement.scm (gcc-toolchain): Define as gcc-toolchain-14
for all.
* gnu/packages/gcc.scm

Change-Id: Iaac983da8acbbb2fd1088a0469d6115b7d424dbb
---
 gnu/packages/commencement.scm | 6 ++
 gnu/packages/gcc.scm  | 7 ++-
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index e1c7082753..d9992a9086 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3675,7 +3675,7 @@ is the GNU Compiler Collection.")
   (make-gcc-toolchain gcc-10))
 
 (define-public gcc-toolchain-11
-(make-gcc-toolchain gcc-11))
+  (make-gcc-toolchain gcc-11))
 
 (define-public gcc-toolchain-12
   (make-gcc-toolchain gcc-12))
@@ -3688,9 +3688,7 @@ is the GNU Compiler Collection.")
 
 ;; The default GCC
 (define-public gcc-toolchain
-  (if (host-hurd64?)
-  gcc-toolchain-14
-  gcc-toolchain-11))
+  gcc-toolchain-14)
 
 (define-public gcc-toolchain-aka-gcc
   ;; It's natural for users to try "guix install gcc".  This package
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index fce3436bd2..40fe0eec93 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -886,10 +886,7 @@ It also includes runtime support libraries for these 
languages.")
 
 ;; Note: When changing the default gcc version, update
 ;;   the gcc-toolchain-* definitions.
-(define-public gcc
-  (if (host-hurd64?)
-  gcc-14
-  gcc-11))
+(define-public gcc gcc-14)
 
 
 ;;;
@@ -1284,7 +1281,7 @@ misnomer.")))
 
 ;; This must match the 'gcc' variable, but it must also be 'eq?' to one of the
 ;; libgccjit-* packages above.
-(define-public libgccjit libgccjit-11)
+(define-public libgccjit libgccjit-14)
 
 (define (make-gccgo gcc)
   "Return a gccgo package based on GCC."



222/290: gexp: Improve support of Unicode characters.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit bffb2b5362056f1efa9eac726b6ee2c22e25af19
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Thu Jan 23 23:57:06 2025 +0100

gexp: Improve support of Unicode characters.

Support for non-ASCII characters was mixed.  Some gexp forms did support 
them,
while others did not.  Combined with current value for
%default-port-conversion-strategy, that sometimes led to unpleasant 
surprises.

Fixes #73660, see .

* guix/gexp.scm (gexp->derivation): Default LC_CTYPE to C.UTF-8.
(gexp->script, text-file*): Set port encoding to UTF-8.

Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11
Signed-off-by: Janneke Nieuwenhuizen 
---
 guix/gexp.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/guix/gexp.scm b/guix/gexp.scm
index 811cf02a53..3ebbd9beae 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2019, 2020 Mathieu Othacehe 
 ;;; Copyright © 2020 Maxim Cournoyer 
 ;;; Copyright © 2021, 2022 Maxime Devos 
+;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1151,7 +1152,7 @@ derivations--e.g., code evaluated for its side effects."
#:key
system (target 'current)
hash hash-algo recursive?
-   (env-vars '())
+   (env-vars '(("LC_CTYPE" . "C.UTF-8")))
(modules '())
(module-path %load-path)
(guile-for-build (%guile-for-build))
@@ -2020,6 +2021,8 @@ imported modules in its search path.  Look up EXP's 
modules in MODULE-PATH."
   (gexp
(call-with-output-file (ungexp output)
  (lambda (port)
+   (set-port-encoding! port "UTF-8")
+
;; Note: that makes a long shebang.  When the store
;; is /gnu/store, that fits within the 128-byte
;; limit imposed by Linux, but that may go beyond
@@ -2118,6 +2121,7 @@ resulting store file holds references to all these."
   (define builder
 (gexp (call-with-output-file (ungexp output "out")
 (lambda (port)
+  (set-port-encoding! port "UTF-8")
   (display (string-append (ungexp-splicing text)) port)
 
   (gexp->derivation name builder



260/290: gnu: flex: Fix cross-compiling.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit 3e0732b52587ebbe791b6315bb7dfeadf1908085
Author: Zheng Junjie 
AuthorDate: Wed Feb 12 22:51:15 2025 +0800

gnu: flex: Fix cross-compiling.

* gnu/packages/flex.scm (flex)[arguments]<#:configure-flags>: When
cross-compiling, add ac_cv_func_malloc_0_nonnull=yes and
ac_cv_func_realloc_0_nonnull=yes.

Change-Id: I89718a19e2b3c5a5f5732049f3b0bcd7621e9f1b
---
 gnu/packages/flex.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index 665b678d02..bc4498b633 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -58,7 +58,9 @@
 (arguments
  (if (or (target-hurd64?) (%current-target-system))
  (list #:configure-flags
-   #~'(#$(string-append
+   #~'("ac_cv_func_malloc_0_nonnull=yes"
+   "ac_cv_func_realloc_0_nonnull=yes"
+   #$(string-append
   "CFLAGS=-g -O2"
   " -Wno-error=implicit-function-declaration"
   " -Wno-error=int-conversion")))



148/290: gnu: zeromq: Update to 4.3.5; fixes build with gcc-14.

2025-03-30 Thread guix-commits
andreas pushed a commit to branch core-packages-team
in repository guix.

commit c2fd3ad50e834b6f14fc244ea32c60ef2d83d5a0
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Jan 2 20:02:09 2025 +0100

gnu: zeromq: Update to 4.3.5; fixes build with gcc-14.

* gnu/packages/networking.scm (zeromq): Update to 4.3.5.

Change-Id: If3b7e3ac3f760af88aea4cdbac1ca65d41acd2a8
---
 gnu/packages/networking.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1e0f001cb8..ba9940a9af 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -66,7 +66,7 @@
 ;;; Copyright © 2024 Alexey Abramov 
 ;;; Copyright © 2024 James Smith 
 ;;; Copyright © 2025 Sughosha 
-;;; Copyright © 2024 Janneke Nieuwenhuizen 
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1386,14 +1386,14 @@ transparently check connection attempts against an 
access control list.")
 (define-public zeromq
   (package
 (name "zeromq")
-(version "4.3.4")
+(version "4.3.5")
 (source
  (origin
(method url-fetch)
(uri (string-append "https://github.com/zeromq/libzmq/releases";
"/download/v" version "/zeromq-" version ".tar.gz"))
(sha256
-(base32 "1rf3jmi36ms8jh2g5cvi253h43l6xdfq0r7mvp95va7mi4d014y5"
+(base32 "0hxbpw9sk9g5ilxfnq3iki6nxjh3igk348z73y358ygi21cyylv6"
 (build-system gnu-build-system)
 (arguments '(#:configure-flags '("--disable-static"
  "--enable-drafts")))



  1   2   3   >