[Bug 273689] audio/pamixer: Fails to build with GCC 13: error: expected identifier before '__is_convertible'

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

            Bug ID: 273689
           Summary: audio/pamixer: Fails 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
            Blocks: 273397

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

g++13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 
-stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include 
-isystem /usr/local/include  -c -o pulseaudio.o pulseaudio.cc
In file included from /usr/include/c++/v1/__functional/weak_result_type.h:16,
                 from /usr/include/c++/v1/__functional/invoke.h:14,
                 from /usr/include/c++/v1/__functional_base:15,
                 from /usr/include/c++/v1/string:520,
                 from device.hh:23,
                 from device.cc:19:
/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/pamixer-1.4.15_7.log

There are other bugs similar to this one, such as bug #273671 or bug #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.