X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48A787F0.408@cwilson.fastmail.fm> Date: Sat, 16 Aug 2008 22:07:44 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Bug in cygcheck (1.7) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 cygcheck seems really confused, on my 1.7 installation (which is XPsp3 on a VMware virtual image). Or I am. $ uname -a CYGWIN_NT-5.1 VMWARE-XP 1.7.0(0.186/5/3) 2008-08-15 15:17 i686 Cygwin $ cygcheck -cd Cygwin Package Information Package Version _update-info-dir 00749-1 aalib 1.4rc5-2 aalib-devel 1.4rc5-2 aalib-devel 1.4rc5-2 ^^^^^ this is the actual end of the output. It gets truncated very early, and the last line gets duplicated. But, I have lots of packages installed: $ cat /etc/setup/installed.db INSTALLED.DB 2 aalib aalib-1.4rc5-2.tar.bz2 0 aalib-devel aalib-devel-1.4rc5-2.tar.bz2 0 alternatives alternatives-1.3.30c-2.tar.bz2 0 asciidoc asciidoc-8.2.7-1.tar.bz2 0 ash ash-20040127-4.tar.bz2 0 atk atk-1.10.3-1.tar.bz2 0 ... I manually snipped 200 or so lines right here ... xterm xterm-229-1.tar.bz2 0 zip zip-2.32-2.tar.bz2 0 zlib zlib-1.2.3-2.tar.bz2 0 _update-info-dir _update-info-dir-00749-1.tar.bz2 0 I believe the problem has *something* to do with output buffering, because the output is "correct" -- that is, the 'head' is what I expect -- except that it cuts off too early, and the tail goes into the bitbucket. Also, successive runs of the same cygcheck command don't all "cut off" at exactly the same line. Redirection makes no difference. I'm running these commands from a normal cygwin (bash in cmd) window, with CYGWIN='server'. I'd attach a 'cygcheck -s -v -r' output, but it's not very informative. It's cut off after 10 lines or so. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/