X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=mLs3A3S hp12E4s6nutShutRzWyhSalALu7Z1id8GnP/eU7Tzlhnahj6+kKxURHfrGj1hNzU WonBpDe829Dg5NwHinKXzMuwqA2CPHHfezJTSBE6WuYRNsMfV20wuxuEUatrGq4t CaSP83c4mZWc360VdDItzv8n+9+01P749Wr8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=veSwutT1cnTQB vFW2SOl3CXubF8=; b=A2luEoo4JS6enCezGrjaPxCsWvNPq4H/AL5jXFRZu2y33 WbZnwiQLHcHHJMnYRXMdgP4q0Hr4zvHyG7/bNWHmY1Ze+B+9zQj/1uvI75tV6IE8 hj2Z0Sf44WDy5hJHtzSZPnX6PIVtEINfnFHoYWlIBD4Bu3EJFs11Cn+P0Yti6U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,FREEMAIL_FROM,KAM_EXEURI,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=dank, Installation, Wine, gotta X-HELO: mail-pg0-f49.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=UVcCargJRZG+/u+oGLzJ5KQlNZmhymvsVjBskVFdyjY=; b=cTkoOXLc7HR0d63UZe8UFXDXWRpQNf/2U8YGr8ybLq9oSl9pdtlK60J28RviYgx1N9 WysPaH7pihBmeH0LAvGTb9a5AWNKfUcjUTQ1Z5smPjSI9PRWBMD8dr4qOotO/ee+ivUr rfTcBvGoVw3GfeqHi6nkikXmgoZ3qAa+ex/ObvBMaikmmjjRC+raQa/uGmjIzm9RT02I 4D3Ec2ggXaLaur2/SA53S7AUhmMbWEcs7r1WZViNoKTr64pvIZNXtIVg2rtNoyikH21z imHS/w7UsK4wOP0L/uEwN+0+wcFE5niLt8N5WAsxsMN1g5XnGJ6gmCH77do0jmyeutpS Cweg== X-Gm-Message-State: AKS2vOzJmQBOXWpIWF8OPRxCKZjbiDBlYglu85JEp1Vi8imPwhmlUGx1 v0tSr0PG/8y8GBPINqgReE0bOaZzjrFd X-Received: by 10.84.210.134 with SMTP id a6mr24994189pli.17.1498833934744; Fri, 30 Jun 2017 07:45:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170630124425.GB11464@rz.localhost.localdomain> References: <20170630112619 DOT GA11464 AT rz DOT localhost DOT localdomain> <20170630124425 DOT GB11464 AT rz DOT localhost DOT localdomain> From: Dan Kegel Date: Fri, 30 Jun 2017 07:45:34 -0700 Message-ID: Subject: Re: setup.exe problem in wine To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, Jun 30, 2017 at 5:44 AM, Richard Z wrote: >> read in various places that it should work, but I get >> "Cygwin is not supported on this Windows version" running >> from both wineconsole or bash. > > got somewhat farther with "--allow-unsupported-windows" > and also need "--site" because mirror list is empty no matter > what connection method I specify. Surrender, Dorothy! :-) I've tried this periodically over the years. It's a moving target, and as soon as one batch of problems is fixed, another pops up. See https://bugs.winehq.org/buglist.cgi?quicksearch=cygwin (many of the older ones are fixed, so pay more attention to recent ones). But heck, maybe you're using old wine, and new wine works better, so I installed the latest dev version on Ubuntu 17.04 by following https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html i.e. $ wget https://dl.winehq.org/wine-builds/Release.key $ sudo apt-key add Release.key $ sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' $ sudo apt update $ sudo apt install winehq-devel $ PATH=/opt/wine-devel/bin:$PATH I then got a fresh .wine directory: $ cd $HOME $ mv -f .wine .wine.beforecygwin And for grins, checked versions by doing $ wine --version $ winecfg and verifying that wine reported "wine-2.11" (nice and fresh) and observing that winecfg's gui said wine is emulating win7. I then quite winecfg and did $ wget https://cygwin.com/setup-x86_64.exe $ wine setup-x86_64.exe That reported "setup.exe version 2.880 (64 bit)". The first glitch was that the prompt for Local Package Directory defaulted to my home directory (Z:\home\dank)! I changed that to c:\cygpkgs64 like I usually do and continued. There were lots of complaints from setup.exe (not wine) of the sort AddAccessAllowedAceEx(C:\cygwin64/etc/setup, group) failed: 1337 but those can probably be ignored. Default install seemed to go quite well, at least until the postinstall scripts ran; each one of them complained about a stack overflow, but the gui continued: running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation fixme:advapi:LsaOpenPolicy ((null),0x1802d1f40,0x00000001,0xffffc2f8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetUserGetInfo Level 3 is not implemented err:seh:setup_exception stack overflow 1840 bytes in thread 003d eip 000000007bc96ded esp 00000000ffe00ee0 stack 0xffe00000-0xffe01000-0x100000000 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation fixme:advapi:LsaOpenPolicy ((null),0x1802d1f40,0x00000001,0xffffc2f8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetUserGetInfo Level 3 is not implemented err:seh:setup_exception stack overflow 1840 bytes in thread 003f eip 000000007bc96ded esp 00000000ffe00ee0 stack 0xffe00000-0xffe01000-0x100000000 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/000-cygwin-post-install.sh" fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation fixme:advapi:LsaOpenPolicy ((null),0x1802d1f40,0x00000001,0xffffc2f8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetUserGetInfo Level 3 is not implemented err:seh:setup_exception stack overflow 1840 bytes in thread 0041 eip 000000007bc96ded esp 00000000ffe00ee0 stack 0xffe00000-0xffe01000-0x100000000 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/coreutils.sh" ... running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_man-db.sh" fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation fixme:advapi:LsaOpenPolicy ((null),0x1802d1f40,0x00000001,0xffffc2f8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetUserGetInfo Level 3 is not implemented err:seh:setup_exception stack overflow 1840 bytes in thread 0051 eip 000000007bc96ded esp 00000000ffe00ee0 stack 0xffe00000-0xffe01000-0x100000000 Changing gid to Administrators fixme:ntdll:NtSetInformationToken unimplemented class 5 SetTokenInformation() failed: 1 AddAccessAllowedAceEx(, group) failed: 1337 AddAccessAllowedAceEx(, group) failed: 1337 AddAccessAllowedAceEx(, group) failed: 1337 AddAccessAllowedAceEx(, group) failed: 1337 note: Installation Complete Ending cygwin install AddAccessAllowedAceEx(, group) failed: 1337 AddAccessAllowedAceEx(, group) failed: 1337 I even got an Ubuntu crash dialog for that once. Anyway, setup finished, so I tried getting a cygwin session: dank AT thinky:~$ wine cmd /c 'c:\cygwin64\cygwin.bat' fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation fixme:advapi:LsaOpenPolicy ((null),0x1802d1f40,0x00000001,0xffffc2f8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetUserGetInfo Level 3 is not implemented Cygwin WARNING: Couldn't compute FAST_CWD pointer. This typically occurs if you're using an older Cygwin version on a newer Windows. Please update to the latest available Cygwin version from https://cygwin.com/. If the problem persists, please see https://cygwin.com/problems.html err:seh:setup_exception stack overflow 1840 bytes in thread 0030 eip 000000007bc96ded esp 00000000ffe00ee0 stack 0xffe00000-0xffe01000-0x100000000 Well, shoot. So I tried again with WINEDEBUG=+relay to get a log of system calls, Wading through the noise, I saw two interesting things: 0030:Starting process L"C:\\cygwin64\\bin\\bash.exe" (entryproc=0x100401000) ... 0030:Call KERNEL32.CreateFileW(600008028 L"\\\\.\\pipe\\cygwin-e022582115c10879-lpc",c0000000,00000003,18027c3e0,75646f4d00000003,656c646e00020000,00000000) ret=18015fa5f 0030:Ret KERNEL32.CreateFileW() retval=ffffffffffffffff ret=18015fa5f 0030:Call KERNEL32.GetLastError() ret=18015fb05 0030:Ret KERNEL32.GetLastError() retval=00000002 ret=18015fb05 Gee, I hope Wine's pipes are up to snuff. And: 0030:Call KERNEL32.GetModuleHandleA(180243568 "ntdll.dll") ret=1800df8dc 0030:Ret KERNEL32.GetModuleHandleA() retval=7bc20000 ret=1800df8dc 0030:Call KERNEL32.GetProcAddress(7bc20000,180243572 "RtlGetCurrentDirectory_U") ret=1800df8f7 0030:Ret KERNEL32.GetProcAddress() retval=7bc2e3f4 ret=1800df8f7 0030:Call KERNEL32.GetProcAddress(7bc20000,18024358b "RtlEnterCriticalSection") ret=1800df909 0030:Ret KERNEL32.GetProcAddress() retval=7bc49500 ret=1800df909 0030:Call KERNEL32.GetLastError() ret=18011fa9b 0030:Ret KERNEL32.GetLastError() retval=00000000 ret=18011fa9b 0030:Call KERNEL32.GetStdHandle(fffffff4) ret=1801202d0 0030:Ret KERNEL32.GetStdHandle() retval=00000008 ret=1801202d0 0030:Call KERNEL32.WriteFile(00000008,ffff8ab0,00000125,ffff8aa4,00000000) ret=1801202ec Cygwin WARNING: Couldn't compute FAST_CWD pointer. This typically occurs if you're using an older Cygwin version on a newer Windows. Please update to the latest available Cygwin version from https://cygwin.com/. If the problem persists, please see https://cygwin.com/problems.html Well, that's funny. RtlGetCurrentDirectory_U is implemented in Wine; I wonder why Cygwin doesn't like it. That seems worth investigating. Gotta go (I have to get some new tires on the car before we head off on vacation), but at least that gives you a peek at the state of things. Maybe somebody else can get further. - Dan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple