On 13/12/2025 00:16, Mark Geisert via Cygwin wrote:
On 12/12/2025 4:41 AM, Marco Atzeri via Cygwin wrote:
On 12/12/2025 10:21, Mark Geisert via Cygwin wrote:
[...]
There seems to be a larger issue here: somehow the 5.15.18 DLLs are not present in /usr/bin after installing those released packages.  The debug version of them are installed into /usr/lib/debug/usr/bin but the stripped non-debug version are missing.  I will investigate further.

After the 5.15.18 DLLs get installed properly I can look into the version incompatibility problem.

I do not see the problem here, they seems in the right place

$ cygcheck -l libQt5Gui5
/usr/bin/cygQt5Gui-5.dll
/usr/bin/cygQt5OpenGL-5.dll
/usr/bin/cygQt5PrintSupport-5.dll
/usr/bin/cygQt5Widgets-5.dll
/usr/bin/cygQt5XcbQpa-5.dll

Unfortunately the names of the DLLs haven't changed between 5.9.* and 5.15.18.  One has to look at the update times to notice the problem:

~ cd /usr/bin

/usr/bin ls -ltr cygQt5*dll | tail
-rwxr-xr-x 1 Mark None   306195 May 28  2025 cygQt5OpenGL-5.dll*
-rwxr-xr-x 1 Mark None  1564179 May 28  2025 cygQt5Network-5.dll*
-rwxr-xr-x 1 Mark None   340499 May 28  2025 cygQt5PrintSupport-5.dll*
-rwxr-xr-x 1 Mark None   237587 May 28  2025 cygQt5Sql-5.dll*
-rwxr-xr-x 1 Mark None   289299 May 28  2025 cygQt5Test-5.dll*
-rwxr-xr-x 1 Mark None  4923923 May 28  2025 cygQt5Core-5.dll*
-rwxr-xr-x 1 Mark None   234003 May 28  2025 cygQt5Xml-5.dll*
-rwxr-xr-x 1 Mark None  1208851 May 28  2025 cygQt5XcbQpa-5.dll*
-rwxr-xr-x 1 Mark None  5338643 May 28  2025 cygQt5Gui-5.dll*
-rwxr-xr-x 1 Mark None  6160915 May 28  2025 cygQt5Widgets-5.dll*

/usr/bin cd /usr/lib/debug/usr/bin

/usr/lib/debug/usr/bin ls -ltr cygQt5*dll.dbg | tail
-rwxr-xr-x 1 Mark Administrators  18556839 Dec  5 16:12 cygQt5OpenGL-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators  77383641 Dec  5 16:12 cygQt5Network-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators  12359956 Dec  5 16:12 cygQt5PrintSupport-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators 126305401 Dec  5 16:12 cygQt5Core-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators   8077901 Dec  5 16:12 cygQt5Sql-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators   8935879 Dec  5 16:12 cygQt5Test-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators  56896442 Dec  5 16:13 cygQt5XcbQpa-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators   3337397 Dec  5 16:13 cygQt5Xml-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators 209244469 Dec  5 16:13 cygQt5Gui-5.dll.dbg* -rwxr-xr-x 1 Mark Administrators 182191608 Dec  5 16:14 cygQt5Widgets-5.dll.dbg*

/usr/lib/debug/usr/bin

..mark

Protip: Properly built PE, NE, LE or LX format DLL and EXE files are supposed to contain a "Version information" structure, which specifies a textual file description, copyright information (such as "(C) year,year FSF Inc." and "LGPL 3.0+" as well as computer comparable binary version numbers in the form U16[4] { major, minor, sub, patch } .

Specificially this format contains a fixed length binary structure with flags and binary version numbers, and a set of strings indexed by standard ID strings such as "Copyright" . The string values can be provided in any desired set of human languages, such as English, Norwegian and Japanese by providing a list of complete structures for each numbered
Win32 locale, (such as 0x040904B0 = US English, UTF-16LE strings) .

There are tools and Win32 APIs to extract this structure from its designated file locations, as well as the option to independently implement this in an portable tool to extract this from a POSIX system.  The easiest GUI tool is to right click on the file in Windows, select Properties and find the tab that shows all the strings in the language most similar to the
current locale.

So if the Qt build scripts include this information, checking if a DLL is >= a required version
should be easy, even if /bin/cp has reset the timestamps.

--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 <tel:+4531131610>
This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded

--
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

Reply via email to