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


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

Bug#1103407: mayo: FTBFS: Add loongarch64 support

From zhangdandan <zhangdandan@loongson.cn>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103407: mayo: FTBFS: Add loongarch64 support
Date 2025-04-17 10:40 +0200
Message-ID <KCsWS-e8yb-7@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: mayo
Version: 0.9.0+ds-1
Severity: normal
Tags: patch
User: debian-loongarch@lists.debian.org
Usertags: loong64

Hi maintainers,

Compiling the mayo failed for loong64 in the Debian Package 
Auto-Building environment.
The build error log is as follows,
```
[ 27%] Building CXX object 
CMakeFiles/MayoCore.dir/src/graphics/ais_text.cpp.o
/usr/bin/c++ -DOCCT_HANDLE_NOCAST -DOCC_CONVERT_SIGNALS 
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 
-DQT_IMPLICIT_QFILEINFO_CONSTRUCTION 
-I/<<PKGBUILDDIR>>/obj-loongarch64-linux-gnu/MayoCore_autogen/include 
-I/<<PKGBUILDDIR>>/src/3rdparty ......
In file included from 
/<<PKGBUILDDIR>>/src/3rdparty/fast_float/ascii_number.h:9,
                  from 
/<<PKGBUILDDIR>>/src/3rdparty/fast_float/parse_number.h:3,
                  from 
/<<PKGBUILDDIR>>/src/3rdparty/fast_float/fast_float.h:44,
                  from /<<PKGBUILDDIR>>/src/base/unit_system.cpp:9:
/<<PKGBUILDDIR>>/src/3rdparty/fast_float/float_common.h:20:2: error: 
#error Unknown platform (not 32-bit, not 64-bit?)
    20 | #error Unknown platform (not 32-bit, not 64-bit?)
       |  ^~~~~
/<<PKGBUILDDIR>>/src/3rdparty/fast_float/float_common.h:161:4: error: 
#error Not implemented
   161 |   #error Not implemented
       |    ^~~~~
```
The full log can be found at 
https://buildd.debian.org/status/fetch.php?pkg=mayo&arch=loong64&ver=0.9.0%2Bds-1&stamp=1744735590&raw=0.

Please consider the patch I attached.
I have built mayo successfully on my locally.
```
......
    dh_builddeb
dpkg-deb: building package 'mayo' in 
'../mayo_0.9.0+ds-1+loong64_loong64.deb'.
dpkg-deb: building package 'mayo-dbgsym' in 
'../mayo-dbgsym_0.9.0+ds-1+loong64_loong64.deb'.
  dpkg-genbuildinfo -O../mayo_0.9.0+ds-1+loong64_loong64.buildinfo
  dpkg-genchanges -O../mayo_0.9.0+ds-1+loong64_loong64.changes
```

Please add loongarch64 support in the next upload.
BTW, I have submitted pull-request to upstream, detail 
https://github.com/fougue/mayo/pull/340.
Your opinions are welcome.

Best regards,
Dandan Zhang

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


Thread

Bug#1103407: mayo: FTBFS: Add loongarch64 support zhangdandan <zhangdandan@loongson.cn> - 2025-04-17 10:40 +0200

csiph-web