Bug 265073 - emulators/wine-devel: wrong output message
Summary: emulators/wine-devel: wrong output message
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2022-07-07 10:10 UTC by ykla
Modified: 2022-07-17 19:18 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (damjan.jov)


Note You need to log in before you can comment on or make changes to this bug.
Description ykla 2022-07-07 10:10:47 UTC
I only install wine-devel via ports. But it can't run.

test@ykla:/ % wine
wine [wine-6.0.4] and wine64 [wine-7.9] versions do not match!

Try updating 32-bit wine with
        /usr/local/share/wine/pkg32.sh upgrade
test@ykla:/ % 

test@ykla:/ % pkg info wine-devel
Name           : wine-devel
Version        : 7.9,1
Installed on   : Thu Jul  7 17:40:27 2022 CST
Origin         : emulators/wine-devel
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : emulators
Licenses       : LGPL3 or LGPL21
Maintainer     : damjan.jov@gmail.com
WWW            : https://www.winehq.org
Comment        : Microsoft Windows compatibility environment
Options        :
        ALSA           : off
        CUPS           : off
        DOCS           : on
        DOSBOX         : off
        GECKO          : off
        GNUTLS         : on
        LDAP           : off
        MONO           : off
        OPENAL         : on
        OSS            : on
        STAGING        : off
        V4L            : off
        WINEMAKER      : off
        X11            : on
Shared Libs required:
Shared Libs provided:
Annotations    :
        FreeBSD_version: 1301000
        cpe            : cpe:2.3:a:winehq:wine:7.9:::::freebsd13:x64
Flat size      : 275MiB
Description    :
Wine is a Microsoft Windows compatibility layer (or program loader)
capable of running Windows applications on i386 and compatible CPUs.
Windows programs running in Wine act as native programs would, running
without the performance or memory usage penalties of an emulator, with
a similar look and feel to other applications on your desktop.

Many applications already work, more or less, including versions of
Microsoft Office and many games.

If you receive a message of "Did you reconfigure your kernel with
"options USER_LDT"?" add the line
to /boot/loader.conf and reboot.

WWW: https://www.winehq.org

Gerald Pfeifer <gerald@FreeBSD.org>

test@ykla:/ % 


I just run /usr/local/share/wine/pkg32.sh upgrade but none should be updated:

test@ykla:/ % /usr/local/share/wine/pkg32.sh upgrade
pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/test/.i386-wine-pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
test@ykla:/ % 
Comment 1 Sascha Folie 2022-07-07 11:19:50 UTC
Looks like you have "wine" installed in your .i386-wine-pkg folder and wine-devel in your local system.

Uninstall wine and install wine-devel via /usr/local/share/wine/pkg32.sh.

Or just remove .i386-wine-pkg in your home directory and run:

/usr/local/share/wine/pkg32.sh install wine-devel mesa-dri
Comment 2 ykla 2022-07-07 16:40:11 UTC
OK. it seems that my zfs snapshot went wrong. But run /usr/local/share/wine/pkg32.sh install wine-devel mesa-dri it will install wine-devel 7.8 not 7.9 that also not match. So how to install it by ports or I should wait for i386 pkg build?

Comment 3 Sascha Folie 2022-07-07 17:39:28 UTC
(In reply to ykla from comment #2)

Just wait a bit till the i386 repo catches up.
Crossbuilding around 200 ports isn't worth it in that case.
Comment 4 ykla 2022-07-17 18:57:45 UTC
OK, not my wrong, Wrong Configuration message in emulators/wine-devel. After install emulators/wine-devel it show us:

root@ykla:/home/ykla # wine
/root/.i386-wine-pkg//usr/local/bin/wine doesn't exist!

Try installing 32-bit Wine with
        /usr/local/share/wine/pkg32.sh install wine mesa-dri

If using Poudriere, please make sure your repo is setup to use FreeBSD:13:i386
and create symlinks for
  FreeBSD:13:amd64 and
to the relevant output directories. See pkg.conf(5) for more info.

and it will install wine 6 i386 not wine-devel 7 i386.

ykla@ykla:~ % wine
wine [wine-6.0.4] and wine64 [wine-7.12] versions do not match!

Try updating 32-bit wine with
        /usr/local/share/wine/pkg32.sh upgrade


In fact, we need run /usr/local/share/wine/pkg32.sh install wine-devel mesa-dri not /usr/local/share/wine/pkg32.sh install wine mesa-dri as Sascha Folie said.

ykla@ykla:~ % wine
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit
ykla@ykla:~ % 

looks like it's OK.

Hope someone will change the wrong message in emulators/wine-devel.