Opened 11 years ago
Closed 11 years ago
#40783 closed defect (fixed)
gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer'
Reported by: | sarvi@… | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | skymoo (Adam Mercer), litlfred@…, petermisak (Peter Misak), takanori@…, whcordis@…, macports@…, captainproton1971 (Captain Proton), bonoba@…, fondacio@…, repollox@…, mail@…, razzfazz (Daniel Becker), hapaguy (Brian Kurt Fujikawa), hong@… | |
Port: | gstreamer1 |
Description
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$
Attachments (1)
Change History (32)
Changed 11 years ago by sarvi@…
comment:1 Changed 11 years ago by sarvi@…
comment:2 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to rmstonecipher@… |
---|---|
Summary: | [gstreamer1] [1.0.9] opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' → gstreamer1 @1.0.9: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' |
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 noticed this.
comment:3 follow-up: 5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Updating gstreamer1 to version 1.2 may help.
comment:4 Changed 11 years ago by sarvi@…
Replying to 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 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.
comment:5 follow-up: 6 Changed 11 years ago by sarvi@…
Replying to ryandesign@…:
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?
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to sarvi@…:
Replying to ryandesign@…:
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?
comment:9 Changed 11 years ago by skymoo (Adam Mercer)
Using configure.compiler=macports-llvm-gcc-4.2
allows gstreamer010
to build.
comment:10 Changed 11 years ago by tobypeterson
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
comment:12 follow-up: 13 Changed 11 years ago by 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>
comment:13 follow-up: 30 Changed 11 years ago by miken32 (Michael Newton)
Replying to 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.
comment:17 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:18 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | macports@… added |
---|
Has duplicate #40963.
comment:21 Changed 11 years ago by captainproton1971 (Captain Proton)
Cc: | captainproton1971@… added |
---|
Cc Me!
comment:30 Changed 11 years ago by ziogas_chr@…
Replying to miken32@…:
Replying to 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.
comment:31 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch committed in r112623, openmaintainer.
Just wanted that the following works. So the problem seems to be with the default compiler. There is a dependency on gcc compiler