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

Bug#1010361: netw-ib-ox-ag: FTBFS on riscv64: Could not guess NETWIBDEF_SYSARCH

Source: netw-ib-ox-ag
Version: 5.39.0-1.4
Severity: normal
Tags: patch, ftbfs
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear Maintainer,

net-ib-ox-ag has ftbfs on riscv64:

cd src/netwib-src/src && ./genemake && cd ../../..
Netwib version 5.39.0 (5 39 0)
Loading config.dat
System name selection
System architecture selection
Error: Could not guess NETWIBDEF_SYSARCH.
Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.
Please contact Laurent to permanently solve this problem.
make: *** [debian/rules:30: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

The full buildd log is:

The patch that i have build on riscv64 successfully locally. if you need me to
do test about it, please tell me. I have riscv64 real hardware by hand.

add support for riscv64 arch
--- a/src/netwib-src/src/genemake
+++ b/src/netwib-src/src/genemake
@@ -127,6 +127,9 @@
   sh* )
+  "riscv64" )
+    NETWIBDEF_SYSARCH="riscv64"
+    ;;
   * )
     echo "Error: Could not guess NETWIBDEF_SYSARCH.";
     echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";
@@ -2090,7 +2093,7 @@
   cat <<UEOF
   \$prog -v
   \$prog --version
   \$prog -c

Reply to: