[oi-dev] Build dependencies

Aurélien Larcher aurelien.larcher at gmail.com
Sun Apr 9 19:53:20 UTC 2017


Hello,
as you know some components in oi-userland are missing build requirements.
Our usual workflow is to call:

gmake REQUIRED_PACKAGES

to create a list of runtime dependencies, so that:

gmake env-prep

would install requirements.

Unfortunately header-only dependencies are not detected.
Therefore calling gmake env-prep will not install all dependencies.

A mass build in a fresh/minimal environment produced failure for 584
packages:

https://wiki.openindiana.org/oi/Build+dependencies

However, this is not as bad as it looks:
- some of these failures are false positive due to dependencies, so as we
fix these dependencies and build incrementally they will disappear.
- most of these failures are due to a missing header package like system
headers or X11 proto packages.

If you want to help, and to avoid duplicate work, please chose a category
and add you name on the Wiki.

Also when you update a component, please look at the list to see if
dependencies may be missing.

I took care of the x11 category and most of the missing deps could be
detected by grepping PKG_CHECK_MODULES in configure.ac and eliminating
packages already present in REQUIRED_PACKAGES.

This seems tedious (and is) but is very important if we want to be able to
build oi-userland from scratch (or so), e.g I would like to test builds
with gcc 6.3.0 in the coming months.

Kind regards

Aurelien

-- 
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20170409/0354b840/attachment-0004.html>


More information about the oi-dev mailing list