depend_resolve_current_atom – print the list of packages, matching the dependencies of the current package.
Synopsis
Description
When any of dependencies are not met, method prints reserved string --nonresolved to stdout. It is used for caller methods to determine non-found entries. Method also prints the list of all non-resolved dependencies to stderr. Then it returns with non-zero status.
With optional argument desired method searches for matches not between already installed packages, but between available for build. It writes down the total available list with lsrdd(1) to the file T/build_available and uses it as a base for matching packages. Non-found packages are proccessed in the same way as in plain mode.
Dependencies are the list of entries, separated by spaces or new lines. Single entry is the range of allowed package versions and can be one of the forms:
- >=used-program-1.2.3
- Package used-program must be of version 1.2.3 or higher.
- >used-program-1.2.3
- Package used-program must be of version strictly higher then 1.2.3.
- =used-program-1.2.3
- Package used-program must be strictly of version 1.2.3.
- used-program-1.2.3
- Package used-program must be of version 1.2.3 or higher (same as >=).
- <used-program-1.2.3
- Package used-program must be of version strictly lower then 1.2.3.
- <=used-program-1.2.3
- Package used-program must be of version 1.2.3 or lower.
Versions are compared as version strings by algorithm of sort -V. Inner versions, kept by INNER_VERSION or calculated automatically, do not participate in comparison.
Writing
In desired mode method writes list of buildable packages to T/build_available.
Variables
Interfaces
Options
- any_list_all alternative list of all available packages for desired mode. If not set, default value of rdd_list_entry is used.