--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libwine: winemenubuilder creates .desktop files with invalid WINEPREFIX
- From: Sven Joachim <svenjoac@gmx.de>
- Date: Mon, 20 Mar 2017 11:20:28 +0100
- Message-id: <877f3ki70z.fsf@turtle.gmx.de>
Package: libwine
Version: 1.8.6-5
Severity: normal
I noticed the following message printed to my terminal from some GUI
application I started from there:
wine: invalid directory "/home/sven/.wine" in WINEPREFIX: not an absolute path
Apparently the program was trying to run winebrowser from one of my
.desktop files under ~/.local/share/applications/, those look like this:
[Desktop Entry]
Type=Application
Name=winebrowser
MimeType=application/pdf;
Exec=env WINEPREFIX="/home/sven/.wine" wine-stable start /ProgIDOpen pdffile %f
NoDisplay=true
StartupNotify=true
Icon=7765_winebrowser.0
Note that WINEPREFIX is in quotation marks here, due to the
Debian-specific patch debian/patches/debsuffix/winemenubuilder.patch,
and wine does not like this: it expects the first character to be a
slash and not a quotation mark, see libs/wine/config.c.
-- Package-specific info:
/usr/bin/wine points to /usr/bin/wine-stable.
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 4.9.16-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libwine depends on:
ii libasound2 1.1.3-5
ii libc6 2.24-9
ii libfontconfig1 2.11.0-6.7+b1
ii libfreetype6 2.6.3-3+b2
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii liblcms2-2 2.8-4
ii libldap-2.4-2 2.4.44+dfsg-3
ii libmpg123-0 1.23.8-1+b1
ii libncurses5 6.0+20161126-1
ii libopenal1 1:1.17.2-4+b2
ii libpcap0.8 1.8.1-3
ii libpulse0 10.0-1
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1+b2
ii libxml2 2.9.4+dfsg1-2.2
ii ocl-icd-libopencl1 [libopencl1] 2.2.11-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages libwine recommends:
ii fonts-liberation 1:1.07.4-2
ii fonts-wine 1.8.6-5
ii libasound2-plugins 1.1.1-1
ii libcups2 2.2.1-8
ii libdbus-1-3 1.10.16-1
ii libgl1-mesa-dri 13.0.5-1
ii libgl1-mesa-glx [libgl1] 13.0.5-1
ii libgnutls30 3.5.8-5
ii libgsm1 1.0.13-4+b2
ii libjpeg62-turbo 1:1.5.1-2
pn libodbc1 <none>
pn libosmesa6 <none>
ii libpng16-16 1.6.28-1
ii libtiff5 4.0.7-5
ii libxcomposite1 1:0.4.4-2
ii libxcursor1 1:1.1.14-1+b4
ii libxi6 2:1.7.9-1
ii libxinerama1 2:1.1.3-1+b3
ii libxrandr2 2:1.5.1-1
ii libxrender1 1:0.9.10-1
ii libxslt1.1 1.1.29-2
ii libxxf86vm1 1:1.1.4-1+b2
Versions of packages libwine suggests:
ii cups-bsd 2.2.1-8
ii ttf-mscorefonts-installer 3.6
Versions of packages libwine is related to:
ii fonts-wine 1.8.6-5
ii wine 1.8.6-5
ii wine32 1.8.6-5
pn wine64 <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 858242-close@bugs.debian.org
- Subject: Re: [pkg-wine-party] Bug#858242: libwine: winemenubuilder creates .desktop files with invalid WINEPREFIX
- From: Michael Gilbert <mgilbert@debian.org>
- Date: Sat, 7 Apr 2018 15:38:03 -0400
- Message-id: <CANTw=MOWBto+W7HtNXCQ2gyTdDwqFxUvCoc5QNW9kascgCEszA@mail.gmail.com>
- In-reply-to: <877f3ki70z.fsf@turtle.gmx.de>
- References: <877f3ki70z.fsf@turtle.gmx.de>
I've confirmed that the wine 3.0 and wine-development debian packages
no longer generate these files automatically under basic usage,
winecfg, launching windows programs, etc.
If there is a reproducible way to cause the file to be generated in
the latest releases, please feel free to reopen. Otherwise, it seems
like this is now correctly handled.
Best wishes,
Mike
--- End Message ---