Opened 2 years ago

Last modified 11 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, jjstickel (Jonathan Stickel), ianplunkett, catap (Kirill A. Korinsky), cooljeanius (Eric Gallager)
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) 2 years ago.

Download all attachments as: .zip

Change History (17)

Changed 2 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

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

Cc: mopihopi added

comment:3 Changed 23 months ago by thomasleaute

Cc: thomasleaute added

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

Cc: jjstickel added

comment:5 Changed 22 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 20 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ianplunkett added

Has duplicate #67224.

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

Cc: catap added

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

The same had happened on macOS 12

comment:9 Changed 14 months ago by thomasleaute

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

comment:10 Changed 12 months ago by thomasleaute

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

comment:11 Changed 8 months 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 8 months ago by thomasleaute (previous) (diff)

comment:12 Changed 6 months ago by thomasleaute

gstreamer1-gst-plugins-bad still fails to build in Sonoma 14.5 (23F79) on Intel with Xcode 15.3 (15E204a).

comment:13 Changed 3 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:14 Changed 11 days ago by thomasleaute

Still fails to build on 14.7.2 (23H301) with Xcode 16.1 (16B40), although the root cause appears to be elsewhere:

:info:build /opt/local/include/glib-2.0/glib/glib-typeof.h:43:10: fatal error: 'type_traits' file not found
:info:build    43 | #include <type_traits>
:info:build       |          ^~~~~~~~~~~~~
:info:build 1 error generated.

comment:15 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)

thomasleaute, that's a different problem that has nothing to do with this ticket. See ProblemHotlist#clts16 and #70750.

comment:16 in reply to:  15 Changed 11 days ago by thomasleaute

Replying to ryandesign:

thomasleaute, that's a different problem that has nothing to do with this ticket. See ProblemHotlist#clts16 and #70750.

Indeed! Nothing to do with this ticket, please ignore my previous post. Thanks.

Note: See TracTickets for help on using tickets.