[MacPorts] #41220: gwenview @4.11.2 importer/fileutils.cpp:133:10: error: use of undeclared identifier 'mkdtemp'

MacPorts noreply at macports.org
Wed Nov 6 01:27:06 PST 2013


#41220: gwenview @4.11.2 importer/fileutils.cpp:133:10: error: use of undeclared
identifier 'mkdtemp'
--------------------------+--------------------------------
 Reporter:  wahspilihp@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:                |       Port:  gwenview
--------------------------+--------------------------------
 Gwenview won't build on Mavericks, I believe the following is the error.

 {{{
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_gwenview/gwenview/work/build/tests/auto
 && /opt/local/bin/cmake -E cmake_link_script CMake
 Files/imagescalertest.dir/link.txt --verbose=1
 :info:build /usr/bin/clang++   -pipe -Os -arch x86_64  -fno-common -Wnon-
 virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall
 -W -Wpointer-arith -Wformat-security -Woverloaded-virtual
 -fno-exceptions -DQT_NO_EXCEPTIONS -fno-common -fvisibility=hidden -Werror
 =return-type -fvisibility-inlines-hidden -fdelayed-template-parsing -Wno-
 return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG -arch x8
 6_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -arch x86_64
 CMakeFiles/imagescalertest.dir/imagescalertest_automoc.o
 CMakeFiles/imagescalertest.dir/imagesc
 alertest.o  -o imagescalertest.app/Contents/MacOS/imagescalertest
 /opt/local/lib/libkio.5.11.2.dylib /opt/local/lib/libkdeui.5.11.2.dylib
 /opt/local/lib/libkdecore.5.11.2.dylib /opt/local/lib/libQtTest.dylib
 /opt/local/lib/libQtCore.dylib /opt/local/lib/libQtGui.dylib
 ../../lib/libgwenviewlib.4.11.2.dylib /opt/local/lib/libkio.5.11.2.dylib
 /opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtXml.dylib
 /opt/local/lib/libkdeui.5.11.2.dylib /opt/local/lib/libQtSvg.dylib
 /opt/local/lib/libkdecore.5.11.2.dylib /opt/local/lib/libQtCore.dylib
 /opt/local/lib/libQtDBus.dylib -framework Carbon
 /opt/local/lib/libQtGui.dylib
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_gwenview/gwenview/work/gwenview-4.11.2/importer/fileutils.cpp:133:10:
 error: use of undeclared identifier 'mkdtemp'
 :info:build     if (!mkdtemp(name.data())) {
 :info:build          ^
 :info:build 1 error generated.
 :info:build make[2]: ***
 [tests/auto/CMakeFiles/importertest.dir/__/__/importer/fileutils.o] Error
 1
 }}}

 This doesn't appear to have been reported upstream, but the current
 upstream version appears to be 4.11.60, so it may have already been fixed.

-- 
Ticket URL: <https://trac.macports.org/ticket/41220>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list