[MacPorts] #40783: [gstreamer1] [1.0.9] opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer'
#40783: [gstreamer1] [1.0.9] opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' ---------------------+-------------------------------- Reporter: sarvi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: gstreamer1 ---------------------+-------------------------------- I am trying to install gstreamer1 as part of installing xulrunner. It errored out and logs show many errors, one of them being opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' Log file is attached {{{ localhost:build sarvi$ sudo port install gstreamer1 +universal ---> Computing dependencies for gstreamer1 ---> Fetching archive for gstreamer1 ---> Attempting to fetch gstreamer1-1.0.9_0+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/gstreamer1 ---> Attempting to fetch gstreamer1-1.0.9_0+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gstreamer1 ---> Attempting to fetch gstreamer1-1.0.9_0+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/gstreamer1 ---> Fetching distfiles for gstreamer1 ---> Verifying checksums for gstreamer1 ---> Extracting gstreamer1 ---> Configuring gstreamer1 ---> Building gstreamer1 Error: org.macports.build for port gstreamer1 returned: command execution failed Please see the log file for port gstreamer1 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1/gstreamer1/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gstreamer1 failed localhost:build sarvi$ }}} -- Ticket URL: <https://trac.macports.org/ticket/40783> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: [gstreamer1] [1.0.9] opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+-------------------------------- Reporter: sarvi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+-------------------------------- Comment (by sarvi@…): Just wanted that the following works. So the problem seems to be with the default compiler. There is a dependency on gcc compiler sudo port install gstreamer1 +universal configure.compiler=macports- gcc-4.8 -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => rmstonecipher@… Comment: Forcing the use of an FSF GCC compiler is ''not'' recommended and is not a solution we would accept. gstreamer1 needs to be updated to be compatible with glib2 @2.38 and later. Homebrew has also [https://github.com/Homebrew/homebrew- versions/issues/226 noticed this]. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ryandesign@…): [ticket:40710 Updating gstreamer1 to version 1.2] may help. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by sarvi@…): Replying to [comment:2 ryandesign@…]:
Forcing the use of an FSF GCC compiler is ''not'' recommended and is not a solution we would accept.
gstreamer1 needs to be updated to be compatible with glib2 @2.38 and later. Homebrew has also [https://github.com/Homebrew/homebrew- versions/issues/226 noticed this].
I was suggesting that it should be accepted. Was just pointing out that the build worked with GCC for people who were looking for a way out. still don't know if it works or not for the runtime though. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by sarvi@…): Replying to [comment:3 ryandesign@…]:
[ticket:40710 Updating gstreamer1 to version 1.2] may help.
How can I use the patch with the port build system to build and install with this patch? Can you point me to some how-to instructions on how I might be able to use the patch to make it build? -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ryandesign@…): Replying to [comment:5 sarvi@…]:
Replying to [comment:3 ryandesign@…]:
[ticket:40710 Updating gstreamer1 to version 1.2] may help.
How can I use the patch with the port build system to build and install with this patch? Can you point me to some how-to instructions on how I might be able to use the patch to make it build?
http://guide.macports.org/#development.patches.applying -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ram@…): This also seems to effect `gstreamer010` -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ram@…): Using `configure.compiler=macports-llvm-gcc-4.2` allows `gstreamer010` to build. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by toby@…): Looks like it may be as simple as fixing gstdatetime.c to include gst_private.h (which defines g_log_domain_gstreamer) before glib-compat- private.h -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by piotr@…): I confirm that adding the following patch allows gstreamer1 to compile: {{{ --- gst/gstdatetime.c.orig 2013-10-23 17:55:49.000000000 -0700 +++ gst/gstdatetime.c 2013-10-23 17:56:25.000000000 -0700 @@ -21,6 +21,7 @@ #include "config.h" #endif +#include "gst_private.h" #include "glib-compat-private.h" #include "gst_private.h" #include "gstdatetime.h" }}} -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by miken32@…): Replying to [comment:12 piotr@…]:
I confirm that adding the following patch allows gstreamer1 to compile:
{{{ --- gst/gstdatetime.c-orig 2013-10-23 18:13:07.000000000 -0700 +++ gst/gstdatetime.c 2013-10-23 18:13:18.000000000 -0700 @@ -21,8 +21,8 @@ #include "config.h" #endif
-#include "glib-compat-private.h" #include "gst_private.h" +#include "glib-compat-private.h" #include "gstdatetime.h" #include "gstvalue.h" #include <glib.h> }}}
This works for me as well; I'm running 10.9. Applying the patch from ticket 40710 did not help, BTW. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ryandesign@…): Has duplicate #40927 See also the ticket for gstreamer010: #40858 -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Changes (by ryandesign@…): * cc: macports@… (added) Comment: Has duplicate #40963. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ryandesign@…): Has duplicate #40997. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:27> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Comment (by ziogas_chr@…): Replying to [comment:13 miken32@…]:
Replying to [comment:12 piotr@…]:
I confirm that adding the following patch allows gstreamer1 to compile:
{{{ --- gst/gstdatetime.c-orig 2013-10-23 18:13:07.000000000 -0700 +++ gst/gstdatetime.c 2013-10-23 18:13:18.000000000 -0700 @@ -21,8 +21,8 @@ #include "config.h" #endif
-#include "glib-compat-private.h" #include "gst_private.h" +#include "glib-compat-private.h" #include "gstdatetime.h" #include "gstvalue.h" #include <glib.h> }}}
This works for me as well; I'm running 10.9. Applying the patch from ticket:40710 did not help, BTW.
This works for me on 10.9, too. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:30> MacPorts <http://www.macports.org/> Ports system for OS X
#40783: gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------+----------------------------- Reporter: sarvi@… | Owner: rmstonecipher@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gstreamer1 | -------------------------+----------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Patch committed in r112623, openmaintainer. -- Ticket URL: <https://trac.macports.org/ticket/40783#comment:31> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts