Skip to content

redex build failed #877

Open
Open
@xuweishun

Description

@xuweishun

autoreconf -ivf && ./configure && make

errorlog:
p -fno-common -DPIC -o checkers/.libs/DexLimitsChecker.o
In file included from checkers/DexLimitsChecker.cpp:8:
In file included from ./checkers/DexLimitsChecker.h:10:
In file included from ./libredex/RedexPropertyChecker.h:12:
In file included from ./libredex/DexStore.h:17:
In file included from ./libredex/ConcurrentContainers.h:10:
In file included from /usr/local/include/boost/intrusive/pointer_plus_bits.hpp:18:
In file included from /usr/local/include/boost/intrusive/detail/mpl.hpp:26:
/usr/local/include/boost/move/detail/type_traits.hpp:805:30: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
{ static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); };
^
/usr/local/include/boost/move/detail/type_traits.hpp:272:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE'
#define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T)
^
/usr/local/include/boost/move/detail/type_traits.hpp:128:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR'

define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)

                                              ^

/usr/local/include/boost/move/detail/type_traits.hpp:812:30: error: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Werror,-Wdeprecated-builtins]
{ static const bool value = BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE(T); };
^
/usr/local/include/boost/move/detail/type_traits.hpp:246:62: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE'
#define BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR(T)
^
/usr/local/include/boost/move/detail/type_traits.hpp:119:52: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR'

define BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)

                                               ^

/usr/local/include/boost/move/detail/type_traits.hpp:822:30: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE(T);
^
/usr/local/include/boost/move/detail/type_traits.hpp:240:60: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE'
BOOST_MOVE_HAS_TRIVIAL_COPY(T))
^
/usr/local/include/boost/move/detail/type_traits.hpp:122:45: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_COPY'

define BOOST_MOVE_HAS_TRIVIAL_COPY(T) __has_trivial_copy(T)

                                        ^

/usr/local/include/boost/move/detail/type_traits.hpp:840:30: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T);
^
/usr/local/include/boost/move/detail/type_traits.hpp:260:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE'
BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T))
^
/usr/local/include/boost/move/detail/type_traits.hpp:125:48: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN'

define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) )

                                           ^

/usr/local/include/boost/move/detail/type_traits.hpp:856:30: error: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Werror,-Wdeprecated-builtins]
{ static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); };
^
/usr/local/include/boost/move/detail/type_traits.hpp:278:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE'
#define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T)
^
/usr/local/include/boost/move/detail/type_traits.hpp:131:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR'

define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T)

                                               ^

/usr/local/include/boost/move/detail/type_traits.hpp:863:30: error: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Werror,-Wdeprecated-builtins]
{ static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); };
^
/usr/local/include/boost/move/detail/type_traits.hpp:284:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE'
#define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T)
^
/usr/local/include/boost/move/detail/type_traits.hpp:134:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY'

define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T))

                                         ^

In file included from checkers/DexLimitsChecker.cpp:8:
In file included from ./checkers/DexLimitsChecker.h:10:
In file included from ./libredex/RedexPropertyChecker.h:12:
In file included from ./libredex/DexStore.h:19:
In file included from ./libredex/DexClass.h:25:
In file included from ./libredex/DexMemberRefs.h:10:
In file included from /usr/local/include/boost/functional/hash.hpp:6:
/usr/local/include/boost/container_hash/hash.hpp:130:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
struct hash_base : std::unary_function<T, std::size_t> {};
~~~~~^~~~~~~~~~~~~~
__unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from checkers/DexLimitsChecker.cpp:8:
In file included from ./checkers/DexLimitsChecker.h:10:
In file included from ./libredex/RedexPropertyChecker.h:12:
In file included from ./libredex/DexStore.h:19:
In file included from ./libredex/DexClass.h:27:
In file included from ./libredex/ReferencedState.h:11:
In file included from /usr/local/include/boost/optional.hpp:15:
In file included from /usr/local/include/boost/optional/optional.hpp:38:
/usr/local/include/boost/type_traits/has_nothrow_constructor.hpp:27:84: error: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Werror,-Wdeprecated-builtins]
template struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
^
/usr/local/include/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'

define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible::value)

                                           ^

In file included from checkers/DexLimitsChecker.cpp:8:
In file included from ./checkers/DexLimitsChecker.h:10:
In file included from ./libredex/RedexPropertyChecker.h:12:
In file included from ./libredex/DexStore.h:19:
In file included from ./libredex/DexClass.h:27:
In file included from ./libredex/ReferencedState.h:11:
In file included from /usr/local/include/boost/optional.hpp:15:
In file included from /usr/local/include/boost/optional/optional.hpp:47:
In file included from /usr/local/include/boost/type_traits/is_nothrow_move_assignable.hpp:16:
/usr/local/include/boost/type_traits/has_nothrow_assign.hpp:65:7: error: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Werror,-Wdeprecated-builtins]
BOOST_HAS_NOTHROW_ASSIGN(T)
^
/usr/local/include/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'

define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile::value && is_assignable<T&, const T&>::value)

                                      ^

9 errors generated.
make[2]: *** [checkers/DexLimitsChecker.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions