-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update-environment error!! Please fix it #5
Comments
Who is this
|
same problem,i doubt is anybody build the project successful? |
这个问题太蛋疼了 谁能帮忙解决下 |
./base/casts.h: In function ‘bool loose_enum_test(int)’:
./base/casts.h:280:53: warning: typedef ‘missing_MAKE_ENUM_LIMITS’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(enum_limits::is_specialized, missing_MAKE_ENUM_LIMITS);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
./base/casts.h:283:60: warning: typedef ‘unexpected_int_size’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(sizeof(e_val) == 4 || sizeof(e_val) == 8, unexpected_int_size);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
./base/casts.h: In function ‘bool tight_enum_test(int)’:
./base/casts.h:334:53: warning: typedef ‘missing_MAKE_ENUM_LIMITS’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(enum_limits::is_specialized, missing_MAKE_ENUM_LIMITS);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNDEBUG=1 -DOS_LINUX -DHASH_NAMESPACE=__gnu_cxx -DS2_USE_EXACTFLOAT -I. -I/usr/include/python2.7 -c util/math/mathutil.cc -o build/temp.linux-x86_64-2.7/util/math/mathutil.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from ./base/casts.h:18:0,
./base/casts.h: In function ‘To down_cast(From&)’:
./base/casts.h:89:49: warning: typedef ‘target_type_not_a_reference’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(base::is_reference::value, target_type_not_a_reference);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
In file included from ./base/basictypes.h:9:0,
./base/casts.h: In function ‘Dest bit_cast(const Source&)’:
./base/casts.h:163:16: warning: typedef ‘VerifySizesAreEqual’ locally defined but not used [-Wunused-local-typedefs]
typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1];
In file included from ./base/casts.h:18:0,
./base/casts.h: In function ‘bool loose_enum_test(int)’:
./base/casts.h:280:53: warning: typedef ‘missing_MAKE_ENUM_LIMITS’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(enum_limits::is_specialized, missing_MAKE_ENUM_LIMITS);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
./base/casts.h:283:60: warning: typedef ‘unexpected_int_size’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(sizeof(e_val) == 4 || sizeof(e_val) == 8, unexpected_int_size);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
./base/casts.h: In function ‘bool tight_enum_test(int)’:
./base/casts.h:334:53: warning: typedef ‘missing_MAKE_ENUM_LIMITS’ locally defined but not used [-Wunused-local-typedefs]
COMPILE_ASSERT(enum_limits::is_specialized, missing_MAKE_ENUM_LIMITS);
./base/macros.h:47:39: note: in definition of macro ‘COMPILE_ASSERT’
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
In file included from ./util/math/mathutil.h:22:0,
./util/math/mathlimits.h: At global scope:
./util/math/mathlimits.h:98:79: error: field initializer is not constant
(((Type(1) << (sizeof(Type)_8 - 2)) - 1) + (Type(1) << (sizeof(Type)_8 - 2)))
./util/math/mathlimits.h:134:31: note: in expansion of macro ‘SIGNED_INT_MAX’
static const Type kPosMax = SIGNED_INT_MAX(Type); \
./util/math/mathlimits.h:166:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed int, unsigned int)
^
./util/math/mathlimits.h:136:28: error: field initializer is not constant
static const Type kMax = kPosMax; \
./util/math/mathlimits.h:166:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed int, unsigned int)
^
./util/math/mathlimits.h:98:79: error: field initializer is not constant
(((Type(1) << (sizeof(Type)_8 - 2)) - 1) + (Type(1) << (sizeof(Type)_8 - 2)))
./util/math/mathlimits.h:134:31: note: in expansion of macro ‘SIGNED_INT_MAX’
static const Type kPosMax = SIGNED_INT_MAX(Type); \
./util/math/mathlimits.h:167:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed long int, unsigned long int)
^
./util/math/mathlimits.h:136:28: error: field initializer is not constant
static const Type kMax = kPosMax; \
./util/math/mathlimits.h:167:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed long int, unsigned long int)
^
./util/math/mathlimits.h:98:79: error: field initializer is not constant
(((Type(1) << (sizeof(Type)_8 - 2)) - 1) + (Type(1) << (sizeof(Type)_8 - 2)))
./util/math/mathlimits.h:134:31: note: in expansion of macro ‘SIGNED_INT_MAX’
static const Type kPosMax = SIGNED_INT_MAX(Type); \
./util/math/mathlimits.h:168:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed long long int, unsigned long long int)
^
./util/math/mathlimits.h:136:28: error: field initializer is not constant
static const Type kMax = kPosMax; \
./util/math/mathlimits.h:168:1: note: in expansion of macro ‘DECL_SIGNED_INT_LIMITS’
DECL_SIGNED_INT_LIMITS(signed long long int, unsigned long long int)
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/s2/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-VY8wxA-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/s2
Traceback (most recent call last):
File "/root/envs/vf-dev/bin/pip", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/pip/init.py", line 185, in main
return command.main(cmd_args)
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: