Summary: | >=x11-libs/qt-webkit-4.8.0 & >=dev-libs/glib-2.31: error: 'union' tag used in naming 'struct _GMutex' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maciej Piechotka <uzytkownik2> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | denys.duchier, dpenazzo91, jlp.bugs, proteuss, rsa4046, sharkman.ru |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://codereview.qt-project.org/21292 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 406437 | ||
Attachments: |
emerge --info
failed emerge log emended ebuild to include patch patch based on https://bugs.webkit.org/show_bug.cgi?id=72085#c6 patch for qt-webkit-4.8 + glib-2.31 |
Description
Maciej Piechotka
2012-02-01 21:41:14 UTC
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). |