Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510762 - dev-libs/boost-1.55.0-r1 - multiple errors compiling filter_parser.cpp
Summary: dev-libs/boost-1.55.0-r1 - multiple errors compiling filter_parser.cpp
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 521398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-19 14:57 UTC by Martin von Gagern
Modified: 2015-08-27 08:32 UTC (History)
2 users (show)

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


Attachments
build log (build.log,180.65 KB, application/octet-stream)
2014-05-19 14:57 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2014-05-19 14:57:08 UTC
Created attachment 377248 [details]
build log

For me, compiling dev-libs/boost-1.55.0-r1 on OS X fails with several long errors. I'll copy the corresponding error lines, but might be missing some context, so please look at the build log as well.

libs/log/src/filter_parser.cpp:512:   instantiated from here

./boost/utility/result_of.hpp:187: error: invalid use of incomplete type ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >::result<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’

./boost/log/detail/unary_function_terminal.hpp:63: error: declaration of ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >::result<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’

[…]

libs/log/src/filter_parser.cpp:512:   instantiated from here
./boost/log/detail/custom_terminal_spec.hpp:54: error: no type named ‘type’ in ‘struct boost::result_of<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’

[…]

libs/log/src/filter_parser.cpp:512:   instantiated from here
./boost/log/detail/light_function_pp.hpp:77: error: no match for call to ‘(boost::phoenix::actor<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >) (const boost::log::v2_mt_posix::attribute_value_set&)’

./boost/phoenix/core/actor.hpp:240: note: candidates are: typename boost::phoenix::result_of::actor<typename boost::mpl::eval_if_c<boost::mpl::or_<boost::phoenix::is_custom_terminal<Expr, void>,mpl_::bool_<boost::is_placeholder<Expr>::value>,mpl_::bool_<false>,mpl_::bool_<false>,mpl_::bool_<false> >::value, boost::proto::terminal<T>, boost::mpl::identity<T> >::type::proto_base_expr, void, void, void, void, void, void, void, void, void, void, void>::type boost::phoenix::actor<Expr>::operator()() [with Expr = boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >]

./boost/phoenix/core/actor.hpp:249: note:                 typename boost::phoenix::result_of::actor<typename boost::mpl::eval_if_c<boost::mpl::or_<boost::phoenix::is_custom_terminal<Expr, void>,mpl_::bool_<boost::is_placeholder<Expr>::value>,mpl_::bool_<false>,mpl_::bool_<false>,mpl_::bool_<false> >::value, boost::proto::terminal<T>, boost::mpl::identity<T> >::type::proto_base_expr, void, void, void, void, void, void, void, void, void, void, void>::type boost::phoenix::actor<Expr>::operator()() const [with Expr = boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >]


$ emerge --info =dev-libs/boost-1.55.0-r1
Portage HEAD (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 12.5.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-12.5.0-x86_64-i386-64bit
Timestamp of tree: Mon, 19 May 2014 12:36:24 +0000
app-shells/bash:      4.2_p45-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:      2.7.6-r1, 3.3.3
dev-util/pkgconfig:   0.28-r1
sys-devel/autoconf:   2.69
sys-devel/automake:   1.12.4, 1.14
sys-devel/gcc-config: 1.8-r00.1
sys-devel/libtool:    2.4.2
sys-devel/make:       4.0-r1
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/Users/gagern/Gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
PKGDIR="/Users/gagern/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/gagern/Gentoo/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/patches"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/gagern/Gentoo/var/tmp"
PORTDIR="/Users/gagern/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
USE="aqua bazaar c++ coreaudio cracklib cxx git ipv6 java mmx mmxext modules ncurses nls objc objc++ prefix python readline sqlite sse sse2 ssl subversion unicode x64-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de en_US en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC

$ emerge -pv boost
[ebuild     U  ] dev-libs/boost-1.55.0-r1:0/1.55.0 [1.52.0-r5:0/0] USE="nls python threads (-context) -debug -doc -icu -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 (-python2_6) -python3_2 -python3_3" 0 kB
Comment 1 Guy 2014-05-25 02:27:57 UTC
You might try:

MAKEOPTS="-j1" emerge -1 =dev-libs/boost-1.55.0-r1



Disclaimer: I'm not a programmer. 


I recently ran into a simular problem with 'boost' during an @world upgrade. I suspect a combination of circumstances contribute to this problem.
Comment 2 François Bissey 2014-07-03 03:22:14 UTC
Got it too. That's a relatively fresh prefix install and putting "-j1" doesn't help. It is not a parallel compilation problem.

Trying to get sage on prefix are you Martin?
Comment 3 Martin von Gagern 2014-07-03 05:37:15 UTC
(In reply to Guy from comment #1)
> You might try:
> MAKEOPTS="-j1" emerge -1 =dev-libs/boost-1.55.0-r1

Sorry I forgot to try this out in a timely manner. Anyway, did so now, and the problem remains the same.

(In reply to Francois Bissey from comment #2)
> Trying to get sage on prefix are you Martin?

Nope, on my Mac I'm using the pre-built sage bundle so far. This was for some other code I intended to write myself.
Comment 4 Sergey Popov gentoo-dev 2014-12-11 08:02:00 UTC
*** Bug 521398 has been marked as a duplicate of this bug. ***
Comment 5 Guilherme Amadio gentoo-dev 2015-08-27 08:32:42 UTC
This ebuild is not in the tree anymore, and I can compile dev-libs/boost-1.58.0-r1 without problems, so I am closing this bug.