Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2023 07:40:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273681] graphics/darktable: Fails to build with GCC 13: error: expected identifier before '__is_convertible'
Message-ID:  <bug-273681-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273681

            Bug ID: 273681
           Summary: graphics/darktable: 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: dumbbell@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
             Flags: maintainer-feedback?(dumbbell@FreeBSD.org)
          Assignee: dumbbell@FreeBSD.org

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

FAILED:
lib/darktable/rawspeed/CMakeFiles/rawspeed.dir/src/librawspeed/common/Check=
sumFile.cpp.o=20
/usr/local/bin/g++13 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_DISABLE_SINGLE_INCLUDES -DNDEBUG -D_RELEASE
-I/wrkdirs/usr/ports/graphics/darktable/work/.build/lib/darktable/rawspeed
-I/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/r=
awspeed
-I/wrkdirs/usr/ports/graphics/darktable/work/.build/lib/darktable/rawspeed/=
src
-I/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/r=
awspeed/src/librawspeed
-isystem
/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/raw=
speed/src/external
-O2 -pipe  -fopenmp -I/usr/local/include/Imath -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
-Wall -Wformat -Wformat-security -Wshadow -Wtype-limits -Wvla
-Wmaybe-uninitialized -Wno-unknown-pragmas -Wno-error=3Dvarargs
-Wno-format-truncation -Wno-error=3Daddress-of-packed-member -w -Wall -Wext=
ra
-Wcast-qual -Wextra -Wextra-semi -Wformat=3D2 -Wpointer-arith -Wvla
-Wmissing-format-attribute -Wsuggest-attribute=3Dformat -Wno-unused-paramet=
er
-Wstack-usage=3D4096 -Wframe-larger-than=3D4096 -Wlarger-than=3D32768 -Werr=
or -O2
-pipe  -fopenmp -I/usr/local/include/Imath -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
 -DNDEBUG -O3 -std=3Dc++17 -fPIC -fvisibility=3Dhidden -fvisibility-inlines=
-hidden=20
 -mtune=3Dgeneric -g3 -ggdb3 -fopenmp -MD -MT
lib/darktable/rawspeed/CMakeFiles/rawspeed.dir/src/librawspeed/common/Check=
sumFile.cpp.o
-MF
lib/darktable/rawspeed/CMakeFiles/rawspeed.dir/src/librawspeed/common/Check=
sumFile.cpp.o.d
-o
lib/darktable/rawspeed/CMakeFiles/rawspeed.dir/src/librawspeed/common/Check=
sumFile.cpp.o
-c
/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/raw=
speed/src/librawspeed/common/ChecksumFile.cpp
In file included from /usr/include/c++/v1/__functional/weak_result_type.h:1=
6,
                 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
/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/raw=
speed/src/librawspeed/common/ChecksumFile.h:23,
                 from
/wrkdirs/usr/ports/graphics/darktable/work/darktable-4.4.2/src/external/raw=
speed/src/librawspeed/common/ChecksumFile.cpp:21:
/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/darktable-4.4.2_2.log

There are other bugs similar to this one, such as bug #273671 or bug #27367=
4.


Referenced Bugs:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273681-7788>