Re: Cygport "check_perl_module" misbehaving?
ASSI via Cygwin-apps <[email protected]> Wed, 29 Apr 2026 18:59:02 +0200
| Newsgroups | gmane.os.cygwin.applications |
|---|---|
| Message-ID | <[email protected]> |
Soren via Cygwin-apps writes: > Hello list. I'm getting ready to offer some Perl CPAN modules packaged for > Cygwin, Please don't, any of these that is maintained by some other person than me just makes my life more difficult when it comes to updating Perl and/or make sure that some other update isn't creating unresolvable dependency chains. Just ask for them to be added and if they're not something exotic or unmaintained upstream I'll provide them like (almost) all others. > and I've run into a puzzling result with an existing cygported > module that I'm using as a learning exercise. > > The Cygwin package is perl-YAML, and the trouble happens when cygport cal= ls > its function check_perl_module. Two modules are build prerequisites and I > am sure these modules are installed. The modules are Test::Deep and > Test::YAML (perl-Test-Deep and perl-Test-YAML). Here, I'll show the comma= nd > results: > > $ cygport perl-YAML.cygport compile test > *** Info: Build of perl-YAML requires > *** Info: Test::Deep Test::YAML >>>> Compiling perl-YAML-1.31-2.noarch > *** Warning: Some build dependencies are not installed. > *** Warning: This package may end up missing features, or not build at al= l. > *** Warning: Consider installing these packages first before continuing: > *** Warning: perl-Test-Deep perl-Test-YAML [=E2=80=A6]=20 > The script function check_perl_module is very simple, and it should always > work if the module(s) have been installed: [=E2=80=A6] > So, what could I be missing? Most likely a messed up path and some other Perl than Cygwin's coming first. And that's another thing you may not be aware of yet, but if you want to maintain Cygwin packages you need to have a squeaky clean build environment that ideally should not be used for anything else. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds