Opened 12 years ago

Closed 12 years ago

#34792 closed defect (fixed)

kdepim4: no member named 'hasSelection' in 'MessageViewer::MailWebView'; did you mean 'clearSelection'?

Reported by: info@… Owned by: sharky@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: michaelld (Michael Dickens), bjoern.ricks@…
Port: kdepim4

Description

[...]
:error:build org.macports.build for port kdepim4 returned: command execution failed
:debug:build Error code: CHILDSTATUS 1686 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for kdepim4: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port kdepim4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/main.log

Attachments (1)

main.log (791.8 KB) - added by info@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by info@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… bjoern.ricks@… added
Owner: changed from macports-tickets@… to snc@…
Summary: kdepim4 4.8.3 build brokenkdepim4: no member named 'hasSelection' in 'MessageViewer::MailWebView'; did you mean 'clearSelection'?

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.

comment:2 Changed 12 years ago by info@…

success after upgrade to qt4-mac 4.8.2_0

--->  Computing dependencies for kdepim4
--->  Fetching archive for kdepim4
--->  Attempting to fetch kdepim4-4.8.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/kdepim4
--->  Fetching distfiles for kdepim4
--->  Verifying checksum(s) for kdepim4
--->  Extracting kdepim4
--->  Configuring kdepim4
--->  Building kdepim4
--->  Staging kdepim4 into destroot
--->  Installing kdepim4 @4.8.3_0
--->  Activating kdepim4 @4.8.3_0
##########################################################
# Don't forget that dbus needs to be started as the local 
# user (not with sudo) before any KDE programs will launch
# To start it run the following command:                  
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
##########################################################
--->  Cleaning kdepim4
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added; sharky@… removed
Owner: changed from snc@… to sharky@…

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:2.

Note: See TracTickets for help on using tickets.