Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525400 - media-gfx/hugin-2014.0.0-r1 with dev-libs/boost-1.56 - .../work/hugin-2014.0.0/src/tools/ParseExp.cpp:177:20: required from here /usr/include/boost/utility/result_of.hpp:189:8: error: wrong number of template arguments (1, should be 3)
Summary: media-gfx/hugin-2014.0.0-r1 with dev-libs/boost-1.56 - .../work/hugin-2014.0....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.56
  Show dependency tree
 
Reported: 2014-10-14 12:20 UTC by David Kredba
Modified: 2015-01-02 18:37 UTC (History)
10 users (show)

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


Attachments
build.log.gz (build.log.gz,59.25 KB, application/gzip)
2014-10-15 09:35 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2014-10-14 12:20:50 UTC
Could we please have a patch from
https://launchpadlibrarian.net/184598940/hugin-2013-boost-156.diff
included in the tree for Hugin? It works with version 2014 too without any modification needed.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-15 08:22:41 UTC
What is the problem with hugin and boost, exactly?
Comment 2 David Kredba 2014-10-15 08:50:29 UTC
Sprit changed in boost 1.56, src/tools/ParseExp.cpp is affected:

-cut-
/usr/include/boost/phoenix/core/detail/preprocessed/actor_operator_10.hpp:544:9:                                                                                         note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/spirit/home/qi/action/action.hpp:21:0,
                 from /usr/include/boost/spirit/home/qi/action.hpp:14,
                 from /usr/include/boost/spirit/home/qi.hpp:14,
                 from /usr/include/boost/spirit/include/qi.hpp:16,
                 from /var/tmp/portage/media-gfx/hugin-2014.0.0-r1/work/hugin-20                                                                                        14.0.0/src/tools/ParseExp.cpp:43:
/usr/include/boost/spirit/home/support/action_dispatch.hpp:178:39: note:   candi                                                                                        date expects 10 arguments, 3 provided
             f(attr_wrap, context, pass);
                                       ^
In file included from /usr/include/boost/phoenix/core/detail/preprocessed/actor_                                                                                        operator.hpp:12:0,
                 from /usr/include/boost/phoenix/core/detail/actor_operator.hpp:                                                                                        8,
                 from /usr/include/boost/phoenix/core/actor.hpp:296,
                 from /usr/include/boost/phoenix/core.hpp:12,
                 from /usr/include/boost/phoenix/phoenix.hpp:11,
                 from /usr/include/boost/phoenix.hpp:11,
                 from /usr/include/boost/spirit/include/phoenix.hpp:11,
                 from /var/tmp/portage/media-gfx/hugin-2014.0.0-r1/work/hugin-20                                                                                        14.0.0/src/tools/ParseExp.cpp:42:
