public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Package install check missing usr/lib/...def file
@ 2021-05-19  0:42 Brian Inglis
  2021-05-19 11:13 ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2021-05-19  0:42 UTC (permalink / raw)
  To: cygwin-apps

Hi folks,

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

as I see no other def files under usr/lib?

-- 
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] 3+ messages in thread

* Re: Package install check missing usr/lib/...def file
  2021-05-19  0:42 Package install check missing usr/lib/...def file Brian Inglis
@ 2021-05-19 11:13 ` Marco Atzeri
  2021-05-19 22:08   ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2021-05-19 11:13 UTC (permalink / raw)
  To: cygwin-apps

On 19.05.2021 02:42, Brian Inglis wrote:
> Hi folks,
> 
> 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

> 
> as I see no other def files under usr/lib?

what is the content ?
Is the import lib exporting the symbols ?

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


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

* Re: Package install check missing usr/lib/...def file
  2021-05-19 11:13 ` Marco Atzeri
@ 2021-05-19 22:08   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2021-05-19 22:08 UTC (permalink / raw)
  To: cygwin-apps

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

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

end of thread, other threads:[~2021-05-19 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19  0:42 Package install check missing usr/lib/...def file Brian Inglis
2021-05-19 11:13 ` Marco Atzeri
2021-05-19 22:08   ` Brian Inglis

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