This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strange problem upgrading to 1.7.1-1


Hi all,
I have been running 1.7.0-68 for a while. It was originally a fresh
install, in parallel to 1.5 (which is still running happily).
Today^WOn Monday, fresh back from holiday, I decided to upgrade (to 1.7.1-1).

After a few false starts with setup 2.661, I downloaded setup.exe
2.674 and started the upgrade.

The upgrade proceeded as normal, uninstalling about a dozen packages
including cygwin-1.7.0.68, until it got to the point of installing the
new cygwin1.7.1-1 package, when the "cygwin1.dll is in use" warning
popped up. Fair enough, the X server was still running. I stopped the
X server and clicked "Retry", whereupon the installation proceeded to
the end (setup.log fragment attached)

Then I opened a mintty console and the first warning sign appeared:
regtool: command not found

I thought: Nevermind, I can fix that later. Then I tried to compile a program.
error: sys/stat.h: No such file or directory

Huh? I looked at /usr/include and indeed, there was no sys/stat.h ...
no sys directory at all ... no stdio.h either!

This was serious WTF territory. I ran cygcheck -f /usr/include/stdio.h
which returned nothing. Got the right answer by running it on another
machine. Looked inside /etc/setup/cygwin.lst.gz (attached) and
realized that it's rather short and somewhat corrupted. In the Cygwin
root a file named "MZ\x90" appeared

I tried rerunning setup and reinstall cygwin-1.7.1, then uninstall and
install; all to no avail (always the same "cygwin1.dll in use",
followed by the corrupted install).

I ran the Sysinternals Process Explorer in parallel, in the hope of
catching a glimpse of whatever program may be holding cygwin1.dll; no
luck.

In the end I just untarred the cygwin-1.7.1-1.tar.bz2 in the root
directory, which created all the necessary files. Cygwin seems to
operate normally, but setup.lst.gz is still in that bogus state. I'm
worried about what will happen when the next cygwin-1.7.x package is
released.

Any ideas?
-- 
Life is complex, with real and imaginary parts

Attachment: cygcheck.out
Description: Binary data

Attachment: cygwin.lst.gz
Description: GNU Zip compressed data

Attachment: setup.log.1.7.1
Description: Binary data

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]