On 2016-05-09 03:29, Stuart Henderson wrote:
In bulk builds, other packages get installed and deinstalled all the
time. If this causes failures, either icu4c needs adding as a
dependency
or we need to figure out how to stop it from being picked up.
So you folks are right: what seems to be happening is that scons picks
up the icu4c headers as an implicit dependency, but only if they exist
during the initial scan.
I can't find a scons option to shut off implicit dependencies on
external headers, so the two options are to either patch out all icu4c
#includes, or to just add icu4c as a build-time dependency (it's not
actually compiled in).
I think the latter is the better choice, unfortunately.
Patch
=====
diff --git a/Makefile b/Makefile
index 3e5307e..3c124a4 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@ LIB_DEPENDS = devel/libexecinfo \
devel/yaml-cpp
TEST_DEPENDS = textproc/py-yaml \
databases/py-mongo
+BUILD_DEPENDS = textproc/icu4c
do-install:
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC} \