Issue installing 32bit wine on 14.1 RELEASE

I wanted to install an old Win32 game, and noticed an issue which I haven't had on 14.0, 13.2/3.

So, I execute "wine UTDemo348.exe" and get the expected error since I've not yet installed anything 32bit:

That I must run: /usr/local/share/wine/pkg32.sh install wine mesa-dri

However, doing so I get the following output:
Code:
pkg -o ABI=FreeBSD:14:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/ben/.i386-wine-pkg install wine mesa-dri
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01   
Fetching data.pkg: 100%    7 MiB   2.3MB/s    00:03   
Processing entries:   0%
pkg: Newer FreeBSD version for package zzuf:
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 eventually got it to work by reading what was inside the shell script, and just changing it up a bit. This is what worked:
Code:
pkg -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "/home/ben//.i386-wine-pkg" "$@" install wine mesa-dri


This is probably something which can be very easily fixed. I apologize if this isn't the place to reach out about such an issue, but I don't have much of a bug-report resume, so wanted to rule out possible error on my side. As I said, I got this working fine but I know it can be discouraging when things don't work as expected especially for new users.
 
It was a clean install, just mentioning that since I may have implied that I upgraded, by initially stating "it worked on 14.0" etc and seeing your reply reflect that.
 
You're not going mad. It's not your fault ;) this is a known issue with WINE8 and above. Sadly, WINE7 is gone, not sure if there's a way to side load it/get it back.. otherwise, we're going into WINE8, WINE9 (or WINE-devel-9.5 if that's your cup of tea), all of which present this very issue, which, when trying to install the 32bit wine mesa dri, gives us:
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:i386

Don't worry, you didn't break anything during any updates. I was on the same boat when I updated from 13.2 RELEASE to 14.0 RELEASE, being paranoid that I may have forgotten to type "freebsd-update install" twice (like we're supposed to) which I realize I did indeed do... thank goodness... currently on 14.1 RELEASE btw. I also did a VM install fresh to make sure I wasn't going crazy, got the same repository wrong OS error message as mentioned above. So now I don't have to reinstall my physical installation after all.

As for the issue at hand: I could not find a definite answer as various folks have mentioned different things ranging from "the devs simply never addressed it and for us to wait (it's been months)" to "try applying a patch to get around it, which seems to have created more errors for those that tried" to "it no longer exists as a feature or it has depreciated"... the latter implying that wow64 may be around the corner and that wine64 will meet all our 32bit and 64bit needs in one unified prefix (a dream come true that's long overdue).

All I know is, we didn't break anything on our end, so we're good, in which case, someone who knows if there's a temporary solution, might provide one ;) I'd be very grateful because my steam (linuxulator) is broken because of the move from WINE7 to WINE8.
 
Back
Top