delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/12/17:50:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 217CA385840F
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=P+4pOwMu c=1 sm=1 tr=0 ts=618eef91
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=JoBV-ZVoAAAA:8 a=2JJfow6uIDk7MI6BRtcA:9 a=QEXdDO2ut3YA:10
a=wt4-05gOKZFyvnUQzhES:22
Message-ID: <a860b39c-8aa5-a111-8346-a47de2e158bd@SystematicSw.ab.ca>
Date: Fri, 12 Nov 2021 15:49:52 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.0
Subject: Re: 3.3.1: Missing VersionInfo resource fields for cygwin1.dll
To: cygwin AT cygwin DOT com
References: <CAFcD33Me7Jb3hG=8OkVY5n2dSNKrSdHdwfEhbkWLbb1brYR8Sg AT mail DOT gmail DOT com>
<92c1474c-9773-8a71-3234-e1169348d103 AT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <92c1474c-9773-8a71-3234-e1169348d103@gmail.com>
X-CMAE-Envelope: MS4xfGBtp9Lb7tsTF74jeTSTj/FQND3h+uYoBqLjPK+3wy87SFFFreKpxWwmBMXXEOi2icIY89T8FxU0xcyMkxUo9OturxJ6eiTFS4VfB9IGn8EZmnMTdeS3
cciYqjsaBh5ClpdpF9bYqrLDw3T9wKa4F0Uz7T7GPTudASkuSZrtppAfUbTUT66zTxfR384CwGzSlc14eyyIy291FMY/moB3djY=
X-Spam-Status: No, score=-1165.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-11-11 12:26, Marco Atzeri via Cygwin wrote:
> On 11.11.2021 19:47, Hiya Z via Cygwin wrote:
>> Upgraded to 3.3.x and noticed that the VersionInfo resource fields
>> for all binaries under bin are blank (Properties->Details from
>> Explorer). Is this by intent or a miss?
>> It is breaking my application installer that relied on version check for
>> cygwin1.dll.

> Binaries should not have VersionInfo, only cygwin1.dll had it.
> Not checked on 3.3.x

Confirmed missing from cygwin.dll 3.3.0 64 and 32 bit and present up to 
at least 3.2.1. Also present in some other DLLs: 
cyg{asprintf,crypto,freetype,icons,iconv,lzma,ruby,ssl,unistring,usb,z}*.dll

Using SysInternals sigcheck and if you don't have that, base WMIC:

$ head /proc/version
CYGWIN_NT-10.0-19042 version 3.3.0-341.x86_64 (kbrown AT moufang2) (gcc 
version 11.2.0 (GCC) ) 2021-09-24 22:07 UTC
$ sigcheck -a `cygpath -m /bin/cygwin1-old.dll`

Sigcheck v2.73 - File version and signature viewer
Copyright (C) 2004-2019 Mark Russinovich
Sysinternals - www.sysinternals.com

c:\...\bin\cygwin1-old.dll:
         Verified:       Unsigned
         Link date:      17:00 1969-12-31
         Publisher:      n/a
         Company:        Red Hat
         Description:    Cygwin POSIX Emulation DLL
         Product:        Cygwin
         Prod version:   3.1.7
         File version:   3.1.7
         MachineType:    64-bit
         Binary Version: 3001.7.0.0
         Original Name:  cygwin1.dll
         Internal Name:  cygwin1.dll
         Copyright:      Copyright ? Cygwin Authors 1996-2020
         Comments:       n/a
         Entropy:        6.011
$ sigcheck -a `cygpath -m /bin/cygwin1.dll`
Sigcheck v2.73 - File version and signature viewer
Copyright (C) 2004-2019 Mark Russinovich
Sysinternals - www.sysinternals.com

c:\...\bin\cygwin1.dll:
         Verified:       Unsigned
         Link date:      17:00 1969-12-31
         Publisher:      n/a
         Company:        n/a
         Description:    n/a
         Product:        n/a
         Prod version:   n/a
         File version:   n/a
         MachineType:    64-bit
         Binary Version: n/a
         Original Name:  n/a
         Internal Name:  n/a
         Copyright:      n/a
         Comments:       n/a
         Entropy:        5.934
$ wmic datafile where name='"'`cygpath -w /bin/cygwin1-old.dll|sed -e 
's@\\\\@&&@g'`'"' get /format:list
AccessMask=2032127
Archive=TRUE
Caption=C:\...\bin\cygwin1-old.dll
Compressed=FALSE
CompressionMethod=
CreationClassName=CIM_LogicalFile
CreationDate=20200723000343.010135-360
CSCreationClassName=Win32_ComputerSystem
CSName=...
Description=C:\...\bin\cygwin1-old.dll
Drive=c:
EightDotThreeFileName=c:\...\bin\cy473f~2.dll
Encrypted=FALSE
EncryptionMethod=
Extension=dll
FileName=cygwin1-old
FileSize=3551958
FileType=Application Extension
FSCreationClassName=Win32_FileSystem
FSName=NTFS
Hidden=FALSE
InstallDate=20200723000343.010135-360
InUseCount=
LastAccessed=20211112142818.465322-420
LastModified=20200803094909.988243-360
Manufacturer=Red Hat
Name=C:\...\bin\cygwin1-old.dll
Path=\...\bin\
Readable=TRUE
Status=OK
System=FALSE
Version=3001.7.0.0
Writeable=TRUE
$ wmic datafile where name='"'`cygpath -w /bin/cygwin1.dll|sed -e 
's@\\\\@&&@g'`'"' get /format:list
AccessMask=
Archive=TRUE
Caption=C:\...\bin\cygwin1.dll
Compressed=FALSE
CompressionMethod=
CreationClassName=CIM_LogicalFile
CreationDate=20210926060704.341363-420
CSCreationClassName=Win32_ComputerSystem
CSName=...
Description=C:\...\bin\cygwin1.dll
Drive=c:
EightDotThreeFileName=c:\...\bin\cygwin1.dll
Encrypted=FALSE
EncryptionMethod=
Extension=dll
FileName=cygwin1
FileSize=3553176
FileType=Application Extension
FSCreationClassName=Win32_FileSystem
FSName=NTFS
Hidden=FALSE
InstallDate=20210926060704.341363-420
InUseCount=
LastAccessed=20211112144808.053049-420
LastModified=20210924151439.000000-420
Manufacturer=
Name=C:\...\bin\cygwin1.dll
Path=\...\bin\
Readable=TRUE
Status=OK
System=FALSE
Version=
Writeable=TRUE

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019