Opened 7 years ago

Closed 7 years ago

#55298 closed defect (fixed)

kdevplatform @1.7.4_1 fails to build -> Mavericks

Reported by: tehcog (tehcog) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Mavericks Cc:
Port: kdevplatform

Description

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealcontroller.cpp:81:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
:info:build     auto action = m_mainWindow->action("show_top_dock");
:info:build     ^
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build/plugins/patchreview/libdiff2/tests && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build/plugins/patchreview/libdiff2/tests/interactiveDiffTest.app/Contents/MacOS/interactiveDiffTest.shell -D_library_path_variable=DYLD_LIBRARY_PATH -D_ld_library_path="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build/lib/./:/opt/local/lib" -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build/plugins/patchreview/libdiff2/tests/interactiveDiffTest.app/Contents/MacOS/interactiveDiffTest -P /opt/local/share/apps/cmake/modules/kde4_exec_via_sh.cmake
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build'
:info:build [ 53%] Built target interactiveDiffTest
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealdockwidget.cpp:122:10: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
:info:build     for (auto action : {left, bottom, right, detach}) {
:info:build          ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealdockwidget.cpp:122:22: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
:info:build     for (auto action : {left, bottom, right, detach}) {
:info:build                      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealdockwidget.cpp:122:24: error: cannot deduce type of initializer list because std::initializer_list was not found; include <initializer_list>
:info:build     for (auto action : {left, bottom, right, detach}) {
:info:build                        ^
:info:build 1 warning generated.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealbuttonbarwidget.cpp:254:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
:info:build     auto button = qobject_cast<IdealToolButton*>(sender());
:info:build     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/kdevplatform-1.7.4/sublime/idealbuttonbarwidget.cpp:256:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
:info:build     auto action = _buttons.key(button);
:info:build     ^
:info:build 2 warnings and 1 error generated.
:info:build make[2]: *** [sublime/CMakeFiles/sublime.dir/idealdockwidget.cpp.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build 2 warnings generated.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build'
:info:build make[1]: *** [sublime/CMakeFiles/sublime.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build kdevplatform: command execution failed
:debug:build Error code: CHILDSTATUS 10144 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevplatform/kdevplatform/main.log for details.

Attachments (1)

main.log (2.4 MB) - added by tehcog (tehcog) 7 years ago.
main.log

Change History (4)

Changed 7 years ago by tehcog (tehcog)

Attachment: main.log added

main.log

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

Cc: NicosPavlov removed
Owner: set to NicosPavlov
Status: newassigned

comment:2 Changed 7 years ago by NicosPavlov

It appears that kdevplatform now requires full c++11 support for compilation. Should be fixed with following commit.

comment:3 Changed 7 years ago by NicosPavlov

Resolution: fixed
Status: assignedclosed

In 11baf4ecb96c4d44bbd7fadaeef9d83e47eeac3c/macports-ports:

kdevplatform, kdevelop: use cxx11 portgroup, explicitly support c++11 in compilation (fix: #55298)

Note: See TracTickets for help on using tickets.