environment: FreeBSD 13.2 amd64 with quarterly 2023Q4 packages The last pkg upgrade upgraded wine from version 7 to version 8 which cannot run 32-bit applications as was used before upgrade There is a version mismatch and there is no i386 for Wine 8. % wine wine [wine-7.0.2] and wine64 [wine-8.0.2] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade % /usr/local/share/wine/pkg32.sh upgrade pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/user/.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. I also tried to rename ~/.i386-wine-pkg folder and create new one: % /usr/local/share/wine/pkg32.sh install wine mesa-dri pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/user/.i386-wine-pkg install wine mesa-dri Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'wine' have been found in the repositories There is no info in pkg-message nor UPDATING about changes in Wine 8 but these changes are not compatible. I downgraded to emulators/wine7 but I would like to have this fixed / documented.
% wine wine [wine-7.0] and wine64 [wine-8.0.2] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT #1 main-n265830-fee14577d590-dirty: Mon Oct 9 13:08:19 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500001 1500001 %
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=60fb9990491a9323038da65c26c1ceb29dd76879 commit 60fb9990491a9323038da65c26c1ceb29dd76879 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2023-10-29 21:24:43 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2023-10-29 21:31:51 +0000 emulators/wine: Remove BROKEN marker for i386 It appears the original reason to mark version 8.0.2 as BROKEN on i386 when we upgraded from version 7.0.2 was a false positive. The respective code got into upstream after the branch point. PR: 274566 emulators/wine/Makefile | 1 - 1 file changed, 1 deletion(-)
You're right, this should have gone into pkg-message, maybe even UPDATING. I was going to prepare a patch to revert the guilty upstream commit (at least for i386) and noticed that the 8.0 release series tightly avoided that issue, so removed the BROKEN marker. (Wine 7 aka emulators/wine7 still may be better for 32-bit applications on amd64. Let's see what users report. If that's the case, definitely a case for pkg-message.) wine-devel and Wine 9.0.x will hopefully (soon) use the new, native to Wine, way of handling 32-bit applications on 64-bit platforms.
Are you good now, Miroslav? Does it work for you now?
(In reply to Gerald Pfeifer from comment #4) No, it does not work. I upgraded from wine7 to wine, then I tried to run irfanview % irfanview wine [wine-7.0.2] and wine64 [wine-8.0.2] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade So I tried wine/pkg32.sh upgrade % /usr/local/share/wine/pkg32.sh upgrade pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/user/.i386-wine-pkg upgrade Updating FreeBSD repository catalogue... Fetching packagesite.pkg: 100% 6 MiB 6.6MB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 33129 packages processed. All repositories are up to date. Checking for upgrades (2 candidates): 100% Processing candidates (2 candidates): 100% The following 2 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: glib: 2.78.0,2 -> 2.78.1,2 [FreeBSD] xorgproto: 2022.1_1 -> 2023.2 [FreeBSD] Number of packages to be upgraded: 2 4 MiB to be downloaded. Proceed with this action? [y/N]: y [1/2] Fetching glib-2.78.1,2.pkg: 100% 3 MiB 3.5MB/s 00:01 [2/2] Fetching xorgproto-2023.2.pkg: 100% 222 KiB 227.0kB/s 00:01 Checking integrity... done (0 conflicting) [1/2] Upgrading glib from 2.78.0,2 to 2.78.1,2... [1/2] Extracting glib-2.78.1,2: 100% [2/2] Upgrading xorgproto from 2022.1_1 to 2023.2... [2/2] Extracting xorgproto-2023.2: 100% But the error is the same % irfanview wine [wine-7.0.2] and wine64 [wine-8.0.2] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade % pkg info -E wine\* wine-8.0.2,1 wine-gecko-2.47.2 wine-mono-7.4.0 winetricks-20230212 % /usr/local/share/wine/pkg32.sh upgrade pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/user/.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.
I also tired cealn install but hte error is the same - no wine package for i386 % /usr/local/share/wine/pkg32.sh install wine mesa-dri pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/user/.i386-wine-pkg install wine mesa-dri Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'wine' have been found in the repositories
I believe this is then due to the builders/distribution network for packages not having caught up yet after my latest change from comment #2. Hmm...
(In reply to Gerald Pfeifer from comment #7) I am using quarterly packages from official FreeBSD repository. Are these packages ever rebuild if there is no version or revision number change? Your change is more than 2 weeks old.
(In reply to Miroslav Lachman from comment #8) > I am using quarterly packages from official FreeBSD repository. Are > these packages ever rebuild if there is no version or revision number > change? Sorry for the late response. I did not have an answer to the question whether packages "losing" their BROKEN marker were automatically rebuilt on a quarterly branch. However, I did not actually backport that change nor did, from what I saw, anyone else, so in that case it definitely did not happen. (It's simply a question of time available, or rather lack thereof. Plus changes actually made it harder for me to backport to quarterly branches.)
Why this bug has been closed,as it seems that it hasn't been fixed ? [marietto@marietto ~/Downloads]==> wine kodi-21.0-Omega-x64.exe wine [wine-9.0] and wine64 [wine-8.0.2] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade [marietto@marietto ~/Downloads]==> uname -aKU FreeBSD marietto 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:26:20 UTC 2024 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400097 1400097
The situation is even worse : [marietto@marietto ~/Downloads]==> sudo pkg install wine-devel-9.8_1,1 Password: Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: wine-devel: 9.8_1,1 Number of packages to be installed: 1 The process will require 312 MiB more space. 36 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching wine-devel-9.8_1,1.pkg: 100% 36 MiB 3.8MB/s 00:10 Checking integrity... done (1 conflicting) - wine-devel-9.8_1,1 conflicts with wine8-8.0.2_2 on /usr/local/bin/ function_grep.pl Checking integrity... done (0 conflicting) Conflicts with the existing packages have been found. One more solver iteration is needed to resolve them. The following 4 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: mizuma: 2024.04 wine8: 8.0.2_2 New packages to be INSTALLED: wine-devel: 9.8_1,1 Installed packages to be REINSTALLED: pkg-1.21.3 Number of packages to be removed: 2 Number of packages to be installed: 1 Number of packages to be reinstalled: 1 The process will require 22 MiB more space. Proceed with this action? [y/N]: y [1/4] Deinstalling mizuma-2024.04... [1/4] Deleting files for mizuma-2024.04: 100% [2/4] Deinstalling wine8-8.0.2_2... [2/4] Deleting files for wine8-8.0.2_2: 100% [3/4] Reinstalling pkg-1.21.3... [3/4] Extracting pkg-1.21.3: 100% [4/4] Installing wine-devel-9.8_1,1... [4/4] Extracting wine-devel-9.8_1,1: 100% ==> Running trigger: desktop-file-utils.ucl Building cache database of MIME types ===== Message from wine-devel-9.8_1,1: -- Some ZFS tuning guides recommend setting KVA_PAGES=512 in your kernel configuration. This is incompatible with Wine. The maximum possible is KVA_PAGES=500, which should still be enough for ZFS. The port also installs some of Wine's documentation which describes additional programs that are not in the manual pages under /usr/local/share/doc/wine -- ===> NOTICE: The wine-devel port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing [marietto@marietto ~/Downloads]==> wine wine [wine-9.0] and wine64 [wine-9.8] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade
[marietto@marietto ~/Downloads]==> /usr/local/share/wine/pkg32.sh upgrade pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/marietto/.i386-wine-pkg upgrade Updating FreeBSD repository catalogue... Fetching data.pkg: 100% 7 MiB 2.3MB/s 00:03 Processing entries: 100% FreeBSD repository update completed. 33197 packages processed. All repositories are up to date. Checking for upgrades (23 candidates): 100% Processing candidates (23 candidates): 100% The following 24 package(s) will be affected (of 0 checked): New packages to be INSTALLED: lerc: 4.0.0 Installed packages to be UPGRADED: desktop-file-utils: 0.26_2 -> 0.27 glib: 2.80.0,2 -> 2.80.2,2 jbigkit: 2.1_2 -> 2.1_3 jpeg-turbo: 3.0.2 -> 3.0.3 lcms2: 2.16_1 -> 2.16_2 libGLU: 9.0.2_2 -> 9.0.3 libX11: 1.8.7_1,1 -> 1.8.9,1 libedit: 3.1.20230828_1,1 -> 3.1.20240517,1 libffi: 3.4.4_1 -> 3.4.6 libxcb: 1.16.1 -> 1.17.0 libxkbcommon: 1.6.0_2 -> 1.7.0_1 libxml2: 2.11.7 -> 2.11.8 mesa-dri: 24.0.4_1 -> 24.0.8 mesa-libs: 24.0.4 -> 24.0.8 pciids: 20240331 -> 20240420 py39-packaging: 23.2 -> 24.0 python39: 3.9.18_2 -> 3.9.19 sdl2: 2.30.2_1 -> 2.30.3 tiff: 4.4.0_3 -> 4.6.0 vulkan-headers: 1.3.281 -> 1.3.285 vulkan-loader: 1.3.281 -> 1.3.285 wine: 9.0,1 -> 9.0_2,1 xorgproto: 2023.2 -> 2024.1 Number of packages to be installed: 1 Number of packages to be upgraded: 23 The process will require 6 MiB more space. 84 MiB to be downloaded. Proceed with this action? [y/N]: y [1/24] Fetching vulkan-loader-1.3.285.pkg: 100% 133 KiB 136.7kB/s 00:01 [2/24] Fetching libxcb-1.17.0.pkg: 100% 1 MiB 1.1MB/s 00:01 [3/24] Fetching jpeg-turbo-3.0.3.pkg: 100% 506 KiB 518.6kB/s 00:01 [4/24] Fetching libedit-3.1.20240517,1.pkg: 100% 157 KiB 160.3kB/s 00:01 [5/24] Fetching pciids-20240420.pkg: 100% 268 KiB 274.1kB/s 00:01 [6/24] Fetching desktop-file-utils-0.27.pkg: 100% 49 KiB 50.4kB/s 00:01 [7/24] Fetching lcms2-2.16_2.pkg: 100% 2 MiB 2.3MB/s 00:01 [8/24] Fetching py39-packaging-24.0.pkg: 100% 77 KiB 79.4kB/s 00:01 [9/24] Fetching libxml2-2.11.8.pkg: 100% 848 KiB 868.3kB/s 00:01 [10/24] Fetching python39-3.9.19.pkg: 100% 18 MiB 3.2MB/s 00:06 [11/24] Fetching wine-9.0_2,1.pkg: 100% 36 MiB 3.8MB/s 00:10 [12/24] Fetching vulkan-headers-1.3.285.pkg: 100% 1 MiB 1.3MB/s 00:01 [13/24] Fetching libX11-1.8.9,1.pkg: 100% 2 MiB 1.7MB/s 00:01 [14/24] Fetching glib-2.80.2,2.pkg: 100% 4 MiB 4.2MB/s 00:01 [15/24] Fetching xorgproto-2024.1.pkg: 100% 234 KiB 240.1kB/s 00:01 [16/24] Fetching libxkbcommon-1.7.0_1.pkg: 100% 224 KiB 229.1kB/s 00:01 [17/24] Fetching jbigkit-2.1_3.pkg: 100% 88 KiB 90.2kB/s 00:01 [18/24] Fetching libffi-3.4.6.pkg: 100% 43 KiB 43.7kB/s 00:01 [19/24] Fetching mesa-dri-24.0.8.pkg: 100% 14 MiB 2.9MB/s 00:05 [20/24] Fetching tiff-4.6.0.pkg: 100% 1 MiB 1.1MB/s 00:01 [21/24] Fetching sdl2-2.30.3.pkg: 100% 1 MiB 1.3MB/s 00:01 [22/24] Fetching libGLU-9.0.3.pkg: 100% 208 KiB 213.0kB/s 00:01 [23/24] Fetching mesa-libs-24.0.8.pkg: 100% 293 KiB 300.4kB/s 00:01 [24/24] Fetching lerc-4.0.0.pkg: 100% 194 KiB 198.6kB/s 00:01 Checking integrity... done (0 conflicting) [1/24] Upgrading xorgproto from 2023.2 to 2024.1... [1/24] Extracting xorgproto-2024.1: 100% [2/24] Upgrading libxcb from 1.16.1 to 1.17.0... [2/24] Extracting libxcb-1.17.0: 100% [3/24] Upgrading libffi from 3.4.4_1 to 3.4.6... [3/24] Extracting libffi-3.4.6: 100% [4/24] Upgrading python39 from 3.9.18_2 to 3.9.19... [4/24] Extracting python39-3.9.19: 100% [5/24] Upgrading libX11 from 1.8.7_1,1 to 1.8.9,1... [5/24] Extracting libX11-1.8.9,1: 100% [6/24] Upgrading py39-packaging from 23.2 to 24.0... [6/24] Extracting py39-packaging-24.0: 100% [7/24] Upgrading libxml2 from 2.11.7 to 2.11.8... [7/24] Extracting libxml2-2.11.8: 100% [8/24] Upgrading libedit from 3.1.20230828_1,1 to 3.1.20240517,1... [8/24] Extracting libedit-3.1.20240517,1: 100% [9/24] Upgrading glib from 2.80.0,2 to 2.80.2,2... [9/24] Extracting glib-2.80.2,2: 100% [10/24] Upgrading vulkan-loader from 1.3.281 to 1.3.285... [10/24] Extracting vulkan-loader-1.3.285: 100% [11/24] Upgrading jpeg-turbo from 3.0.2 to 3.0.3... [11/24] Extracting jpeg-turbo-3.0.3: 100% [12/24] Upgrading libxkbcommon from 1.6.0_2 to 1.7.0_1... [12/24] Extracting libxkbcommon-1.7.0_1: 100% [13/24] Upgrading jbigkit from 2.1_2 to 2.1_3... [13/24] Extracting jbigkit-2.1_3: 100% [14/24] Upgrading mesa-libs from 24.0.4 to 24.0.8... [14/24] Extracting mesa-libs-24.0.8: 100% [15/24] Installing lerc-4.0.0... [15/24] Extracting lerc-4.0.0: 100% [16/24] Upgrading desktop-file-utils from 0.26_2 to 0.27... [16/24] Extracting desktop-file-utils-0.27: 100% [17/24] Upgrading tiff from 4.4.0_3 to 4.6.0... [17/24] Extracting tiff-4.6.0: 100% [18/24] Upgrading sdl2 from 2.30.2_1 to 2.30.3... [18/24] Extracting sdl2-2.30.3: 100% [19/24] Upgrading libGLU from 9.0.2_2 to 9.0.3... [19/24] Extracting libGLU-9.0.3: 100% [20/24] Upgrading pciids from 20240331 to 20240420... [20/24] Extracting pciids-20240420: 100% [21/24] Upgrading lcms2 from 2.16_1 to 2.16_2... [21/24] Extracting lcms2-2.16_2: 100% [22/24] Upgrading wine from 9.0,1 to 9.0_2,1... [22/24] Extracting wine-9.0_2,1: 100% [23/24] Upgrading vulkan-headers from 1.3.281 to 1.3.285... [23/24] Extracting vulkan-headers-1.3.285: 100% [24/24] Upgrading mesa-dri from 24.0.4_1 to 24.0.8... [24/24] Extracting mesa-dri-24.0.8: 100% and the bug is still there : [marietto@marietto ~/Downloads]==> wine wine [wine-9.0] and wine64 [wine-9.8] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade
I can confirm that anything newer than Wine 7 does not work for me. I tried to upgrade again the last week but then I was forced to restore wine7 I started with the following packages installed wine-gecko-2.47.2 wine-mono-8.1.0 wine7-7.0.2_2 winetricks-20240105 Created BE for a backup # bectl create b4pupg_20240519_231120 Installed Wine 9 # pkg install wine % wine wine [wine-7.0.2] and wine64 [wine-9.0] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade Exit 1 % /usr/local/share/wine/pkg32.sh upgrade pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/quip/.i386-wine-pkg upgrade 82 packages were upgraded / installed But IrfanView still cannot run % irfanview wine [wine-7.0.2] and wine64 [wine-9.0] versions do not match! Try updating 32-bit wine with /usr/local/share/wine/pkg32.sh upgrade Exit 1 OK, I renamed .i386-wine-pkg % mv ~/.i386-wine-pkg ~/.i386-wine-pkg.BaK.7 % irfanview /usr/home/quip/.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. Exit 1 I installed wine and mesa-dri % /usr/local/share/wine/pkg32.sh install wine mesa-dri pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /usr/home/quip/.i386-wine-pkg install wine mesa-dri 73 packages were installed But when I tried to run Windows apps like IrfanView etc., the start took about a minute and then the app had totally different look and feel. Different colours, fonts... and some of them started crashing on startup with mysterious errors about missing files which were never on disk (compared files in a BE / snapshot) So I deleted Wine 9, restored Wine 7 # pkg add /var/cache/pkg/wine7-7.0.2_2.pkg And moved back the .i386-wine-pkg % mv ~/.i386-wine-pkg ~/.i386-wine-pkg.BaK.9 Then my old windows apps started working again. This was on FreeBSD 13.3-RELEASE-p1 amd64 GENERIC
This situation is even worse for me,because I'm using FreeBSD 14 with the latest packages and I don't have wine 7.
I found it on my old installation of FreeBSD 13.3,but it does not work on FreeBSD 14 : [root@marietto /mnt/zroot-133/var/cache/pkg]==> pkg add wine-7.0.2_2,1.pkg Installing wine-7.0.2_2,1... pkg: wrong architecture: FreeBSD:13:amd64 instead of FreeBSD:14:amd64 Failed to install the following 1 package(s): wine-7.0.2_2,1.pkg