Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17962 closed defect (fixed)

kdesdk4 fails to compile

Reported by: cjones051073 (Chris Jones) Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: kde4 Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: kdesdk4

Description (last modified by mf2k (Frank Schima))

localhost ~ > sudo port sync ; sudo port install kdesdk4
--->  Fetching kdesdk4
--->  Verifying checksum(s) for kdesdk4
--->  Extracting kdesdk4
--->  Configuring kdesdk4
--->  Building kdesdk4

...

[ 70%] Building CXX object umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello && /usr/bin/g++-4.0   -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -O2  -fno-common -Woverloaded-virtual  -fexceptions -O2 -DNDEBUG -DQT_NO_DEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3/umbrello/umbrello/dialogs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3/umbrello/umbrello/codegenwizard -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -I/opt/local/libexec/qt4-mac/include -I/opt/local/include/libxml2   -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3/umbrello/umbrello/codeimport/kdevcppparser/driver.cpp
/opt/local/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]':
/opt/local/include/boost/iterator/iterator_adaptor.hpp:353:   instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]'
/opt/local/include/boost/iterator/iterator_facade.hpp:553:   instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]'
/opt/local/include/boost/iterator/iterator_facade.hpp:842:   instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = ptrdiff_t, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = ptrdiff_t]'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.3/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267:   instantiated from here
/opt/local/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' 
make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o] Error 1
make[1]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/all] Error 2
make: *** [all] Error 2

Change History (21)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: kdesdk4 removed
Owner: changed from macports-tickets@… to illogic-al@…

Assigning to maintainer.

comment:2 Changed 15 years ago by thedoobs@…

Same problem here with kdesdk-4.1.4. When I run "sudo port -d install kdesdk4" I get an error message complaining about gcc version 4.0 needs to be 4.2. I do have the very latest iPhone SDK installed.

comment:3 Changed 15 years ago by phil@…

I ran into the same error with Umbrello:

[ 63%] Building CXX object umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/preprocesslexer.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello && /usr/bin/g++-4.0 -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -O2 -fno-common -Woverloaded-virtual -fexceptions -O2 -DNDEBUG -DQT_NO_DEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/dialogs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codegenwizard -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -I/opt/local/libexec/qt4-mac/include -I/opt/local/include/libxml2 -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -DAPPLE_KDE -D_LARGEFILE64_SOURCE -o CMakeFiles/umbrello.dir/codeimport/kdevcppparser/preprocesslexer.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.cpp /opt/local/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]': /opt/local/include/boost/iterator/iterator_adaptor.hpp:353: instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]' /opt/local/include/boost/iterator/iterator_facade.hpp:553: instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]' /opt/local/include/boost/iterator/iterator_facade.hpp:842: instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = ptrdiff_t, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = ptrdiff_t]' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267: instantiated from here /opt/local/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' make[2]: * [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o] Error 1 make[2]: * Waiting for unfinished jobs....

Here are my currently installed ports:

The following ports are currently installed:

akonadi @1.0.0_3 (active) apr @1.3.3_1 (active) apr-util @1.3.4_1 (active) aspell @0.60.6_1+macosx (active) autoconf @2.63_0 (active) automake @1.10.2_0 (active) automoc @0.9.87_3 (active) bison @2.4.1_0 (active) boost @1.37.0_0+darwin_9 (active) boost-jam @3.1.17_0 (active) bzip2 @1.0.5_1 (active) cairo @1.8.6_2+macosx (active) clucene @0.9.20_0 (active) cmake @2.6.2_0 (active) ctags @5.7_0 (active) curl @7.19.2_0 (active) cyrus-sasl2 @2.1.22_0+kerberos (active) db46 @4.6.21_3 (active) dbus @1.2.12_2 (active) enchant @1.4.2_0 (active) erlang @R12B-5_1+smp+ssl (active) expat @2.0.1_0 (active) flex @2.5.35_0 (active) fontconfig @2.6.0_1+macosx (active) freetype @2.3.7_3+macosx (active) gawk @3.1.6_0 (active) gettext @0.17_4 (active) ghostscript @8.63_0 (active) giflib @4.1.6_0 (active) git-core @1.6.1_1+doc+svn (active) glib2 @2.18.3_0+darwin_9 (active) gmake @3.81_0 (active) gnome-common @2.24.0_1 (active) gnupg @1.4.9_0 (active) gperf @3.0.3_0 (active) gpgme @1.1.7_0 (active) help2man @1.36.4_1 (active) hicolor-icon-theme @0.10_0 (active) ilmbase @1.0.1_2 (active) intltool @0.40.5_0 (active) jasper @1.900.1_2 (active) jpeg @6b_3 (active) kdebase4 @4.1.4_0 (active) kdelibs4 @4.1.4_0 (active) kdepimlibs4 @4.1.4_0 (active) lcms @1.17_0 (active) libart_lgpl @2.3.20_0 (active) libgpg-error @1.7_0 (active) libiconv @1.12_2 (active) libmng @1.0.10_0 (active) libpixman @0.12.0_1 (active) libpng @1.2.34_0 (active) libtool @2.2.6a_0 (active) libxml2 @2.7.2_1+darwin_9 (active) libxslt @1.1.24_1 (active) lzmautils @4.32.7_0 (active) m4 @1.4.12_1 (active) mysql5 @5.0.75_0 (active) ncurses @5.7_0 (active) ncursesw @5.7_0 (active) neon @0.28.3_0 (active) openexr @1.6.1_1 (active) openssl @0.9.8j_0 (active) ossp-uuid @1.6.2_0 (active) p5-compress-raw-zlib @2.015_0 (active) p5-compress-zlib @2.015_0 (active) p5-crypt-ssleay @0.57_0 (active) p5-error @0.17015_0 (active) p5-html-parser @3.59_0 (active) p5-html-tagset @3.20_0 (active) p5-io-compress-base @2.015_0 (active) p5-io-compress-zlib @2.015_0 (active) p5-libwww-perl @5.822_0 (active) p5-locale-gettext @1.05_0 (active) p5-svn-simple @0.27_0 (active) p5-term-readkey @2.30_0 (active) p5-uri @1.37_0 (active) p5-xml-parser @2.36_0 (active) pcre @7.8_1 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_2 (active) phonon @4.2.0_3 (active) pkgconfig @0.23_1 (active) popt @1.14_0 (active) postgresql83 @8.3.5_0 (active) pth @2.0.7_0 (active) qimageblitz @0.0.5_3 (active) qt4-mac @4.4.3_1 (active) readline @5.2.012_1 (active) rsync @3.0.5_0 (active) samba3 @3.2.7_1+darwin_9 (active) serf @0.2.0_0 (active) shared-mime-info @0.51_0 (active) sqlite3 @3.6.10_0 (active) strigi @0.5.10_1 (active) subversion @1.5.5_0 (active) subversion-perlbindings @1.5.5_0 (active) tcl @8.5.6_0 (active) texi2html @1.80_0 (active) texinfo @4.13_0 (active) texlive @2007_6+letter (active) texlive_base @2007_4 (active) texlive_texmf-full @2007_3 (active) texlive_texmf-minimal @2007_2 (active) tiff @3.8.2_2+darwin_9+macosx (active) tk @8.5.6_0 (active) unixODBC @2.2.12_0 (active) vim-app @7.2.077_0 (active) wget @1.11.4_0 (active) zlib @1.2.3_2 (active)

I'm running with the gcc that's included with Xcode 3.1.2:

gcc-4.2 --version i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)

I'm debating if it's worth compiling Macports' own latest gcc, but I'm not sure if cmake would pick it up in any case...

comment:4 in reply to:  3 ; Changed 15 years ago by phil@…

ugh, formatting not so good. Should have used preview. Trying again, using code blocks for formatting:

error message:

