Solved Upgrading boost-libs-1.55.0_4 to boost-libs-1.55.0_5 fails in ezjail

I'm trying to upgrade boost-libs and encounter the following error:

Code:
portmaster devel/boost-libs
[...]
In file included from ./boost/math/special_functions/detail/bessel_jy.hpp:14:
In file included from ./boost/math/special_functions/gamma.hpp:28:
In file included from ./boost/math/special_functions/lanczos.hpp:1288:
./boost/math/special_functions/detail/lanczos_sse2.hpp:13:10: fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
^
1 error generated.
[...]

On the host the file can be found under /usr/include/clang/3.4.1/emmintrin.h. In the basejail the file is not available, there are no clang 3.4.1 headers (but /usr/include/clang/3.3).

I use ezjail-admin update -u to update the basejail. Why are there no up-to-date headers?
 
What does freebsd-version; uname -a show when run inside the jail? It sounds like the jails are still using 10.0-RELEASE. On mine I do have a /usr/include/clang/3.4.1 and both the host and jails are in sync.

EDIT:
As that is probably the case, I'd say look at ezjail-admin(8) a bit closer as ezjail-admin update -u only does minor updates. The -U flag is needed to upgrade the OS version. Here's some info from my notes on what you can do to fix it. Presumably your /usr/src is available and updated to the current OS version. Consult the Handbook if you need more information on upgrading.

ezjail-admin update -U -s 10.0-RELEASE-p17 (ensure that matches the prior version)
mergemaster -p /usr/jails/newjail
mergemaster -UF -D /usr/jails/newjail
mergemaster -p /usr/jails/jail1
mergemaster -UF -D /usr/jails/jail1 and continue on for each jail
 
Back
Top