[SRU][jaunty] Kadu needs to rebuild with Qt 4.5

Bug #339661 reported by sfn
44
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kadu (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Kadu was built with Qt 4.4, but jaunty have Qt 4.5.

apt-cache policy kadu
kadu:
  Installed: 0.6.5.1-5build1
  Candidate: 0.6.5.1-5build1

TEST CASE:
1) sudo apt-get install kadu kadu-common kadu-external-modules aspell-pl
2) run kadu, go to module section (or type F4 in kadu's main window)
3) enable module called spellchecker
4) open the window to talk with anyone
5) write a word with typo, e.g. for english "rebuld" instead "rebuild", for polish "pszczoly" instead "pszczoy"
6) spellchecker give a underline for typos, now kadu should been hanged

Also, kadu 0.6.5.1-5build1 got FTBFS. I made debdiff which fixes both problems. Please upload it.

kadu (0.6.5.1-6ubuntu1) jaunty; urgency=low

  * Rebuild with Qt 4.5 (LP: #339661).
  * debian/patches/05-weather_translation_fix.patch:
    - Add patch to fix FTBFS.

 -- Artur Rona <email address hidden> Thu, 27 Aug 2009 14:14:24 +0200

Revision history for this message
Piotr Galiszewski (piotrgaliszewski) wrote : Re: Kadu hangs when starts writing in chat window

This bug appears after upgrading Qt library to 4.5 version. Unloading spellchecker module should help.

Revision history for this message
sfn (safin-poczta) wrote :

but I have only 3 modules loaded:

alsa_sound , plus_pl_sms and profiles.

rest of modules are disabled, and never been loaded before.

Revision history for this message
sfn (safin-poczta) wrote :

what I noticed , is that , when I want to start a chat this issue occrs.
But when someone first start chat , and chat window appears, this issue don't show up.

Revision history for this message
Piotr Galiszewski (piotrgaliszewski) wrote :

Ok. From reports on our forum it seems that rebuilding kadu with Qt 4.5 will solve this problem. Try rebuild package:

mkdir ~/kadu-build
cd ~/kadu-build
apt-get source kadu
sudo apt-get install fakeroot dpkg-dev
sudo apt-get build-dep kadu
cd kadu-0.6.5.1
dpkg-buildpackage -us -uc -rfakeroot

and install new packages. Problem should disappear. IMHO the problem is that Kadu was build on Thu, 19 Feb 2009 21:41:47 using Qt4.4 and Qt 4.5 was uploaded on Tue, 03 Mar 2009

Revision history for this message
sfn (safin-poczta) wrote :

while building package error message show up , similar to this :

Linking CXX shared module libwater_notify.so
cd /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/modules/water_notify && /usr/bin/cmake -E cmake_link_script CMakeFiles/water_notify.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -g -O2 -g -Wall -O2 -O3 -DNDEBUG -Wl,-Bsymbolic-functions -shared -Wl,-soname,libwater_notify.so -o libwater_notify.so CMakeFiles/water_notify.dir/water_notify.cpp.o CMakeFiles/water_notify.dir/moc_water_notify.cxx.o -Ldocking -ldbus-1
make[3]: Leaving directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/CMakeFiles 65
[ 65%] Built target water_notify
/usr/bin/make -f modules/weather/CMakeFiles/weather-translations.dir/build.make modules/weather/CMakeFiles/weather-translations.dir/depend
make[3]: Entering directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
cd /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user/kadu-build/kadu-0.6.5.1/build-tree/kadu /home/user/kadu-build/kadu-0.6.5.1/build-tree/kadu/modules/weather /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/modules/weather /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/modules/weather/CMakeFiles/weather-translations.dir/DependInfo.cmake --color=
Scanning dependencies of target weather-translations
make[3]: Leaving directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
/usr/bin/make -f modules/weather/CMakeFiles/weather-translations.dir/build.make modules/weather/CMakeFiles/weather-translations.dir/build
make[3]: Entering directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/CMakeFiles
[ 65%] Generating weather_pl.qm
cd /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/modules/weather && /usr/bin/lrelease /home/user/kadu-build/kadu-0.6.5.1/build-tree/kadu/modules/weather/translations/weather_pl.ts -qm /home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu/modules/weather/weather_pl.qm
lrelease error: duplicate messages found in '/home/user/kadu-build/kadu-0.6.5.1/build-tree/kadu/modules/weather/translations/weather_pl.ts':

* Context: @default
* Source: Notifications
make[3]: *** [modules/weather/weather_pl.qm] Error 1
make[3]: Leaving directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
make[2]: *** [modules/weather/CMakeFiles/weather-translations.dir/all] Error 2
make[2]: Leaving directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/kadu-build/kadu-0.6.5.1/build-tree/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Revision history for this message
sfn (safin-poczta) wrote :

ok, seems to be ok with latest updates, today I tested it again, no crash/hang up . kadu works ok :)

