[Bug 273676] emulators/emulationstation: Failst to build with GCC 13: error: expected identifier before '__is_convertible'

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Sep 2023 07:22:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273676

            Bug ID: 273676
           Summary: emulators/emulationstation: Failst to build with GCC
                    13: error: expected identifier before
                    '__is_convertible'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
                CC: freebsd@coombscloud.com
            Blocks: 273397
             Flags: maintainer-feedback?(freebsd@coombscloud.com)
                CC: freebsd@coombscloud.com

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help
finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html

===>  Building for emulationstation-2.9.4_5
[  0% 3/108] /usr/local/bin/g++13 -DAPPDATANAME=\"EmulationStation\"
-DUSE_OPENGL_14
-I/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg
-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 
-stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -std=c++11 -Wno-attributes -O2
-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 
-stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -MD -MT
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o -MF
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o.d -o
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o -c
/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg/src/nanosvg_impl.cpp
FAILED: external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o 
/usr/local/bin/g++13 -DAPPDATANAME=\"EmulationStation\" -DUSE_OPENGL_14
-I/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg
-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 
-stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -std=c++11 -Wno-attributes -O2
-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 
-stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -MD -MT
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o -MF
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o.d -o
external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o -c
/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg/src/nanosvg_impl.cpp
In file included from /usr/include/c++/v1/math.h:309,
                 from
/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg/nanosvg.h:190,
                 from
/wrkdirs/usr/ports/emulators/emulationstation/work/EmulationStation-2.9.4/external/nanosvg/src/nanosvg_impl.cpp:5:
/usr/include/c++/v1/type_traits:1770:8: error: expected identifier before
'__is_convertible'
 1770 | struct __is_convertible
      |        ^~~~~~~~~~~~~~~~

Full log:
https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-06_17h55m19s/logs/errors/emulationstation-2.9.4_5.log

There are other bugs similar to this one, such as #273671 or #273674.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
-- 
You are receiving this mail because:
You are the assignee for the bug.