[MacPorts] #41371: mythtv-core.27 fails to build on Mavericks
MacPorts
noreply at macports.org
Thu Nov 14 11:15:22 PST 2013
#41371: mythtv-core.27 fails to build on Mavericks
--------------------------+--------------------------------
Reporter: ctreleaven@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: mavericks | Port: mythtv-core.27
--------------------------+--------------------------------
Compilation fails with the message:
{{{#!awk
:info:build /usr/bin/clang++ -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-DPIC -fomit-frame-pointer -fPIC -g -Wall -Wpointer-arith
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-
constant-logical-operand -Wno-unused-value -Qunused-arguments -arch x86_64
-Xarch_x86_64 -mmacosx-version-min=10.9 -fPIC -DMMX -DUSING_APPLEREMOTE
-D_GNU_SOURCE -DUSE_LIRC -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DMUI_API
-DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I.
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtSql.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/opt/local/include/libxml2 -I../../external/qjson/include
-I../libmythbase -I../.. -I.. -I../../external/FFmpeg
-I/opt/local/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtSql.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers
-F/opt/local/Library/Frameworks -F/opt/local/lib -o mythrect.o
mythrect.cpp
:info:build mythpainter.cpp:215:36: error: no member named 'abs' in
namespace 'std'
:info:build std::max(outlineSize, std::abs(shadowOffset.y()));
:info:build ~~~~~^
}}}
A bit of Google search reveals that if the Command Line Tools from Xcode
4.6.3 are installed, such errors do not occur. See:
https://github.com/mxcl/homebrew/issues/21709
--
Ticket URL: <https://trac.macports.org/ticket/41371>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list