Public bug reported:

As seen in RVA23 test rebuild:
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250731-questing-rva23-questing.html

In file included from /usr/include/Fcitx5/Config/fcitx-config/rawconfig.h:17,
                 from 
/usr/include/Fcitx5/Config/fcitx-config/marshallfunction.h:14,
                 from /usr/include/Fcitx5/Config/fcitx-config/option.h:18,
                 from 
/usr/include/Fcitx5/Config/fcitx-config/configuration.h:14,
                 from /<<PKGBUILDDIR>>/src/unix/fcitx5/mozc_engine.h:22,
                 from ../../unix/fcitx5/mozc_engine.cc:20:
/usr/include/Fcitx5/Utils/fcitx-utils/log.h:170:53: error: ‘span’ in namespace 
‘std’ does not name a template type
  170 |     inline LogMessageBuilder &operator<<(const std::span<T> &vec) {
      |                                                     ^~~~
/usr/include/Fcitx5/Utils/fcitx-utils/log.h:170:48: note: ‘std::span’ is only 
available from C++20 onwards
  170 |     inline LogMessageBuilder &operator<<(const std::span<T> &vec) {
      |                                                ^~~
/usr/include/Fcitx5/Utils/fcitx-utils/log.h:170:57: error: expected ‘,’ or 
‘...’ before ‘<’ token
  170 |     inline LogMessageBuilder &operator<<(const std::span<T> &vec) {
      |                                                         ^
/usr/include/Fcitx5/Utils/fcitx-utils/log.h: In member function 
‘fcitx::LogMessageBuilder& fcitx::LogMessageBuilder::operator<<(int)’:
/usr/include/Fcitx5/Utils/fcitx-utils/log.h:172:20: error: ‘vec’ was not 
declared in this scope [-Wtemplate-body]
  172 |         printRange(vec.begin(), vec.end());
      |                    ^~~
In file included from /usr/include/Fcitx5/Config/fcitx-config/iniparser.h:17,
                 from ../../unix/fcitx5/mozc_engine.cc:22:
/usr/include/Fcitx5/Utils/fcitx-utils/standardpaths.h: At global scope:
/usr/include/Fcitx5/Utils/fcitx-utils/standardpaths.h:131:10: error: ‘span’ in 
namespace ‘std’ does not name a template type
  131 |     std::span<const std::filesystem::path>
      |          ^~~~
/usr/include/Fcitx5/Utils/fcitx-utils/standardpaths.h:131:5: note: ‘std::span’ 
is only available from C++20 onwards
  131 |     std::span<const std::filesystem::path>
      |     ^~~
cc1plus: note: unrecognized command-line option 
‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier 
diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ 
may have been intended to silence earlier diagnostics
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/src/build_mozc.py", line 991, in <module>
    sys.exit(main())
             ~~~~^^
  File "/<<PKGBUILDDIR>>/src/build_mozc.py", line 976, in main
    BuildMain(cmd_opts, cmd_args)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/src/build_mozc.py", line 714, in BuildMain
    BuildWithNinja(options, targets)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/src/build_mozc.py", line 685, in BuildWithNinja
    RunOrDie([ninja, '-v', '-C', build_arg, target_name])
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/src/build_tools/util.py", line 140, in RunOrDie
    raise RunOrDieError('\n'.join(['',
    ...<2 lines>...
                                   '==========']))
build_tools.util.RunOrDieError: 
==========
 ERROR: ninja -v -C out_linux/Release fcitx5-mozc
==========

** Affects: mozc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs rva23-ftbfs

** Tags added: ftbfs rva23-ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121938

Title:
  mozc: FTBFS with RVA23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/2121938/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to