Re: Cygport Bug: "find: No such file" Errors When Packaging

2022-09-17 Thread William Hu via Cygwin-apps
Hi Jon,

> I think just dropping ${mldir} would prevent cygport from detecting the
> dependencies of an ocaml library (other ocaml libraries, or ocaml
> itself?), but the second alternative sounds acceptable.
> 
> Patches welcome, as always :)

Thanks for the insight! Patch attached :)

William

cygport_check_mldir_exist.patch
Description: Binary data


Re: [ITP] Perl distributions

2022-09-17 Thread Achim Gratz
Jon Turney writes:
> On 17/09/2022 08:58, Achim Gratz wrote:
>> perl-Alien-CFITSIO
>> perl-File-ShouldUpdate
>> perl-Sort-Versions
>
> Done.

Thank you.


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

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


Re: Cygport Bug: "find: No such file" Errors When Packaging

2022-09-17 Thread Jon Turney

On 15/09/2022 20:38, William Hu via Cygwin-apps wrote:

Hello,


[...]


Cygport checks one more time to make sure mldir exists in the package being 
built
(this second check is why those errors are hard to trigger on a non-OCaml 
package)
and then calls `find` on both ${D}${mldir} and ${mldir}. Of course, since the
*real* /usr/lib/ocaml won't exist if OCaml isn't installed on your actual system
when you build it, find will output an error when run on those two directories.

Two ways to fix this would be to either remove the ${mldir} argument from find 
or
test if ${mldir} exists and set it to the empty string if it doesn't. The second
would likely preserve compatibility if there exist packages that depend on find
searching both directories. The buggy test was added in
.
Does anyone else have any insights or suggestions or does the above fix sound
reasonable?


I think just dropping ${mldir} would prevent cygport from detecting the 
dependencies of an ocaml library (other ocaml libraries, or ocaml 
itself?), but the second alternative sounds acceptable.


Patches welcome, as always :)



Re: [ITP] Perl distributions

2022-09-17 Thread Jon Turney

On 17/09/2022 08:58, Achim Gratz wrote:

perl-Alien-CFITSIO
perl-File-ShouldUpdate
perl-Sort-Versions


Done.



[ITP] Perl distributions

2022-09-17 Thread Achim Gratz


I need to package a few newly introsuced nuild dependencies for Cygwin:

perl-Alien-CFITSIO
perl-File-ShouldUpdate
perl-Sort-Versions

Can these please be added to my list of packages?


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada