[Bug 51925] TeXLive linux binaries are launched incorrectly from Wine
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Oct 29 11:28:45 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51925
--- Comment #6 from O. Nykyforchyn <oleh.nyk at gmail.com> ---
On
UNIXTMP=/tmp/wrapper \
UNIXPATH=/usr/local/bin:/usr/bin \
UNIXQTDIR=/opt/qt3 \
WINEDROPENVFORUNIX=ComSpec,COMSPEC \
WINEDEBUG=+environ \
wine "z:/usr/share/texmf-local/winedt/winedt.exe" -E=$HOME/.winedt/winedt.ini
2>&1 | tee ~/wine.log
there are lines
0024:trace:environ:get_initial_environment cannot override: UNIXQTDIR=/opt/qt3
0024:trace:environ:get_initial_environment overriding: UNIXTMP=/tmp/wrapper
...
0110:trace:environ:build_envp environment variables ComSpec,COMSPEC will be
dropped for a Unix binary
0110:trace:environ:build_envp dropping environment variable
ComSpec=C:\windows\system32\cmd.exe
in the log. Here are the difference between env | sort output for the unpatched
and patched version:
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=SHELTER
-ComSpec=C:\windows\system32\cmd.exe
CPLUS_INCLUDE_PATH=/opt/kde3/lib64/qt3/include
DISPLAY=:0.0
FVWM_64=64
@@ -80,8 +79,7 @@
SystemRoot=C:\windows
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
TERM=xterm
-UNIXQTDIR=/opt/qt3
-UNIXTMP=/tmp/wrapper
+TMP=/tmp/wrapper
USERDOMAIN=SHELTER
USERNAME=nick
USER=nick
@@ -89,9 +87,8 @@
_=/usr/bin/env
VDPAU_LOG=0
windir=C:\windows
-WINDOWID=60817420
+WINDOWID=62914572
WINEDEBUG=+environ
-WINEDROPENVFORUNIX=ComSpec,COMSPEC
WINEPATH=C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowershell\v1.0
WINETEMP=C:\users\nick\Temp
WINETMP=C:\users\nick\Temp
i.e., the patch seems to work as expected.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list