[ 63%] Building CXX object umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/preprocesslexer.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello && /usr/bin/g++-4.0   -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -O2  -fno-common -Woverloaded-virtual  -fexceptions -O2 -DNDEBUG -DQT_NO_DEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/dialogs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codegenwizard -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -I/opt/local/libexec/qt4-mac/include -I/opt/local/include/libxml2   -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/umbrello.dir/codeimport/kdevcppparser/preprocesslexer.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.cpp
/opt/local/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]':
/opt/local/include/boost/iterator/iterator_adaptor.hpp:353:   instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]'
/opt/local/include/boost/iterator/iterator_facade.hpp:553:   instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]'
/opt/local/include/boost/iterator/iterator_facade.hpp:842:   instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = ptrdiff_t, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = ptrdiff_t]'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdesdk4/work/kdesdk-4.1.4/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267:   instantiated from here
/opt/local/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' 
make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o] Error 1

installed ports:

  akonadi @1.0.0_3 (active)
  apr @1.3.3_1 (active)
  apr-util @1.3.4_1 (active)
  aspell @0.60.6_1+macosx (active)
  autoconf @2.63_0 (active)
  automake @1.10.2_0 (active)
  automoc @0.9.87_3 (active)
  bison @2.4.1_0 (active)
  boost @1.37.0_0+darwin_9 (active)
  boost-jam @3.1.17_0 (active)
  bzip2 @1.0.5_1 (active)
  cairo @1.8.6_2+macosx (active)
  clucene @0.9.20_0 (active)
  cmake @2.6.2_0 (active)
  ctags @5.7_0 (active)
  curl @7.19.2_0 (active)
  cyrus-sasl2 @2.1.22_0+kerberos (active)
  db46 @4.6.21_3 (active)
  dbus @1.2.12_2 (active)
  enchant @1.4.2_0 (active)
  erlang @R12B-5_1+smp+ssl (active)
  expat @2.0.1_0 (active)
  flex @2.5.35_0 (active)
  fontconfig @2.6.0_1+macosx (active)
  freetype @2.3.7_3+macosx (active)
  gawk @3.1.6_0 (active)
  gettext @0.17_4 (active)
  ghostscript @8.63_0 (active)
  giflib @4.1.6_0 (active)
  git-core @1.6.1_1+doc+svn (active)
  glib2 @2.18.3_0+darwin_9 (active)
  gmake @3.81_0 (active)
  gnome-common @2.24.0_1 (active)
  gnupg @1.4.9_0 (active)
  gperf @3.0.3_0 (active)
  gpgme @1.1.7_0 (active)
  help2man @1.36.4_1 (active)
  hicolor-icon-theme @0.10_0 (active)
  ilmbase @1.0.1_2 (active)
  intltool @0.40.5_0 (active)
  jasper @1.900.1_2 (active)
  jpeg @6b_3 (active)
  kdebase4 @4.1.4_0 (active)
  kdelibs4 @4.1.4_0 (active)
  kdepimlibs4 @4.1.4_0 (active)
  lcms @1.17_0 (active)
  libart_lgpl @2.3.20_0 (active)
  libgpg-error @1.7_0 (active)
  libiconv @1.12_2 (active)
  libmng @1.0.10_0 (active)
  libpixman @0.12.0_1 (active)
  libpng @1.2.34_0 (active)
  libtool @2.2.6a_0 (active)
  libxml2 @2.7.2_1+darwin_9 (active)
  libxslt @1.1.24_1 (active)
  lzmautils @4.32.7_0 (active)
  m4 @1.4.12_1 (active)
  mysql5 @5.0.75_0 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  neon @0.28.3_0 (active)
  openexr @1.6.1_1 (active)
  openssl @0.9.8j_0 (active)
  ossp-uuid @1.6.2_0 (active)
  p5-compress-raw-zlib @2.015_0 (active)
  p5-compress-zlib @2.015_0 (active)
  p5-crypt-ssleay @0.57_0 (active)
  p5-error @0.17015_0 (active)
  p5-html-parser @3.59_0 (active)
  p5-html-tagset @3.20_0 (active)
  p5-io-compress-base @2.015_0 (active)
  p5-io-compress-zlib @2.015_0 (active)
  p5-libwww-perl @5.822_0 (active)
  p5-locale-gettext @1.05_0 (active)
  p5-svn-simple @0.27_0 (active)
  p5-term-readkey @2.30_0 (active)
  p5-uri @1.37_0 (active)
  p5-xml-parser @2.36_0 (active)
  pcre @7.8_1 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_2 (active)
  phonon @4.2.0_3 (active)
  pkgconfig @0.23_1 (active)
  popt @1.14_0 (active)
  postgresql83 @8.3.5_0 (active)
  pth @2.0.7_0 (active)
  qimageblitz @0.0.5_3 (active)
  qt4-mac @4.4.3_1 (active)
  readline @5.2.012_1 (active)
  rsync @3.0.5_0 (active)
  samba3 @3.2.7_1+darwin_9 (active)
  serf @0.2.0_0 (active)
  shared-mime-info @0.51_0 (active)
  sqlite3 @3.6.10_0 (active)
  strigi @0.5.10_1 (active)
  subversion @1.5.5_0 (active)
  subversion-perlbindings @1.5.5_0 (active)
  tcl @8.5.6_0 (active)
  texi2html @1.80_0 (active)
  texinfo @4.13_0 (active)
  texlive @2007_6+letter (active)
  texlive_base @2007_4 (active)
  texlive_texmf-full @2007_3 (active)
  texlive_texmf-minimal @2007_2 (active)
  tiff @3.8.2_2+darwin_9+macosx (active)
  tk @8.5.6_0 (active)
  unixODBC @2.2.12_0 (active)
  vim-app @7.2.077_0 (active)
  wget @1.11.4_0 (active)
  zlib @1.2.3_2 (active)

