How to install emulators/i386-wine-devel?

I've compiled a package under i386 environment. When I try to install it using pkg add i386-wine-1.5.29,1.txz, it throws
Code:
Installing i386-wine-1.5.29,1...pkg: wrong architecture: freebsd:10:x86:32 instead of freebsd:10:x86:64
There seems to be no --force flag. Has anyone installed it?
 
I used the packages provided on Mediafire before, but they stopped being updated when emulators/i386-wine-devel appeared. From one of its update messages:
Code:
i386-wine-devel is the normal wine-devel port built and packaged such that it
can be installed (via `pkg add` or `pkg_add`) in an amd64 environment.  It can
only be built in an i386 environment (hence the retained ONLY_FOR_ARCH) as
the Ports Collection does not support cross compiling.
http://www.freshports.org/emulators/i386-wine-devel/
That's what I did. I built a package in i386 environment that I'm trying to install in amd64 environment.
 
DragonSA said:
The OP got the procedure correct, looks like a fault with the port.
Normally you can't install i386 packages on an AMD64 system. I wasn't aware this was a 'special' port. I wasn't even aware this was possible. Learned something new :e
 
DragonSA said:
Hi,

I'm investigating the problem, there is another issue also reported (ports/PR 178542) so wine-1.5.30 may be a bit faulty.
Regards

Nope, the workaround is to copy libwine.so.1 and libwine.so after port install stop from /usr/ports/emulators/i386-wine/work/libs/wine/ to /usr/local/lib32 and run make install clean again.
In all other cases this port is built just perfect BUT it should be built in i386 chroot anyway.
 
The port is fixed, the issue was the master port (wine-devel) failed to install libwine.so. This was corrected by the port maintainer in r318193. Please update your ports collection and rebuild.
 
Code:
Installing i386-wine-1.5.30_1,1...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64

Failed to install the following 1 package(s): /home/pkubaj/i386-wine-1.5.30_1,1.txz
Building a new package didn't help.
 
pkubaj said:
Code:
Installing i386-wine-1.5.30_1,1...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64

Failed to install the following 1 package(s): /home/pkubaj/i386-wine-1.5.30_1,1.txz
Building a new package didn't help.

Please rebuild it again. I had this problem too, but after second port's rebuilding it gone.
 
Back
Top