[ 
https://issues.apache.org/jira/browse/MESOS-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064101#comment-14064101
 ] 

Vinson Lee commented on MESOS-1208:
-----------------------------------

Build still broken with recent commit 049aed3c9c19405dade552f762b2741935223a16 
"Added a low level scheduler example using pthread.".


> 3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/special_functions/sign.hpp:113:55:
>  error: typedef 'fp_tag' locally defined but not used 
> [-Werror=unused-local-typedefs]
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-1208
>                 URL: https://issues.apache.org/jira/browse/MESOS-1208
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: {noformat}
> $ gcc --version
> gcc (GCC) 4.9.0 20140411 (Red Hat 4.9.0-0.10)
> Copyright (C) 2014 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> {noformat}
>            Reporter: Vinson Lee
>            Priority: Blocker
>
> {noformat}
> /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" 
> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.19.0\" 
> -DPACKAGE_STRING=\"mesos\ 0.19.0\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 
> -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 
> -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I.   -Wall -Werror 
> -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
> -I../3rdparty/libprocess/include 
> -I../3rdparty/libprocess/3rdparty/stout/include -I../include 
> -I../3rdparty/libprocess/3rdparty/boost-1.53.0 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I../3rdparty/libprocess/3rdparty/picojson-4f93734 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include 
> -I../3rdparty/zookeeper-3.4.5/src/c/generated  -pthread -g -g2 -O2 -std=c++11 
> -MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
> sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c -o 
> sasl/libmesos_no_3rdparty_la-auxprop.lo `test -f 'sasl/auxprop.cpp' || echo 
> './'`sasl/auxprop.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
> -DPACKAGE_VERSION=\"0.19.0\" "-DPACKAGE_STRING=\"mesos 0.19.0\"" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
> -DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 
> -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 
> -DHAVE_LIBSASL2=1 -I. -Wall -Werror -DLIBDIR=\"/usr/local/lib\" 
> -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
> -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
> -I../3rdparty/libprocess/include 
> -I../3rdparty/libprocess/3rdparty/stout/include -I../include 
> -I../3rdparty/libprocess/3rdparty/boost-1.53.0 
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
> -I../3rdparty/libprocess/3rdparty/picojson-4f93734 
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
> -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include 
> -I../3rdparty/zookeeper-3.4.5/src/c/generated -pthread -g -g2 -O2 -std=c++11 
> -MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
> sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c sasl/auxprop.cpp  -fPIC 
> -DPIC -o sasl/.libs/libmesos_no_3rdparty_la-auxprop.o
> In file included from 
> ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/lexical_cast.hpp:167:0,
>                  from 
> ../3rdparty/libprocess/3rdparty/stout/include/stout/numify.hpp:19,
>                  from 
> ../3rdparty/libprocess/3rdparty/stout/include/stout/bytes.hpp:24,
>                  from 
> ../3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp:55,
>                  from 
> ../3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp:30,
>                  from 
> ../3rdparty/libprocess/3rdparty/stout/include/stout/flags.hpp:17,
>                  from ./logging/flags.hpp:24,
>                  from ./logging/logging.hpp:26,
>                  from sasl/auxprop.cpp:1:
> ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/special_functions/sign.hpp:
>  In function 'int boost::math::signbit(T)':
> ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/math/special_functions/sign.hpp:113:55:
>  error: typedef 'fp_tag' locally defined but not used 
> [-Werror=unused-local-typedefs]
>     typedef typename boost::is_floating_point<T>::type fp_tag;
>                                                        ^
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to