x86_64-pc-linux-gnu-g++ -c -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -w -floop-interchange -floop-strip-mine -floop-block -floop-flatten -ftree-loop-linear -ftree-loop-im -ftree-loop-distribution -ftree-loop-distribute-patterns -fsched-pressure -fsched-spec-load -I/usr/include/freetype2 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wno-c++0x-compat -fno-stack-protector -Wno-c++0x-compat -O3 -pthread -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DGST_DISABLE_DEPRECATED -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_JIT=1 -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/var/tmp/paludis/x11-libs-qt-webkit-4.8.0/work/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.moc/release-static -o .obj/release-static/GOwnPtr.o wtf/gobject/GOwnPtr.cpp In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from wtf/gobject/GOwnPtr.cpp:24: /usr/include/glib-2.0/glib/gthread.h:51:16: error: 'union' tag used in naming 'struct _GMutex' [-fpermissive] /usr/include/glib-2.0/glib/gthread.h:58:7: error: 'union' tag used in naming 'struct _GMutex' [-fpermissive] make: *** [.obj/release-static/GOwnPtr.o] Error 1 make: *** Waiting for unfinished jobs.... /usr/libexec/paludis/utils/emake: emake returned error 2
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Same here. See: https://bugs.webkit.org/show_bug.cgi?id=72085
I have the same error: capture of emerge output (sorry, build.log overwritten) and emerge --info attached; the fix described in https://bugs.webkit.org/show_bug.cgi?id=72085 appears to build correctly; I attach a suggested ebuild + patch on this basis.
Created attachment 301601 [details] emerge --info
Created attachment 301603 [details] failed emerge log
Created attachment 301605 [details] emended ebuild to include patch
Created attachment 301607 [details, diff] patch based on https://bugs.webkit.org/show_bug.cgi?id=72085#c6
(In reply to comment #7) > Created attachment 301607 [details, diff] [details, diff] > patch based on https://bugs.webkit.org/show_bug.cgi?id=72085#c6 Thanks, patch works here.
it would be nice if this get bump in qt-overlay. thanks
We will apply it once this patch is accepted upstream. We don't want to divert the Gentoo package from the upstream one
i get this error of i am using the aboved ebuild and patch: ebuild qt-webkit-4.8.9999.ebuild digest >>> Downloading 'http://distfiles.gentoo.org/distfiles/qt-everywhere-opensource-src-4.8.9999.tar.gz' --2012-02-23 07:43:27-- http://distfiles.gentoo.org/distfiles/qt-everywhere-opensource-src-4.8.9999.tar.gz Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, 137.226.34.42, 140.211.166.134, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-02-23 07:43:28 ERROR 404: Not Found. >>> Downloading 'http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.9999.tar.gz' --2012-02-23 07:43:28-- http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.9999.tar.gz Resolving get.qt.nokia.com (get.qt.nokia.com)... 87.248.219.170, 87.248.217.102 Connecting to get.qt.nokia.com (get.qt.nokia.com)|87.248.219.170|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-02-23 07:43:28 ERROR 404: Not Found. !!! Couldn't download 'qt-everywhere-opensource-src-4.8.9999.tar.gz'. Aborting.
(In reply to comment #11) > i get this error of i am using the aboved ebuild and patch: > > ebuild qt-webkit-4.8.9999.ebuild digest > >>> Downloading 'http://distfiles.gentoo.org/distfiles/qt-everywhere-opensource-src-4.8.9999.tar.gz' > --2012-02-23 07:43:27-- > http://distfiles.gentoo.org/distfiles/qt-everywhere-opensource-src-4.8.9999. > tar.gz > Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, > 137.226.34.42, 140.211.166.134, ... > Connecting to distfiles.gentoo.org > (distfiles.gentoo.org)|64.50.236.52|:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 2012-02-23 07:43:28 ERROR 404: Not Found. > > >>> Downloading 'http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.9999.tar.gz' > --2012-02-23 07:43:28-- > http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.9999.tar. > gz > Resolving get.qt.nokia.com (get.qt.nokia.com)... 87.248.219.170, > 87.248.217.102 > Connecting to get.qt.nokia.com (get.qt.nokia.com)|87.248.219.170|:80... > connected. > HTTP request sent, awaiting response... 404 Not Found > 2012-02-23 07:43:28 ERROR 404: Not Found. > > !!! Couldn't download 'qt-everywhere-opensource-src-4.8.9999.tar.gz'. > Aborting. why did you name the ebuild 4.8.9999?
oh right i have set this patch in the folder of the qt-overlay qt-webkit. this is my fault. thanks u for the advice
This is relevant too: https://bugs.webkit.org/show_bug.cgi?id=69840
hmm i have no clue which versio is now fixed. but /3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.moc/release-static -o .obj/release-static/GOwnPtr.o wtf/gobject/GOwnPtr.cpp In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:25, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from wtf/gobject/GOwnPtr.cpp:24: /usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ /usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ make: *** [.obj/release-static/GOwnPtr.o] Error 1 make: *** Waiting for unfinished jobs.... emake failed * ERROR: x11-libs/qt-webkit-4.8.0-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile
I never said this is fixed. In fact, it's still unfixed in upstream git repo (4.8 branch at least)..
Same error with qt-webkit-4.8.1
I forgot to say I have glib-2.32.0
I can report that the patch works for qt-webkit-4.8.1. Thank you.
(In reply to comment #19) > I can report that the patch works for qt-webkit-4.8.1. so can I
Created attachment 307395 [details, diff] patch for qt-webkit-4.8 + glib-2.31 Please test this patch.
(In reply to comment #21) > Please test this patch. This patch works also. It compiled successfully qt-webkit-4.8.1 + glib-2.32.0
*** Bug 410707 has been marked as a duplicate of this bug. ***
Fixed in CVS. Thank you all! 04 Apr 2012; Davide Pesavento <pesa@gentoo.org> +files/qt-webkit-4.8.1+glib-2.31.patch, qt-webkit-4.8.1.ebuild: Fix build with >=dev-libs/glib-2.31 (bug 401855).