Hey everybody
Before anyone accuses me of a grave sin, I'd already checked out other forum discussions and r/FreeBSD reddit posts, none of them really seem to fit the bill, though I could be missing something.
I'm managing a FreeBSD repository for my wife and myself with Poudriere, and there's nothing I would love more than to have WINE with their new WOW64 thing, so I can rock my magnificent 15.0-RELEASE installation and be able to run some Windows binaries without a multilib setup (which I also understand is even depreceated in FreeBSD 15.0 and onward).
The problem is that no matter what sort of flirtation I attempt with my make.conf, I can't seem to build anything other than an exclusively 64 bit setup. It sort of seems that WOW64 has somehow been activated, in that wine seems to be able to launch 32bit binaries, but they all immediately fail and crash on account of missing libraries in .wine/drive_c/windows/syswow64 (which is completely empty, by the way, while its system32 counterpart is populated well, and I've tried symlinking one to the other - didn't work).
Experimenting with some AI slop, I got Goo-gle to generate the following for my make.conf:
Which, of course, has not really done anything for me. The x64 Windows binaries I've tested worked well, by the way.
Now, for the question. Is this possible in any way at all using Poudriere? Or is my only option to manually downloads source codes for WINE, MINGW and GCC and spend 2 days concocting it by myself.
My ideal is to automate everything with my dear beloved Poudriere, and I'm unironically prepared to pay anyone who could help me get this working (or if you prefer, donate to the FreeBSD and WINE project a sum of your choosing, idk, I'm desperate is the point).
Before anyone accuses me of a grave sin, I'd already checked out other forum discussions and r/FreeBSD reddit posts, none of them really seem to fit the bill, though I could be missing something.
I'm managing a FreeBSD repository for my wife and myself with Poudriere, and there's nothing I would love more than to have WINE with their new WOW64 thing, so I can rock my magnificent 15.0-RELEASE installation and be able to run some Windows binaries without a multilib setup (which I also understand is even depreceated in FreeBSD 15.0 and onward).
The problem is that no matter what sort of flirtation I attempt with my make.conf, I can't seem to build anything other than an exclusively 64 bit setup. It sort of seems that WOW64 has somehow been activated, in that wine seems to be able to launch 32bit binaries, but they all immediately fail and crash on account of missing libraries in .wine/drive_c/windows/syswow64 (which is completely empty, by the way, while its system32 counterpart is populated well, and I've tried symlinking one to the other - didn't work).
Experimenting with some AI slop, I got Goo-gle to generate the following for my make.conf:
.if ${.CURDIR:M*/emulators/wine-devel} # 1. KILL GCC FOR GOOD # Dis stop dat 'gcc14' garbage you see in image c1cb25d7 WITHOUT_GCC= yes CC= /usr/local/bin/clang19 CXX= /usr/local/bin/clang++19 # 2. FORCE BOTH ARCHITECTURES # We tell Wine exactly where de cross-compiler is for de 32-bit side CONFIGURE_ENV+= CROSSCC="/usr/local/bin/clang19 -target i386-pc-windows" # We also gotta tell it about de 64-bit side specifically so it don't guess CONFIGURE_ENV+= CROSSCC64="/usr/local/bin/clang19 -target x86_64-pc-windows" # 3. FIX DE PATH # Sometimes de jail don't find llvm- tools, we point it directly CONFIGURE_ENV+= CROSS_PROG_PREFIX="/usr/local/bin/llvm-" # 4. DE HOLY TRINITY OF FLAGS CONFIGURE_ARGS+= --enable-archs=i386,x86_64 --with-mingw --disable-tests .endif Which, of course, has not really done anything for me. The x64 Windows binaries I've tested worked well, by the way.
Now, for the question. Is this possible in any way at all using Poudriere? Or is my only option to manually downloads source codes for WINE, MINGW and GCC and spend 2 days concocting it by myself.
My ideal is to automate everything with my dear beloved Poudriere, and I'm unironically prepared to pay anyone who could help me get this working (or if you prefer, donate to the FreeBSD and WINE project a sum of your choosing, idk, I'm desperate is the point).