Bug 21567

Summary: Installing 32bit q4wine fails to install its dependencies.
Product: Mageia Reporter: Hoyt Duff <hoytduff>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fri, hoyt, marja11, nikos769
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: q4wine-1.3.5-1.mga6.src.rpm CVE:
Status comment:

Description Hoyt Duff 2017-08-19 02:32:52 CEST
1. $ sudo urpmi q4wine

2. $ q4wine
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(q4wine:15652): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(q4wine:15652): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
[ii] Loading translation:  "q4wine_en_US"
[EE] Critical error : Unable to load SQLite database driver. You need to compile qt-sql with SQLite database support
[EE] No database loaded. Aborting...[EE] Cannot initialize database engine.
Comment 1 Marja Van Waes 2017-08-19 07:46:44 CEST
Hi Hoyt,

Thanks for the report. Installing which package(s) solved the problem for you?

CC: (none) => marja11
Assignee: bugsquad => rverschelde

Comment 2 Rémi Verschelde 2017-08-19 12:23:40 CEST
I assume lib64qt5-database-plugin-sqlite, but I can't reproduce the issue:

$ urpmq --requires q4wine | grep sqlite
qt5-database-plugin-sqlite

Can you give the output of `rpm -qa | grep sqlite`?
Comment 3 Hoyt Duff 2017-08-19 18:14:46 CEST
My system:

$ uname -a
Linux titan.maximumhoyt.con 4.9.40-desktop-1.mga6 #1 SMP Fri Jul 28 00:49:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I did some more experimenting.

I had installed the 32-bit versions of wine, wine-gecko, wine-mono,
wine32 and q4wine, when I experienced the bug I reported.

I removed 32-bit q4wine and installed the 64-bit version.

$ sudo urpme q4wine

$ sudo urpmi q4wine

"The following 3 packages are going to be installed:

- lib64qt5-database-plugin-sqlite-5.6.2-11.mga6.x86_64
- libqt5sql5-5.6.2-11.mga6.i586
- q4wine-1.3.5-1.mga6.i586

7.1MB of additional disk space will be used.

3.2MB of packages will be retrieved.

Is it ok to continue?"

I answered "yes" and q4wine performs as expected.

However, when I then remove 64-bit q4wine and re-install 32-bit wine using rpmdrake, and launch the program, I get:

$ q4wine
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(q4wine:26319): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(q4wine:26319): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
[ii] Loading translation:  "q4wine_en_US"
[EE] Critical error : Unable to load SQLite database driver. You need to compile qt-sql with SQLite database support
[EE] No database loaded. Aborting...[EE] Cannot initialize database engine.

It is the same message as before. The issue appears to be that urpmi is not installing the 32-bit dependencies for the 32-bit q4wine. Is this by design? I have not had much experience with 32-bit apps on a 64-bit system. I have assumed that 32- and 64-bit libs can exist on the same machine.

For your request:
$ rpm -qa | grep sqlite
lib64qt5-database-plugin-sqlite-5.6.2-11.mga6
lib64sqlite3_0-3.17.0-2.1.mga6
libsqlite3_0-3.17.0-2.1.mga6
python-sqlite2-2.6.3-8.mga6
Comment 4 nikos papadopoulos 2018-05-05 02:30:40 CEST
I can confirm the following missing dependency:
   libqt5-database-plugin-sqlite


In my 
   Mageia 6, 64bit,
I have installed 
   wine 32bit

I installed
   q4wine 32bit

When tried to run q4wine the console said
   [EE] Critical error : Unable to load SQLite database driver. You need to compile qt-sql with SQLite database support
   [EE] No database loaded. Aborting...[EE] Cannot initialize database engine.

Then I manually installed
   libqt5-database-plugin-sqlite 32bit

Now q4wine starts.

CC: (none) => nikos769

Comment 5 Morgan Leijström 2020-01-16 18:22:40 CET
Please check if this is still valid for mga7

Summary: Installing q4wine fails to install its dependencies. => Installing 32bit q4wine fails to install its dependencies.
CC: (none) => fri

Comment 6 Hoyt Duff 2020-01-16 21:13:34 CET
Here's the install dialog for Mageia7 x86_64:
$ sudo urpmi q4wine
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  icoutils                       0.32.3       2.mga7        x86_64  
  lib64babl0.1_0                 0.1.62       1.mga7        x86_64  (recommended)
  lib64gegl0.4_0                 0.4.16       1.mga7        x86_64  (recommended)
  lib64gimp2.0_0                 2.10.10      1.mga7        x86_64  (recommended)
  lib64raw19                     0.19.2       1.mga7        x86_64  (recommended)
  lib64spirv-tools0              2019.2       1.26c1b88.mg> x86_64  
  lib64unixODBC2                 2.3.7        2.mga7        x86_64  
  lib64vkd3d1                    1.1          2.mga7        x86_64  
  q4wine                         1.3.11       2.mga7        x86_64  
  sane-frontends                 1.0.14       23.mga7       x86_64  (recommended)
  wine-gecko                     2.47         1.mga6        noarch  (recommended)
  wine-mono                      4.7.5        1.mga7        noarch  (recommended)
  wine64                         4.0.1        1.mga7        x86_64  
  wine64-gecko                   2.47         1.mga6        noarch  (recommended)
