Your message dated Fri, 02 Jan 2026 12:37:11 +0000
with message-id <[email protected]>
and subject line Bug#1104187: fixed in mayo 0.9.0+git20251225+ds-2
has caused the Debian Bug report #1104187,
regarding mayo:FTBFS:build failed(error: #error Unknown platform)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1104187: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104187
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mayo
Version: 0.9.0+ds-2
Severity: serious
Tags: FTBFS, patch
User: [email protected]
Usertags: riscv64

Dear mayo maintainer,
The package mayo build failed on riscv64.The crucial buildd log below:
```

/build/reproducible-path/mayo-0.9.0+ds/src/3rdparty/fast_float/float_common.h:21:2:
error: #error Unknown platform (not 32-bit, not 64-bit?)
   21 | #error Unknown platform (not 32-bit, not 64-bit?)
      |  ^~~~~
/build/reproducible-path/mayo-0.9.0+ds/src/3rdparty/fast_float/float_common.h:162:4:
error: #error Not implemented
  162 |   #error Not implemented
      |    ^~~~~
[ 26%] Building CXX object CMakeFiles/MayoCore.dir/src/base/xcaf.cpp.o
/usr/bin/c++ -DOCCT_HANDLE_NOCAST -DOCC_CONVERT_SIGNALS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
-DQT_IMPLICIT_QFILEINFO_CONSTRUCTION
-I/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu/MayoCore_autogen/include
-I/build/reproducible-path/mayo-0.9.0+ds/src/3rdparty
-I/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu
-isystem /usr/include/opencascade -g -O2
-ffile-prefix-map=/build/reproducible-path/mayo-0.9.0+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT
CMakeFiles/MayoCore.dir/src/base/xcaf.cpp.o -MF
CMakeFiles/MayoCore.dir/src/base/xcaf.cpp.o.d -o
CMakeFiles/MayoCore.dir/src/base/xcaf.cpp.o -c
/build/reproducible-path/mayo-0.9.0+ds/src/base/xcaf.cpp
[ 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/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu/MayoCore_autogen/include
-I/build/reproducible-path/mayo-0.9.0+ds/src/3rdparty
-I/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu
-isystem /usr/include/opencascade -g -O2
-ffile-prefix-map=/build/reproducible-path/mayo-0.9.0+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT
CMakeFiles/MayoCore.dir/src/graphics/ais_text.cpp.o -MF
CMakeFiles/MayoCore.dir/src/graphics/ais_text.cpp.o.d -o
CMakeFiles/MayoCore.dir/src/graphics/ais_text.cpp.o -c
/build/reproducible-path/mayo-0.9.0+ds/src/graphics/ais_text.cpp
make[3]: *** [CMakeFiles/MayoCore.dir/build.make:663:
CMakeFiles/MayoCore.dir/src/base/unit_system.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 27%] Building CXX object
CMakeFiles/MayoCore.dir/src/graphics/graphics_create_driver.cpp.o
/usr/bin/c++ -DOCCT_HANDLE_NOCAST -DOCC_CONVERT_SIGNALS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
-DQT_IMPLICIT_QFILEINFO_CONSTRUCTION
-I/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu/MayoCore_autogen/include
-I/build/reproducible-path/mayo-0.9.0+ds/src/3rdparty
-I/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu
-isystem /usr/include/opencascade -g -O2
-ffile-prefix-map=/build/reproducible-path/mayo-0.9.0+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT
CMakeFiles/MayoCore.dir/src/graphics/graphics_create_driver.cpp.o -MF
CMakeFiles/MayoCore.dir/src/graphics/graphics_create_driver.cpp.o.d -o
CMakeFiles/MayoCore.dir/src/graphics/graphics_create_driver.cpp.o -c
/build/reproducible-path/mayo-0.9.0+ds/src/graphics/graphics_create_driver.cpp
make[3]: Leaving directory
'/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:109: CMakeFiles/MayoCore.dir/all] Error 2
make[2]: Leaving directory
'/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu'
make[1]: *** [Makefile:94: all] Error 2
make[1]: Leaving directory
'/build/reproducible-path/mayo-0.9.0+ds/obj-riscv64-linux-gnu'
dh_auto_build: error: cd obj-riscv64-linux-gnu && make -j4
"INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=mayo&arch=riscv64&ver=0.9.0%2Bds-2&stamp=1744889134&raw=0

My solution to this issue:
The bundled fast_float library (version included in mayo 0.9.0+ds) does not
have preprocessor checks to identify the riscv64 architecture.It fails to
define FASTFLOAT_64BIT for this platform, leading to the above errors as
the code falls through to unimplemented/error sections.The issue can be
fixed by patching src/3rdparty/fast_float/float_common.h to recognize
riscv64 as a 64-bit architecture using the standard __riscv and
__riscv_xlen macros. This allows the existing code path that uses
__uint128_t (available on riscv64 with GCC/Clang) to be used for 128-bit
multiplication within the library. The debdiff patch is in the attachment.I
have tested that locally, and it works well.Please let me know whether this
solution can be accepted.

Thank you for maintaining mayo.

Gui-Yue
Best Regards

Attachment: support_riscv_for_mayo.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: mayo
Source-Version: 0.9.0+git20251225+ds-2
Done: Alex Myczko <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mayo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alex Myczko <[email protected]> (supplier of updated mayo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 02 Jan 2026 12:57:04 +0100
Source: mayo
Architecture: source
Version: 0.9.0+git20251225+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Alex Myczko <[email protected]>
Changed-By: Alex Myczko <[email protected]>
Closes: 1104187
Changes:
 mayo (0.9.0+git20251225+ds-2) unstable; urgency=medium
 .
   * Upload to sid. (Closes: #1104187)
   * d/control: bump year.
   * d/mayo.desktop: added.
   * d/watch: updated.
Checksums-Sha1:
 04c445bec65677b392a1e6add3b388ad2cf4f591 2009 mayo_0.9.0+git20251225+ds-2.dsc
 8f0334ab88c25e5471d3bda3738d9e640af9eb52 12092 
mayo_0.9.0+git20251225+ds-2.debian.tar.xz
 7d8ded764b0e4c3938e9d80441c5081ef363d625 26801 
mayo_0.9.0+git20251225+ds-2_source.buildinfo
Checksums-Sha256:
 27f3e3f3f11f1dafc27ca2ed48a5d21dc0f98de720407affa068a0b040530095 2009 
mayo_0.9.0+git20251225+ds-2.dsc
 16791879a444daac4c5b812cda6790181c9bb7f16c41b26e5e829e3e0b908c48 12092 
mayo_0.9.0+git20251225+ds-2.debian.tar.xz
 f59736a6f787ef8b7597c4eba3de082184c469da0b55c70a6e83b0cd7faff27b 26801 
mayo_0.9.0+git20251225+ds-2_source.buildinfo
Files:
 63ebb48acc48f253ad23cd99f6f796ab 2009 science optional 
mayo_0.9.0+git20251225+ds-2.dsc
 4d6ae3461e2fc88557ec1519bd3c1024 12092 science optional 
mayo_0.9.0+git20251225+ds-2.debian.tar.xz
 19eb41ab2c0add7bfc88b3b70c9eda3a 26801 science optional 
mayo_0.9.0+git20251225+ds-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmlXtdkACgkQEWhSvN91
FcBxnw/9HFe+1nXbxX1dnO6wk6ygw3hZ01MHLb2s5RI1OcqO7b4EXCz/vefsfvS1
tKRsJ8pbKAXBiEnISvmOHdBZd3YhqiqFkJs0LS2rf/mpCiqT4jMjddixD3J723ro
m/9pp4Nq17/SOGcZDJulRiCWQsmkP8/GsaIxoe1xYTx5VPCmbFIxPsilrFP4xW3m
fbNXJuvGRjh82v/16RiFoX/h1Y0/WhrM2686sourFzaU1yShzkU3fyt8zaX/ew9e
FLPS27PLKbZmvHvDZMxGwMsOtoX+3Y7fUP4OWbXWCCzX0fOLIsThpkwgUlRgXPks
i0QG0+Od5eFOtRQRBS+iTXxGDiW10wfz2eJUAKRW9Ku6d01iUUyIdxKJfBJoU5DT
Nbtn6z/I0nawZSmcQm9nQKRXU5v9WjYLvgro4hDj2Q0ElILBo+cIqb79ZamKWVbc
NYEMV4+hKy5vb/7wdbZIiNGSJBJKN64WJ8fXS0v231haqJAEpvVvy+K5ClWFrbzR
kactxJeC+hu9ZPmbj4ln1NMfLo4eXjEjMkjbwA1ocYpKYTkRlNRXIvAqU4ZTGEro
iAZmI8Oh7g4Jk1XkZYdf7H7z9xTgXRGrrVArMEzF8PYJvxN5+o7wl3H2wwjM9C0H
r64cDiD+9izBOakCLuQFpGMOTDnHuYAz2ZhCT+C5h7mMX1ixcs4=
=JvEg
-----END PGP SIGNATURE-----

Attachment: pgpoeW8iM1g9R.pgp
Description: PGP signature


--- End Message ---

Reply via email to