[pkg-wine-party] Bug#733556: wine-binfmt

Mathieu Malaterre malat at debian.org
Thu Nov 6 13:33:11 UTC 2014


On Thu, Nov 6, 2014 at 2:19 PM, Mathieu Malaterre <malat at debian.org> wrote:
> If that matters:
>
> $ apt-cache policy wine-binfmt

Ok, if I manually register wine, I can get a little further:

$ sudo /usr/sbin/update-binfmts --import wine
$ WINEPREFIX=$HOME/.wine32 ./bla.exe && echo "ok"
wine: created the configuration directory '/home/mathieu/.wine32'
wine: configuration in '/home/mathieu/.wine32' has been updated.
ok

However:

$ WINEPREFIX=$HOME/.wine64 ./bla2.exe && echo "ok"
wine: '/home/mathieu/.wine64' is a 64-bit installation, it cannot be
used with a 32-bit wineserver.

For some reason wine32 (instead of wine64) is still being called (it
used to work on my wheezy system):

$ strace ./bla2.exe
[...]
stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
open("/usr/bin/wine", O_RDONLY)         = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x7f694acf0620, ~[RTMIN RT_1], SA_RESTORER,
0x7f694a748180}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER,
0x7f694a748180}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER,
0x7f694a748180}, NULL, 8) = 0
read(10, "#!/bin/sh -e\n\nname=$(basename $0"..., 8192) = 1063
pipe([3, 4])                            = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f694acb39d0) = 27846
close(4)                                = 0
read(3, "wine\n", 128)                  = 5
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27846,
si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 27846
geteuid()                               = 1000
faccessat(AT_FDCWD, "/usr/bin/wine32", X_OK) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f694acb39d0) = 27847
wait4(-1, wine: '/home/mathieu/.wine64' is a 64-bit installation, it
cannot be used with a 32-bit wineserver.
[...]



More information about the pkg-wine-party mailing list