Re: scallywag cygport fails to detect perl script runtime dependencies

2022-03-12 Thread Brian Inglis

On 2022-03-12 05:56, Jon Turney wrote:

On 11/03/2022 17:50, Brian Inglis wrote:
Does cygport require perl modules to be installed as build 
dependencies in order to enable their detection as runtime 
dependencies for perl scripts in packages?



Yes.
See __list_deps in pkg_info.cygpart


Saw that under 'check_prog\sperl'.

I don't know how we could traverse from module to package otherwise 
(other interpreted languages e.g. python, etc., generally have the same 
issue).


So we need to do this for all interpreted language scripts with language 
module dependencies supported in cygport.


I don't see this a huge problem, as these dependencies would probably 
need to be installed to run tests, if the package has any.


True: good point; ta!

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


Re: scallywag cygport fails to detect perl script runtime dependencies

2022-03-12 Thread Achim Gratz
Brian Inglis writes:
> Does cygport require perl modules to be installed as build
> dependencies in order to enable their detection as runtime
> dependencies for perl scripts in packages?

Yes, although the particular way of how this is done frequently produces
false dependencies (there is no distinction between optional and
required dependencies).  In principe you could also end up with missed
dependencies, although I know of no example for this.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


Re: scallywag cygport fails to detect perl script runtime dependencies

2022-03-12 Thread Jon Turney

On 11/03/2022 17:50, Brian Inglis wrote:
Does cygport require perl modules to be installed as build dependencies 
in order to enable their detection as runtime dependencies for perl 
scripts in packages?


Yes.

See __list_deps in pkg_info.cygpart

I don't know how we could traverse from module to package otherwise 
(other interpreted languages e.g. python, etc., generally have the same 
issue).


I don't see this a huge problem, as these dependencies would probably 
need to be installed to run tests, if the package has any.


scallywag cygport fails to detect perl script runtime dependencies

2022-03-11 Thread Brian Inglis
Does cygport require perl modules to be installed as build dependencies 
in order to enable their detection as runtime dependencies for perl 
scripts in packages?


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