http://bugs.winehq.org/show_bug.cgi?id=33619
Bug #: 33619 Summary: UWIN installer fails with cannot seek to data offset Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: simon.toedt@gmail.com Classification: Unclassified
The UWIN (Unix emulation on Windows) installer fails on Wine wine-1.5.23. The goal is to use WINE for automated testing without having to fire up a full blown Windows system each time in VMware or real iron.
Steps to test: wget --http-user="I accept www.opensource.org/licenses/eclipse" --http-passwd="." 'http://www2.research.att.com/~gsf/download/beta/uwin-base.2013-02-08.win32.i...' wine uwin-base.2013-02-08.win32.i386.exe
wine version is wine-1.5.23
The output of the first attempt: wine uwin-base.2013-02-08.win32.i386.exe wine: created the configuration directory '/home/stoe/.wine' fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:iphlpapi:NotifyAddrChange (Handle 0xf3e308, overlapped 0xf3e320): stub fixme:storage:create_storagefile Storage share mode not implemented. err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:iphlpapi:NotifyAddrChange (Handle 0x114e8d0, overlapped 0x114e8dc): stub wine: configuration in '/home/stoe/.wine' has been updated. Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: cannot seek to data offset
The output of the second attempt: wine uwin-base.2013-02-08.win32.i386.exe Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: Z:\home\stoe\winetest\uwin-base.2013-02-08.win32.i386.exe: cannot seek to data offset
I have no clue whatsoever what this means.
Per http://www.opensource.apple.com/source/ksh/ksh-13/ksh/src/cmd/INIT/ratz.c the message comes from ratz.c when either open() or lseek() fails: ===========cut========== static int sear_seek(off_t offset, int tmp) { int n; char cmd[PATH_MAX];
GetModuleFileName(NULL, cmd, sizeof(cmd)); sear_stdin = dup(0); close(0); if (open(cmd, O_BINARY|O_RDONLY) || lseek(0, offset, 0) != offset) { fprintf(stderr, "%s: %s: cannot seek to data offset\n", state.id, cmd); return -1; } ===========cut========== AFAIK this should not fail, at least at the first glance.
http://bugs.winehq.org/show_bug.cgi?id=33619
Simon Toedt simon.toedt@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simon.toedt@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33619
--- Comment #1 from Simon Toedt simon.toedt@gmail.com 2013-05-19 14:14:47 CDT --- Here is a response from David Korn (yes, author of the Korn Shell 93):
uwin-base.2013-02-08.win32.i386.exe is an executable that is a version of pax followed by the pax file. The first thing that it does is seek to the byte location of the pax file and the executable portion of uwin-base.2013-02-08.win32.i386.exe then reads this file.
It looks as if seeking to a byte location in uwin-base.2013-02-08.win32.i386.exe isn't working in wine.
How can I debug this situation?
http://bugs.winehq.org/show_bug.cgi?id=33619
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-05-19 15:16:29 CDT --- I remember a seek bug being fixed recently so I think the first thing you should do is to update to the latest development version (1.5.30). I can't reproduce the issue you describe.
http://bugs.winehq.org/show_bug.cgi?id=33619
--- Comment #3 from Simon Toedt simon.toedt@gmail.com 2013-05-19 16:37:39 CDT --- (In reply to comment #2)
I remember a seek bug being fixed recently so I think the first thing you should do is to update to the latest development version (1.5.30). I can't reproduce the issue you describe.
Using 1.5.30 the installation appears to work, except that something is spamming the logs with messages like:
fixme:netapi32:NetQueryDisplayInformation Level 1 partially implemented fixme:netapi32:NetUserGetInfo Level 3 is not implemented
I'll file a bug for that problem.
http://bugs.winehq.org/show_bug.cgi?id=33619
--- Comment #4 from Simon Toedt simon.toedt@gmail.com 2013-05-19 16:46:14 CDT --- Follow-up bug is bug #33621 - "[UWIN] ksh93 from UWIN generates a lot of fixme warnings".
http://bugs.winehq.org/show_bug.cgi?id=33619
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com 2013-05-20 03:02:51 CDT --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=33619
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=33619
Simon Toedt simon.toedt@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|UWIN installer fails with |[UWIN] UWIN installer fails |cannot seek to data offset |with cannot seek to data | |offset
http://bugs.winehq.org/show_bug.cgi?id=33619
Simon Toedt simon.toedt@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
http://bugs.winehq.org/show_bug.cgi?id=33619
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-05-24 13:33:22 CDT --- Closing bugs fixed in 1.5.31.
https://bugs.winehq.org/show_bug.cgi?id=33619
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.5.23