Opened 7 weeks ago

Last modified 12 days ago

#66423 new defect

gstreamer1-gst-plugins-good +qt: build failure on macOS 13

Reported by: ShadSterling (Shad Sterling) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc: mopihopi, thomasleaute
Port: gstreamer1-gst-plugins-good

Description

Build failed while reinstalling all ports after upgrading to Ventura

The problem seems to be that macro g_once_init_enter is receiving a volatile parameter

:info:build gstqsgtexture.cc:42:7: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&_debug))>::type *' (aka 'volatile unsigned long *')
:info:build   if (g_once_init_enter (&_debug)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachments (1)

main.log (1.7 MB) - added by ShadSterling (Shad Sterling) 7 weeks ago.

Download all attachments as: .zip

Change History (4)

Changed 7 weeks ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 3 weeks ago by mopihopi

I am encountering the same compiler error on Monterey.
gstreamer1-gst-plugins-good @1.16.2_4 +gtk3+pulseaudio+qt
macOS 12.6.2 21G320
Xcode 14.2 14C18

It appears that the issue was fixed upstream in 2021 as part of the fix for https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868 and the fix is available in 1.18.5 and later stable versions. The current stable version is 1.20.5. MacPorts is using version 1.16.2 from 2019.

comment:2 Changed 3 weeks ago by mopihopi

Cc: mopihopi added

comment:3 Changed 12 days ago by thomasleaute

Cc: thomasleaute added
Note: See TracTickets for help on using tickets.