Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1136902

Bug#1029536: wine64-stable ENOENT

From Jens Reyer <jre.winesim@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1029536: wine64-stable ENOENT
Date 2023-02-07 23:10 +0100
Message-ID <FWEk2-4fDh-15@gated-at.bofh.it> (permalink)
References <FRdXb-FBL-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07.02.23 14:22, Bernhard Übelacker wrote:
> Dear Maintainer,
> if one creates this wine64-stable just as a link to wine64,
> then `wine64-stable wineboot` would start to work.
> 
> # ln -s wine64 /usr/lib/wine/wine64-stable
> 
> Kind regards,
> Bernhard
> 
> 
> (rr)
> 692         execv( argv[1], argv + 1 );
> (rr) print argv[1]
> $2 = 0x7e848400 "/usr/lib/wine/wine64-stable"
> (rr) shell ls -lisah /usr/lib/wine/wine64-stable
> ls: cannot access '/usr/lib/wine/wine64-stable': No such file or directory
> (rr) bt
> #0  preloader_exec (argv=argv@entry=0x7e8483d0) at 
> dlls/ntdll/unix/loader.c:692
> #1  0x00007f5e1d159a6b in loader_exec (machine=34404, argv=0x7e8483d0) 
> at dlls/ntdll/unix/loader.c:716
> #2  __wine_main (argc=<optimized out>, argv=0x7ffd65438648, 
> envp=0x7ffd65438660) at dlls/ntdll/unix/loader.c:2416
> #3  0x000000007d001254 in main ()
> (rr)
> 
> 
> $ ls -lisah /usr/bin/wine64-stable /usr/bin/wine64 
> /usr/lib/wine/wine64-stable /usr/lib/wine/wine64
> ls: cannot access '/usr/lib/wine/wine64-stable': No such file or directory
> 674145   0 lrwxrwxrwx 1 root root  24 Jan 27 02:36 /usr/bin/wine64 -> 
> /etc/alternatives/wine64
> 673301   0 lrwxrwxrwx 1 root root  18 Jan 27 02:36 
> /usr/bin/wine64-stable -> ../lib/wine/wine64
> 673289 16K -rwxr-xr-x 1 root root 15K Jan 27 02:36 /usr/lib/wine/wine64

[Ex-maintainer here]

The -stable suffix was added for the Debian alternatives system. While I 
don't expect an issue with adding an /usr/lib/wine/wine64-stable link, I 
wonder if the whole issue is really a bug (still probably a regression, 
which I can't comment on since I'm not involved in current packaging) or 
wrong usage.

I don't know what you want to do exactly, but generally I (and afaik 
upstream) recommend to just call "wine", not "wine64". This will default 
to 64-bit anyway (supporting also 32-bit if "wine32" is installed).

To force 64 bit you may set "WINEARCH=win64".

To create a new wineprefix just issue "WINEARCH=win64 wineboot" (without 
"wine" or "wine64" in front).

Of course you need the "wine" package to be installed, which basically 
just contains the relevant wrappers and links. I see no reason to not 
install this recommended package. Comments welcome!

Without "wine" installed you may use
$ /usr/lib/wine/wine64 wineboot

If you install "wine64" and "wine", but not "wine32", you'll get a 
non-critical warning on STDERR:
~~~~~
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
~~~~~
You can disable this (and some Wine output by something like this:
$ WINEDEBUG="-all" wineboot


So I suggest:

docker run -it docker.io/debian:testing-slim
# apt update && apt install wine
# wineboot

Greets
jre

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1029536: wine64: wine does not start with "wine: could not exec the wine loader" Dennis Kempin <denniskempin@google.com> - 2023-01-24 00:00 +0100
  Bug#1029536: wine64-stable ENOENT Junichi Uekawa <dancer@netfort.gr.jp> - 2023-01-24 14:20 +0100
    Bug#1029536: wine64-stable ENOENT Bernhard Übelacker <bernhardu@mailbox.org> - 2023-02-07 14:30 +0100
  Bug#1029536: wine64-stable ENOENT Jens Reyer <jre.winesim@gmail.com> - 2023-02-07 23:10 +0100
    Bug#1029536: wine64-stable ENOENT Junichi Uekawa <dancer@netfort.gr.jp> - 2023-02-12 10:50 +0100
    Bug#1029536: wine64-stable ENOENT Junichi Uekawa <dancer@netfort.gr.jp> - 2023-02-12 11:00 +0100
  Bug#1029536: wine64-stable ENOENT Jens Reyer <jre.winesim@gmail.com> - 2023-02-13 22:00 +0100
    Bug#1029536: wine64-stable ENOENT Bernhard Übelacker <bernhardu@mailbox.org> - 2023-02-18 15:00 +0100

csiph-web