Bug 26737 - PlayOnLinux : cannot find wine
Summary: PlayOnLinux : cannot find wine
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-06 18:58 CEST by Arnaud Vacquier
Modified: 2021-07-25 00:56 CEST (History)
5 users (show)

See Also:
Source RPM: playonlinux-4.3.4-2.mga7.src.rpm
CVE:
Status comment:


Attachments
screenshot error message (724.17 KB, image/png)
2020-06-06 18:58 CEST, Arnaud Vacquier
Details
32bits update only (171.33 KB, image/png)
2020-06-07 23:06 CEST, Arnaud Vacquier
Details

Description Arnaud Vacquier 2020-06-06 18:58:51 CEST
Created attachment 11682 [details]
screenshot error message

hi,

Description of problem:

Error message of playonlinux who cannot find wine

Version-Release number of selected component (if applicable):
Mageia 7.1 x86_64
PlayonLinux 4.3.4 2mga7
Wine64.4.0.3 1mga7

How reproducible:
urpmi playonlinux

Start playonlinux after installation

Konsole :

$ playonlinux %F
Looking for python... 2.7.17 - wxversion(s): 3.0-gtk2
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
selected
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
1
Gtk-Message: 20:46:37.064: Failed to load module "canberra-gtk-module"
[main] Message: PlayOnLinux (4.3.4) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Message: 64bits direct rendering is enabled
[Check_OpenGL] Message: 64bits direct rendering is enabled
[POL_System_CheckFS] Message: Checking filesystem for /home/arnaud/.PlayOnLinux/
[main] Message: Filesystem is compatible
which: no wine in (/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib64/qt5/bin:/home/arnaud/.local/bin:/home/arnaud/bin)
[arnaud@localhost ~]$ 


Wine is installed and playonlinux launch correctly

thank
Comment 1 Lewis Smith 2020-06-07 21:42:38 CEST
I am unsure about this one:
> Error message of playonlinux who cannot find wine
> which: no wine in (/usr/local/bin:/usr/bin:/bin: etc
Are you saying that with Wine[64] installed, playonlinux cannot find it? Certainly an error.
Or
> Wine is installed and playonlinux launch correctly
which suggests that when Wine is installed, playonlinux works (finds it).
Please clarify the complaint.

 $ urpmq --requires playonlinux | grep wine
 wine64
 $ urpmq --whatrequires wine64 | grep play
 playonlinux
show that wine64 is required by playonlinux, so should be installed with it if necessary.

The error message specifically says 'wine', but all references now are to 'wine64'
$ urpmq -l wine64 | grep /bin/ | grep wine | sort -u
/usr/bin/wine64
/usr/bin/wine64-preloader
/usr/bin/wineboot
/usr/bin/winecfg
/usr/bin/wineconsole
/usr/bin/winefile
/usr/bin/winemine
/usr/bin/winepath
/usr/bin/wineserver
 shows all the 'wine*' programs installed by the wine64 package, which does not include simple 'wine' itself.
It looks as if playonlinux is looking for a 'wine' binary which it does not find because it is now called 'wine64'.
Await your confirmation of the bug.

Source RPM: (none) => playonlinux-4.3.4-2.mga7.src.rpm
CC: (none) => lewyssmith

Comment 2 Frank Griffin 2020-06-07 21:54:33 CEST
Actually, I think "wine" is part of wine32, which I think you need as well as wine64.

CC: (none) => ftg

Comment 3 Arnaud Vacquier 2020-06-07 22:43:58 CEST
hi,

Commande :

[arnaud@localhost ~]$ urpmq --requires playonlinux | grep wine
--requires behaviour changed, use --requires-recursive to get the old behaviour
wine64
[arnaud@localhost ~]$ urpmq --whatrequires wine64 | grep play
playonlinux
[arnaud@localhost ~]$ 


---

[arnaud@localhost ~]$ urpmq -l wine64 | grep /bin/ | grep wine | sort -u
    $MIRRORLIST: media/core/release/media_info/20190627-235351-files.xml.lzma
                                                                                 $MIRRORLIST: media/core/updates/media_info/20200529-210538-files.xml.lzma
                                                                             /usr/bin/wine64
/usr/bin/wine64-preloader
/usr/bin/wineboot
/usr/bin/winecfg
/usr/bin/wineconsole
/usr/bin/winefile
/usr/bin/winemine
/usr/bin/winepath
/usr/bin/wineserver
Comment 4 Dave Hodgins 2020-06-07 23:01:06 CEST
I haven't checked, but it may be looking for /usr/bin/wine which is only present
in the wine32 package. And that package is only available if the 32bit repos
have been enabled.

They are disabled by default, due to problems the 32 bit packages may cause
with other packages, but can be enabled when needed using rpmdrake by selecting
Options, Media Manager, and selecting the core 32bit release and updates repos.

CC: (none) => davidwhodgins

Comment 5 Arnaud Vacquier 2020-06-07 23:06:49 CEST
Created attachment 11683 [details]
32bits update only

Yes, i just lost my wifi, i haven't the time to say there is only update 32bits activate and not core.
Comment 6 Dave Hodgins 2020-06-07 23:18:36 CEST
wine has not been updated since Mageia 7 was released, so wine32 is only
in the release repo, not the updates repo.

For each updates repo that has been enabled, the corresponding release repo
should normally be enabled too. That's not done automatically as there are
times when that is not wanted.

It may be that playonlinux only needs wine32 if the game being played is
a 32 bit game, so it may not always be needed.
Comment 7 Lewis Smith 2020-06-08 21:05:09 CEST
Thanks to Frank & Dave for their enlightenment. Looks a madhouse.

@Arnaud
As per the other bug 26740, it seems you need to enable as Dave suggests 32-bit Core Release & Updates repos; before installing playonlinux...

I am unsure whether then installing 64-bit playonlinux will pull in wine32; maybe it should; which = a bug. Equally, is its requirement for wine64 correct?

And where does wine64 stand in this? Is it needed at all if Wine32 is installed?
> I think "wine" is part of wine32, which I think you need as well as wine64
Assigning this to akien whose territory this all is.

Assignee: bugsquad => rverschelde

Comment 8 Florian Hubold 2020-08-25 17:01:45 CEST
It's actually pretty easy to explain. Requires in playonlinux are:

%ifarch x86_64 aarch64
Requires:       wine64
%else
Requires:       wine-full
%endif

which seems wrong to me. In 99% of all cases people want wine32, no matter if they're using it on an x86_64 or i586 system. But the requires will force wine64 on x86_64 systems, which is not what regular wine users need, and probably why playonlinux fails. It even makes it impossible for someone with a working wine install to install playonlinux (just tested this on mga7).


As playonlinux has already been obsoleted on cauldron, not sure if this is worth fixing.

I'd simply replace those conditional requires by a Require on wine.

CC: (none) => doktor5000

Comment 9 Lewis Smith 2020-08-25 20:13:40 CEST
Thanks for your helpful comment.
Since this a Mageia 7 bug, and that has some life, and this looks easy to fix, I think it should be. Not sure about 'easy' with the 32-bit repos problem (need to be enabled).
Comment 10 Aurelien Oudelet 2021-07-06 13:15:14 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 11 Rémi Verschelde 2021-07-23 23:42:26 CEST
PlayOnLinux was removed in Mageia 8, so this can be closed.

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

Comment 12 Morgan Leijström 2021-07-25 00:56:39 CEST
More info and alternative see
https://wiki.mageia.org/en/Mageia_8_Release_Notes#With_removal_on_upgrade

Work was started to bring PlayOnLinux back:
Bug 28717 - Reintroduce: PlayonLinux works on Mageia 8

CC: (none) => fri
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28717


Note You need to log in before you can comment on or make changes to this bug.