[MacPorts] #17962: kdesdk4 fails to compile

MacPorts noreply at macports.org
Sun Jan 11 17:14:14 PST 2009


#17962: kdesdk4 fails to compile
--------------------------------------+-------------------------------------
 Reporter:  jonesc@…                  |       Owner:  illogic-al@…           
     Type:  defect                    |      Status:  new                    
 Priority:  Normal                    |   Milestone:  Port Bugs              
Component:  ports                     |     Version:  1.7.0                  
 Keywords:  kde4                      |        Port:  kdesdk4                
--------------------------------------+-------------------------------------
Changes (by macsforever2000@…):

  * keywords:  kde4 kdesdk4 => kde4
  * owner:  macports-tickets@… => illogic-al@…


Old description:

> 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

New description:

 {{{
 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
 }}}

--

Comment:

 Assigning to maintainer.

-- 
Ticket URL: <http://trac.macports.org/ticket/17962#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list