Solved Poudriere: Wine installation error

I have built wine (32-bit, and 64-bit) through poudriere.
Issuing wine I got the following message:
Code:
INPUT:
wine

OUTPUT:
$HOME/.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: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.
I have updated my pkg repo:
Code:
INPUT:
cat /usr/local/etc/pkg/repos/14-amd64-release.conf

OUTPUT:
# Enable local repository on host

14-amd64-release: {
    ABI: FreeBSD:14:i386,
    url: "file:///usr/local/poudriere/data/packages/14-amd64-release-head",
    enabled: yes
}

Now, I tried to execute that script:
Code:
INPUT:
sh /usr/local/share/wine/pkg32.sh install wine mesa-dri

Output:
pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/lilli/.i386-wine-pkg install wine mesa-dri
Updating 14-amd64-release repository catalogue...
Fetching meta.conf: 100%    179 B   0.2kB/s    00:01
Fetching data.pkg: 100%  177 KiB 181.3kB/s    00:01
Processing entries:   0%
pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:14:i386
pkg: repository 14-amd64-release contains packages with wrong ABI: FreeBSD:14:amd64
Processing entries:   0%
Unable to update repository 14-amd64-release
Error updating repositories!

I have created symlinks in the following directory:
Code:
INPUT:
l /usr/local/poudriere/data/packages

OUTPUT:
drwxr-xr-x  3 root wheel   16B Apr  4 07:13 14-amd64-release-head
drwxr-xr-x  3 root wheel   15B Apr  4 06:39 14-i386-release-head32
lrwxr-xr-x  1 root wheel   21B Apr  4 07:14 FreeBSD:14:amd64 -> 14-amd64-release-head
lrwxr-xr-x  1 root wheel   22B Apr  4 07:14 FreeBSD:14:i386 -> 14-i386-release-head32

I wonder what I did wrong here, or maybe I am missing something obvious ? :-/
 
Ok, I still get the wrong ABI error while executing sh /usr/local/share/wine/pkg32.sh install wine mesa-dri
, but at least I could install the 32-bit portion of wine in my $HOME directory.

What resolved the problem was the following:
Code:
INPUT:
cat /usr/local/etc/pkg/repos/14-amd-64-release.conf

OUTPUT:
# Enable local repository on host

14-amd64-release: {
    ABI: FreeBSD:14:amd64,
    url: "file:///usr/local/poudriere/data/packages/14-amd64-release-head",
    enabled: yes
}

14-i386-release: {
    ABI: FreeBSD:14:i386,
    url: "file:///usr/local/poudriere/data/packages/14-i386-release-head32",
    enabled: yes
}

Well, a little bit messy now, but it was for testing purposes.
I guess I am going to test wine, and refactor my repos after that...
 
Back
Top