(medium "Core Updates (distrib3)")
  lib64osmesa8                   19.3.2       1.mga7        x86_64  
(medium "Core 32bit Release (distrib31)")
  libgstreamer-plugins-base1.0_0 1.16.0       2.mga7        i586    (recommended)
  libgstreamer1.0_0              1.16.0       2.mga7        i586    (recommended)
  liblcms2_2                     2.9          3.mga7        i586    (recommended)
  libnl-genl3_200                3.4.0        3.mga7        i586    (recommended)
  libnl3_200                     3.4.0        3.mga7        i586    (recommended)
  libopenal1                     1.19.1       2.mga7        i586    (recommended)
  libopencl1                     2.2.12       2.mga7        i586    (recommended)
  liborc0.4_0                    0.4.29       1.mga7        i586    (recommended)
  libsndio7.0                    1.5.0        1.mga7        i586    (recommended)
  libspirv-tools0                2019.2       1.26c1b88.mg> i586    (recommended)
  libunwind8                     1.2          2.mga7        i586    (recommended)
  libvkd3d1                      1.1          2.mga7        i586    (recommended)
  wine32                         4.0.1        1.mga7        i586    (recommended)
(medium "Core 32bit Updates (distrib32)")
  libmpg123_0                    1.25.12      1.mga7        i586    (recommended)
  libpcap1                       1.9.1        1.mga7        i586    (recommended)
619MB of additional disk space will be used.
216MB of packages will be retrieved.


It no longer mentions "canberra-gtk-module", "gail", or "atk-bridge" and runs without issue, so no longer valid. Thanks!

CC: (none) => hoyt

Comment 7 Hoyt Duff 2020-01-16 21:23:28 CET
The "canberra-gtk-module" seems to be installed by default on my system as many things depend on it, "gail" is a GNOME accessibility software for GNOME and "atk-bridge" bridges ATK to the new D-Bus based at-spi, neither of which are installed on my system as I use LXDE.
Comment 8 Hoyt Duff 2020-01-16 21:34:27 CET
I have discovered that q4wine fails to install as one of its needed dependencies, icoutils. This contains icon extraction utilities used by q4wine.

Re-submit as a new bug or leave this one open?
Comment 9 Morgan Leijström 2020-01-16 22:14:09 CET
icoutils is in core release.
Also it is listed in #6 top of list.
Mirror problem?
Comment 10 Hoyt Duff 2020-01-17 03:39:10 CET
Icoutils is not installed automatically as a dependency of q4wine. It should be.
Comment 11 Morgan Leijström 2020-01-17 08:14:07 CET
Very strange, to me it seem it do:

$ urpmq --whatrequires icoutils
icoutils
kdebase4-runtime
kdebase4-runtime
libguestfs-inspect-icons
libguestfs-inspect-icons
playonlinux
playonlinux
q4wine
q4wine(In reply to Hoyt Duff from comment #6)

Also your install log in comment 6 do install icoutils:

> Here's the install dialog for Mageia7 x86_64:
> $ sudo urpmi q4wine
> To satisfy dependencies, the following packages are going to be installed:
>   Package                        Version      Release       Arch    
> (medium "Core Release (distrib1)")
>   icoutils                       0.32.3       2.mga7        x86_64  
...etc, etc..

didn't that work?
Comment 12 Morgan Leijström 2020-01-17 08:19:58 CET
$ urpmq --requires-recursive q4wine | grep wine
q4wine
wine-gecko
wine-mono
wine32
wine64
wine64-gecko
Comment 13 Morgan Leijström 2020-01-17 08:49:48 CET
forget #12, I am not awaken yet...
Comment 14 Hoyt Duff 2020-01-17 19:27:12 CET
> didn't that work?

During the initial automatic setup of q4wine, I was surprised that wrestool and icotool were not present, so I had to then install icoutils manually.

Why did that happen? I don't know and it would be impossible to duplicate the issue, so it's probably a good strategy to pass on this as a bug unless someone else reports it. Would you agree?
Comment 15 Morgan Leijström 2020-01-17 19:45:10 CET
The package deps seem OK and worked for men and you in #6.

No idea why it failed for you. Glitch in urpmi, or... but if so that would need another bug.

So closing this one.

Resolution: (none) => FIXED
Status: NEW => RESOLVED