Package install check missing usr/lib/...def file

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Wed May 19 22:08:06 GMT 2021


On 2021-05-19 05:13, Marco Atzeri via Cygwin-apps wrote:
> On 19.05.2021 02:42, Brian Inglis wrote:
>> Trying to update libidn2, but both arch get:
>>
>>  >>> Checking packages for unexpected, missing or duplicate files
>> *** Warning: Packages are missing files:
>> -usr/lib/libidn2-0.def
>> *** ERROR: Packages are missing files:
>>
>> $ l libidn2-2.3.1-1.x86_64/**/*.def
>> libidn2-2.3.1-1.x86_64/build/lib/libidn2-0.def
>> libidn2-2.3.1-1.x86_64/inst/usr/lib/libidn2-0.def
>>
>> Is the fix just to add into src_install:
>>
>> rm $B/lib/*.def
> 
> probably it is the easiest

All rm made the build fail, set in PKG_IGNORE worked!

>> as I see no other def files under usr/lib?
> 
> what is the content ?
> Is the import lib exporting the symbols ?

It looks like all the correct outputs are generated,
but have not yet tried using it in actual packages.

> Probably the build system is mixing Cygwin and Windows
> https://cygwin.com/cygwin-ug-net/dll.html

Maybe assumes it needs kept around to build with.

Thanks for the suggestions and questions.

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


More information about the Cygwin-apps mailing list