http://bugs.winehq.org/show_bug.cgi?id=21206
Summary: Cygwin 1.7.1 fails to install packages under wine Product: Wine Version: 1.1.35 Platform: x86-64 URL: http://www.cygwin.com/setup.exe OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=25469) --> (http://bugs.winehq.org/attachment.cgi?id=25469) terminal output from install
1.5 somewhat worked under wine, but 1.7 fails miserably. Try installing any program: $ sh winetricks cygwin # Make sure to use winetricks from svn, or download cygwin from link above
Choose next all the way through to install the base system. Cygwin will download its files, but when trying to install them, gives: running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/000-cygwin-post-install.sh fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessSessionInformation fixme:ntdll:NtQueryVolumeInformationFile 0x104: volume info not supported fixme:ntdll:NtQueryVolumeInformationFile 0x104: attribute info not supported fixme:ntdll:NtQueryObject Unsupported information class 1 ... /etc/postinstall/000-cygwin-post-install.sh: line 53: cannot create temp file for here document: Invalid request code 6 [exiting thread] bash 47 cygthread::stub: erroneous thread activation, name is NULL 20295 [exiting thread] bash 47 cygthread::stub: erroneous thread activation, name is NULL ...
There's also a ton of: AddAccessAllowedAce(, group) failed: 1337 while installing.
The installer claims to complete, but whenever you try to run it, the ntdll/cygthread::stub messages flood the terminal again.
http://bugs.winehq.org/show_bug.cgi?id=21206
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2010-01-09 19:43:11 --- You can see the source with the "erroneous thread activation" error message here: http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc?rev=1.79...
Maybe see also an old problem involving that message, http://www.mail-archive.com/cygwin@cygwin.com/msg66728.html
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #2 from Dan Kegel dank@kegel.com 2010-01-09 19:58:31 --- Interestingly, when you run cygwin.bat and it spews that infinite series of warnings, at some point it starts listening for commands on the commandline like it should. Typing exit causes the shell to exit, and typing cat successfully runs cat, echoing your input without any warnings.
That said, there is an installation failure: I was unable to install gvim, it kept crapping out with various warnings about files in use.
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #3 from Dan Kegel dank@kegel.com 2010-01-09 21:15:52 --- Also interestingly, if you do cd ~/.wine/drive_c/cygwin/bin wine bash -i the problem does not occur... at least, not until you issue the second command. ./ls works once, but the second time you run it, you get the spewage. Sometimes ^C stops it, but after that, the shell is unstable.
The problem also occurs the same with ash and dash.
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #4 from Dan Kegel dank@kegel.com 2010-01-10 00:40:08 --- http://www.fruitbat.org/Cygwin/ pointed me to http://cygwin.com/setup-legacy.exe, which seems to be the official way for win9x to get at the old major version of cygwin going forward (though I haven't seen an announcement anywhere).
Sadly, that installer makes wine explode, too ( it fails because /etc/postinstall/cygwin-doc.sh etc. don't get installed ). The installed cygwin seems to work, though since postinstall didn't run, things like PATH aren't set up properly.
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #5 from Dan Kegel dank@kegel.com 2010-01-10 01:35:44 --- I think I have a workaround, though, which I'll bake into winetricks until we've fixed the bug. Here 'tis:
Use an old setup.exe (the one I just uploaded at http://kegel.com/cygwin/1.5/setup.exe will do) Invoke it with the -X parameter to turn of signature checking, and use the URL ftp://www.fruitbat.org/pub/cygwin/circa/2009/09/08/111037 for the repository. (-X is needed because the archive at fruitbat.org doesn't have the .sig files.)
That doesn't behave perfectly, but it does seem to let me limp along.
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #6 from Dan Kegel dank@kegel.com 2010-01-10 08:46:18 --- Here's a possible plan of attack for finding the change in cygwin's setup that broke wine compatibility:
1) verify that installing gvim fails with current cygwin setup but succeeds with old cygwin setup *on same snapshot of cygwin repo* by using -X option and pasting ftp://www.fruitbat.org/pub/cygwin/circa/2009/09/08/111037 into the repository field in the cygwin setup, then installing gvim. I think current setup will put up an error dialog halfway through, but old setup will work.
2) learn how to build setup.exe from svn, see http://sourceware.org/cygwin-apps/setup.html
3) verify that building a setup.exe from September's sources works, but that building one from today's sources fails
4) binary search
5) profit!
http://bugs.winehq.org/show_bug.cgi?id=21206
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-01-19 13:39:39 --- Fixed by 3b67ad9bd47b553c82a85bdf6b205555acc496d2.
http://bugs.winehq.org/show_bug.cgi?id=21206
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2010-01-22 11:02:27 --- Closing bugs fixed in 1.1.37.
http://bugs.winehq.org/show_bug.cgi?id=21206
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #9 from fracting fracting@gmail.com 2011-12-28 05:35:50 CST --- Seems still present, not sure new bug or regression, will retest later.
http://bugs.winehq.org/show_bug.cgi?id=21206
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Cygwin 1.7.1 fails to |Cygwin 1.7.1 fails to |install packages under wine |install packages
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #10 from fracting fracting@gmail.com 2012-01-01 14:16:44 CST --- (In reply to comment #9)
Seems still present, not sure new bug or regression, will retest later.
Hello, with Dan's hack in winetricks, I can install cygwin packages with wine-1.1.36, wine-1.1.36-142-g3b67ad9 and wine-1.3.36. After cygwin packages installed, at least echo.exe and yes.exe works well.
Without Dan's hack, I can't install cygwin packages with all of above versions.
On all versions of Wine, when I try to install cygwin packages with `winetricks -q --no-isolate cygwin` but without Dan's hack (Paste in ftp://www.fruitbat.org/pub/cygwin/circa/2009/09/08/111037 as the repo url for now, until bug 21206 is fixed) , I get an error claims as below:
--- snip --- http://cygwin.petsads.us//setup.bz2 line 2436: syntax error, unexpected STRING
http://cygwin.petsads.us//setup.bz2 line 2436: unrecognized line 2436 (do you have the latest setup?) --- snip ---
If I follow Dan's hack, then this error is disappear on all versions of Wine.
Google for such message won't point me to any open wine bugs. Should this bug be reopened or report a separate bug?
Cheers and Happy New Year :)
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #11 from Qian Hong fracting@gmail.com 2012-07-08 21:17:53 CDT --- Hello, still present in wine-1.5.8, please reopen this bug, thanks!
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #12 from Dan Kegel dank@kegel.com 2012-07-08 21:40:20 CDT --- Please file a new bug.
http://bugs.winehq.org/show_bug.cgi?id=21206
--- Comment #13 from Qian Hong fracting@gmail.com 2012-07-08 21:55:41 CDT --- (In reply to comment #12)
Please file a new bug.
Ok, here it is: Bug 31172
Could you also update the warning in winetricks? --- snip --- w_warn "Paste in ftp://www.fruitbat.org/pub/cygwin/circa/2009/09/08/111037 as the repo url for now, until bug 21206 is fixed" --- snip ---
Regards ;-)
https://bugs.winehq.org/show_bug.cgi?id=21206
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.cygwin.com/setup |https://web.archive.org/web |.exe |/20100203092647/http://cygw | |in.com/setup-legacy.exe CC| |focht@gmx.net Component|-unknown |ntdll Fixed by SHA1| |3b67ad9bd47b553c82a85bdf6b2 | |05555acc496d2