Please fix the dependency, zin 2.2.5_beta1 depends on boost. Even with boost installed though, the compilation breaks: /usr/include/boost/format/feed_args.hpp:127: error: no matching function for call to `boost::io::detail::stream_format_state<char, std::char_traits<char> >::apply_on(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::locale_t*&) const' /usr/include/boost/format/internals.hpp:106: error: candidates are: void boost::io::detail::stream_format_state<Ch, Tr>::apply_on(std::basic_ios<_CharT, _Traits>&, boost::io::detail::locale_t*) const [with Ch = char, Tr = std::char_traits<char>] /usr/include/boost/format/feed_args.hpp:130: error: no matching function for call to `put_head(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /usr/include/boost/format/feed_args.hpp:134: error: `flags' undeclared (first use this function) /usr/include/boost/format/feed_args.hpp:136: error: `width' undeclared (first use this function) /usr/include/boost/format/feed_args.hpp:143: error: no matching function for call to `put_last(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /usr/include/boost/format/feed_args.hpp:231: instantiated from `void boost::io::detail::distribute(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/feed_args.hpp:241: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::io::detail::feed(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/format_class.hpp:68: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::operator%(T&) [with T = std::string, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]' mkdatabase.cpp:68: instantiated from here /usr/include/boost/format/feed_args.hpp:147: error: `widen' undeclared (first use this function) /usr/include/boost/format/feed_args.hpp:231: instantiated from `void boost::io::detail::distribute(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/feed_args.hpp:241: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::io::detail::feed(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/format_class.hpp:68: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::operator%(T&) [with T = std::string, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]' mkdatabase.cpp:68: instantiated from here /usr/include/boost/format/feed_args.hpp:153: error: `fill' undeclared (first use this function) /usr/include/boost/format/feed_args.hpp:160: error: no matching function for call to `put_last(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /usr/include/boost/format/feed_args.hpp:231: instantiated from `void boost::io::detail::distribute(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/feed_args.hpp:241: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::io::detail::feed(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/format_class.hpp:68: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::operator%(T&) [with T = std::string, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]' mkdatabase.cpp:68: instantiated from here /usr/include/boost/format/feed_args.hpp:182: error: no matching function for call to `boost::io::detail::stream_format_state<char, std::char_traits<char> >::apply_on(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::locale_t*&) const' /usr/include/boost/format/internals.hpp:106: error: candidates are: void boost::io::detail::stream_format_state<Ch, Tr>::apply_on(std::basic_ios<_CharT, _Traits>&, boost::io::detail::locale_t*) const [with Ch = char, Tr = std::char_traits<char>] /usr/include/boost/format/feed_args.hpp:183: error: no matching function for call to `put_head(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /usr/include/boost/format/feed_args.hpp:187: error: no match for 'operator<<' in 'oss2 << ' '' /usr/include/boost/format/feed_args.hpp:188: error: no matching function for call to `put_last(boost::io::basic_oaltstringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' /usr/include/boost/format/feed_args.hpp:231: instantiated from `void boost::io::detail::distribute(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/feed_args.hpp:241: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::io::detail::feed(boost::basic_format<Ch, Tr, Alloc>&, T) [with Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, T = std::string&]' /usr/include/boost/format/format_class.hpp:68: instantiated from `boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr, Alloc>::operator%(T&) [with T = std::string, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]' mkdatabase.cpp:68: instantiated from here /usr/include/boost/format/feed_args.hpp:191: error: no match for 'operator<<' in 'oss2 << ' '' make[1]: *** [mkdatabase.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.5_beta1/work/zinf-2.2.5/mdb' make: *** [all-recursive] Error 1 emerge info: Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2) ================================================================= System uname: 2.6.2 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -Os" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i686 -Os" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache prelink userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X aalib apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl slang smooth spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
what version of boost are you using?
boost-1.31.0_alpha1
Err, my mistake I have boost-1.31.0_alpha2-r1 installed.
I can confirm this bug both prior to and after merging boost 1.31.0_alpha2-r1
can you please try dev-libs/boost-1.30.2...
boost 1.30.2 doesn't compile here, hundreds of parse and other errors (e.g invalid base-class specification, can't make `operator()' into a method -- not in a class and so on) Using: Portage 2.0.50 (default-x86-1.4, gcc-3.3.2-r7, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r4) Commenting out all references to boost in subdirectory zinf-2.2.5/mdb made zinf compile, but it gave runtime errors (problem with MusicCollection::search_thread)
fixed in portage dep is for <dev-libs/boost-1.31.0_alpha1