From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55405 invoked by alias); 30 Jun 2017 14:45:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 45424 invoked by uid 89); 30 Jun 2017 14:45:41 -0000 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 Received: from mail-pg0-f49.google.com (HELO mail-pg0-f49.google.com) (74.125.83.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Jun 2017 14:45:38 +0000 Received: by mail-pg0-f49.google.com with SMTP id f127so64761704pgc.0 for ; Fri, 30 Jun 2017 07:45:36 -0700 (PDT) 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 Received: by 10.100.187.76 with HTTP; Fri, 30 Jun 2017 07:45:34 -0700 (PDT) In-Reply-To: <20170630124425.GB11464@rz.localhost.localdomain> References: <20170630112619.GA11464@rz.localhost.localdomain> <20170630124425.GB11464@rz.localhost.localdomain> From: Dan Kegel Date: Fri, 30 Jun 2017 14:45:00 -0000 Message-ID: Subject: Re: setup.exe problem in wine To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00422.txt.bz2 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@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