[MacPorts] #17962: kdesdk4 fails to compile
MacPorts
noreply at macports.org
Sun Jan 18 16:59:47 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
--------------------------------------+-------------------------------------
Comment(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
-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
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...
--
Ticket URL: <http://trac.macports.org/ticket/17962#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list