You are not logged in.

#26 2009-10-09 10:32:19

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: WARNING: Opera likely broken by today's qt update!

OK, thanks; I could confirm this bug now.

Offline

#27 2009-10-09 11:04:51

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: WARNING: Opera likely broken by today's qt update!

There's no need to downgrade qt and break other installed applications. Even though opera is binary only. You can just supply opera with what it needs using LD_PRELOAD. We'll just copy the 4.5.2 versions of libQtCore and libQtGui from the old package to /usr/lib/opera/10.00 and tell opera to use those instead of the installed 4.5.3 libs:

$ mkdir scratch
$ cd scratch
$ cp /var/cache/pacman/pkg/qt-4.5.2-7-i686.pkg.tar.gz .
$ tar vxzf qt-4.5.2-7-i686.pkg.tar.gz
$ su 
# cp usr/lib/libQtCore.so.4.5.2 /usr/lib/opera/10.00/
# cp usr/lib/libQtGui.so.4.5.2 /usr/lib/opera/10.00/

Edit opera's launcher script (/usr/bin/opera) and change the last "exec" line with these two lines:

LD_PRELOAD=/usr/lib/opera/10.00/libQtCore.so.4.5.2:/usr/lib/opera/10.00/libQtGui.so.4.5.2 ${OPERA_BINARYDIR}opera "$@" &
disown

Then run opera as usual, and confirm:

# lsof | grep libQtGui
kdeinit4   4749 chenno  mem       REG        8,2  9955448     871586 /usr/lib/libQtGui.so.4.5.3
klauncher  4750 chenno  mem       REG        8,2  9955448     871586 /usr/lib/libQtGui.so.4.5.3
kded4      4753 chenno  mem       REG        8,2  9955448     871586 /usr/lib/libQtGui.so.4.5.3
opera      5221 chenno  mem       REG        8,2  9958648     100559 /usr/lib/opera/10.0/libQtGui.so.4.5.2

KDE still uses qt 4.5.3, only opera now uses 4.5.2. I've opened >10 tabs, including flash vids and the acid test, no problems.

