Source: scikit-learn
Version: 1.2.1+dfsg-1
Severity: wishlist
Tags: ftbfs
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the scikit-learn failed for loong64 in the Debian Package Auto-Building environment. The full compilation log can be found at https://buildd.debian.org/status/logs.php?pkg=scikit-learn&ver=1.2.1%2Bdfsg-1%2Bb1&arch=loong64

Refer to other architectures, need to add loong64 in d/rules where test suite results are ignored.

Please consider the patch I have attached.
The scikit-learn source package was compiled successfully on my local loong64 rootfs environment.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff -Nru scikit-learn-1.2.1+dfsg/debian/rules 
scikit-learn-1.2.1+dfsg/debian/rules
--- scikit-learn-1.2.1+dfsg/debian/rules        2023-01-30 06:02:29.000000000 
+0000
+++ scikit-learn-1.2.1+dfsg/debian/rules        2023-01-30 06:02:29.000000000 
+0000
@@ -108,7 +108,7 @@
 
 else
 # for all architectures that are known to have failures in test suite we are 
ignoring these
-ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), i386 mipsel mips64el hppa 
armel armhf arm64 ppc64 ppc64el s390x alpha riscv64 amd64))
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), i386 loong64 mipsel mips64el 
hppa armel armhf arm64 ppc64 ppc64el s390x alpha riscv64 amd64))
   # Ignored due to bug #1003165
 IGNORE_ERRORS= || true
 endif

Reply via email to