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 wine-devel-7.9,1 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: libopenal.so.1 libgcc_s.so.1 libXext.so.6 libX11.so.6 Shared Libs provided: libwine.so.1 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 machdep.max_ldt_segment="2048" 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:/ % ----------------------------------------------------------
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
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? thanks.
(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.
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 FreeBSD:13:i386 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.
Damjan, this should be easy to address (unless I'm missing something)?
Actually, i had send in a patch for that in https://cgit.freebsd.org/ports/commit/?id=d1eb332c0e149647703cf17d61fd0af16cc4d379 and got now changed by back by accident in https://cgit.freebsd.org/ports/commit/?id=3f914243d8179e0d1606c7d00ee2eb3498d0bb62
This error still in wine-devel-7.22_1,1wine-devel-7.22_1,1 ---------------------------------------------- [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 FreeBSD:13:i386 to the relevant output directories. See pkg.conf(5) for more info. ----------------------------------------------------------- it should be /usr/local/share/wine/pkg32.sh install wine-devel mesa-dri not /usr/local/share/wine/pkg32.sh install wine mesa-dri
Yikes, my bad. This should be addressed by commit 16d8a4b821d2db0134901589e22740290cc40020 Author: Alexander Vereeken <Alexander88207@protonmail.com> Date: Tue Aug 15 21:57:36 2023 +0000 emulators/wine-devel: Fix 32-bit pkg invocation for WoW64 This addresses a regression introduced with commit 3f914243d8179e0d on 2022-03-12 which was a forward port from emulators/wine and not sufficiently adjusted to this port). Do not bump PORTREVISION since 32-bit builds are broken right now. PR: 273137 which I committed some two hours ago.