From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2145 invoked by alias); 24 Aug 2017 14:21:50 -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 2112 invoked by uid 89); 24 Aug 2017 14:21:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=uninstall, H*Ad:D*cornell.edu, Hx-languages-length:3768, Interested X-HELO: limerock03.mail.cornell.edu Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Aug 2017 14:21:46 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v7OELixa010574 for ; Thu, 24 Aug 2017 10:21:44 -0400 Received: from [192.168.0.4] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v7OELgnR024286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 24 Aug 2017 10:21:43 -0400 Subject: Re: Presence of cygwin64 elements in an existing Cygwin 32 install after updating To: cygwin@cygwin.com References: From: Ken Brown Message-ID: <35eff42d-9022-ddf8-27f6-9a1889544852@cornell.edu> Date: Thu, 24 Aug 2017 14:21:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00223.txt.bz2 On 8/24/2017 9:36 AM, Keith Christian wrote: > Some Cygwin programs are failing even after reboots, re-installing the > faulty program, and the customary automatic rebasing (e.g. 'dig', Line > 1 below) after a recent update: > > Some cygwin64 packages were installed (see line 17 below (even though > I am running *32* bit cygwin, installed using setup-*x86*.exe: > > After the existing setup warned me that there was a newer one, I > downloaded this one before continuing with the update. > > 08/23/2017 04:10 PM 871,955 setup-x86.exe > > 9afd6a83bbb7dbb55805ab113e1e618e *setup-x86.exe > > Lines 1 - 9: After the update I noticed that 'dig' wasn't working > properly (even after a reboot, and a reinstall of the bind-utils > package, and the automatic rebase invoked by 'setup'.) > > Lines 12 - 17: cygcheck showed the following note about a missing (64 > bit?) cygwin DLL. > > Line 17 especially, why is there an 'x86_64' reference on a cygwin 32 > bit install? > > Lines 20 - 29 show a number of cygwin64 references, 108 to be exact on Line 29: > > Line 33 is additional evidence that this is the 32 bit setup program: > > Lines 36 - 44 show more info about the setup.ini file. > > > 1 dig +short -x 127.0.0.1 > 2 0 [main] dig (4552) C:\cygwin\bin\dig.exe: *** fatal > error - cygheap base mismatch detected - 0x612E8408/0xBA8408. > 3 This problem is probably due to using incompatible versions > of the cygwin DLL. > 4 Search for cygwin1.dll using the Windows Start->Find/Search facility > 5 and delete all but the most recent version. The most recent > version *should* > 6 reside in x:\cygwin\bin, where 'x' is the drive on which you have > 7 installed the cygwin distribution. Rebooting is also suggested if you > 8 are unable to find another cygwin DLL. > 9 Segmentation fault > 10 > 11 > 12 grep "cygwin1\.dll" > /var/kchristian/cygcheck/cygcheck_s_r_v_20170823_165156 > 13 3373k 2017/07/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > 14 "cygwin1.dll" v0.0 ts=2017-07-12 09:53 > 15 3373k 2017/07/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > 16 "cygwin1.dll" v0.0 ts=2017-07-12 09:53 > 17 Missing file: > /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygwin1.dll from package > cygwin64 > 18 > 19 > 20 grep -n cygwin64 /etc/setup/installed.db > 21 543:cygwin64 cygwin64-2.6.0-1.tar.bz2 1 > 22 544:cygwin64-binutils cygwin64-binutils-2.25-1.tar.bz2 0 > 23 545:cygwin64-binutils-debuginfo > cygwin64-binutils-debuginfo-2.25-1.tar.bz2 1 > 24 546:cygwin64-bzip2 cygwin64-bzip2-1.0.6-2.tar.bz2 0 > 25 547:cygwin64-catgets cygwin64-catgets-1.1-2.tar.bz2 1 > 26 > 27 > 28 grep -cw cygwin64 > "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" > 29 108 > 30 > 31 > 32 ls -l "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" > 33 -rwx------+ 1 keith Domain Users 10666707 Aug 23 16:10 > http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini > 34 > 35 > 36 head "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" > 37 # This file was automatically generated at 2017-08-22 00:14:06 UTC. > 38 # > 39 # If you edit it, your edits will be discarded next time the file is > 40 # generated. See http://cygwin.com/setup.html for details. > 41 release: cygwin > 42 arch: x86 > 43 setup-timestamp: 1503360846 > 44 setup-version: 2.881 > > > Interested in how to remove the cygwin64 components from this cygwin > 32 bit system so that failing Cygwin programs work properly. The packages whose names start with "cygwin64" are x86 packages intended for cross-building 64-bit programs on 32-bit Cygwin. If you don't want them, you can uninstall them in the usual way by running setup-x86.exe. I don't think they have anything to do with your problem. Ken -- 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