[arch-general] Glibc 2.16 bad effect on some software ?
Hello. I'm used to build every days or every two days mozilla firefox from its trunk source code. Today, after glibc 2.16 upgrade on testing, after a successful build process, I got an error message while trying to package mozilla firefox : /bin/sh : line 1 : 22172 Segmentation fault /home/fred/logs/fox/objdir-fx/dist/bin/run-mozilla.sh /home/fred/logs/fox/objdir-fx/browser/installer/../../dist/bin/shlibsign -v -i ../../dist/firefox/libsoftokn3.so make[3]: * [stage-package] Error 139 make[2]: * [make-package] Error 2 make[1]: * [default] Error 2 make: * [package] Error 2 Yesterday, with glibc 2.15, all worked well. Any idea ? -- Frederic Bezies fredbezies@gmail.com
On 07/04/2012 12:13 PM, fredbezies wrote:
Hello.
I'm used to build every days or every two days mozilla firefox from its trunk source code.
Today, after glibc 2.16 upgrade on testing, after a successful build process, I got an error message while trying to package mozilla firefox :
/bin/sh : line 1 : 22172 Segmentation fault /home/fred/logs/fox/objdir-fx/dist/bin/run-mozilla.sh /home/fred/logs/fox/objdir-fx/browser/installer/../../dist/bin/shlibsign -v -i ../../dist/firefox/libsoftokn3.so make[3]: * [stage-package] Error 139 make[2]: * [make-package] Error 2 make[1]: * [default] Error 2 make: * [package] Error 2
Yesterday, with glibc 2.15, all worked well. Any idea ?
I just tried to compile firefox 13.0.1 and worked fine but note that we are using system nss,nspr and you aren't. -- Ionuț
On Wednesday 04 Jul 2012 11:13:03 fredbezies wrote:
Today, after glibc 2.16 upgrade on testing, after a successful build process, I got an error message while trying to package mozilla firefox :
I'm getting a crash when trying to run Qt Designer with glibc 2.16.0-1: # designer Warning: option --plugin-path no longer exists. Warning: option --plugin-path no longer exists. [0x24f8928] main services discovery error: no suitable services discovery module *** glibc detected *** designer: free(): invalid next size (fast): 0x00000000027bdc50 *** ======= Backtrace: ========= /lib/libc.so.6(+0x784a6)[0x7f25e3c494a6] /usr/lib/libQtDesigner.so.4(_ZN18qdesigner_internal14WidgetDataBase21defaultPropertyValuesERK7QString+0x149) [0x7f25e5d96789] /usr/lib/libQtDesigner.so.4(_ZN18qdesigner_internal14WidgetDataBase25grabDefaultPropertyValuesEv+0x6c) [0x7f25e5d96aec] designer[0x42fc0f] designer[0x429b2d] designer[0x42a0e7] designer[0x4168f3] /lib/libc.so.6(__libc_start_main+0xf5)[0x7f25e3bf2725] designer[0x4169b1] ... I'll rebuild Qt when I have a spare moment. It doesn't seem to affect Assistant or other Qt apps, though. Paul
On Thursday 05 Jul 2012 16:10:26 you wrote:
I'll rebuild Qt when I have a spare moment. It doesn't seem to affect Assistant or other Qt apps, though.
Qt fails to compile with the following backtrace; it appears glib is at fault: compiling wtf/gobject/GRefPtr.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] In file included from ./wtf/Platform.h:1217:0, from ./config.h:30, from wtf/gobject/GOwnPtr.cpp:19: wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here 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:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive] In file included from ./wtf/Platform.h:1217:0, from ./config.h:30, from wtf/gobject/GOwnPtr.cpp:19: wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0, from /usr/include/glib-2.0/glib.h:34, from wtf/gobject/GRefPtr.cpp:24: /usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive] In file included from ./wtf/Platform.h:1217:0, from ./config.h:30, from wtf/gobject/GRefPtr.cpp:19: wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0, from /usr/include/glib-2.0/glib.h:34, from wtf/gobject/GRefPtr.cpp:24: /usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive] In file included from ./wtf/Platform.h:1217:0, from ./config.h:30, from wtf/gobject/GRefPtr.cpp:19: wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here make[2]: *** [.obj/release-static/GOwnPtr.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [.obj/release-static/GRefPtr.o] Error 1 make[2]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/src/3rdparty/webkit/Source/JavaScriptCore' make[1]: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2 make[1]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/src/3rdparty/webkit/Source' Paul
On Thursday 05 Jul 2012 17:01:37 you wrote:
On Thursday 05 Jul 2012 16:10:26 you wrote:
I'll rebuild Qt when I have a spare moment. It doesn't seem to affect Assistant or other Qt apps, though.
Qt fails to compile with the following backtrace; it appears glib is at fault:
This suggestion seems to fix this: http://www.qtforum.org/article/37809/error-union-tag-used-in-naming-struct- gmutex.html I created a bug report: https://bugs.archlinux.org/task/30563 However, I still can't build Qt, because of another issue: compiling helpviewer_qwv.cpp helpviewer_qwv.cpp:168:1: error: expected class-name before ‘{’ token helpviewer_qwv.cpp:173:13: error: ‘QWebPage’ does not name a type helpviewer_qwv.cpp:174:32: error: ‘WebAction’ has not been declared helpviewer_qwv.cpp:176:42: error: ‘QWebFrame’ has not been declared helpviewer_qwv.cpp:177:41: error: ‘NavigationType’ has not been declared helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject*)’: helpviewer_qwv.cpp:189:7: error: class ‘HelpPage’ does not have any field named ‘QWebPage’ helpviewer_qwv.cpp: At global scope: helpviewer_qwv.cpp:197:1: error: ‘QWebPage’ does not name a type helpviewer_qwv.cpp:207:30: error: variable or field ‘triggerAction’ declared void helpviewer_qwv.cpp:207:30: error: ‘WebAction’ was not declared in this scope helpviewer_qwv.cpp:207:48: error: expected primary-expression before ‘bool’ make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Error 1 make[4]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/tools/assistant/tools/assistant' make[3]: *** [sub-assistant-make_default-ordered] Error 2 make[3]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/tools/assistant/tools' make[2]: *** [sub-tools-make_default-ordered] Error 2 make[2]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/tools/assistant' make[1]: *** [sub-assistant-make_default-ordered] Error 2 make[1]: Leaving directory `/home/dannpg/In/qt/src/qt-everywhere-opensource- src-4.8.2/tools' make: *** [sub-tools-make_default-ordered] Error 2 This has all happened at a most inopportune time :( Paul
On 06/07/12 12:23, Paul Gideon Dann wrote:
On Thursday 05 Jul 2012 17:01:37 you wrote:
On Thursday 05 Jul 2012 16:10:26 you wrote:
I'll rebuild Qt when I have a spare moment. It doesn't seem to affect Assistant or other Qt apps, though.
Qt fails to compile with the following backtrace; it appears glib is at fault:
This suggestion seems to fix this: http://www.qtforum.org/article/37809/error-union-tag-used-in-naming-struct- gmutex.html
I created a bug report: https://bugs.archlinux.org/task/30563
However, I still can't build Qt, because of another issue:
compiling helpviewer_qwv.cpp <snip> make: *** [sub-tools-make_default-ordered] Error 2
This has all happened at a most inopportune time :(
Paul
Hello, This looks a lot like the error I got the last time I tried to build Qt. Try building Qt using the "testing-x86_64-build" or "extra-x86_64-build" (obviously your architecture may vary) wrappers, they set up a clean chroot for you to build in. This approach worked for me. Some more info can be found here: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroo... Regards, Bjørn Øivind
participants (4)
-
Bjørn Øivind Bjørnsen
-
fredbezies
-
Ionut Biru
-
Paul Gideon Dann