[MacPorts] #70850: qt5-qtwebengine @5.15.16_2 : converts to incompatible function type on sequoia

MacPorts noreply at macports.org
Sat Sep 21 06:07:52 UTC 2024


#70850: qt5-qtwebengine @5.15.16_2 : converts to incompatible function type on
sequoia
--------------------+-----------------------------
 Reporter:  m0nt0   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.10.1
 Keywords:          |       Port:  qt5-qtwebengine
--------------------+-----------------------------
 while installing openconect-sso qt-webengine is a dependency. The build
 fails on sequoia


 {{{
 --->  Building qt5-qtwebengine
 Error: Failed to build qt5-qtwebengine: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port openconnect-sso failed
 }}}

 the error seems to be

 {{{
 :info:build ../../3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-
 ft.cc:759:73: error: cast from 'void (*)(FT_Face)' (aka 'void
 (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)')
 converts to incompatible function type [-Werror,-Wcast-function-type-
 strict]
 :info:build   759 |   if (unlikely (!ft_face->generic.data ||
 ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize))
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build ../../3rdparty/chromium/third_party/harfbuzz-
 ng/src/src/hb.hh:234:46: note: expanded from macro 'unlikely'
 :info:build   234 | #define unlikely(expr) (__builtin_expect (!!(expr),
 0))
 :info:build       |                                              ^~~~
 :info:build ../../3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-
 ft.cc:765:34: error: cast from 'void (*)(FT_Face)' (aka 'void
 (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)')
 converts to incompatible function type [-Werror,-Wcast-function-type-
 strict]
 :info:build   765 |     ft_face->generic.finalizer =
 (FT_Generic_Finalizer) hb_ft_face_finalize;
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build ../../3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-
 ft.cc:1035:32: error: cast from 'void (*)(FT_Face)' (aka 'void
 (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)')
 converts to incompatible function type [-Werror,-Wcast-function-type-
 strict]
 :info:build  1035 |   ft_face->generic.finalizer = (FT_Generic_Finalizer)
 _release_blob;
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build 3 errors generated.
 }}}

 standard macport installation

-- 
Ticket URL: <https://trac.macports.org/ticket/70850>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list