seems the installer is behaving strangely. any idea how to debug that? can I trap the creation of .multilib_header_cksum during emerge so I get a diff? when building I get failure to install and output containing this: -- Creating configured Ceres config.h output directory: /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/work/ceres-solver-1.11.0-abi_x86_64.amd64/config/ceres/internal -- Enabling CERES_USE_EIGEN_SPARSE in Ceres config.h -- Enabling CERES_NO_SUITESPARSE in Ceres config.h -- Enabling CERES_NO_CXSPARSE in Ceres config.h -- Enabling CERES_USE_OPENMP in Ceres config.h -- Enabling CERES_HAVE_PTHREAD in Ceres config.h -- Enabling CERES_HAVE_RWLOCK in Ceres config.h -- Enabling CERES_TR1_UNORDERED_MAP in Ceres config.h -- Enabling CERES_TR1_MEMORY_HEADER in Ceres config.h -- Enabling CERES_TR1_SHARED_PTR in Ceres config.h -- Enabling CERES_USING_SHARED_LIBRARY in Ceres config.h -- Do not build any example. -- <<< Gentoo configuration >>> [...] * Header files have changed between ABIs. * --- /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/temp/.multilib_header_cksum 2016-09-16 11:49:13.936223891 +0200 * +++ /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/temp/.multilib_header_cksum.new 2016-09-16 11:49:14.976209740 +0200 * @@ -24,7 +24,7 @@ * 4203782392 3161 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/normal_prior.h * 2163808470 3465 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/internal/eigen.h * 3571453510 3537 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/numeric_diff_options.h * -3955447153 3792 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/internal/config.h * +2857804433 3795 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/internal/config.h * 1008727842 4221 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/conditioned_cost_function.h * 3949859257 44162 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/solver.h * 233781359 4813 /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/image/usr/include/ceres/sized_cost_function.h * ERROR: sci-libs/ceres-solver-1.11.0::gentoo failed (install phase): * Header checksum mismatch, aborting.
duh, the error message was what confused me: diff /systemd/var/tmp/portage/sci-libs/ceres-solver-1.11.0/work/ceres-solver-1.11.0-*/config/ceres/internal/config.h 48c48 < #define CERES_NO_LAPACK --- > // #define CERES_NO_LAPACK seems my sci-libs/lapack-reference has no 32-bit version installed. maybe you should disable multilib for ceres-solver too?
commit 3c9b9c373bede1d53c75fa08a034395027b3be54 Author: Justin Lecher <jlec@gentoo.org> Date: Sun Jan 22 10:20:27 2017 +0000 sci-libs/ceres-solver: Restrict non native X86 to supporting USE Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=593954 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596560 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=606776 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9b9c373bede1d53c75fa08a034395027b3be54 commit bc76ed3e0b217950cd928793e7742b9bf2899154 Author: Justin Lecher <jlec@gentoo.org> Date: Sun Jan 22 10:13:51 2017 +0000 sci-libs/cxsparse: Add 32bit support Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc76ed3e0b217950cd928793e7742b9bf2899154 commit 899170263f29d4bcc0f6e8e8a79ae3808c064c48 Author: Justin Lecher <jlec@gentoo.org> Date: Sun Jan 22 10:08:20 2017 +0000 sci-libs/suitesparseconfig: Add 32bit support Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899170263f29d4bcc0f6e8e8a79ae3808c064c48