Created attachment 463436 [details] app-office/ledger-3.1.1 failed build log app-office/ledger-3.1.1 cannot currently be built with dev-libs/boost-1.63.0 and sys-devel/gcc-6.3.0: /usr/include/boost/core/enable_if.hpp:41:10: error: incomplete type ‘boost::optional_detail::is_optional_val_init_candidate<std::map<std::__cxx11::basic_strin g<char>, std::pair<boost::optional<ledger::value_t>, bool>, boost::function<bool(std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>)> >, const boost::optional<std::map<std::__cxx11::basic_string<char>, std::pair<boost::optional<ledger::value_t>, bool>, boost::function<bool(std::__cxx11::basic_string <char>, std::__cxx11::basic_string<char>)> > >&>’ used in nested name specifier struct enable_if : public enable_if_c<Cond::value, T> {}; -------------- # emerge -pv ledger boost gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R *] sys-devel/gcc-6.3.0:6.3.0::gentoo USE="cxx (multilib) nls nptl objc openmp pch sanitize vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -fortran (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc++ -objc-gc -pie -regression-test -ssp -vanilla" 0 KiB [ebuild R ] dev-libs/boost-1.63.0:0/1.63.0::gentoo USE="nls python threads -context -debug -doc -icu -mpi -static-libs -tools" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 0 KiB [ebuild R ] app-office/ledger-3.1.1::gentoo USE="emacs -doc -python" PYTHON_TARGETS="python2_7" 0 KiB Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB ---------------- Please also see: - http://bugs.ledger-cli.org/show_bug.cgi?id=1180 - https://github.com/ledger/ledger/pull/465 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833753
Created attachment 463438 [details] emerge --info
Created attachment 463452 [details, diff] patch for successfully building ledger Credit goes to dkasak from https://github.com/ledger/ledger/pull/465
same at the tinderbox image gnome_20170605-105739
Created attachment 476096 [details] emerge-info.txt
Created attachment 476098 [details] app-office:ledger-3.1.1:20170611-183305.log
Created attachment 476100 [details] emerge-history.txt
Created attachment 476102 [details] environment
Created attachment 476104 [details] etc.portage.tbz2
Created attachment 476106 [details] logs.tbz2
Created attachment 476108 [details] temp.tbz2
I can confirm the patch from comment 2 fixes the problem for me.
https://github.com/gentoo/gentoo/pull/5655
Thanks all, fixed in git commit 90863b09bea41eb793557549ec84c8d9ca144df4