How upgrade wine properly after system upgrade to 14.0?

I used to run wine-7 on 13.2. Recently I upgraded my system to 14.0. Before that I had removed the wine package. Now after the upgrade to 14.0 I installed wine again (which now is ver. 9) with
pkg install wine. As I had always done in the past after upgrading a wine version I performed a
winecfg, which gives the following output:

Code:
$ winecfg
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

But when I exeute that command I get the following error:

Code:
$ /usr/local/share/wine/pkg32.sh upgrade
pkg -o ABI=FreeBSD:14:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/werner/.i386-wine-pkg upgrade
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01  
Fetching data.pkg: 100%    7 MiB   7.0MB/s    00:01  
Processing entries:   0%
pkg: Newer FreeBSD version for package zydis:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1400097
- running kernel: 0

pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:i386
Processing entries:   0%
Unable to update repository FreeBSD
Error updating repositories!
$

I think this refers to the contents of .i386-wine-pkg in my home directory. So what do I need to do here? Should I just delete the directory .i386-wine-pkg and run
winecfg again as if it was a fresh installation of wine or is there a more elegant way of upgrading the contents?
 
And how do I apply that patch? And by the last comment (#30) in that PR, "I have updated all four affected ports.", can I assume that the issue is fixed in the ports, so it would work if I just compile wine from ports?
 
And by the last comment (#30) in that PR, "I have updated all four affected ports.", can I assume that the issue is fixed in the ports, so it would work if I just compile wine from ports?
It is only fixed in the latest branch, the fixes are not in the quarterly 2024Q2 branch. Which is very unfortunate because that leaves all wine ports in quarterly essentially and partially broken until the 2024Q3 quarterly branch is created. Why the fixes didn't get merged to the quarterly branch I don't know 🤷‍♂️. This means you would either have to switch to the latest package repository to get fixed wine packages or you build the wine port from the quarterly branch with the applied patches yourself.

And how do I apply that patch?
Well it's not only PR 278525 but also PR 278427 which fixes broken WoW64 support in emulators/wine. If you don't want to switch to latest packages I would use emulators/wine8 instead and apply the patch to /usr/local/share/wine8/pkg32.sh manually (quick'n'dirty style) until fixed packages are available in the new quarterly repository. The patch is simple, replace

Code:
exec pkg -o ABI="$ABI" -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
with
Code:
exec pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
.
 
If you don't want to switch to latest packages I would use emulators/wine8 instead
wine8? I remember there was a problem with 32-bit support, this is why back then I had to use wine7:


So is that problem fixed by now?
 
wine8? I remember there was a problem with 32-bit support, this is why back then I had to use wine7:


So is that problem fixed by now?

Yes. emulators/wine8 works quite well for me. Recently I used it for Baldur's Gate 1 (original, not the enhanced version) and Dragon's Dogma (both in a pure 32-bit prefix), and Baldur's Gate 1 Enhanced Edition, Dragon's Dogma (again) and Witcher 3 (all three in a WoW64 prefix).
 
I have uninstalled wine
pkg delete wine
and installed wine8
pkg install wine8

Then I edited /usr/local/share/wine8/pkg32.sh with ee:

Code:
=====line 20 col 80 lines from top 20 ===                         =============
  echo "Don't run this script as root!"
  exit 1                                  
fi

I386_ROOT="${WINE_i386_ROOT:-$HOME/.i386-wine-pkg}"

if [ ! -d "$I386_ROOT/usr/share/keys/pkg" ]
then
  mkdir -p "$I386_ROOT/usr/share/keys"
  ln -s /usr/share/keys/pkg "$I386_ROOT/usr/share/keys/pkg"
fi

ABI=$(pkg config ABI | sed s/amd64/i386/)
# Show what we're going to do, then do it.
#echo pkg -o ABI="$ABI" -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
#exec pkg -o ABI="$ABI" -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
exec pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT
"pkg32.sh" 21 lines, 693 characters
root@amd64ex:/usr/local/share/wine #

After that, as user I ran
/usr/local/share/wine8/pkg32.sh

This is the output. As you can see, it installs wine9 although we have wine8 installed:

Code:
$ winecfg
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
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01   
Fetching data.pkg: 100%    7 MiB   3.5MB/s    00:02   
Processing entries: 100%
FreeBSD repository update completed. 32932 packages processed.
All repositories are up to date.
Checking for upgrades (92 candidates): 100%
Processing candidates (92 candidates): 100%
The following 96 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    alsa-lib: 1.2.10_1
    alsa-plugins: 1.2.7.1_3
    gcc13: 13.2.0_4
    py39-packaging: 23.2

Installed packages to be UPGRADED:
    binutils: 2.40_3,1 -> 2.40_5,1
    brotli: 1.0.9,1 -> 1.1.0,1
    ca_root_nss: 3.89 -> 3.93_2
    desktop-file-utils: 0.26_1 -> 0.26_2
    expat: 2.5.0 -> 2.6.2
    fontconfig: 2.14.2,1 -> 2.15.0_2,1
    freetype2: 2.12.1_2 -> 2.13.2
    gcc10: 10.4.0 -> 10.5.0_1
    gcc12: 12.2.0_5 -> 12.3.0
    gettext-runtime: 0.21.1 -> 0.22.5
    glib: 2.76.1,2 -> 2.80.2,2
    gmp: 6.2.1 -> 6.3.0
    gnutls: 3.7.9 -> 3.8.5_1
    gstreamer1: 1.22.0_1 -> 1.22.10
    gstreamer1-plugins: 1.22.0 -> 1.22.10_1
    iso-codes: 4.7 -> 4.15.0
    jbigkit: 2.1_1 -> 2.1_2
    jpeg-turbo: 2.1.5.1 -> 3.0.2
    lcms2: 2.13.1 -> 2.16_1
    libGLU: 9.0.2_1 -> 9.0.2_2
    libX11: 1.7.2,1 -> 1.8.7_1,1
    libXScrnSaver: 1.2.4 -> 1.2.4_1
    libXau: 1.0.9 -> 1.0.9_1
    libXcomposite: 0.4.6,1 -> 0.4.6_1,1
    libXcursor: 1.2.0 -> 1.2.2
    libXdmcp: 1.1.3 -> 1.1.5
    libXext: 1.3.4,1 -> 1.3.6,1
    libXfixes: 6.0.0 -> 6.0.0_1
    libXi: 1.8,1 -> 1.8_1,1
    libXinerama: 1.1.4_2,1 -> 1.1.4_3,1
    libXrandr: 1.5.2 -> 1.5.2_1
    libXv: 1.0.12,1 -> 1.0.12_1,1
    libXvMC: 1.0.12 -> 1.0.14
    libXxf86vm: 1.1.4_3 -> 1.1.4_4
    libdeflate: 1.18 -> 1.20
    libdrm: 2.4.115,1 -> 2.4.120_1,1
    libedit: 3.1.20221030,1 -> 3.1.20230828_1,1
    libepoll-shim: 0.0.20220703 -> 0.0.20230411
    libffi: 3.4.4 -> 3.4.4_1
    libglvnd: 1.6.0 -> 1.7.0
    libiconv: 1.17 -> 1.17_1
    libidn2: 2.3.4 -> 2.3.7
    libinotify: 20211018 -> 20211018_1
    liblz4: 1.9.4,1 -> 1.9.4_1,1
    libmysofa: 1.3.1 -> 1.3.2
    libpciaccess: 0.17 -> 0.18
    libtasn1: 4.19.0 -> 4.19.0_1
    libunistring: 1.1 -> 1.2
    libunwind: 20211201_1 -> 20240221
    libxcb: 1.15_1 -> 1.16.1
    libxkbcommon: 1.5.0 -> 1.6.0_2
    libxml2: 2.10.3_1 -> 2.11.7
    llvm13: 13.0.1_3 -> 13.0.1_7
    llvm15: 15.0.7_3 -> 15.0.7_10
    lua53: 5.3.6 -> 5.3.6_1
    mesa-dri: 22.3.7 -> 24.0.7
    mesa-libs: 22.3.7 -> 24.0.7
    mpc: 1.2.1 -> 1.3.1_1
    mpdecimal: 2.5.1 -> 4.0.0
    mpfr: 4.2.0,1 -> 4.2.1,1
    nettle: 3.8.1 -> 3.9.1
    openal-soft: 1.21.1_3 -> 1.21.1_4
    orc: 0.4.32 -> 0.4.34_1
    p11-kit: 0.24.1_2 -> 0.25.3_1
    pciids: 20230223 -> 20240331
    pcre: 8.45_3 -> 8.45_4
    pcre2: 10.42 -> 10.43
    perl5: 5.32.1_3 -> 5.36.3_1
    png: 1.6.39 -> 1.6.43
    python38: 3.8.16_2 -> 3.8.19_2
    python39: 3.9.16_2 -> 3.9.18_2
    readline: 8.2.0 -> 8.2.10
    sdl2: 2.26.4 -> 2.30.2
    spirv-tools: 2023.2 -> 2024.1
    tiff: 4.4.0_1 -> 4.4.0_3
    trousers: 0.3.14_4 -> 0.3.14_5
    vkd3d: 1.7 -> 1.11
    vulkan-headers: 1.3.246 -> 1.3.282
    vulkan-loader: 1.3.246 -> 1.3.282
    wayland: 1.21.0 -> 1.22.0
    wine: 7.0.2,1 -> 9.0,1
    xcb-util: 0.4.0_2,1 -> 0.4.1,1
    xcb-util-keysyms: 0.4.0_1 -> 0.4.1
    xkeyboard-config: 2.34_2 -> 2.41_4
    xorgproto: 2022.1 -> 2023.2
    zstd: 1.5.4 -> 1.5.6

Installed packages to be REINSTALLED:
    FAudio-21.01 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')
    indexinfo-0.3.1 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')
    libXdamage-1.1.6 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')
    libXrender-0.9.10_2 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')
    libxshmfence-1.3.2 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')
    tpm-emulator-0.7.4_2 (ABI changed: 'freebsd:13:x86:32' -> 'freebsd:14:x86:32')

Number of packages to be installed: 4
Number of packages to be upgraded: 86
Number of packages to be reinstalled: 6

The process will require 311 MiB more space.
682 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/96] Fetching png-1.6.43.pkg: 100%  318 KiB 326.0kB/s    00:01   
[2/96] Fetching vulkan-loader-1.3.282.pkg: 100%  131 KiB 134.5kB/s    00:01   
[3/96] Fetching libxcb-1.16.1.pkg: 100%    1 MiB   1.1MB/s    00:01   
[4/96] Fetching mpdecimal-4.0.0.pkg: 100%  172 KiB 176.5kB/s    00:01   
[5/96] Fetching gstreamer1-plugins-1.22.10_1.pkg: 100%    2 MiB   1.9MB/s    00:01   
[6/96] Fetching jpeg-turbo-3.0.2.pkg: 100%  505 KiB 517.5kB/s    00:01   
[7/96] Fetching freetype2-2.13.2.pkg: 100%    1 MiB   1.1MB/s    00:01   
[8/96] Fetching libedit-3.1.20230828_1,1.pkg: 100%  156 KiB 160.0kB/s    00:01   
[9/96] Fetching pciids-20240331.pkg: 100%  267 KiB 273.3kB/s    00:01   
[10/96] Fetching libidn2-2.3.7.pkg: 100%  156 KiB 159.9kB/s    00:01   
[11/96] Fetching desktop-file-utils-0.26_2.pkg: 100%   49 KiB  50.0kB/s    00:01   
[12/96] Fetching libglvnd-1.7.0.pkg: 100%  392 KiB 401.4kB/s    00:01   
[13/96] Fetching libXcursor-1.2.2.pkg: 100%   44 KiB  45.2kB/s    00:01   
[14/96] Fetching alsa-plugins-1.2.7.1_3.pkg: 100%   27 KiB  27.7kB/s    00:01   
[15/96] Fetching spirv-tools-2024.1.pkg: 100%    4 MiB   3.8MB/s    00:01   
[16/96] Fetching liblz4-1.9.4_1,1.pkg: 100%  142 KiB 145.6kB/s    00:01   
[17/96] Fetching nettle-3.9.1.pkg: 100%    2 MiB   1.6MB/s    00:01   
[18/96] Fetching libXrandr-1.5.2_1.pkg: 100%   33 KiB  33.7kB/s    00:01   
[19/96] Fetching libXvMC-1.0.14.pkg: 100%   27 KiB  28.2kB/s    00:01   
[20/96] Fetching libunwind-20240221.pkg: 100%  200 KiB 205.1kB/s    00:01   
[21/96] Fetching lcms2-2.16_1.pkg: 100%    2 MiB   2.3MB/s    00:01   
[22/96] Fetching zstd-1.5.6.pkg: 100%  512 KiB 523.9kB/s    00:01   
[23/96] Fetching libunistring-1.2.pkg: 100%  676 KiB 692.2kB/s    00:01   
[24/96] Fetching pcre2-10.43.pkg: 100%    1 MiB   1.5MB/s    00:01   
[25/96] Fetching brotli-1.1.0,1.pkg: 100%  373 KiB 382.2kB/s    00:01   
[26/96] Fetching py39-packaging-23.2.pkg: 100%   77 KiB  78.8kB/s    00:01   
[27/96] Fetching gstreamer1-1.22.10.pkg: 100%    2 MiB   1.8MB/s    00:01   
[28/96] Fetching gmp-6.3.0.pkg: 100%  536 KiB 549.3kB/s    00:01   
[29/96] Fetching mpfr-4.2.1,1.pkg: 100%  489 KiB 500.6kB/s    00:01   
[30/96] Fetching vkd3d-1.11.pkg: 100%  937 KiB 959.4kB/s    00:01   
[31/96] Fetching trousers-0.3.14_5.pkg: 100%  508 KiB 520.1kB/s    00:01   
[32/96] Fetching libiconv-1.17_1.pkg: 100%  740 KiB 758.1kB/s    00:01   
[33/96] Fetching libdeflate-1.20.pkg: 100%   97 KiB  99.7kB/s    00:01   
[34/96] Fetching libXext-1.3.6,1.pkg: 100%   97 KiB  99.8kB/s    00:01   
[35/96] Fetching gettext-runtime-0.22.5.pkg: 100%  227 KiB 232.2kB/s    00:01   
[36/96] Fetching openal-soft-1.21.1_4.pkg: 100%  486 KiB 498.0kB/s    00:01   
[37/96] Fetching libXxf86vm-1.1.4_4.pkg: 100%   19 KiB  19.4kB/s    00:01   
[38/96] Fetching libXdamage-1.1.6.pkg: 100%    7 KiB   7.2kB/s    00:01   
[39/96] Fetching libdrm-2.4.120_1,1.pkg: 100%  269 KiB 275.5kB/s    00:01   
[40/96] Fetching libtasn1-4.19.0_1.pkg: 100%  169 KiB 173.2kB/s    00:01   
[41/96] Fetching libXfixes-6.0.0_1.pkg: 100%   15 KiB  15.8kB/s    00:01   
[42/96] Fetching libmysofa-1.3.2.pkg: 100%    1 MiB   1.2MB/s    00:01   
[43/96] Fetching p11-kit-0.25.3_1.pkg: 100%  546 KiB 559.0kB/s    00:01   
[44/96] Fetching indexinfo-0.3.1.pkg: 100%    6 KiB   6.0kB/s    00:01   
[45/96] Fetching libXinerama-1.1.4_3,1.pkg: 100%   11 KiB  11.2kB/s    00:01   
[46/96] Fetching libXcomposite-0.4.6_1,1.pkg: 100%   11 KiB  11.6kB/s    00:01   
[47/96] Fetching libXau-1.0.9_1.pkg: 100%   12 KiB  12.2kB/s    00:01   
[48/96] Fetching gcc12-12.3.0.pkg: 100%   78 MiB   8.1MB/s    00:10   
[49/96] Fetching wayland-1.22.0.pkg: 100%  132 KiB 134.8kB/s    00:01   
[50/96] Fetching libxml2-2.11.7.pkg: 100%  848 KiB 868.2kB/s    00:01   
[51/96] Fetching orc-0.4.34_1.pkg: 100%  258 KiB 264.0kB/s    00:01   
[52/96] Fetching lua53-5.3.6_1.pkg: 100%  308 KiB 315.9kB/s    00:01   
[53/96] Fetching fontconfig-2.15.0_2,1.pkg: 100%  497 KiB 508.5kB/s    00:01   
[54/96] Fetching python39-3.9.18_2.pkg: 100%   18 MiB   6.4MB/s    00:03   
[55/96] Fetching tpm-emulator-0.7.4_2.pkg: 100%  118 KiB 121.3kB/s    00:01   
[56/96] Fetching pcre-8.45_4.pkg: 100%    1 MiB   1.3MB/s    00:01   
[57/96] Fetching libxshmfence-1.3.2.pkg: 100%    5 KiB   5.6kB/s    00:01   
[58/96] Fetching gnutls-3.8.5_1.pkg: 100%    3 MiB   2.7MB/s    00:01   
[59/96] Fetching gcc10-10.5.0_1.pkg: 100%   54 MiB   8.0MB/s    00:07   
[60/96] Fetching wine-9.0,1.pkg: 100%   36 MiB   9.6MB/s    00:04   
[61/96] Fetching mpc-1.3.1_1.pkg: 100%  121 KiB 124.3kB/s    00:01   
[62/96] Fetching libXScrnSaver-1.2.4_1.pkg: 100%   16 KiB  16.1kB/s    00:01   
[63/96] Fetching python38-3.8.19_2.pkg: 100%   18 MiB   9.7MB/s    00:02   
[64/96] Fetching libepoll-shim-0.0.20230411.pkg: 100%   20 KiB  20.9kB/s    00:01   
[65/96] Fetching vulkan-headers-1.3.282.pkg: 100%    1 MiB   1.3MB/s    00:01   
[66/96] Fetching llvm15-15.0.7_10.pkg: 100%  154 MiB   7.0MB/s    00:23   
[67/96] Fetching libXv-1.0.12_1,1.pkg: 100%   38 KiB  38.5kB/s    00:01   
[68/96] Fetching libX11-1.8.7_1,1.pkg: 100%    2 MiB   1.7MB/s    00:01   
[69/96] Fetching libXrender-0.9.10_2.pkg: 100%   35 KiB  35.7kB/s    00:01   
[70/96] Fetching glib-2.80.2,2.pkg: 100%    4 MiB   4.2MB/s    00:01   
[71/96] Fetching xorgproto-2023.2.pkg: 100%  232 KiB 237.1kB/s    00:01   
[72/96] Fetching perl5-5.36.3_1.pkg: 100%   15 MiB   8.0MB/s    00:02   
[73/96] Fetching xkeyboard-config-2.41_4.pkg:  47%  413 KiB 422.5kB/s    00:01 E[73/96] Fetching xkeyboard-config-2.41_4.pkg: 100%  870 KiB 890.6kB/s    00:01   
[74/96] Fetching libXi-1.8_1,1.pkg: 100%  132 KiB 134.9kB/s    00:01   
[75/96] Fetching libxkbcommon-1.6.0_2.pkg: 100%  218 KiB 222.9kB/s    00:01   
[76/96] Fetching jbigkit-2.1_2.pkg: 100%   88 KiB  90.1kB/s    00:01   
[77/96] Fetching xcb-util-0.4.1,1.pkg: 100%   15 KiB  14.9kB/s    00:01   
[78/96] Fetching gcc13-13.2.0_4.pkg: 100%   80 MiB   4.0MB/s    00:21   
[79/96] Fetching libffi-3.4.4_1.pkg: 100%   43 KiB  43.6kB/s    00:01   
[80/96] Fetching readline-8.2.10.pkg: 100%  391 KiB 400.7kB/s    00:01   
[81/96] Fetching mesa-dri-24.0.7.pkg: 100%   14 MiB   7.2MB/s    00:02   
[82/96] Fetching iso-codes-4.15.0.pkg: 100%    3 MiB   3.5MB/s    00:01   
[83/96] Fetching xcb-util-keysyms-0.4.1.pkg: 100%    8 KiB   8.5kB/s    00:01   
[84/96] Fetching binutils-2.40_5,1.pkg: 100%   10 MiB   5.4MB/s    00:02   
[85/96] Fetching tiff-4.4.0_3.pkg: 100%  922 KiB 943.7kB/s    00:01   
[86/96] Fetching sdl2-2.30.2.pkg: 100%    1 MiB   1.4MB/s    00:01   
[87/96] Fetching libXdmcp-1.1.5.pkg: 100%   17 KiB  17.3kB/s    00:01   
[88/96] Fetching FAudio-21.01.pkg: 100%  111 KiB 113.7kB/s    00:01   
[89/96] Fetching expat-2.6.2.pkg: 100%  119 KiB 122.0kB/s    00:01   
[90/96] Fetching alsa-lib-1.2.10_1.pkg: 100%  502 KiB 514.3kB/s    00:01   
[91/96] Fetching ca_root_nss-3.93_2.pkg: 100%  281 KiB 287.9kB/s    00:01   
[92/96] Fetching libGLU-9.0.2_2.pkg: 100%  208 KiB 213.0kB/s    00:01   
[93/96] Fetching mesa-libs-24.0.7.pkg: 100%  294 KiB 300.6kB/s    00:01   
[94/96] Fetching libinotify-20211018_1.pkg: 100%   30 KiB  30.4kB/s    00:01   
[95/96] Fetching llvm13-13.0.1_7.pkg: 100%  158 MiB   6.4MB/s    00:26   
[96/96] Fetching libpciaccess-0.18.pkg: 100%   17 KiB  17.8kB/s    00:01   
Checking integrity... done (0 conflicting)
[1/96] Upgrading xorgproto from 2022.1 to 2023.2...
[1/96] Extracting xorgproto-2023.2: 100%
[2/96] Reinstalling indexinfo-0.3.1...
[2/96] Extracting indexinfo-0.3.1: 100%
[3/96] Upgrading libXau from 1.0.9 to 1.0.9_1...
[3/96] Extracting libXau-1.0.9_1: 100%
[4/96] Upgrading libXdmcp from 1.1.3 to 1.1.5...
[4/96] Extracting libXdmcp-1.1.5: 100%
[5/96] Upgrading libxcb from 1.15_1 to 1.16.1...
[5/96] Extracting libxcb-1.16.1: 100%
[6/96] Upgrading mpdecimal from 2.5.1 to 4.0.0...
[6/96] Extracting mpdecimal-4.0.0: 100%
[7/96] Upgrading gettext-runtime from 0.21.1 to 0.22.5...
[7/96] Extracting gettext-runtime-0.22.5: 100%
[8/96] Upgrading libffi from 3.4.4 to 3.4.4_1...
[8/96] Extracting libffi-3.4.4_1: 100%
[9/96] Upgrading readline from 8.2.0 to 8.2.10...
[9/96] Extracting readline-8.2.10: 100%
[10/96] Upgrading python39 from 3.9.16_2 to 3.9.18_2...
[10/96] Extracting python39-3.9.18_2: 100%
[11/96] Upgrading libX11 from 1.7.2,1 to 1.8.7_1,1...
[11/96] Extracting libX11-1.8.7_1,1: 100%
[12/96] Upgrading liblz4 from 1.9.4,1 to 1.9.4_1,1...
[12/96] Extracting liblz4-1.9.4_1,1: 100%
[13/96] Upgrading pcre2 from 10.42 to 10.43...
[13/96] Extracting pcre2-10.43: 100%
[14/96] Installing py39-packaging-23.2...
[14/96] Extracting py39-packaging-23.2: 100%
[15/96] Upgrading gmp from 6.2.1 to 6.3.0...
[15/96] Extracting gmp-6.3.0: 100%
[16/96] Upgrading libiconv from 1.17 to 1.17_1...
[16/96] Extracting libiconv-1.17_1: 100%
[17/96] Upgrading libXext from 1.3.4,1 to 1.3.6,1...
[17/96] Extracting libXext-1.3.6,1: 100%
[18/96] Upgrading libXfixes from 6.0.0 to 6.0.0_1...
[18/96] Extracting libXfixes-6.0.0_1: 100%
[19/96] Upgrading libxml2 from 2.10.3_1 to 2.11.7...
[19/96] Extracting libxml2-2.11.7: 100%
[20/96] Upgrading libepoll-shim from 0.0.20220703 to 0.0.20230411...
[20/96] Extracting libepoll-shim-0.0.20230411: 100%
[21/96] Reinstalling libXrender-0.9.10_2...
[21/96] Extracting libXrender-0.9.10_2: 100%
[22/96] Upgrading expat from 2.5.0 to 2.6.2...
[22/96] Extracting expat-2.6.2: 100%
[23/96] Upgrading libpciaccess from 0.17 to 0.18...
[23/96] Extracting libpciaccess-0.18: 100%
[24/96] Upgrading png from 1.6.39 to 1.6.43...
[24/96] Extracting png-1.6.43: 100%
[25/96] Upgrading libedit from 3.1.20221030,1 to 3.1.20230828_1,1...
[25/96] Extracting libedit-3.1.20230828_1,1: 100%
[26/96] Upgrading libglvnd from 1.6.0 to 1.7.0...
[26/96] Extracting libglvnd-1.7.0: 100%
[27/96] Upgrading libXrandr from 1.5.2 to 1.5.2_1...
[27/96] Extracting libXrandr-1.5.2_1: 100%
[28/96] Upgrading libunwind from 20211201_1 to 20240221...
[28/96] Extracting libunwind-20240221: 100%
[29/96] Upgrading zstd from 1.5.4 to 1.5.6...
[29/96] Extracting zstd-1.5.6: 100%
[30/96] Upgrading libunistring from 1.1 to 1.2...
[30/96] Extracting libunistring-1.2: 100%
[31/96] Upgrading brotli from 1.0.9,1 to 1.1.0,1...
[31/96] Extracting brotli-1.1.0,1: 100%
[32/96] Upgrading mpfr from 4.2.0,1 to 4.2.1,1...
[32/96] Extracting mpfr-4.2.1,1: 100%
[33/96] Upgrading libXxf86vm from 1.1.4_3 to 1.1.4_4...
[33/96] Extracting libXxf86vm-1.1.4_4: 100%
[34/96] Reinstalling libXdamage-1.1.6...
[34/96] Extracting libXdamage-1.1.6: 100%
[35/96] Upgrading libdrm from 2.4.115,1 to 2.4.120_1,1...
[35/96] Extracting libdrm-2.4.120_1,1: 100%
[36/96] Upgrading libtasn1 from 4.19.0 to 4.19.0_1...
[36/96] Extracting libtasn1-4.19.0_1: 100%
[37/96] Upgrading wayland from 1.21.0 to 1.22.0...
[37/96] Extracting wayland-1.22.0: 100%
[38/96] Reinstalling libxshmfence-1.3.2...
[38/96] Extracting libxshmfence-1.3.2: 100%
[39/96] Upgrading glib from 2.76.1,2 to 2.80.2,2...
[39/96] Extracting glib-2.80.2,2: 100%
[40/96] Upgrading xkeyboard-config from 2.34_2 to 2.41_4...
[40/96] Extracting xkeyboard-config-2.41_4: 100%
[41/96] Upgrading vulkan-loader from 1.3.246 to 1.3.282...
[41/96] Extracting vulkan-loader-1.3.282: 100%
[42/96] Upgrading jpeg-turbo from 2.1.5.1 to 3.0.2...
[42/96] Extracting jpeg-turbo-3.0.2: 100%
[43/96] Upgrading freetype2 from 2.12.1_2 to 2.13.2...
[43/96] Extracting freetype2-2.13.2: 100%
[44/96] Upgrading libidn2 from 2.3.4 to 2.3.7...
[44/96] Extracting libidn2-2.3.7: 100%
[45/96] Upgrading libXcursor from 1.2.0 to 1.2.2...
[45/96] Extracting libXcursor-1.2.2: 100%
[46/96] Upgrading nettle from 3.8.1 to 3.9.1...
[46/96] Extracting nettle-3.9.1: 100%
[47/96] Upgrading gstreamer1 from 1.22.0_1 to 1.22.10...
[47/96] Extracting gstreamer1-1.22.10: 100%
[48/96] Upgrading libdeflate from 1.18 to 1.20...
[48/96] Extracting libdeflate-1.20: 100%
[49/96] Upgrading p11-kit from 0.24.1_2 to 0.25.3_1...
[49/96] Extracting p11-kit-0.25.3_1: 100%
[50/96] Upgrading orc from 0.4.32 to 0.4.34_1...
[50/96] Extracting orc-0.4.34_1: 100%
[51/96] Upgrading lua53 from 5.3.6 to 5.3.6_1...
[51/96] Extracting lua53-5.3.6_1: 100%
[52/96] Upgrading mpc from 1.2.1 to 1.3.1_1...
[52/96] Extracting mpc-1.3.1_1: 100%
[53/96] Upgrading libXScrnSaver from 1.2.4 to 1.2.4_1...
[53/96] Extracting libXScrnSaver-1.2.4_1: 100%
[54/96] Upgrading perl5 from 5.32.1_3 to 5.36.3_1...
[54/96] Extracting perl5-5.36.3_1: 100%
[55/96] Upgrading libXi from 1.8,1 to 1.8_1,1...
[55/96] Extracting libXi-1.8_1,1: 100%
[56/96] Upgrading libxkbcommon from 1.5.0 to 1.6.0_2...
[56/96] Extracting libxkbcommon-1.6.0_2: 100%
[57/96] Upgrading jbigkit from 2.1_1 to 2.1_2...
[57/96] Extracting jbigkit-2.1_2: 100%
[58/96] Upgrading xcb-util from 0.4.0_2,1 to 0.4.1,1...
[58/96] Extracting xcb-util-0.4.1,1: 100%
[59/96] Upgrading iso-codes from 4.7 to 4.15.0...
[59/96] Extracting iso-codes-4.15.0: 100%
[60/96] Upgrading binutils from 2.40_3,1 to 2.40_5,1...
[60/96] Extracting binutils-2.40_5,1: 100%
[61/96] Installing alsa-lib-1.2.10_1...
[61/96] Extracting alsa-lib-1.2.10_1: 100%
[62/96] Upgrading mesa-libs from 22.3.7 to 24.0.7...
[62/96] Extracting mesa-libs-24.0.7: 100%
[63/96] Upgrading libinotify from 20211018 to 20211018_1...
[63/96] Extracting libinotify-20211018_1: 100%
[64/96] Upgrading gstreamer1-plugins from 1.22.0 to 1.22.10_1...
[64/96] Extracting gstreamer1-plugins-1.22.10_1: 100%
[65/96] Upgrading desktop-file-utils from 0.26_1 to 0.26_2...
[65/96] Extracting desktop-file-utils-0.26_2: 100%
[66/96] Installing alsa-plugins-1.2.7.1_3...
[66/96] Extracting alsa-plugins-1.2.7.1_3: 100%
[67/96] Upgrading spirv-tools from 2023.2 to 2024.1...
[67/96] Extracting spirv-tools-2024.1: 100%
[68/96] Upgrading libmysofa from 1.3.1 to 1.3.2...
[68/96] Extracting libmysofa-1.3.2: 100%
[69/96] Upgrading libXinerama from 1.1.4_2,1 to 1.1.4_3,1...
[69/96] Extracting libXinerama-1.1.4_3,1: 100%
[70/96] Upgrading libXcomposite from 0.4.6,1 to 0.4.6_1,1...
[70/96] Extracting libXcomposite-0.4.6_1,1: 100%
[71/96] Upgrading fontconfig from 2.14.2,1 to 2.15.0_2,1...
[71/96] Extracting fontconfig-2.15.0_2,1: 100%
[72/96] Reinstalling tpm-emulator-0.7.4_2...
[72/96] Extracting tpm-emulator-0.7.4_2: 100%
[73/96] Upgrading gnutls from 3.7.9 to 3.8.5_1...
[73/96] Extracting gnutls-3.8.5_1: 100%
[74/96] Upgrading vulkan-headers from 1.3.246 to 1.3.282...
[74/96] Extracting vulkan-headers-1.3.282: 100%
[75/96] Upgrading llvm15 from 15.0.7_3 to 15.0.7_10...
[75/96] Extracting llvm15-15.0.7_10: 100%
[76/96] Upgrading libXv from 1.0.12,1 to 1.0.12_1,1...
[76/96] Extracting libXv-1.0.12_1,1: 100%
[77/96] Installing gcc13-13.2.0_4...
[77/96] Extracting gcc13-13.2.0_4: 100%
[78/96] Upgrading xcb-util-keysyms from 0.4.0_1 to 0.4.1...
[78/96] Extracting xcb-util-keysyms-0.4.1: 100%
[79/96] Upgrading tiff from 4.4.0_1 to 4.4.0_3...
[79/96] Extracting tiff-4.4.0_3: 100%
[80/96] Upgrading sdl2 from 2.26.4 to 2.30.2...
[80/96] Extracting sdl2-2.30.2: 100%
[81/96] Upgrading libGLU from 9.0.2_1 to 9.0.2_2...
[81/96] Extracting libGLU-9.0.2_2: 100%
[82/96] Upgrading pciids from 20230223 to 20240331...
[82/96] Extracting pciids-20240331: 100%
[83/96] Upgrading libXvMC from 1.0.12 to 1.0.14...
[83/96] Extracting libXvMC-1.0.14: 100%
[84/96] Upgrading lcms2 from 2.13.1 to 2.16_1...
[84/96] Extracting lcms2-2.16_1: 100%
[85/96] Upgrading vkd3d from 1.7 to 1.11...
[85/96] Extracting vkd3d-1.11: 100%
[86/96] Upgrading trousers from 0.3.14_4 to 0.3.14_5...
[86/96] Extracting trousers-0.3.14_5: 100%
[87/96] Upgrading openal-soft from 1.21.1_3 to 1.21.1_4...
[87/96] Extracting openal-soft-1.21.1_4: 100%
[88/96] Upgrading gcc12 from 12.2.0_5 to 12.3.0...
[88/96] Extracting gcc12-12.3.0: 100%
[89/96] Upgrading pcre from 8.45_3 to 8.45_4...
[89/96] Extracting pcre-8.45_4: 100%
[90/96] Upgrading gcc10 from 10.4.0 to 10.5.0_1...
[90/96] Extracting gcc10-10.5.0_1: 100%
[91/96] Upgrading wine from 7.0.2,1 to 9.0,1...
[91/96] Extracting wine-9.0,1: 100%
[92/96] Upgrading python38 from 3.8.16_2 to 3.8.19_2...
[92/96] Extracting python38-3.8.19_2: 100%
[93/96] Upgrading mesa-dri from 22.3.7 to 24.0.7...
[93/96] Extracting mesa-dri-24.0.7: 100%
[94/96] Reinstalling FAudio-21.01...
[94/96] Extracting FAudio-21.01: 100%
[95/96] Upgrading ca_root_nss from 3.89 to 3.93_2...
[95/96] Extracting ca_root_nss-3.93_2: 100%
[96/96] Upgrading llvm13 from 13.0.1_3 to 13.0.1_7...
[96/96] Extracting llvm13-13.0.1_7: 100%
=====
Message from alsa-plugins-1.2.7.1_3:

--
===>   NOTICE:

The alsa-plugins 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
=====
Message from gcc13-13.2.0_4:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from pcre-8.45_4:

--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLed by upstream, use devel/pcre2 instead.
=====
Message from python38-3.8.19_2:

--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Upgrade to a newer Python version. 3.8 is in maintenance status and gets security fixes only. End-of-Life: 2024-10. See https://devguide.python.org/versions/.

It is scheduled to be removed on or after 2024-10-31.
$

So then the output when running
winecfg
again:

Code:
$ winecfg
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
$

Did I misunderstand something?
 
...snip...
wine: 7.0.2,1 -> 9.0,1
...snip...

I guess you installed emulators/wine when you first ran /usr/local/share/wine/pkg32.sh install wine mesa-dri years ago. At that time it still was on version 7, now it upgrades to version 9.

Doing /usr/local/share/wine/pkg32.sh delete wine followed by a /usr/local/share/wine/pkg32.sh install wine8 should fix it. Or you rm -rf ~/.i386-wine-pkg and start over via /usr/local/share/wine/pkg32.sh install wine8 mesa-dri.
 
I applied the second option. Saved me over 3 GB in space, too, before and after! The required command was also displayed when trying
winecfg

Code:
$ rm -rf .i386-wine-pkg/
$ winecfg
/home/werner/.i386-wine-pkg//usr/local/bin/wine doesn't exist!

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

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

So all fine now, thanks!
 
Back
Top