Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25629 - Qt Designer broken by glibc update

Attached to Project: Arch Linux
Opened by Massimiliano (Raptorista) - Wednesday, 17 August 2011, 21:28 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 18 August 2011, 15:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Qt Designer stopped working after glibc 2.14-4 update. Trying to start it up in the terminal results in a crash [see attachment 1]

A possible workaround is to give the command

$ export MALLOC_CHECK_=0

so that the following time you have

$ designer
Application asked to unregister timer 0xe000003 which is not registered in this thread. Fix application.
Application asked to unregister timer 0x12000002 which is not registered in this thread. Fix application.
designer: symbol lookup error: /usr/lib/qt/plugins/designer/libqwt_designer_plugin.so: undefined symbol: _ZN9QwtSliderC1EP7QWidgetN2Qt11OrientationENS_8ScalePosENS_7BGSTYLEE

which can be worked around renaming file
/usr/lib/qt/plugins/designer/libqwt_designer_plugin.so

Now it works, but it's still a bug
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 18 August 2011, 15:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  qwt5 isn't in the official repositories. see comments
Comment by Jelle van der Waa (jelly) - Thursday, 18 August 2011, 09:11 GMT
Which package are you talking about? QtCreator?
Comment by Massimiliano (Raptorista) - Thursday, 18 August 2011, 09:17 GMT
No, I'm talking about the Qt Designer utility that comes within the qt package.
Comment by Jelle van der Waa (jelly) - Thursday, 18 August 2011, 10:00 GMT
Ok, will assign it to Bash as he is the maintainer of Qt. The app works here without the designer: symbol lookup error. What is your version of qt? ( i know it doenst crash, but still)

[jelle@P8][~]%pacman -Q qt
qt 4.7.3-3

The file your talking about, doesnt seem to belong to the Qt package or any package in our repo. is it maybe from AUR and in need of rebuild.
Could you please post: pacman -Qo /usr/lib/qt/plugins/designer/libqwt_designer_plugin.so

[jelle@P8][~]%pkgfile /usr/lib/qt/plugins/designer/libqwt_designer_plugin.so
[jelle@P8][~]%
Comment by Andrea Scarpino (BaSh) - Thursday, 18 August 2011, 10:21 GMT
This isn't our fault. You installed the plugin using AUR (I guess the package is pyqwt?) and now after the qwt update you need to rebuild it.
Comment by Massimiliano (Raptorista) - Thursday, 18 August 2011, 10:35 GMT
@jelly:
[massimiliano@Arch001 ~]$ pacman -Q qt
qt 4.7.3-3

[massimiliano@Arch001 ~]$ pacman -Qo /usr/lib/qt/plugins/designer/libqwt_designer_plugin.so
/usr/lib/qt/plugins/designer/libqwt_designer_plugin.so belongs to qwt5 5.2.1-2

@Andrea: sorry if it's my fault, how could I fix it?

And what about the "outer" problem? [the fact that, after glibc update, designer doesn't start]
Comment by Andrea Scarpino (BaSh) - Thursday, 18 August 2011, 10:36 GMT
Rebuild qwt5
Comment by Massimiliano (Raptorista) - Thursday, 18 August 2011, 13:42 GMT
@Andrea: I gave
aurget -S qwt5
and that rebuilt and reinstalled qwt5, but now I'm back at the starting point, same symptoms as the first post.
Comment by Jelle van der Waa (jelly) - Thursday, 18 August 2011, 14:29 GMT
The problem is that qwt that isnt recompiled for glibc2.14 since its in aur you have todo this manual.
wget http://aur.archlinux.org/packages/qwt5/qwt5.tar.gz && tar xvf qwt5.tar.gz && cd qwt5 && makepkg -si

This works for me and please remove the renamed file.
https://wiki.archlinux.org/index.php/Arch_User_Repository

Loading...