[MacPorts] #40858: gstreamer010 will not install on Mavericks
#40858: gstreamer010 will not install on Mavericks ------------------------------------+-------------------------------- Reporter: shaun.thomas.mccloud@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: gstreamer010 ------------------------------------+-------------------------------- After Installing MacPorts manually on Mavericks today I wanted to install wine-devel so I can hopefully require one less reboot for gaming. However, gstreamer010 will not install. I have attached the main.log for this attempt. -- Ticket URL: <https://trac.macports.org/ticket/40858> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 will not install on Mavericks -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: gstreamer010 | -------------------------------------+----------------------------- Changes (by macsforever2000@…): * keywords: => mavericks * owner: macports-tickets@… => rmstonecipher@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers gstreamer010}}}). -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 will not install on Mavericks -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by s.t.smith@…): And the install command "sudo port -d install gstreamer010 +universal" fails to compile: {{{ CC libgstreamer_0.10_la-gstdatetime.lo In file included from gstdatetime.c:24: In file included from ./glib-compat-private.h:26: In file included from /opt/local/include/glib-2.0/glib.h:64: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args); ^ <command line>:4:22: note: expanded from here #define G_LOG_DOMAIN g_log_domain_gstreamer ^ In file included from gstdatetime.c:24: In file included from ./glib-compat-private.h:26: In file included from /opt/local/include/glib-2.0/glib.h:64: /opt/local/include/glib-2.0/glib/gmessages.h:210:11: error: use of undeclared identifier 'g_log_domain_gstreamer' g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args); ^ <command line>:4:22: note: expanded from here #define G_LOG_DOMAIN g_log_domain_gstreamer ^ In file included from gstdatetime.c:24: In file included from ./glib-compat-private.h:26: In file included from /opt/local/include/glib-2.0/glib.h:64: /opt/local/include/glib-2.0/glib/gmessages.h:219:11: error: use of undeclared identifier 'g_log_domain_gstreamer' g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, format, args); ^ <command line>:4:22: note: expanded from here #define G_LOG_DOMAIN g_log_domain_gstreamer ^ In file included from gstdatetime.c:24: In file included from ./glib-compat-private.h:26: In file included from /opt/local/include/glib-2.0/glib.h:64: /opt/local/include/glib-2.0/glib/gmessages.h:228:11: error: use of undeclared identifier 'g_log_domain_gstreamer' g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, format, args); ^ <command line>:4:22: note: expanded from here #define G_LOG_DOMAIN g_log_domain_gstreamer ^ In file included from gstdatetime.c:24: In file included from ./glib-compat-private.h:26: In file included from /opt/local/include/glib-2.0/glib.h:64: /opt/local/include/glib-2.0/glib/gmessages.h:237:11: error: use of undeclared identifier 'g_log_domain_gstreamer' g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args); ^ <command line>:4:22: note: expanded from here #define G_LOG_DOMAIN g_log_domain_gstreamer ^ CC libgstreamer_0.10_la-gstdebugutils.lo 5 errors generated. make[4]: *** [libgstreamer_0.10_la-gstdatetime.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64/gst' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64/gst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/gstreamer-0.10.36-x86_64" && /usr/bin/make -j2 -w all Exit code: 2 Error: org.macports.build for port gstreamer010 returned: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: command execution failed while executing "proc-org.macports.build-build-0 org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" Warning: targets not executed for gstreamer010: org.macports.activate org.macports.build org.macports.destroot org.macports.install To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gstreamer010 failed }}} -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 will not install on Mavericks -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by computers57@…): A similar problem is present in the gstreamer1 package. -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 will not install on Mavericks -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by mike.c.wilding@…): gmessages.h as mentioned in the compile log defines G_LOG_DOMAIN to a NULL character pointer if its value is not defined externally (line 143). It is defined somewhere to g_log_domain_gstreamer, which does not exist. As a workaround you can simply override the bad definition of G_LOG_DOMAIN by appending "-DG_LOG_DOMAIN=0" to the end of the "configure.cflags-append" in the Portfile (or rather a copy of the Portfile in a local Portfile repository). Alternatively try defining "g_log_domain_gstreamer" to 0 to avoid compiler warnings about macro re-definition of G_LOG_DOMAIN. {{{ configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common -DG_LOG_DOMAIN=0 }}} This allows gstreamer010 to build under Mavericks for me. (According to http://lists.freedesktop.org/archives/gstreamer- bugs/2004-May/007234.html, g_log_domain_gstreamer used to exist in "gstlog.h". This file no longer exists in glib, but could be a clue to the location of the rogue definition.) -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 will not install on Mavericks -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by ryandesign@…): See also the ticket for gstreamer1: #40783 -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Changes (by ryandesign@…): * keywords: mavericks => -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by s.t.smith@…): Thanks -- this fix worked for me, allowing a successful build of wine- devel and winetricks on Mavericks. For helpful specificity, the Portfile is at {{{ ./var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/gstreamer010/Portfile }}} Replying to [comment:9 mike.c.wilding@…]:
gmessages.h as mentioned in the compile log defines G_LOG_DOMAIN to a NULL character pointer if its value is not defined externally (line 143). It is defined somewhere to g_log_domain_gstreamer, which does not exist. As a workaround you can simply override the bad definition of G_LOG_DOMAIN by appending "-DG_LOG_DOMAIN=0" to the end of the "configure.cflags- append" in the Portfile (or rather a copy of the Portfile in a local Portfile repository). Alternatively try defining "g_log_domain_gstreamer" to 0 to avoid compiler warnings about macro re-definition of G_LOG_DOMAIN.
{{{ configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common -DG_LOG_DOMAIN=0 }}}
This allows gstreamer010 to build under Mavericks for me.
(According to http://lists.freedesktop.org/archives/gstreamer- bugs/2004-May/007234.html, g_log_domain_gstreamer used to exist in "gstlog.h". This file no longer exists in glib, but could be a clue to the location of the rogue definition.)
-- Ticket URL: <https://trac.macports.org/ticket/40858#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by mike.c.wilding@…): The fix to gstdatetime.c from #40783 is also the appropriate fix for gstreamer010. I'm attaching a patch for gstdatetime.c and the necessary change to the Portfile to apply it. Replying to [comment:10 ryandesign@…]:
See also the ticket for gstreamer1: #40783
-- Ticket URL: <https://trac.macports.org/ticket/40858#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by hobbsilla@…): Replying to [comment:13 mike.c.wilding@…]:
The fix to gstdatetime.c from #40783 is also the appropriate fix for gstreamer010. I'm attaching a patch for gstdatetime.c and the necessary change to the Portfile to apply it.
Replying to [comment:10 ryandesign@…]:
See also the ticket for gstreamer1: #40783 I tried applying the patches and got "**** strip count O is not a number" and it failed to build afterwards.
-- Ticket URL: <https://trac.macports.org/ticket/40858#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Comment (by mike.c.wilding@…): Replying to [comment:15 hobbsilla@…]: There are working patches already in the trunk at https://trac.macports.org/browser/trunk/dports/gnome/gstreamer010 (r112463) submitted by toby. Please disregard the patches attached to this ticket. Apologies. This ticket should be closed as this issue is already fixed.
Replying to [comment:13 mike.c.wilding@…]:
The fix to gstdatetime.c from #40783 is also the appropriate fix for gstreamer010. I'm attaching a patch for gstdatetime.c and the necessary change to the Portfile to apply it.
Replying to [comment:10 ryandesign@…]:
See also the ticket for gstreamer1: #40783 I tried applying the patches and got "**** strip count O is not a number" and it failed to build afterwards.
-- Ticket URL: <https://trac.macports.org/ticket/40858#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#40858: gstreamer010 @0.10.30: /opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer' -------------------------------------+----------------------------- Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gstreamer010 | -------------------------------------+----------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40858#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts