public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 3.3.1: Missing VersionInfo resource for all executables/DLLs
@ 2021-11-11 18:47 Hiya Z
  2021-11-11 19:26 ` Marco Atzeri
  2021-11-12 20:59 ` 3.3.1: Missing VersionInfo resource " Hiya Z
  0 siblings, 2 replies; 5+ messages in thread
From: Hiya Z @ 2021-11-11 18:47 UTC (permalink / raw)
  To: cygwin

Hello,

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.

Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.3.1: Missing VersionInfo resource for all executables/DLLs
  2021-11-11 18:47 3.3.1: Missing VersionInfo resource for all executables/DLLs Hiya Z
@ 2021-11-11 19:26 ` Marco Atzeri
  2021-11-12 22:49   ` 3.3.1: Missing VersionInfo resource fields for cygwin1.dll Brian Inglis
  2021-11-12 20:59 ` 3.3.1: Missing VersionInfo resource " Hiya Z
  1 sibling, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2021-11-11 19:26 UTC (permalink / raw)
  To: cygwin

On 11.11.2021 19:47, Hiya Z via Cygwin wrote:
> Hello,
> 
> 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.
> 
> Regards.
> 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.3.1: Missing VersionInfo resource for cygwin1.dll
  2021-11-11 18:47 3.3.1: Missing VersionInfo resource for all executables/DLLs Hiya Z
  2021-11-11 19:26 ` Marco Atzeri
@ 2021-11-12 20:59 ` Hiya Z
  1 sibling, 0 replies; 5+ messages in thread
From: Hiya Z @ 2021-11-12 20:59 UTC (permalink / raw)
  To: cygwin

>>From: Marco Atzeri <marco.atzeri@gmail.com>
>>Date: Thu, 11 Nov 2021 20:26:15 +0100
>>Subject: Re: 3.3.1: Missing VersionInfo resource for all executables/DLLs

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

Hello Marco,

Yes, you are correct that only cygwin1.dll had it. But the versioninfo is
indeed missing in 3.3.x.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.3.1: Missing VersionInfo resource fields for cygwin1.dll
  2021-11-11 19:26 ` Marco Atzeri
@ 2021-11-12 22:49   ` Brian Inglis
  2021-11-15  9:20     ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2021-11-12 22:49 UTC (permalink / raw)
  To: cygwin

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@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.]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.3.1: Missing VersionInfo resource fields for cygwin1.dll
  2021-11-12 22:49   ` 3.3.1: Missing VersionInfo resource fields for cygwin1.dll Brian Inglis
@ 2021-11-15  9:20     ` Corinna Vinschen
  0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2021-11-15  9:20 UTC (permalink / raw)
  To: cygwin

On Nov 12 15:49, Brian Inglis wrote:
> 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

Yeah, the version info resource isn't copied into the DLL for some
reason.  This is probably related to the changes in the build system
using automake now.  Something got lost in the transition...


Corinna

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-15  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 18:47 3.3.1: Missing VersionInfo resource for all executables/DLLs Hiya Z
2021-11-11 19:26 ` Marco Atzeri
2021-11-12 22:49   ` 3.3.1: Missing VersionInfo resource fields for cygwin1.dll Brian Inglis
2021-11-15  9:20     ` Corinna Vinschen
2021-11-12 20:59 ` 3.3.1: Missing VersionInfo resource " Hiya Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).