Opened 17 months ago

Last modified 3 weeks 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, jjstickel (Jonathan Stickel), ianplunkett, catap (Kirill A. Korinsky)
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) 17 months ago.

Download all attachments as: .zip

Change History (12)

Changed 17 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 16 months 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 16 months ago by mopihopi

Cc: mopihopi added

comment:3 Changed 15 months ago by thomasleaute

Cc: thomasleaute added

comment:4 Changed 15 months ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added

comment:5 Changed 15 months ago by kencu (Ken)

all the gstreamer* ports are at 1.22.0 now, but they've all changed to meson.

SO the existing portfiles will all have to be rewritten to build as meson.

No doubt that is why they've been left where they are, but someone will need to take on that task sooner or later.

comment:6 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ianplunkett added

Has duplicate #67224.

comment:7 Changed 8 months ago by catap (Kirill A. Korinsky)

Cc: catap added

comment:8 Changed 8 months ago by catap (Kirill A. Korinsky)

The same had happened on macOS 12

comment:9 Changed 7 months ago by thomasleaute

Still reproducible on macOS Sonoma 14.0 (23A344) with Xcode 15.0 (15A240d).

comment:10 Changed 4 months ago by thomasleaute

Still reproducible in macOS Sonoma 14.2 (23C64) with Xcode 15.1 (15C65).

comment:11 Changed 3 weeks ago by thomasleaute

No longer reproducible in macOS Sonoma 14.4.1 (23E224) with Xcode 15.3 (15E204a).

Now, it is gstreamer1-gst-plugins-bad that is failing, still blocking the compilation of Gnucash.

Last edited 3 weeks ago by thomasleaute (previous) (diff)
Note: See TracTickets for help on using tickets.