pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-scipy build failure



As per

  http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-10.0-x86_64/20250110.0034//py311-scipy-1.15.0/build.log

py-scipy is failing to build. FWIW I just managed a successful build with

# cat patch-scipy_special_stirling2.h
$NetBSD$

--- scipy/special/stirling2.h.orig      2025-01-02 22:53:29.000000000 +0000
+++ scipy/special/stirling2.h
@@ -4,13 +4,17 @@
 #if defined(__cplusplus)
 #include <cmath>
 using std::isinf;
-#endif
-
+#include <complex>
+#else
 #include <complex.h>
 #include <math.h>
+#endif
+
+/*
 #include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
+*/
 
 #include "xsf/binom.h"
 #include "xsf/lambertw.h"


but ran of time to check all OK, so posting just in case it helps.


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index