Build a package with ABS that does this if you want to keep your system clean (pacman doesn't know about the 4.5.2 libs in /usr/lib/opera if you do the above)

Anyways, it's much better than downgrading all of qt and risk other things to break. It's ugly, of course,  but then binary only programs are ugly to begin with wink

Offline

#28 2009-10-09 23:09:53

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: WARNING: Opera likely broken by today's qt update!

well its more a workaround than a real patch heheh big_smile


but hey, if u create the package tell it here pls.

btw: chromium is fitting nicely on kde (which is a bit strange for a gtk app)

Last edited by quarkup (2009-10-09 23:10:45)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#29 2009-10-10 06:25:27

anjanaya
Member
From: INDIA
Registered: 2009-05-13
Posts: 7

Re: WARNING: Opera likely broken by today's qt update!

I confirm that this works fine, for the time being anyway.
Though it gave me a little scare as i did a pacman -Syu on the side & after the above changes opera started working & mplayer-svn broke! but it was due to some other upgrade (don't remember now which package it was 4 A.M.) & gave
"mplayer: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory"
A simple recompile fixed this.
Now i am Happy Happy Happy!
He he.

Thanks hbekel

edit : Typo

Last edited by anjanaya (2009-10-10 06:29:17)


Proud Arch x86_64 user

Offline

#30 2009-10-13 16:31:40

GoTman
Member
Registered: 2009-10-13
Posts: 1

Re: WARNING: Opera likely broken by today's qt update!

hi,

is there any news on this bug?

Offline

#31 2009-10-14 08:29:44

coques
Member
Registered: 2009-06-23
Posts: 11

Re: WARNING: Opera likely broken by today's qt update!

Can anybody provide an older version of QT lib (4.5.2-7) ?

Thanks

Offline

#32 2009-10-14 09:09:23

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: WARNING: Opera likely broken by today's qt update!

coques wrote:

Can anybody provide an older version of QT lib (4.5.2-7) ?

Thanks

You should bookmark this page , It's one of the best community contributions Arch ever had :
http://arm.kh.nu/search/


English is not my native language .

Offline

#33 2009-10-15 14:48:18

deluminathor
Member
From: Poland
Registered: 2008-09-14
Posts: 16

Re: WARNING: Opera likely broken by today's qt update!

Does someone know when the fixed version of Qt (especially qtmod) will be available in pacman repositories?

BTW Workaround presented a few posts above does not work for me. I think it's because I use qtmod (from KDEmod project) and when I tried to run Opera with those two libraries replaced (taken from 'normal' Qt, not qtmod) it crashed with the message like "Mixing incompatible versions of Qt is not allowed!". Does anybody have a package qtmod in version 4.5.2?

Last edited by deluminathor (2009-10-15 14:48:49)


Order dissolves into chaos and then collapses into a higher form of order. This holds true for galaxies, ecosystems, empires and civilizations. The Universe, society, culture manifests in eternal change, and so should music and art.

Offline

#34 2009-10-15 14:50:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: WARNING: Opera likely broken by today's qt update!

deluminathor wrote:

Does someone know when the fixed version of Qt (especially qtmod) will be available in pacman repositories?

Is it a Qt issue or an Opera issue...

Offline

#35 2009-10-22 03:17:03

respite
Member
From: Los Angeles
Registered: 2008-03-26
Posts: 12

Re: WARNING: Opera likely broken by today's qt update!

Glad i found this thread. Downgrading Qt solved my headache.


Screaming obscenities since 1979.

Offline

#36 2009-10-22 05:27:22

kvikas
Member
Registered: 2009-02-18
Posts: 4

Re: WARNING: Opera likely broken by today's qt update!

respite wrote:

Glad i found this thread. Downgrading Qt solved my headache.

opera-shared-b1 10.10-1 http://aur.archlinux.org/packages.php?ID=31258 is working fine for me. No hangups for last three days.

Offline

#37 2009-10-22 07:17:17

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: WARNING: Opera likely broken by today's qt update!

seems recently opera force to use clearlooks style and ignore what i have set in qtconfig. i want to use GTK+ style.

my QT is 4.5.2, lastest opera snapshot version.

Offline

#38 2009-10-22 12:39:19

Angry
Member
Registered: 2009-05-25
Posts: 9

Re: WARNING: Opera likely broken by today's qt update!

Finally, the new QT-updates fixed the problem for me today.
I am surfing about one hour with opera and i had no problems so far. big_smile

Yes! I am relieved. ( I hate Firefox ^^ )

Edit: DOH! Bug still exists but does not appear frequently ...

Last edited by Angry (2009-10-22 12:58:43)

Offline

#39 2009-11-06 13:38:21

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: WARNING: Opera likely broken by today's qt update!

u must be angry then big_smile


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#40 2009-11-10 10:29:13

bleichmittel
Member
From: Vienna, Austria
Registered: 2009-03-02
Posts: 26

Re: WARNING: Opera likely broken by today's qt update!

If you read the latest comments, you should find help there: http://aur.archlinux.org/packages.php?ID=15228

You have to build the latest opera-snapshot (version in aur is not up to date). You can use the opera-devel-qt4 PKGBUILD and change the version-number, there is also a PKGBUILD posted in the comments.

I also did this:

for workaround opera stuck problem (opera 10.01 , Qt 4.5.3 , slackware 13):
disable "Synchronous decode" in opera:config
works for me smile

So I don't know what really helped. Probably it helps to just change this option and you don't have to upgrade to the snapshot then.

Offline

#41 2009-11-12 19:40:51

spazzwig
Member
Registered: 2008-02-04
Posts: 6

Re: WARNING: Opera likely broken by today's qt update!

bleichmittel wrote:

If you read the latest comments, you should find help there: http://aur.archlinux.org/packages.php?ID=15228

You have to build the latest opera-snapshot (version in aur is not up to date). You can use the opera-devel-qt4 PKGBUILD and change the version-number, there is also a PKGBUILD posted in the comments.

I also did this:

for workaround opera stuck problem (opera 10.01 , Qt 4.5.3 , slackware 13):
disable "Synchronous decode" in opera:config
works for me smile

So I don't know what really helped. Probably it helps to just change this option and you don't have to upgrade to the snapshot then.

Sweet, thanks -- this worked for me as well. I did both of the above steps.

Offline

#42 2009-11-13 07:57:24

csslayer
Member
Registered: 2009-03-05
Posts: 85

Re: WARNING: Opera likely broken by today's qt update!

using opera-beta and modify the version to 4694, this works good for me. Since developer post on their blog that this should work with the newest qt.

Offline

#43 2009-11-13 10:10:17

bleichmittel
Member
From: Vienna, Austria
Registered: 2009-03-02
Posts: 26

Re: WARNING: Opera likely broken by today's qt update!

Yes, after a little testing I found out that it is not necessary to change the "Synchronous decode" option if you use the newest build. But perhaps it helps with the stable version? (Didn't check this)

The development version is quite stable anyway. Btw: You don't need to change the version to 4694 anymore, the package was updated.

Last edited by bleichmittel (2009-11-13 10:11:43)

Offline

#44 2009-11-13 12:58:55

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: WARNING: Opera likely broken by today's qt update!

Blah, the freezing pages got fixed, however the font issue is still present ;/


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#45 2009-11-13 13:58:12

sr
Member
Registered: 2009-10-12
Posts: 51

Re: WARNING: Opera likely broken by today's qt update!

from my experiments on a fairly vanilla arch64 install, the freezing pages issue happens with static builds, and not shared builds. I assume that's because of some Qt multithreaded weirdness?

rc-4720 is released, and the G4 builds look fine.

Offline

#46 2009-11-13 17:04:25

der_joachim
Member
From: the Netherlands
Registered: 2008-12-17
Posts: 143
Website

Re: WARNING: Opera likely broken by today's qt update!

I can confirm that disabling 'Synchronous decode' works. At least it did for me. smile


Geek, runner, motorcyclist and professional know-it-all

Offline

Board footer

Powered by FluxBB