Debian Bug report logs -
#1093211
afnix: FTBFS: Add loongarch64 support
Reply or subscribe to this bug.
Display info messages
Message #5 received at [email protected] (full text , mbox , reply ):
[Message part 1 (text/plain, inline)]
Source: afnix
Version: 3.8.0-1.1
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: loong64
X-Debbugs-CC: [email protected]
Dear maintainers,
Compiling the afnix failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
......
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make world
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/lib'
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/lib/plt'
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/plt/acf'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/plt/acf'
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/plt/shl'
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -Werror -fno-builtin
-Wno-error=overloaded-virtual -MMD -pthread -fPIC -I. -I../acf
-o cclk.o -c cclk.cxx
In file included from cclk.cxx:19:
cclk.hxx:25:2: error: #error "unknown processor type"
25 | #error "unknown processor type"
| ^~~~~
make[6]: *** [../../../../cnf/mak/afnix-runx.mak:107: cclk.o] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/plt/shl'
```
The full build log can be found at
https://buildd.debian.org/status/logs.php?pkg=afnix&ver=3.8.0-1.1&arch=loong64 .
Please consider the patch I attached.
Based on the attached patch, I have built afnix 3.8.0-1.1+loong64
successfully on local ENV.
```
dh_builddeb
dpkg-deb: building package 'afnix-dbgsym' in
'../afnix-dbgsym_3.8.0-1.1+loong64_loong64.deb'.
dpkg-deb: building package 'afnix' in
'../afnix_3.8.0-1.1+loong64_loong64.deb'.
dpkg-deb: building package 'afnix-doc' in
'../afnix-doc_3.8.0-1.1+loong64_all.deb'.
dpkg-genbuildinfo -O../afnix_3.8.0-1.1+loong64_loong64.buildinfo
dpkg-genchanges -O../afnix_3.8.0-1.1+loong64_loong64.changes
```
Best regards,
Dandan Zhang
[afnix-0017-Add-loongarch64-support.patch (text/x-patch, attachment)]
Send a report that this bug log contains spam .
Debian bug tracking system administrator <[email protected] >.
Last modified:
Thu May 15 19:31:00 2025;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/ .
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.