FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 07-04-2012, 09:13 AM
fredbezies
 
Default 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
 
Old 07-04-2012, 03:34 PM
Ionut Biru
 
Default Glibc 2.16 bad effect on some software ?

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ț
 
Old 07-05-2012, 03:10 PM
Paul Gideon Dann
 
Default Glibc 2.16 bad effect on some software ?

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_internal14Widget DataBase21defaultPropertyValuesERK7QString+0x149)
[0x7f25e5d96789]
/usr/lib/libQtDesigner.so.4(_ZN18qdesigner_internal14Widget DataBase25grabDefaultPropertyValuesEv+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
 
Old 07-05-2012, 04:01 PM
Paul Gideon Dann
 
Default Glibc 2.16 bad effect on some software ?

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
 
Old 07-06-2012, 10:23 AM
Paul Gideon Dann
 
Default Glibc 2.16 bad effect on some software ?

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
 
Old 07-06-2012, 10:37 AM
Bjrn ivind Bjrnsen
 
Default Glibc 2.16 bad effect on some software ?

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_Chroot

Regards,
Bjrn ivind
 

Thread Tools




All times are GMT. The time now is 12:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org