[Bug 29661] New: wineboot unable to create win32 prefix under certain conditions

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 20 06:50:32 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29661

             Bug #: 29661
           Summary: wineboot unable to create win32 prefix under certain
                    conditions
           Product: Wine
           Version: unspecified
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jonasa at gmail.com
    Classification: Unclassified


wineboot is unable to create 32bit prefix on 64bit linux if when the folder
exists because existings (empty or otherwise) folders are treated as 64bit
prefixes. 

To reproduce:

Create 32bit prefix:

# Create empty folder
mkdir /home/wine/photoshop

# Try setup a new 32bit prefix
WINEPREFIX='/home/wine/photoshop' WINEARCH='win32' wine 'wineboot'

Result wine gives this error:
wine: WINEARCH set to win32 but '/home/wine/photoshop' is a 64-bit
installation.

Remove the folder and you are able to created the prefix.


Create 64bit prefix:

# Create empty folder
mkdir /home/wine/photoshop

# Try setup a new 64bit prefix
WINEPREFIX='/home/wine/photoshop' WINEARCH='win32' wine 'wineboot'

Result:
64bit prefix is created!


I don't know if this is the intended behavior, but it is not intuitive and the
error message is not helpful.

The error is generated in /wine/dlls/ntdll/server.c on line 1116

--

Wine version: 1.3.37
OS: Arch Linux 64bit

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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