On 2024-09-15 14:53, Brian Inglis via Cygwin-apps wrote:
Hi folks,

I would like to check if I have the extensive b-r prereqs to build a package,
but cygport immediately bombs out with one missing package at a time!

Sorry folks,

I was wrong about that!
It kind of looks that way when 'inherit ...' is at the top of the cygport.

It looks like inherit ... with most cygclasses calls check_prog_req ... for certain required executables, and exits immediately.
The bypass to continue is to set or export __cygport_check_prog_req_nonfatal=1!

If we do that, then inherit complains but does not exit, and `cygport ... make` lib/check_funcs.cygport: check_depends() checks b-r and warns about all missing b-r packages as desired, which we can then install after killing the build.

Could we please make it check all and complain, and maybe just make that a warning, and/or perhaps perform minor operations like *vars* first, or do I have to revert to sourcing and echoing vars, as I did before *vars*? ;^>

$ cygport graphviz.cygport vars BUILD_REQUIRES
/usr/share/cygport/cygclass/php.cygclass: line 142: /usr/bin/pear: No such file or directory /usr/share/cygport/cygclass/php.cygclass: line 150: /usr/bin/pear: No such file or directory
*** ERROR: ocaml is required to build this package

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to