Bug 216488 - emulators/winetricks: not working, fails to open a GUI window
Summary: emulators/winetricks: not working, fails to open a GUI window
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nikolai Lifanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-26 10:30 UTC by John Smith
Modified: 2017-02-13 20:11 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2017-01-26 10:30:32 UTC
Executing winetricks results into just this text showing up in terminal:

------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file
------------------------------------------------------

Instead, there should appear a window with configs.

https://github.com/Winetricks/winetricks/issues/679 seems related and I have zenity-3.18.0. I would upgrade it to a newer version, as suggested in that issue on github, but this is the latest available one in the FreeBSD ports system.
Comment 1 Nikolai Lifanov freebsd_committer freebsd_triage 2017-02-11 18:04:19 UTC
Hi!

The winetricks port requires a wine port installed.
It doesn't depend on any specific port so that all versions of wine are usable.

Per pkg-message, can you try installing either wine, wine-devel, or wine-staging please?
Comment 2 John Smith 2017-02-12 00:08:47 UTC
(In reply to Nikolai Lifanov from comment #1)
pkg info | grep wine
wine-devel-2.1,1               Microsoft Windows compatibility environment
wine-gecko-devel-2.47          Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-devel-4.6.4          Mono .NET implementation for Wine development branch (HTML support)
winetricks-20170207            Easy way to work around problems in Wine

winetricks probably just needs a fresher zenity than it is available in the ports.
Comment 3 John Smith 2017-02-12 00:11:37 UTC
Or winetricks fails to find wine64 binary:

whereis wine64
wine64: /usr/local/bin/wine64
echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
Comment 4 Nikolai Lifanov freebsd_committer freebsd_triage 2017-02-12 16:35:53 UTC
Can you try this with one of the i386-wine ports, like i386-wine-devel?
Comment 5 John Smith 2017-02-12 16:42:56 UTC
(In reply to Nikolai Lifanov from comment #4)
Yeah, it works with i386-wine-devel.
Comment 6 Nikolai Lifanov freebsd_committer freebsd_triage 2017-02-13 14:50:57 UTC
I think this is a documentation bug in this case.
I would like to change pkg-message to add i386- to package names.
Comment 7 John Smith 2017-02-13 16:11:50 UTC
(In reply to Nikolai Lifanov from comment #6)
does it mean that winetricks doesn't work with 64-bit wine?
Comment 8 Nikolai Lifanov freebsd_committer freebsd_triage 2017-02-13 16:18:59 UTC
I don't think FreeBSD wine has WoW64 support, which would be required for many of the scripts provided by winetricks, so for now only 32 bit wine would work.
Comment 9 commit-hook freebsd_committer freebsd_triage 2017-02-13 20:09:18 UTC
A commit references this bug:

Author: lifanov
Date: Mon Feb 13 20:08:23 UTC 2017
New revision: 434049
URL: https://svnweb.freebsd.org/changeset/ports/434049

Log:
  clarify in pkg-message that 32 bit Wine is required

  PR:		216488
  Reported by:	John Smith <godevilove@ya.ru>

Changes:
  head/emulators/winetricks/pkg-message