[Bug 284814] games/openmw: build failure after Boost-1.87 update

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Feb 2025 13:10:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284814

            Bug ID: 284814
           Summary: games/openmw: build failure after Boost-1.87 update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fluffy@FreeBSD.org
          Reporter: discipline@tiscali.it
          Assignee: fluffy@FreeBSD.org
             Flags: maintainer-feedback?(fluffy@FreeBSD.org)

Rebuilding the port on 14.2-STABLE I'm getting the following error:
[  4% 48/1121] /usr/local/libexec/ccache/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON
-DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/usr/local/etc\"
-DGLOBAL_DATA_PATH=\"/usr/local/share\" -DMYGUI_DONT_REPLACE_NULLPTR
-D__STDC_CONSTANT_MACROS -I/usr/ports/games/openmw/work/.build/components
-I/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/Base64/.
-I/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/smhasher/. -isystem
/usr/local/include -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/sol_config -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/sol3 -isystem
/usr/local/include/luajit-2.1 -isystem /usr/local/include/bullet -isystem
/usr/local/include/AL -isystem /usr/local/include/MYGUI -isystem
/usr/local/include/SDL2 -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/. -isystem
/usr/local/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter
-pedantic -Wno-long-long -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wno-potentially-evaluated-expression -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++20 -MD -MT
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o -MF
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o.d -o
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o -c
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/components/resource/foreachbulletobject.cpp
FAILED: components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o 
/usr/local/libexec/ccache/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS=ON
-DBT_USE_DOUBLE_PRECISION -DGLOBAL_CONFIG_PATH=\"/usr/local/etc\"
-DGLOBAL_DATA_PATH=\"/usr/local/share\" -DMYGUI_DONT_REPLACE_NULLPTR
-D__STDC_CONSTANT_MACROS -I/usr/ports/games/openmw/work/.build/components
-I/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/Base64/.
-I/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/smhasher/. -isystem
/usr/local/include -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/sol_config -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/extern/sol3 -isystem
/usr/local/include/luajit-2.1 -isystem /usr/local/include/bullet -isystem
/usr/local/include/AL -isystem /usr/local/include/MYGUI -isystem
/usr/local/include/SDL2 -isystem
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/. -isystem
/usr/local/include/recastnavigation -Wall -Wextra -Wundef -Wno-unused-parameter
-pedantic -Wno-long-long -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wno-potentially-evaluated-expression -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++20 -MD -MT
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o -MF
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o.d -o
components/CMakeFiles/components.dir/resource/foreachbulletobject.cpp.o -c
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/components/resource/foreachbulletobject.cpp
In file included from
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/components/resource/foreachbulletobject.cpp:1:
In file included from
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/components/resource/foreachbulletobject.hpp:5:
In file included from
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/./components/misc/convert.hpp:5:
In file included from
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/./components/esm3/loadpgrd.hpp:4:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of
undefined template 'std::char_traits<signed char>'
  300 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
      |                                          ^
/usr/ports/games/openmw/work/openmw-openmw-0.48.0/./components/to_utf8/to_utf8.hpp:49:55:
note: in instantiation of template class 'std::basic_string_view<signed char>'
requested here
   49 |             const std::basic_string_view<signed char>
mTranslationArray;
      |                                                       ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared
here
   45 | struct char_traits;
      |        ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/games/openmw
*** Error code 1

Stop.
make: stopped in /usr/ports/games/openmw

-- 
You are receiving this mail because:
You are the assignee for the bug.