File:  [NetBSD Developer Wiki] / wikisrc / projects / project / pkgsrc_precise_dependencies.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Fri Feb 22 13:01:27 2019 UTC (8 months, 4 weeks ago) by kamil
Branches: MAIN
CVS tags: HEAD
Reset projects by asau@ to tech-pkg@

[[!template id=project

title="Tool to find dependencies precisely"

contact="""
[tech-pkg](mailto:tech-pkg@NetBSD.org)
"""

mentors="""
[tech-pkg](mailto:tech-pkg@NetBSD.org)
"""

category="pkgsrc"
difficulty="hard"
duration="3 months"

description="""
Dependency handling in pkgsrc is rather complex task.
There exist some cases (TeX packages, Perl packages) where it is
hard to find build dependencies precisely and the whole thing is
handled conservatively. E.g. the whole TeXLive meta-package is
declared a build dependency even when rather small fraction of
it is used actually. Another case is stale heavy dependency
which is no longer required but still listed as prerequisite.

It would be nice to have a tool (or a set of them, if necessary)
to detect which installed packages, libraries or tools were
actually used to build new package. Ideally, the tool should
report files used during configure, build, and test stages,
and packages these files are provided by.

Milestones:
* find or develop a good dependency graph algorithm
* implement and demonstrate your new system in pkgsrc by adding a make target
* expose this algorithm for use by websites such as pkgsrc.se

"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb