[ 
https://issues.apache.org/jira/browse/MESOS-8052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chun-Hung Hsiao updated MESOS-8052:
-----------------------------------
    Description: 
If we run {{make -j4 check}} without running {{make}} first, we will get the 
following error message:
{noformat}
3rdparty/protobuf-3.3.0/src/protoc -I../tests --cpp_out=. 
../tests/protobuf_tests.proto
/bin/bash: 3rdparty/protobuf-3.3.0/src/protoc: No such file or directory
Makefile:1934: recipe for target 'protobuf_tests.pb.cc' failed
make: *** [protobuf_tests.pb.cc] Error 127
{noformat}

  was:
+underlined text+If we run {{make tests}} without running {{make}} first, 
{{tests/protobuf_tests.proto}} would not be compiled, and thus the generated 
files would be missing:
{noformat}
g++ -DPACKAGE_NAME=\"stout\" -DPACKAGE_TARNAME=\"stout\" 
-DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"stout\ 0.1.0\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"stout\" 
-DVERSION=\"0.1.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_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 
-DHAVE_LIBDL=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 
-DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_SVN_VERSION_H=1 
-DHAVE_LIBSVN_SUBR_1=1 -DHAVE_CXX11=1 -I. -I..  -I../include -isystem 
3rdparty/boost-1.53.0 -I3rdparty/elfio-3.2 -I3rdparty/glog-0.3.3/src 
-I3rdparty/googletest-release-1.8.0/googlemock/include 
-I3rdparty/googletest-release-1.8.0/googletest/include -DPICOJSON_USE_INT64 
-D__STDC_FORMAT_MACROS -I3rdparty/picojson-1.3.0 -I3rdparty/protobuf-3.3.0/src  
-I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0  -Wall 
-Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 
-Wno-unused-local-typedefs -std=c++11 -MT stout_tests-protobuf_tests.o -MD -MP 
-MF .deps/stout_tests-protobuf_tests.Tpo -c -o stout_tests-protobuf_tests.o 
`test -f 'tests/protobuf_tests.cpp' || echo '../'`tests/protobuf_tests.cpp
../tests/protobuf_tests.cpp:28:31: fatal error: protobuf_tests.pb.h: No such 
file or directory
compilation terminated.
Makefile:1278: recipe for target 'stout_tests-protobuf_tests.o' failed
make[1]: *** [stout_tests-protobuf_tests.o] Error 1
{noformat}


> "protoc" not found when running "make -j4 check" directly in stout
> ------------------------------------------------------------------
>
>                 Key: MESOS-8052
>                 URL: https://issues.apache.org/jira/browse/MESOS-8052
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Chun-Hung Hsiao
>            Assignee: Chun-Hung Hsiao
>              Labels: compile-error
>             Fix For: 1.4.1
>
>
> If we run {{make -j4 check}} without running {{make}} first, we will get the 
> following error message:
> {noformat}
> 3rdparty/protobuf-3.3.0/src/protoc -I../tests --cpp_out=. 
> ../tests/protobuf_tests.proto
> /bin/bash: 3rdparty/protobuf-3.3.0/src/protoc: No such file or directory
> Makefile:1934: recipe for target 'protobuf_tests.pb.cc' failed
> make: *** [protobuf_tests.pb.cc] Error 127
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to