gcc-4.2 --version
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)

comment:5 in reply to:  4 Changed 15 years ago by phil@…

I installed Macports gcc 4.3.2 and made gcc soft link to it, but it didn't fix the problem.

comment:6 Changed 15 years ago by illogic-al@…

Resolution: wontfix
Status: newclosed

Install boost 1.36.0 or report the problem upstream (to kde/boost) for the record KDE already knows boost 1.37.0 has problems. Apparently this happens a lot when boost updates.

comment:7 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:8 in reply to:  6 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: wontfix
Status: closedreopened

Replying to illogic-al@…:

Install boost 1.36.0

I would argue that this is not the correct solution.
If kdesdk4 looks for boost, then we should either add it as a dependency or stop kdesdk4 from looking for boost.

Since boost support does not work at the moment, then adding it as a dependency is not good.
I am not familiar with cmake, but could we modify CMakeLists.txt?
Is it as easy as easy as commenting out

macro_optional_find_package(Boost)

?

comment:9 Changed 15 years ago by illogic-al@…

kdepimlibs which is a required part of kde depends on boost therefore i didn't add it to the kdesdk dependency list. And I think the correct solution in this case is to use the version which works, i.e. downgrade to 1.36.0. Does any software _need_ 1.37.0? It was just updated because it was newer, not a very good reason. I think if people are installing kdesdk it's because they want the apps in there, and if we start silently killing apps then who's to say when it will be fixed properly.

The workaround works, a real fix is in the next update coming (4.2.0) and I don't think crippling the package for the sake of cleanly compiling is the right thing to do.

It's actually a simple matter of turning off umbrello in cmake by adding -DBUILD_umbrello=OFF so no patching necessary :-) KDE is quite modular so if a particular app is failing it can probably be easily disabled in cmake.

comment:10 Changed 15 years ago by cjones051073 (Chris Jones)

Hi,

How would I go about downgrading to boost 1.36 ? port only offers 1.37

localhost ~ > sudo port search boost Password: boost @1.37.0 (devel)

Collection of portable C++ source libraries

boost-build @2.0-m12 (devel)

Build system for large project software construction

boost-jam @3.1.17 (devel)

Boost.Jam (BJam) is a build tool based on FTJam

If disabling umbrello is easy, would it make sense to make a kdesdk4 variant that disables this ? Saves the user hacking portfiles ? Just a thought.

Thanks for your efforts on this, much appreciated.

cheers Chris

comment:11 in reply to:  9 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Replying to illogic-al@…: Replying to illogic-al@…:

kdepimlibs which is a required part of kde depends on boost therefore i didn't add it to the kdesdk dependency list.

