[MacPorts] #34792: kdepim4: no member named 'hasSelection' in 'MessageViewer::MailWebView'; did you mean 'clearSelection'? (was: kdepim4 4.8.3 build broken)

MacPorts noreply at macports.org
Thu Jun 7 14:03:08 PDT 2012


#34792: kdepim4: no member named 'hasSelection' in 'MessageViewer::MailWebView';
did you mean 'clearSelection'?
---------------------------------+------------------------------------------
 Reporter:  info@…               |       Owner:  snc@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  2.1.1           
 Keywords:                       |        Port:  kdepim4         
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

 * cc: sharky@…, bjoern.ricks@… (added)
  * owner:  macports-tickets@… => snc@…


Comment:

 The relevant error in the log seems to be:
 {{{
 :info:build [ 47%] Building CXX object
 messageviewer/CMakeFiles/messageviewer.dir/globalsettings_base.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build/messageviewer
 && /usr/bin/clang++   -DMAKE_MESSAGEVIEWER_LIB -DDISABLE_NEPOMUK_LEGACY
 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_STL
 -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=128 -pipe -O2 -arch x86_64  -fno-common
 -O3 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -fPIC
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build/messageviewer
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3/messageviewer
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3/libkleo
 -I/opt/local/include -I/opt/local/include/KDE
 -I/opt/local/include/QtXmlPatterns -I/opt/local/include/QtXml
 -I/opt/local/include/QtWebKit -I/opt/local/include/QtUiTools
 -I/opt/local/include/QtTest -I/opt/local/include/QtSvg
 -I/opt/local/include/QtSql -I/opt/local/include/QtScriptTools
 -I/opt/local/include/QtScript -I/opt/local/include/QtOpenGL
 -I/opt/local/include/QtNetwork -I/opt/local/include/QtMultimedia
 -I/opt/local/include/QtHelp -I/opt/local/include/QtDesigner
 -I/opt/local/include/QtDeclarative -I/opt/local/include/QtDBus
 -I/opt/local/include/Qt3Support -I/opt/local/include/QtGui
 -I/opt/local/include/QtCore -I/opt/local/share/qt4/mkspecs/default
 -D__APPLE_KDE__  -o CMakeFiles/messageviewer.dir/globalsettings_base.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build/messageviewer/globalsettings_base.cpp
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3/messageviewer/viewer_p.cpp:1933:17:
 error: no member named 'hasSelection' in 'MessageViewer::MailWebView'; did
 you mean 'clearSelection'?
 :info:build   if ( mViewer->hasSelection() )
 :info:build                 ^~~~~~~~~~~~
 :info:build                 clearSelection
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3/messageviewer/mailwebview.h:88:10:
 note: 'clearSelection' declared here
 :info:build     void clearSelection();
 :info:build          ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.8.3/messageviewer/viewer_p.cpp:1933:8:
 error: value of type 'void' is not contextually convertible to 'bool'
 :info:build   if ( mViewer->hasSelection() )
 :info:build        ^~~~~~~~~~~~~~~~~~~~~~~
 :info:build 2 errors generated.
 }}}

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


More information about the macports-tickets mailing list