Revision history for this message
Pawel (pslomski64-deactivatedaccount) wrote :

Issue is not fixed. Kadu 0.6.5.1-5build1, 2.6.28-11-generic x86_64 Linux

Revision history for this message
Pawel (pslomski64-deactivatedaccount) wrote :

Is somebody going to fix this? It's probably case of rebuilding package against QT 4.5.

Revision history for this message
Pawel (pslomski64-deactivatedaccount) wrote :

As far as I know this problem is fixed in svn version.

Artur Rona (ari-tczew)
description: updated
Changed in kadu (Ubuntu):
assignee: nobody → ari-tczew
Artur Rona (ari-tczew)
Changed in kadu (Ubuntu):
status: New → Confirmed
assignee: ari-tczew → nobody
Artur Rona (ari-tczew)
description: updated
Artur Rona (ari-tczew)
Changed in kadu (Ubuntu):
assignee: nobody → ari-tczew
Revision history for this message
Artur Rona (ari-tczew) wrote :

I created patched package, which is available to test on my-ppa.

kadu (0.6.5.1-5build2) jaunty; urgency=low

  * Rebuild for Qt 4.5 (LP: #360077).
  * Add 05-fix_separator.patch to enable spellchecker module.
  * Add 06-weather_translation.patch to fix issue with duplicated translation.

 -- Artur Rona <email address hidden> Tue, 28 Apr 2009 07:47:14 +0200

Artur Rona (ari-tczew)
description: updated
summary: - Kadu hangs when starts writing in chat window
+ Kadu needs to rebuild with Qt 4.5
Revision history for this message
Artur Rona (ari-tczew) wrote : Re: Kadu needs to rebuild with Qt 4.5

Uploaded image shows, that spellchecker module is working and kadu didn't hang.

Artur Rona (ari-tczew)
Changed in kadu (Ubuntu):
assignee: ari-tczew → nobody
summary: - Kadu needs to rebuild with Qt 4.5
+ [SRU] Kadu needs to rebuild with Qt 4.5
Artur Rona (ari-tczew)
description: updated
Artur Rona (ari-tczew)
Changed in kadu (Ubuntu):
status: Confirmed → New
Revision history for this message
Kamil (kneczaj-gmail) wrote :

The bug is already fixed, because new version of kadu was realeased (0.6.5.2). New version is compiled against qt 4.5 and for me the error doesn't occur any more.

Revision history for this message
Artur Rona (ari-tczew) wrote :

@Kamil: isn't fixed. You mean that it's fixed, because 0.6.5.2 is available on Kadu Maintainer's repository, but affected 0.6.5.1 is now in jaunty. Please, don't mistaking these two different things.

Artur Rona (ari-tczew)
summary: - [SRU] Kadu needs to rebuild with Qt 4.5
+ [SRU][jaunty] Kadu needs to rebuild with Qt 4.5
description: updated
description: updated
Revision history for this message
Kamil (kneczaj-gmail) wrote :

@Artur Rona sorry, mayby I have some additional repos, but in my jaunty kadu is already updated to 0.6.5.2

Revision history for this message
Thomas Ohms (tohms) wrote :

@Kamil: Kadu 0.6.5.2 isn't in official repos. Can you post content of your sources.list?

Can anyone confirm Artur's fix?

Revision history for this message
Piotr Galiszewski (piotrgaliszewski) wrote :

Hi Thomas:
Kadu 0.6.5.2 is in Debian unstable and in official Kadu's ppa: https://launchpad.net/~patryk-prezu/+archive/ppa .

In our (upstream) opinion the best solution is sync Kadu with debian (or Patryk's ppa https://launchpad.net/~patryk-prezu/+archive/ppa), but we know that is impossible in SRU

Except that last Artur's patch is correct and will fix the issue. (Kadu need only rebuilding, 05-weather_translation.patch fixes compilation with Qt4.5)

Revision history for this message
Thomas Ohms (tohms) wrote :

Piotr: Why is it impossible to sync in SRU?

Revision history for this message
Piotr Galiszewski (piotrgaliszewski) wrote :

there is one big functional change: encryption module was added to packages. Hoverer the module wasn't present in 0.6.5.1 so it can't regress.

Debian changelog:
 kadu (0.6.5.2-1) unstable; urgency=low

   * New upstream release
   * debian/extract.sh: Added "-k" to tar invocations to avoid overwriting
     potentially patched (by debian/patches) external modules/themes
   * Added encryption module -- new version gets rid of GPL vs. OpenSSL
     license issue
   * Updated debian/patches/02-.config.patch to include new modules
   * Added new Build-Depends to compile newly added modules
   * Bumped Standards-Version to 3.8.1

 -- Patryk Cisek <email address hidden> Sat, 02 May 2009 10:13:44 +0200

Unfortunately sync form debian is not possible because the package won't build with Qt4.5. Artur's 05-weather_translation.patch fixes it.

Fixed package is also available in Patryk's Cisek ppa (https://launchpad.net/~patryk-prezu/+archive/ppa)

Revision history for this message
Artur Rona (ari-tczew) wrote :

It's not the time for FFe...

Revision history for this message
Thomas Ohms (tohms) wrote :

FFe??

Revision history for this message
Artur Rona (ari-tczew) wrote :

Thomas Ohms, who are you? Are you affected by this bug?

Revision history for this message
Thomas Ohms (tohms) wrote :

No I'm not. Just like to keep an eye on that bug. What's FFe?

Revision history for this message
Artur Rona (ari-tczew) wrote :

There's not good place to asking... please check http://wiki.ubuntu.com and learn to using google.

Artur Rona (ari-tczew)
tags: added: jaunty kadu qt rebuild sru
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Can anyone confirm this bug on karmic?

Changed in kadu (Ubuntu):
status: New → Incomplete
Revision history for this message
Artur Rona (ari-tczew) wrote :

Karmic has got later upstream version with patch which fixes bug. On my ppa is kadu 0.6.5.1 with patch, builds fine. But jaunty needs Stable Release Update for this bug! You don't need care about karmic.

Changed in kadu (Ubuntu):
status: Incomplete → New
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Marking as Invalid cause of it's fixed in Karmic.

As you can see, we're tracking the status for Jaunty.

Changed in kadu (Ubuntu):
status: New → Invalid
Changed in kadu (Ubuntu):
status: Invalid → Fix Released
Artur Rona (ari-tczew)
tags: removed: kadu qt
Revision history for this message
Artur Rona (ari-tczew) wrote :
tags: added: verification-needed
removed: rebuild
Changed in kadu (Ubuntu Jaunty):
status: New → In Progress
Artur Rona (ari-tczew)
tags: added: motu-sru-verification
Changed in kadu (Ubuntu Jaunty):
status: In Progress → Confirmed
Revision history for this message
Julien Lavergne (gilir) wrote :

Unsubscribed ubuntu-universe-sponsors for now, please re-subscribed it when you have ack from MOTU-SRU.

Artur Rona (ari-tczew)
tags: added: patch
description: updated
Artur Rona (ari-tczew)
description: updated
Artur Rona (ari-tczew)
description: updated
Revision history for this message
StefanPotyra (sistpoty) wrote :

(unsibscribing motu-release, karmic is fixed already :))

Revision history for this message
StefanPotyra (sistpoty) wrote :

(ah, crack, I can't find the knob to unsubscribe motu-release :()

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Some comments about the uploaded debidff (comment #36):
- s/0.6.5.1-6ubuntu1/0.6.5.1-6ubuntu0.1/
- s/jaunty/jaunty-proposed/
- please set the maintainer to MOTU

Revision history for this message
Artur Rona (ari-tczew) wrote :

Already maintainer is MOTU:

Maintainer: Ubuntu MOTU Developers <email address hidden>
XSBC-Original-Maintainer: Patryk Cisek <email address hidden>

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

There is still something wrong... The version should be 0.6.5.1-5ubuntu0.1 because the Debian revision number is 5, sorry for the mistake.

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK. Debdiff uploaded changing the version to 0.6.5.1-5ubuntu0.1.

Revision history for this message
Artur Rona (ari-tczew) wrote :
Revision history for this message
James Westby (james-w) wrote :

Accepted in to jaunty-proposed, please test and give feedback
here.

Thanks,

James

Changed in kadu (Ubuntu Jaunty):
status: Confirmed → Fix Committed
Revision history for this message
Artur Rona (ari-tczew) wrote :

I've just tested kadu from jaunty-proposed. It works!

description: updated
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kadu - 0.6.5.1-5ubuntu0.1

---------------
kadu (0.6.5.1-5ubuntu0.1) jaunty-proposed; urgency=low

  * Rebuild with Qt 4.5 (LP: #339661).
  * debian/patches/05-weather_translation_fix.patch:
    - Add patch to fix FTBFS.

 -- Artur Rona <email address hidden> Fri, 11 Sep 2009 18:34:04 +0200

Changed in kadu (Ubuntu Jaunty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.