[Bug 273675] devel/pcsc-cyberjack: Fails to build with GCC 13: error: expected identifier before '__is_convertible'

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

            Bug ID: 273675
           Summary: devel/pcsc-cyberjack: 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
                CC: tm@NetBSD.org
            Blocks: 273397
                CC: tm@NetBSD.org
             Flags: maintainer-feedback?(tm@NetBSD.org)

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

libtool: compile:  g++13 -DHAVE_CONFIG_H -I. -I.. -I../include
-I../include/driver -I../include/firmware -Iausb -I/usr/local/include/PCSC
-pthread -DBUILDING_CYBERJACK
-DCYBERJACK_CONFIG_FILE=\"/usr/local/etc/cyberjack.conf\" -I/usr/local/include
-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13
-Wno-c++11-narrowing -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -Wall -MT
BaseTranslater.lo -MD -MP -MF .deps/BaseTranslater.Tpo -c BaseTranslater.cpp -o
BaseTranslater.o >/dev/null 2>&1
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 BaseCommunication.h:8,
                 from BaseCommunication.cpp:2:
/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/pcsc-cyberjack-3.99.5.f.s15_1.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.