Hi haosdent,

you are rock star.

2016-12-30 18:26 GMT+08:00 haosdent <haosd...@gmail.com>:

> Usually try again would resolve the problem. It is gcc bug.
>
> On Fri, Dec 30, 2016 at 6:25 PM, tommy xiao <xia...@gmail.com> wrote:
>
>> ```
>>
>> `test -f 'tests/container_logger_tests.cpp' || echo
>> '/mesos/src/'`tests/container_logger_tests.cpp
>>
>> mv -f examples/.deps/disk_full_framework-disk_full_framework.Tpo
>> examples/.deps/disk_full_framework-disk_full_framework.Po
>>
>> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>> -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>> -DVERSION=\"1.2.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_CXX11=1
>> -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1
>> -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1
>> -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1
>> -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -I/mesos/src   -Werror
>> -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\"
>> -DPKGDATADIR=\"/usr/local/share/mesos\" 
>> -DPKGMODULEDIR=\"/usr/local/lib/mesos/modules\"
>> -I/mesos/include -I../include -I../include/mesos -DPICOJSON_USE_INT64
>> -D__STDC_FORMAT_MACROS -isystem ../3rdparty/boost-1.53.0
>> -I../3rdparty/elfio-3.2 -I../3rdparty/glog-0.3.3/src
>>
>> -I../3rdparty/leveldb-1.4/include -I/mesos/3rdparty/libprocess/include
>> -I../3rdparty/nvml-352.79 -I../3rdparty/picojson-1.3.0
>> -I../3rdparty/protobuf-2.6.1/src -I/mesos/3rdparty/stout/include
>> -I../3rdparty/zookeeper-3.4.8/src/c/include
>> -I../3rdparty/zookeeper-3.4.8/src/c/generated -DHAS_AUTHENTICATION=1
>> -DSOURCE_DIR=\"/mesos\" -DBUILD_DIR=\"/home/vagrant/build\"
>> -I../3rdparty/gmock-1.7.0/gtest/include -isystem
>> ../3rdparty/gmock-1.7.0/include 
>> -DTESTLIBEXECDIR=\"/usr/local/libexec/mesos/tests\"
>> -DSBINDIR=\"/usr/local/sbin\"  -I/usr/include/subversion-1
>> -I/usr/include/apr-1 -I/usr/include/apr-1.0  -pthread -Wall -Wsign-compare
>> -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0
>> -Wno-unused-local-typedefs -std=c++11 -MT tests/mesos_tests-containerizer.o
>> -MD -MP -MF tests/.deps/mesos_tests-containerizer.Tpo -c -o
>> tests/mesos_tests-containerizer.o `test -f 'tests/containerizer.cpp' ||
>> echo '/mesos/src/'`tests/containerizer.cpp
>>
>> g++: 编译器内部错误:已杀死(程序 cc1plus)
>>
>> Please submit a full bug report,
>>
>> with preprocessed source if appropriate.
>>
>> See <http://bugzilla.redhat.com/bugzilla> for instructions.
>>
>> make[3]: *** [tests/mesos_tests-api_tests.o] 错误 4
>>
>> make[3]: *** 正在等待未完成的任务....
>>
>> g++: 编译器内部错误:已杀死(程序 cc1plus)
>>
>> Please submit a full bug report,
>>
>> with preprocessed source if appropriate.
>>
>> See <http://bugzilla.redhat.com/bugzilla> for instructions.
>>
>> make[3]: *** [tests/mesos_tests-container_logger_tests.o] 错误 4
>>
>> mv -f tests/.deps/mesos_tests-containerizer.Tpo
>> tests/.deps/mesos_tests-containerizer.Po
>>
>> mv -f tests/.deps/mesos_tests-command_executor_tests.Tpo
>> tests/.deps/mesos_tests-command_executor_tests.Po
>>
>> mv -f tests/.deps/mesos_tests-cluster.Tpo tests/.deps/mesos_tests-cluste
>> r.Po
>>
>> mv -f tests/.deps/mesos_tests-authorization_tests.Tpo
>> tests/.deps/mesos_tests-authorization_tests.Po
>>
>> mv -f tests/.deps/mesos_tests-anonymous_tests.Tpo
>> tests/.deps/mesos_tests-anonymous_tests.Po
>>
>> mv -f tests/.deps/mesos_tests-authentication_tests.Tpo
>> tests/.deps/mesos_tests-authentication_tests.Po
>>
>> make[3]: 离开目录“/home/vagrant/build/src”
>>
>> make[2]: *** [check-am] 错误 2
>>
>> make[2]: 离开目录“/home/vagrant/build/src”
>>
>> make[1]: *** [check] 错误 2
>>
>> make[1]: 离开目录“/home/vagrant/build/src”
>>
>> make: *** [check-recursive] 错误 1
>>
>> ```
>>
>> 2016-12-30 14:22 GMT+08:00 tommy xiao <xia...@gmail.com>:
>>
>>> hi haosdent,
>>>
>>> remove the mesos, and git clone again, it work like a charm
>>>
>>> 2016-12-30 13:03 GMT+08:00 tommy xiao <xia...@gmail.com>:
>>>
>>>> always output missing
>>>>
>>>> gcc: error: ../../3rdparty/http-parser-2.6.2/http_parser.c: No such
>>>> file or directory
>>>>
>>>> gcc: fatal error: no input files
>>>>
>>>>
>>>> use below env:
>>>>
>>>> https://github.com/xiaods/mesos-vagrant-env
>>>>
>>>>
>>>>
>>>> 2016-12-30 10:33 GMT+08:00 haosdent <haosd...@gmail.com>:
>>>>
>>>>> have you try
>>>>>
>>>>> $ ./bootstrap
>>>>> $ mkdir build
>>>>> $ cd build
>>>>> $ ../configure
>>>>> $ make
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Dec 30, 2016 at 6:19 AM, tommy xiao <xia...@gmail.com> wrote:
>>>>>
>>>>>> today i refresh the code base on my vagrant develop branch, build,
>>>>>> make then get failed, anyone can do me a hint on the failed file.
>>>>>>
>>>>>> ```shell
>>>>>>
>>>>>> make[3]: 进入目录“/home/vagrant/build/3rdparty”
>>>>>>
>>>>>> /bin/sh ../libtool  --tag=CC   --mode=compile gcc
>>>>>> -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>>>>>> -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\"
>>>>>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>>>>>> -DVERSION=\"1.2.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_CXX11=1
>>>>>> -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 
>>>>>> -DHAVE_FTS_H=1
>>>>>> -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1-DHAVE_LIBSASL2=1
>>>>>> -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1
>>>>>> -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -I/mesos/3rdparty
>>>>>> -Ihttp-parser-2.6.2 -DHTTP_PARSER_STRICT=0 -I/usr/include/subversion-1
>>>>>> -I/usr/include/apr-1 -I/usr/include/apr-1.0   -g1-O0
>>>>>> -Wno-unused-local-typedefs -MT libry_http_parser_la-http_parser.lo
>>>>>> -MD -MP -MF .deps/libry_http_parser_la-http_parser.Tpo -c -o
>>>>>> libry_http_parser_la-http_parser.lo `test -f
>>>>>> 'http-parser-2.6.2/http_parser.c' || echo
>>>>>> '/mesos/3rdparty/'`http-parser-2.6.2/http_parser.c
>>>>>>
>>>>>> libtool: compile:  gcc -DPACKAGE_NAME=\"mesos\"
>>>>>> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\"
>>>>>> "-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\"
>>>>>> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 
>>>>>> -DHAVE_LIBZ=1
>>>>>> -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1
>>>>>> -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1
>>>>>> -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I.
>>>>>> -I/mesos/3rdparty -Ihttp-parser-2.6.2 -DHTTP_PARSER_STRICT=0
>>>>>> -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 
>>>>>> -g1
>>>>>> -O0 -Wno-unused-local-typedefs -MT libry_http_parser_la-http_parser.lo
>>>>>> -MD -MP -MF .deps/libry_http_parser_la-http_parser.Tpo -c
>>>>>> /mesos/3rdparty/http-parser-2.6.2/http_parser.c  -fPIC -DPIC -o
>>>>>> .libs/libry_http_parser_la-http_parser.o
>>>>>>
>>>>>> gcc: error: /mesos/3rdparty/http-parser-2.6.2/http_parser.c: No such
>>>>>> file or directory
>>>>>>
>>>>>> gcc: fatal error: no input files
>>>>>>
>>>>>> compilation terminated.
>>>>>>
>>>>>> ```
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Deshi Xiao
>>>>>> Twitter: xds2000
>>>>>> E-mail: xiaods(AT)gmail.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Haosdent Huang
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Deshi Xiao
>>>> Twitter: xds2000
>>>> E-mail: xiaods(AT)gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Deshi Xiao
>>> Twitter: xds2000
>>> E-mail: xiaods(AT)gmail.com
>>>
>>
>>
>>
>> --
>> Deshi Xiao
>> Twitter: xds2000
>> E-mail: xiaods(AT)gmail.com
>>
>
>
>
> --
> Best Regards,
> Haosdent Huang
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com

Reply via email to