Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40792 - zinf 2.2.5_beta1 has a dependency on boost
Summary: zinf 2.2.5_beta1 has a dependency on boost
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 21:06 UTC by Yi Quang (RETIRED)
Modified: 2004-02-08 19:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Quang (RETIRED) gentoo-dev 2004-02-07 21:06:40 UTC
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.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-07 22:18:00 UTC
what version of boost are you using?
Comment 2 Yi Quang (RETIRED) gentoo-dev 2004-02-07 22:42:33 UTC
boost-1.31.0_alpha1
Comment 3 Yi Quang (RETIRED) gentoo-dev 2004-02-07 22:44:10 UTC
Err, my mistake I have boost-1.31.0_alpha2-r1 installed.  
Comment 4 butters 2004-02-08 00:09:24 UTC
I can confirm this bug both prior to and after merging boost 1.31.0_alpha2-r1
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-08 02:01:05 UTC
can you please try dev-libs/boost-1.30.2...
Comment 6 Hermann Gundel 2004-02-08 17:34:39 UTC
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)
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-08 19:28:16 UTC
fixed in portage dep is for <dev-libs/boost-1.31.0_alpha1