Opened 2 years ago
Last modified 2 months 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)
Change History (17)
Changed 2 years ago by ShadSterling (Shad Sterling)
comment:1 Changed 2 years ago by mopihopi
comment:2 Changed 2 years ago by mopihopi
Cc: | mopihopi added |
---|
comment:3 Changed 2 years ago by thomasleaute
Cc: | thomasleaute added |
---|
comment:4 Changed 2 years ago by jjstickel (Jonathan Stickel)
Cc: | jjstickel added |
---|
comment:5 Changed 2 years 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 22 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ianplunkett added |
---|
Has duplicate #67224.
comment:7 Changed 17 months ago by catap (Kirill A. Korinsky)
Cc: | catap added |
---|
comment:9 Changed 16 months ago by thomasleaute
Still reproducible on macOS Sonoma 14.0 (23A344) with Xcode 15.0 (15A240d).
comment:10 Changed 13 months ago by thomasleaute
Still reproducible in macOS Sonoma 14.2 (23C64) with Xcode 15.1 (15C65).
comment:11 Changed 10 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.
comment:12 Changed 8 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 5 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:14 Changed 2 months 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 follow-up: 16 Changed 2 months 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 Changed 2 months 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.
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.