Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609108 - app-office/ledger-3.1.1 build failure (enable_if.hpp:41:10: error: incomplete type)
Summary: app-office/ledger-3.1.1 build failure (enable_if.hpp:41:10: error: incomplete...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 14:54 UTC by Francesco Turco
Modified: 2017-10-28 16:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-office/ledger-3.1.1 failed build log (build.log,36.09 KB, text/x-log)
2017-02-12 14:54 UTC, Francesco Turco
Details
emerge --info (emerge-info.txt,6.80 KB, text/plain)
2017-02-12 14:55 UTC, Francesco Turco
Details
patch for successfully building ledger (ledger-3.1.1-boost.patch,409 bytes, patch)
2017-02-12 14:58 UTC, Francesco Turco
Details | Diff
emerge-info.txt (emerge-info.txt,8.65 KB, text/plain)
2017-06-11 18:40 UTC, Toralf Förster
Details
app-office:ledger-3.1.1:20170611-183305.log (app-office:ledger-3.1.1:20170611-183305.log,14.02 KB, text/plain)
2017-06-11 18:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,276.52 KB, text/plain)
2017-06-11 18:40 UTC, Toralf Förster
Details
environment (environment,165.67 KB, text/plain)
2017-06-11 18:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.94 KB, application/x-bzip)
2017-06-11 18:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.82 KB, application/x-bzip)
2017-06-11 18:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.79 KB, application/x-bzip)
2017-06-11 18:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2017-02-12 14:54:41 UTC
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
Comment 1 Francesco Turco 2017-02-12 14:55:36 UTC
Created attachment 463438 [details]
emerge --info
Comment 2 Francesco Turco 2017-02-12 14:58:06 UTC
Created attachment 463452 [details, diff]
patch for successfully building ledger

Credit goes to dkasak from https://github.com/ledger/ledger/pull/465
Comment 3 Toralf Förster gentoo-dev 2017-06-11 18:40:24 UTC
same at the tinderbox image gnome_20170605-105739
Comment 4 Toralf Förster gentoo-dev 2017-06-11 18:40:27 UTC
Created attachment 476096 [details]
emerge-info.txt
Comment 5 Toralf Förster gentoo-dev 2017-06-11 18:40:30 UTC
Created attachment 476098 [details]
app-office:ledger-3.1.1:20170611-183305.log
Comment 6 Toralf Förster gentoo-dev 2017-06-11 18:40:33 UTC
Created attachment 476100 [details]
emerge-history.txt
Comment 7 Toralf Förster gentoo-dev 2017-06-11 18:40:36 UTC
Created attachment 476102 [details]
environment
Comment 8 Toralf Förster gentoo-dev 2017-06-11 18:40:39 UTC
Created attachment 476104 [details]
etc.portage.tbz2
Comment 9 Toralf Förster gentoo-dev 2017-06-11 18:40:42 UTC
Created attachment 476106 [details]
logs.tbz2
Comment 10 Toralf Förster gentoo-dev 2017-06-11 18:40:45 UTC
Created attachment 476108 [details]
temp.tbz2
Comment 11 zlg (RETIRED) gentoo-dev 2017-06-21 07:48:47 UTC
I can confirm the patch from comment 2 fixes the problem for me.
Comment 12 Francesco Turco 2017-09-07 20:31:43 UTC
https://github.com/gentoo/gentoo/pull/5655
Comment 13 Andreas Sturmlechner gentoo-dev 2017-10-28 16:52:17 UTC
Thanks all, fixed in git commit 90863b09bea41eb793557549ec84c8d9ca144df4