Sorry, I did not check the dependency tree.
Of course, that is entirely reasonable.

And I think the correct solution in this case is to use the version which works, i.e. downgrade to 1.36.0.

It seems to me that downgrading is too much to expect of users.
If the user wants to continue to run "port sync" and "port upgrade outdated", downgrading
involves creating a local repository, obtaining the old version from the Trac system, generating the PortIndex file, and modifying the sources.conf file.
This seems like an unreasonable burden.

Does any software _need_ 1.37.0? It was just updated because it was newer, not a very good reason.

Even if no MacPorts port uses it, individual users might.
As a user of boost myself, I appreciate keeping up with the latest features and bug fixes.

I don't think crippling the package for the sake of cleanly compiling is the right thing to do.

I would respectfully disagree with this statement.
If, for the sake of argument, we accept my premise that downgrading is no so easy, then it seems better to have a partially working
package than one which does not work at all.

It's actually a simple matter of turning off umbrello in cmake by adding -DBUILD_umbrello=OFF so no patching necessary :-) KDE is quite modular so if a particular app is failing it can probably be easily disabled in cmake.

Thanks, that's good to know.

As a compromise, perhaps we could create a boost-compat (at version 1.36.0) port to be used in kdesdk4 until version 4.2.0 is released.

comment:12 Changed 15 years ago by blb@…

If a downgrade is the only way to go, it can be done a couple of ways:

  • pushing the boost port back to the older version, and bumping epoch; this will cause it to be upgraded for everyone to the "new" version; this should only be done if the latest version truly has issues and everyone is better off with the older version
  • adding a boostxyz port (boost136 in this case) tied to a specific version, when only a few things need that particular version; this has the disadvantage that you either can't have both boost ports installed or the boostxyz has to be changed to not conflict with the normal boost port

comment:13 in reply to:  12 ; Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Replying to blb@…:

  • pushing the boost port back to the older version, and bumping epoch; this will cause it to be upgraded for everyone to the "new" version; this should only be done if the latest version truly has issues and everyone is better off with the older version

I would vote against downgrading.
I am not aware of any systemic problems with boost that would warrant the rollback.

  • adding a boostxyz port (boost136 in this case) tied to a specific version, when only a few things need that particular version; this has the disadvantage that you either can't have both boost ports installed or the boostxyz has to be changed to not conflict with the normal boost port

This is certainly possible.

One problem with both these suggestions is that boost, while a great library, has a build system (bjam) which is tricky to get right.
MacPorts skipped version 1.36.0, and I would not be eager to apply the fixes in r43281 to version 1.36.0.

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

comment:14 in reply to:  13 ; Changed 15 years ago by cjones051073 (Chris Jones)

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

