Bug 26638

Summary: Running a locally built viber rpm fails with a message about an incompatible Qt library
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: lovaren, mageia
Version: 7   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: libqt CVE:
Status comment:
Attachments: Proposal spec file
viber.sh
Desktop file for Viber

Description Kristoffer Grundström 2020-05-18 05:44:16 CEST
Description of problem: I went to pkgs.org/download/viber and downloaded the src.rpm for PCLinuxOS and I changed its spec to build the latest version of Viber. Everything went just fine and dandy until I run viber in MATE.

When I execute Viber from the Program menu nothing happens and no error.

However when I run viber from a terminal window I get this error:

Cannot mix incompatible Qt library (version 0x50c06) with this library (version 0x50c05)
/usr/bin/viber: row 4:  6429 Aborted (SIGABRT)      (memory print created) /opt/viber/Viber %u

Version-Release number of selected component (if applicable): 12.0.0.7

How reproducible: All the time.

Steps to Reproduce:
1. Install the rpm.
2. Run viber from the Program menu.
3. Nothing happens.
Comment 1 Kristoffer Grundström 2020-05-18 05:45:07 CEST
Created attachment 11648 [details]
Proposal spec file

CC: (none) => hamnisdude

Comment 2 Kristoffer Grundström 2020-05-18 05:45:36 CEST
Created attachment 11649 [details]
viber.sh
Comment 3 Kristoffer Grundström 2020-05-18 05:46:08 CEST
Created attachment 11650 [details]
Desktop file for Viber
Comment 4 Kristoffer Grundström 2020-05-18 05:46:45 CEST
The rpm for Viber can be downloaded from here: https://download.cdn.viber.com/desktop/Linux/viber.rpm
Comment 5 Nicolas Lécureuil 2020-05-18 08:57:55 CEST
i don't think we will add viber on our repos.

Better propose the patch for the rpm packager directly.

and as this is proprrietary software we won't downgrade QT for this.

CC: (none) => mageia
Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 6 Kristoffer Grundström 2020-05-18 09:21:15 CEST
(In reply to Nicolas Lécureuil from comment #5)
> i don't think we will add viber on our repos.
> 
> Better propose the patch for the rpm packager directly.
> 
> and as this is proprrietary software we won't downgrade QT for this.

I didn't say that we would include it in the official repos.

I mentioned a problem during the production of a working rpm when using the PCLinuxOS spec file.