[MacPorts] #47520: webkit-gtk3 @2.4.8_1 build failure (was: mac os x 10.10 install webkit-gtk3 failed)

MacPorts noreply at macports.org
Tue Apr 21 01:25:47 PDT 2015


#47520: webkit-gtk3 @2.4.8_1 build failure
----------------------------+------------------------
  Reporter:  life.130815@…  |      Owner:  jeremyhu@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  webkit-gtk3    |
----------------------------+------------------------
Changes (by and.damore@…):

 * owner:  macports-tickets@… => jeremyhu@…
 * cc: and.damore@…, devans@… (added)
 * port:   => webkit-gtk3


Old description:

> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:119:11:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint16 *' (aka 'const unsigned short *') increases required
> alignment from 1 to 2 [-Wcast-align]
> :info:build   return *(const guint16*)(v);
> :info:build           ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:122:11:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint32 *' (aka 'const unsigned int *') increases required
> alignment from 1 to 4 [-Wcast-align]
> :info:build   return *(const guint32*)(v);
> :info:build           ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:125:11:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint64 *' (aka 'const unsigned long *') increases required
> alignment from 1 to 8 [-Wcast-align]
> :info:build   return *(const guint64*)(v);
> :info:build           ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:128:30:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint16 *' (aka 'const unsigned short *') increases required
> alignment from 1 to 2 [-Wcast-align]
> :info:build   return GUINT16_SWAP_LE_BE(*(const guint16*)(v));
> :info:build                              ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:311:67: note:
> expanded from macro 'GUINT16_SWAP_LE_BE'
> :info:build #    define GUINT16_SWAP_LE_BE(val)
> (GUINT16_SWAP_LE_BE_CONSTANT (val))
> :info:build
> ^
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:152:27: note:
> expanded from macro 'GUINT16_SWAP_LE_BE_CONSTANT'
> :info:build     (guint16) ((guint16) (val) >> 8) |  \
> :info:build                           ^
> :info:build In file included from
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
> :info:build In file included from
> ./Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/video/gstvideosink.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/gst.h:82:
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:128:30:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint16 *' (aka 'const unsigned short *') increases required
> alignment from 1 to 2 [-Wcast-align]
> :info:build   return GUINT16_SWAP_LE_BE(*(const guint16*)(v));
> :info:build                              ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:311:67: note:
> expanded from macro 'GUINT16_SWAP_LE_BE'
> :info:build #    define GUINT16_SWAP_LE_BE(val)
> (GUINT16_SWAP_LE_BE_CONSTANT (val))
> :info:build
> ^
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:153:27: note:
> expanded from macro 'GUINT16_SWAP_LE_BE_CONSTANT'
> :info:build     (guint16) ((guint16) (val) << 8)))
> :info:build                           ^
> :info:build In file included from
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
> :info:build In file included from
> ./Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/video/gstvideosink.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/gst.h:82:
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:131:30:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint32 *' (aka 'const unsigned int *') increases required
> alignment from 1 to 4 [-Wcast-align]
> :info:build   return GUINT32_SWAP_LE_BE(*(const guint32*)(v));
> :info:build                              ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:313:67: note:
> expanded from macro 'GUINT32_SWAP_LE_BE'
> :info:build #      define GUINT32_SWAP_LE_BE(val)
> (GUINT32_SWAP_LE_BE_X86_64 (val))
> :info:build
> ^
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:292:37: note:
> expanded from macro 'GUINT32_SWAP_LE_BE_X86_64'
> :info:build          ({ guint32 __v, __x = ((guint32) (val));
> \
> :info:build                                            ^
> :info:build In file included from
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
> :info:build In file included from
> ./Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/video/gstvideosink.h:26:
> :info:build In file included from
> /opt/local/include/gstreamer-1.0/gst/gst.h:82:
> :info:build /opt/local/include/gstreamer-1.0/gst/gstutils.h:134:30:
> warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
> 'const guint64 *' (aka 'const unsigned long *') increases required
> alignment from 1 to 8 [-Wcast-align]
> :info:build   return GUINT64_SWAP_LE_BE(*(const guint64*)(v));
> :info:build                              ^~~~~~~~~~~~~~~~~~~
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:316:67: note:
> expanded from macro 'GUINT64_SWAP_LE_BE'
> :info:build #      define GUINT64_SWAP_LE_BE(val)
> (GUINT64_SWAP_LE_BE_X86_64 (val))
> :info:build
> ^
> :info:build /opt/local/include/glib-2.0/glib/gtypes.h:302:36: note:
> expanded from macro 'GUINT64_SWAP_LE_BE_X86_64'
> :info:build         ({ guint64 __v, __x = ((guint64) (val));
> \
> :info:build                                           ^
> :info:build
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:121:5:
> error: reference to 'GMutexLocker' is ambiguous
> :info:build     GMutexLocker lock(priv->bufferMutex);
> :info:build     ^
> :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
> candidate found by name lookup is 'GMutexLocker'
> :info:build typedef void GMutexLocker;
> :info:build              ^
> :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
> found by name lookup is 'WebCore::GMutexLocker'
> :info:build class GMutexLocker {
> :info:build       ^
> :info:build
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:143:5:
> error: reference to 'GMutexLocker' is ambiguous
> :info:build     GMutexLocker lock(priv->bufferMutex);
> :info:build     ^
> :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
> candidate found by name lookup is 'GMutexLocker'
> :info:build typedef void GMutexLocker;
> :info:build              ^
> :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
> found by name lookup is 'WebCore::GMutexLocker'
> :info:build class GMutexLocker {
> :info:build       ^
> :info:build
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:282:5:
> error: reference to 'GMutexLocker' is ambiguous
> :info:build     GMutexLocker lock(priv->bufferMutex);
> :info:build     ^
> :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
> candidate found by name lookup is 'GMutexLocker'
> :info:build typedef void GMutexLocker;
> :info:build              ^
> :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
> found by name lookup is 'WebCore::GMutexLocker'
> :info:build class GMutexLocker {
> :info:build       ^
> :info:build
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:308:9:
> error: reference to 'GMutexLocker' is ambiguous
> :info:build         GMutexLocker lock(priv->bufferMutex);
> :info:build         ^
> :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
> candidate found by name lookup is 'GMutexLocker'
> :info:build typedef void GMutexLocker;
> :info:build              ^
> :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
> found by name lookup is 'WebCore::GMutexLocker'
> :info:build class GMutexLocker {
> :info:build       ^
> :info:build
> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:333:5:
> error: reference to 'GMutexLocker' is ambiguous
> :info:build     GMutexLocker lock(priv->bufferMutex);
> :info:build     ^
> :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
> candidate found by name lookup is 'GMutexLocker'
> :info:build typedef void GMutexLocker;
> :info:build              ^
> :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
> found by name lookup is 'WebCore::GMutexLocker'
> :info:build class GMutexLocker {
> :info:build       ^
> :info:build 7 warnings and 5 errors generated.
> :info:build GNUmakefile:51688: recipe for target
> 'Source/WebCore/platform/graphics/gstreamer/libPlatformGtk_la-
> VideoSinkGStreamer.lo' failed
> :info:build gmake[1]: *** [Source/WebCore/platform/graphics/gstreamer
> /libPlatformGtk_la-VideoSinkGStreamer.lo] Error 1
> :info:build gmake[1]: *** Waiting for unfinished jobs....
> :info:build mv -f Source/WebCore/platform/graphics/gtk/.deps
> /libPlatformGtk_la-IntRectGtk.Tpo
> Source/WebCore/platform/graphics/gtk/.deps/libPlatformGtk_la-
> IntRectGtk.Plo
> :info:build mv -f Source/WebCore/platform/graphics/gtk/.deps
> /libPlatformGtk_la-IntPointGtk.Tpo
> Source/WebCore/platform/graphics/gtk/.deps/libPlatformGtk_la-
> IntPointGtk.Plo
> :info:build mv -f Source/WebCore/platform/graphics/opentype/.deps
> /libPlatformGtk_la-OpenTypeVerticalData.Tpo
> Source/WebCore/platform/graphics/opentype/.deps/libPlatformGtk_la-
> OpenTypeVerticalData.Plo
> :info:build gmake[1]: Leaving directory
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk3/work/webkitgtk-2.4.8'
> :info:build GNUmakefile:25683: recipe for target 'all' failed
> :info:build gmake: *** [all] Error 2
> :info:build gmake: Leaving directory
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk3/work/webkitgtk-2.4.8'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk3/work/webkitgtk-2.4.8" && /opt/local/bin/gmake -j4 -w all
> CC="/usr/bin/clang -arch x86_64" V=1
> :info:build Exit code: 2
> :error:build org.macports.build for port webkit-gtk3 returned: command
> execution failed

New description:

 {{{
 :info:build
 Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:121:5:
 error: reference to 'GMutexLocker' is ambiguous
 :info:build     GMutexLocker lock(priv->bufferMutex);
 :info:build     ^
 :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
 candidate found by name lookup is 'GMutexLocker'
 :info:build typedef void GMutexLocker;
 :info:build              ^
 :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
 found by name lookup is 'WebCore::GMutexLocker'
 :info:build class GMutexLocker {
 :info:build       ^
 :info:build
 Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:143:5:
 error: reference to 'GMutexLocker' is ambiguous
 :info:build     GMutexLocker lock(priv->bufferMutex);
 :info:build     ^
 :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
 candidate found by name lookup is 'GMutexLocker'
 :info:build typedef void GMutexLocker;
 :info:build              ^
 :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
 found by name lookup is 'WebCore::GMutexLocker'
 :info:build class GMutexLocker {
 :info:build       ^
 :info:build
 Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:282:5:
 error: reference to 'GMutexLocker' is ambiguous
 :info:build     GMutexLocker lock(priv->bufferMutex);
 :info:build     ^
 :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
 candidate found by name lookup is 'GMutexLocker'
 :info:build typedef void GMutexLocker;
 :info:build              ^
 :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
 found by name lookup is 'WebCore::GMutexLocker'
 :info:build class GMutexLocker {
 :info:build       ^
 :info:build
 Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:308:9:
 error: reference to 'GMutexLocker' is ambiguous
 :info:build         GMutexLocker lock(priv->bufferMutex);
 :info:build         ^
 :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
 candidate found by name lookup is 'GMutexLocker'
 :info:build typedef void GMutexLocker;
 :info:build              ^
 :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
 found by name lookup is 'WebCore::GMutexLocker'
 :info:build class GMutexLocker {
 :info:build       ^
 :info:build
 Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:333:5:
 error: reference to 'GMutexLocker' is ambiguous
 :info:build     GMutexLocker lock(priv->bufferMutex);
 :info:build     ^
 :info:build /opt/local/include/glib-2.0/glib/gthread.h:276:14: note:
 candidate found by name lookup is 'GMutexLocker'
 :info:build typedef void GMutexLocker;
 :info:build              ^
 :info:build ./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note: candidate
 found by name lookup is 'WebCore::GMutexLocker'
 :info:build class GMutexLocker {
 :info:build       ^
 :info:build 7 warnings and 5 errors generated.
 :info:build GNUmakefile:51688: recipe for target
 'Source/WebCore/platform/graphics/gstreamer/libPlatformGtk_la-
 VideoSinkGStreamer.lo' failed
 :info:build gmake[1]: *** [Source/WebCore/platform/graphics/gstreamer
 /libPlatformGtk_la-VideoSinkGStreamer.lo] Error 1
 :info:build gmake[1]: *** Waiting for unfinished jobs....
 :info:build mv -f Source/WebCore/platform/graphics/gtk/.deps
 /libPlatformGtk_la-IntRectGtk.Tpo
 Source/WebCore/platform/graphics/gtk/.deps/libPlatformGtk_la-
 IntRectGtk.Plo
 :info:build mv -f Source/WebCore/platform/graphics/gtk/.deps
 /libPlatformGtk_la-IntPointGtk.Tpo
 Source/WebCore/platform/graphics/gtk/.deps/libPlatformGtk_la-
 IntPointGtk.Plo
 :info:build mv -f Source/WebCore/platform/graphics/opentype/.deps
 /libPlatformGtk_la-OpenTypeVerticalData.Tpo
 Source/WebCore/platform/graphics/opentype/.deps/libPlatformGtk_la-
 OpenTypeVerticalData.Plo
 :info:build gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_www_webkit-gtk/webkit-
 gtk3/work/webkitgtk-2.4.8'
 :info:build GNUmakefile:25683: recipe for target 'all' failed
 :info:build gmake: *** [all] Error 2
 :info:build gmake: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_www_webkit-gtk/webkit-
 gtk3/work/webkitgtk-2.4.8'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_www_webkit-gtk/webkit-
 gtk3/work/webkitgtk-2.4.8" && /opt/local/bin/gmake -j4 -w all
 CC="/usr/bin/clang -arch x86_64" V=1
 :info:build Exit code: 2
 :error:build org.macports.build for port webkit-gtk3 returned: command
 execution failed
 }}}

--

Comment:

 Please don't paste log data into the ticket description, use some
 [wiki:WikiFormatting] instead. Also fill in some descriptive info as in
 [http://guide.macports.org/#project.tickets the guide].

 See [http://comments.gmane.org/gmane.linux.lfs.beyond.devel/28930 this
 thread], possibly related to
 [https://bugs.webkit.org/show_bug.cgi?id=141381 this ticket] that has
 already been patched, but after 2.4.8 was out.

 Matainers: is there a reason this port is 2.4.8 while there are versions
 2.6 and 2.8 released?

-- 
Ticket URL: <https://trac.macports.org/ticket/47520#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list