/usr/include/boost/phoenix/core/detail/preprocessed/actor_operator_10.hpp:557:9:                                                                                         note: template<class A0, class A1, class A2, class A3, class A4, class A5, clas                                                                                        s A6, class A7, class A8, class A9> typename boost::phoenix::result_of::actor<ty                                                                                        pename boost::mpl::eval_if_c<boost::mpl::or_<boost::phoenix::is_custom_terminal<                                                                                        Expr>, mpl_::bool_<boost::is_placeholder<Expr>::value> >::value, boost::proto::t                                                                                        erminal<Expr>, boost::mpl::identity<T> >::type::proto_base_expr, const A0&, cons                                                                                        t A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A                                                                                        8&, const A9&>::type boost::phoenix::actor<Expr>::operator()(const A0&, const A1                                                                                        &, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&,                                                                                         const A9&) const [with A0 = A0; A1 = A1; A2 = A2; A3 = A3; A4 = A4; A5 = A5; A6                                                                                         = A6; A7 = A7; A8 = A8; A9 = A9; Expr = boost::proto::exprns_::basic_expr<boost:                                                                                        :proto::tagns_::tag::assign, boost::proto::argsns_::list2<boost::proto::exprns_:                                                                                        :expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::sp                                                                                        irit::attribute<0> >, 0l>, boost::phoenix::actor<boost::proto::exprns_::basic_ex                                                                                        pr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list3<boos                                                                                        t::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto:                                                                                        :argsns_::term<Parser::lazy_mod_>, 0l>, boost::phoenix::actor<boost::spirit::att                                                                                        ribute<0> >, boost::phoenix::actor<boost::spirit::argument<0> > >, 3l> > >, 2l>]
         operator()(A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 ,
         ^
/usr/include/boost/phoenix/core/detail/preprocessed/actor_operator_10.hpp:557:9:                                                                                         note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/spirit/home/qi/action/action.hpp:21:0,
                 from /usr/include/boost/spirit/home/qi/action.hpp:14,
                 from /usr/include/boost/spirit/home/qi.hpp:14,
                 from /usr/include/boost/spirit/include/qi.hpp:16,
                 from /var/tmp/portage/media-gfx/hugin-2014.0.0-r1/work/hugin-20                                                                                        14.0.0/src/tools/ParseExp.cpp:43:
/usr/include/boost/spirit/home/support/action_dispatch.hpp:178:39: note:   candi                                                                                        date expects 10 arguments, 3 provided
             f(attr_wrap, context, pass);
                                       ^
src/tools/CMakeFiles/pto_var.dir/build.make:77: recipe for target 'src/tools/CMa                                                                                        keFiles/pto_var.dir/ParseExp.cpp.o' failed
make[2]: *** [src/tools/CMakeFiles/pto_var.dir/ParseExp.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/hugin-2014.0.0-r1/work/hu                                                                                        gin-2014.0.0_build'
CMakeFiles/Makefile2:1314: recipe for target 'src/tools/CMakeFiles/pto_var.dir/a                                                                                        ll' failed
make[1]: *** [src/tools/CMakeFiles/pto_var.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-15 09:06:17 UTC
(In reply to David Kredba from comment #2)
> Sprit changed in boost 1.56, src/tools/ParseExp.cpp is affected:

1) Please post your `emerge --info dev-libs/boost' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 4 David Kredba 2014-10-15 09:35:52 UTC
Created attachment 386712 [details]
build.log.gz
Comment 5 David Kredba 2014-10-15 09:38:16 UTC
emerge --info
Portage 2.2.14_rc1 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2-alpha20141010, glibc-2.19-r1, 3.17.0-gentoo-1d x86_64)
=================================================================
System uname: Linux-3.17.0-gentoo-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8169836 total,   4325104 free
KiB Swap:    8396796 total,   8379412 free
Timestamp of tree: Wed, 15 Oct 2014 04:00:02 +0000
ld GNU ld (Gentoo 2.24.51) 2.24.51.20141013
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1
dev-lang/python:          2.7.8, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3, 2.24.51::x-portage
sys-devel/gcc:            4.6.4, 4.7.4, 4.8.4_alpha20140909::x-portage, 4.9.2_alpha20141010::x-portage, 4.10.0_alpha20140928::x-portage
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-flto=4 -fuse-linker-plugin -O2 -g -pipe -march=core2 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-flto=4 -fuse-linker-plugin -O2 -g -pipe -march=core2 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-flto=4 -fuse-linker-plugin -O2 -g -pipe -march=core2 -mtune=core2"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-flto -fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -g -pipe -march=core2 -mtune=core2"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb blas bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cvs cxx dbus declarative djvu dri dts dv dvb dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran ftp gd gdbm geoip gif glamor gmp gnuplot gpm gps graphviz gsl gsm gstreamer gtk hdf5 iconv icu idn ieee1394 imagemagick imlib ipv6 ithreads javascript jbig jpeg jpeg2k ladspa lame lapack lcms ldap libass libnotify libsamplerate lzma lzo mad matroska mms mmx mmxext mng modplug modules mp3 mp4 mpeg mplayer msn mtp multilib musepack musicbrainz ncurses netcdf nls nptl ocaml ocamlopt odbc ogg opencl openexr opengl openmp pam pango pch pcre pdf perl pic plotutils png policykit postscript ppds pulseaudio python qt3support qt4 quicktime rdesktop readline samba scanner sdl semantic-desktop session slang smp sndfile sox speex spell sse sse2 ssl ssse3 startup-notification svg szip tcpd theora threads tidy tiff truetype udev udisks unicode upower usb v4l vcd vdpau vnc vorbis wavpack wmf wxwidgets x264 xattr xcb xft xine xinerama xml xosd xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher ffhash" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ubx fury geostar nmea2000" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer scripting-beanshell scripting-javascript nlpsolver" LINGUAS="cs en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau radeon" 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 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 6 Ulenrich 2014-10-18 09:09:36 UTC
Can confirm for me with boost-1.56 same error out
@David, thank you very much for the diff patch, that compiles!
Comment 7 Juergen Rose 2014-12-25 09:31:42 UTC
(In reply to David Kredba from comment #0)
> Could we please have a patch from
> https://launchpadlibrarian.net/184598940/hugin-2013-boost-156.diff
> included in the tree for Hugin? It works with version 2014 too without any
> modification needed.
> 
> Reproducible: Always

Thank you for the patch which solves the issue for me.
Comment 8 Gangræna Gorgeous 2014-12-27 09:51:36 UTC
Bug blocks https://bugs.gentoo.org/show_bug.cgi?id=522474
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2014-12-28 22:29:28 UTC
Got it too.
Comment 10 Markus Meier gentoo-dev 2015-01-02 18:37:20 UTC
Should be fixed in cvs, thanks for the report!

  02 Jan 2015; Markus Meier <maekke@gentoo.org> hugin-2014.0.0.ebuild,
  hugin-2014.0.0-r1.ebuild, +files/hugin-2014.0.0-ParseExp.patch:
  fix building with dev-libs/boost-1.56, bug #525400