Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271014

Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64

From zhangdandan <zhangdandan@loongson.cn>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64
Date 2025-11-21 04:10 +0100
Message-ID <LTpH3-ewHF-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: feather-wallet
Version: 2.8.1+dfsg-1
Severity: normal
Tags: FTBFS patch
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the feather-wallet failed for loong64 in the Debian Package 
Auto-Building environment.
The error log is as follows,
```
......
[  4%] Building CXX object 
monero/src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o
cc: error: unrecognized command-line option ‘-maes’
c++: error: unrecognized command-line option ‘-maes’
c++: error: unrecognized command-line option ‘-maes’
c++: error: unrecognized command-line option ‘-maes’
cd 
/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/src/cryptonote_basic 
&& /usr/bin/c++ -DAUTO_INITIALIZE_EASYLOGGINGPP -DBLOCKCHAIN_DB=DB_LMDB 
-DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION -DBOOST_NO_AUTO_PTR 
-DBOOST_UUID_DISABLE_ALIGNMENT -DBUILD_GUI_DEPS=1 
-DDEFAULT_DB_TYPE=\"lmdb\" -DDEVICE_TREZOR_READY=1 -DHAVE_EXPLICIT_BZERO 
-DHAVE_HIDAPI -DHAVE_STRPTIME -DHAVE_TREZOR_LIBUSB=1 
-DPER_BLOCK_CHECKPOINT -DPROTOBUF_INLINE_NOT_IN_HEADERS=0 
-I/<<PKGBUILDDIR>>/monero/external/rapidjson/include 
-I/<<PKGBUILDDIR>>/monero/external/easylogging++ 
-I/<<PKGBUILDDIR>>/monero/src 
-I/<<PKGBUILDDIR>>/monero/contrib/epee/include 
-I/<<PKGBUILDDIR>>/monero/external 
-I/<<PKGBUILDDIR>>/monero/external/supercop/include 
-I/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/generated_include 
-I/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/monero/translations 
-I/<<PKGBUILDDIR>>/monero/external/db_drivers/liblmdb 
-I/usr/include/hidapi -I/usr/include/libusb-1.0 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time 
-D_FORTIFY_SOURCE=2 -pthread -maes -march=native 
-Dcryptonote=MWYSUTPAXIBT -fno-strict-aliasing -D_GNU_SOURCE  
-Dstatic_assert=_Static_assert -Wall -Wextra -Wpointer-arith -Wundef 
-Wvla -Wwrite-strings -Wno-error=extra 
-Wno-error=deprecated-declarations -Wno-unused-parameter 
-Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized 
-Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp -Wno-reorder 
-Wno-missing-field-initializers -fPIC  -fno-strict-aliasing 
-ftemplate-depth=900 -std=c++17 -MD -MT 
monero/src/cryptonote_basic/CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o 
-MF CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o.d -o 
CMakeFiles/obj_cryptonote_basic.dir/account.cpp.o -c 
/<<PKGBUILDDIR>>/monero/src/cryptonote_basic/account.cpp
c++: error: unrecognized command-line option ‘-maes’
c++: error: unrecognized command-line option ‘-maes’
c++: error: unrecognized command-line option ‘-maes’
......
```
The full build log can be found at 
https://buildd.debian.org/status/fetch.php?pkg=feather-wallet&arch=loong64&ver=2.8.1%2Bdfsg-1&stamp=1763006798&raw=0.
Please consider the patch I attached.
I have built feather-wallet successfully on locally.
Your opinions are welcome.

Best regards,
Dandan Zhang

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 zhangdandan <zhangdandan@loongson.cn> - 2025-11-21 04:10 +0100
  Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 Soren Stoutner <soren@debian.org> - 2025-11-22 04:40 +0100
    Bug#1121104: feather-wallet: FTBFS: Do not use -maes CFLAGS and CXXFLAGS on loong64 Adrian Bunk <bunk@debian.org> - 2025-11-25 20:10 +0100

csiph-web