guix_mirror_bot pushed a commit to branch hurd-team
in repository guix.

commit cd4bd086db56a450a2680c4259d3985c5db913d5
Author: Yelninei <[email protected]>
AuthorDate: Tue Feb 17 18:05:44 2026 +0000

    gnu: python-boot0: Resolve conflict with newer libm.
    
    * gnu/packages/commencement.scm (python-boot0): Rename sinpi to m_sinpi as a
    newer libm provides sinpi symbol.
    
    Change-Id: Ifb8d193a06b66d2859a6ee27f6e64e0260c9b847
---
 gnu/packages/commencement.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9c6b61e18f..c73eb9d4df 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2909,6 +2909,14 @@ memoized as a function of '%current-system'."
                        (substitute* "Lib/plat-generic/regen"
                          (("/usr/include/")
                           (string-append libc "/include/")))))))
+               '())
+         ,@(if (system-hurd64?)
+               `((add-before 'configure 'resolve-libm-name-conflict
+                   (lambda* _
+                     ;; with glibc 2.41 libm headers conflict with
+                     ;; mathmodule.c for sinpi
+                     (substitute* "Modules/mathmodule.c"
+                       (("sinpi") "m_sinpi")))))
                '()))))
     (native-search-paths
      (list (search-path-specification

Reply via email to