Web lists-archives.com

Re: Presence of cygwin64 elements in an existing Cygwin 32 install after updating




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