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

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

            Bug ID: 273682
           Summary: graphics/rawtherapee: 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: mandree@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
          Assignee: mandree@FreeBSD.org
             Flags: maintainer-feedback?(mandree@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: rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o=20
/usr/local/bin/g++13 -DAUTO_GDK_FLUSH=3D0 -DMYFILE_MMAP -DNDEBUG -DRT_FFTW3=
F_OMP
-DSTRICT_MUTEX=3D1 -DTRACE_MYRWMUTEX=3D0 -DUSE_CANBERRA -D_DNDEBUG
-I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtexif
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include
-I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include
-I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/pixman-1
-I/usr/local/include/libpng16 -I/usr/local/include/gio-unix-2.0
-I/usr/local/include/fribidi -I/usr/local/include/libepoll-shim
-I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0
-I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include
-I/usr/local/include/atkmm-1.6 -I/usr/local/include/gtk-3.0/unix-print
-I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include
-I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include
-I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include
-I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -O2 -=
pipe
 -I/usr/local/include -fPIC -flto=3D3 -O3 -funroll-loops -fstack-protector-=
strong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
-isystem /usr/local/include -std=3Dc++11 -ffp-contract=3Doff -mtune=3Dgener=
ic
-Werror=3Dunused-label -Werror=3Ddelete-incomplete -fno-math-errno -Wno-att=
ributes
-Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations
-Wno-unused-result -Wunused-macros -fopenmp -Werror=3Dunknown-pragmas -O2 -=
pipe=20
-I/usr/local/include -fPIC -flto=3D3 -O3 -funroll-loops -fstack-protector-s=
trong
-Wl,-rpath=3D/usr/local/lib/gcc13  -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local=
/lib/gcc13
-isystem /usr/local/include  -DNDEBUG  -fPIC -MD -MT
rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o -MF
rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o.d -o
rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o -c
/wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.9/rtexif/fujiatt=
ribs.cc
In file included from /usr/include/c++/v1/math.h:309,
                 from /usr/include/c++/v1/cmath:308,
                 from
/wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.9/rtexif/rtexif.=
h:21,
                 from
/wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.9/rtexif/fujiatt=
ribs.cc:20:
/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/rawtherapee-5.9_3.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-273682-7788>