Given all the problems, this makes most sense to me (personally speaking, umbrello is not the application I'm most interested in using).

comment:15 in reply to:  14 ; Changed 15 years ago by phil@…

Replying to jonesc@…:

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

Given all the problems, this makes most sense to me (personally speaking, umbrello is not the application I'm most interested in using).

Ugh. I installed the entire KDE stack specifically to run Umbrello (I need a good UML diagramming program). However, it does look like it will take a lot of work to get it going. I guess I'll wait until the next version of kdesdk4 is out. Better that everyone else has a kdesdk4 that compiles...

comment:16 in reply to:  15 ; Changed 15 years ago by illogic-al@…

Replying to phil@…:

Replying to jonesc@…:

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

Given all the problems, this makes most sense to me (personally speaking, umbrello is not the application I'm most interested in using).

Ugh. I installed the entire KDE stack specifically to run Umbrello (I need a good UML diagramming program). However, it does look like it will take a lot of work to get it going. I guess I'll wait until the next version of kdesdk4 is out. Better that everyone else has a kdesdk4 that compiles...

Disable the current boost by doing 'sudo port deactivate boost' Compile 1.36.0 by doing 'sudo port edit boost' and changing the version number. Install by doing 'sudo port install boost checksum.skip=yes' or just add the proper checksum. If you do a 'port -d install boost' you'll have a variety to choose from. I compiled and tested 1.36 this way and it worked for me. Good luck. 4.2.0's just a couple days away!

@mcalhoun I like this boost-compat idea as things will probably break again once a new version of boost is out.

comment:17 in reply to:  16 ; Changed 15 years ago by phil@…

Replying to illogic-al@…:

Replying to phil@…:

Replying to jonesc@…:

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

Given all the problems, this makes most sense to me (personally speaking, umbrello is not the application I'm most interested in using).

Ugh. I installed the entire KDE stack specifically to run Umbrello (I need a good UML diagramming program). However, it does look like it will take a lot of work to get it going. I guess I'll wait until the next version of kdesdk4 is out. Better that everyone else has a kdesdk4 that compiles...

Disable the current boost by doing 'sudo port deactivate boost' Compile 1.36.0 by doing 'sudo port edit boost' and changing the version number. Install by doing 'sudo port install boost checksum.skip=yes' or just add the proper checksum. If you do a 'port -d install boost' you'll have a variety to choose from. I compiled and tested 1.36 this way and it worked for me. Good luck. 4.2.0's just a couple days away!

@mcalhoun I like this boost-compat idea as things will probably break again once a new version of boost is out.

Thanks for those clear, detailed instructions! I now have umbrello working well. Thanks much!

comment:18 in reply to:  17 ; Changed 15 years ago by phil@…

Replying to phil@…:

Replying to illogic-al@…:

Replying to phil@…:

Replying to jonesc@…:

I would humbly suggest that we turn off umbrello support for now, then put it back when the next version of kdesdk4 is released.

Given all the problems, this makes most sense to me (personally speaking, umbrello is not the application I'm most interested in using).

Ugh. I installed the entire KDE stack specifically to run Umbrello (I need a good UML diagramming program). However, it does look like it will take a lot of work to get it going. I guess I'll wait until the next version of kdesdk4 is out. Better that everyone else has a kdesdk4 that compiles...

Disable the current boost by doing 'sudo port deactivate boost' Compile 1.36.0 by doing 'sudo port edit boost' and changing the version number. Install by doing 'sudo port install boost checksum.skip=yes' or just add the proper checksum. If you do a 'port -d install boost' you'll have a variety to choose from. I compiled and tested 1.36 this way and it worked for me. Good luck. 4.2.0's just a couple days away!

@mcalhoun I like this boost-compat idea as things will probably break again once a new version of boost is out.

Thanks for those clear, detailed instructions! I now have umbrello working well. Thanks much!

OK, working well turned out to be an exaggeration. In all of my kdesdk apps, including Umbrello, I can't resize the window, and no graphical toolbars appear (a particular problem for Umbrello). The problem appears to be at the KDE level, as QTDemo runs fine.

One installation bug, though -- directory /Users/<me>/Library/Preferences/KDE was left owned by root, so I couldn't properly launch until I did a chown -R.

I think I'll just wait for 4.2.0. Thanks for your help!

comment:19 in reply to:  18 Changed 15 years ago by illogic-al@…

Replying to phil@…:

OK, working well turned out to be an exaggeration. In all of my kdesdk apps, including Umbrello, I can't resize the window, and no graphical toolbars appear (a particular problem for Umbrello). The problem appears to be at the KDE level, as QTDemo runs fine.

That's a KDE bug which won't be fixed unless you report it most likely. bugs.kde.org is your freind.

One installation bug, though -- directory /Users/<me>/Library/Preferences/KDE was left owned by root, so I couldn't properly launch until I did a chown -R.

Thanks for pointing that out. It might seem like nothing but you may have just saved a lot of people some pain :-) I had this problem too but just assumed I did something like running apps as root (which i do from time to time) to cause it. I guess it may be some change to the portfile that caused this. When did you last compile kdelibs?

I think I'll just wait for 4.2.0. Thanks for your help!

I checked 4.2 rc1 and umbrello is resizable, are you sure there was a problem in 4.1.4? In 4.2 the non-resizability problem remains for the apps which I knew had it. Kate for instance isn't resizable.

comment:20 Changed 15 years ago by illogic-al@…

Resolution: fixed
Status: reopenedclosed

Fixed in r46056.

comment:21 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.