[MacPorts] #42707: mythtv-core.25: build fails on Mavericks due to missing function abs()
MacPorts
noreply at macports.org
Mon Mar 3 10:22:31 PST 2014
#42707: mythtv-core.25: build fails on Mavericks due to missing function abs()
----------------------+----------------------------
Reporter: devans@… | Owner: ctreleaven@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mythtv-core.25
----------------------+----------------------------
Build fails as follows:
{{{
/usr/bin/clang++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
-fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -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/usr/include -I/opt/local -I/opt/local/include/libxml2 -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 mythgesture.o
mythgesture.cpp
In file included from mythuihelper.cpp:30:
In file included from ./mythprogressdialog.h:6:
In file included from ./mythscreentype.h:5:
In file included from ./mythuitext.h:5:
In file included from
/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers/QTextLayout:1:
In file included from
/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers/qtextlayout.h:50:
In file included from /opt/local/include/QtGui/qevent.h:52:
/opt/local/include/QtGui/qmime.h:119:10: warning: private field 'type' is
not used [-Wunused-private-field]
char type;
^
mythgesture.cpp:287:9: error: use of undeclared identifier 'abs'; did you
mean 'fabs'?
if (abs(delx) > abs(dely))
^~~
fabs
/usr/include/math.h:431:15: note: 'fabs' declared here
extern double fabs(double);
^
mythgesture.cpp:287:21: error: use of undeclared identifier 'abs'; did you
mean 'fabs'?
if (abs(delx) > abs(dely))
^~~
fabs
/usr/include/math.h:431:15: note: 'fabs' declared here
extern double fabs(double);
^
2 errors generated.
make[2]: *** [mythgesture.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42707>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list