This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5cc948bb46 gnu: python-vaex-core: Fix build with gcc@14.
5cc948bb46 is described below

commit 5cc948bb46c3e4ad360c5ab61112e148fd8cb9d8
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sun Jul 20 23:36:32 2025 +0100

    gnu: python-vaex-core: Fix build with gcc@14.
    
    * gnu/packages/python-science.scm (python-vaex-core) [arguments]
      <phases>: Add 'patch-missing-include.
    
    Change-Id: Id98cff63954bfa3b460dd612b5175e8ad58aacc2
---
 gnu/packages/python-science.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ce2caf5296..f51de6d8b1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3878,8 +3878,8 @@ readable.")
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://www.github.com/maartenbreddels/vaex";)
-             (commit (string-append "core-v" version))))
+              (url "https://www.github.com/maartenbreddels/vaex";)
+              (commit (string-append "core-v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1sp096msbzgjlwi8c1ink2bp4pjff9pvikqz1y1li8d3in4gpgdr"))
@@ -3917,7 +3917,14 @@ readable.")
                 ;; "dask!=2022.4.0,<2024.9"; there is a note "fingerprinting
                 ;; in no longer deterministic as of 2024.9.0" which may be
                 ;; resolved in 2024.12.1.
-                ((",<2024.9") "")))))))
+                ((",<2024.9") ""))))
+          (add-before 'build 'patch-missing-include
+            (lambda _
+              ;; See: <https://github.com/vaexio/vaex/issues/2382>.
+              ;; TODO: Update to the latest version including the fix.
+              (substitute* "src/string_utils.hpp"
+                (("#include <nonstd/string_view.hpp>")
+                 "#include <cstdint>\n#include <nonstd/string_view.hpp>")))))))
     (inputs
      (list boost pcre pybind11 string-view-lite tsl-hopscotch-map))
     (propagated-inputs

Reply via email to