incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matei Zaharia (Commented) (JIRA)" <>
Subject [jira] [Commented] (MESOS-76) src/tests/ hardcodes architecture as "arch64". Should instead be var set by configure
Date Fri, 11 Nov 2011 23:14:51 GMT


Matei Zaharia commented on MESOS-76:

Patch looks good to me.
> src/tests/ hardcodes architecture as "arch64". Should instead be var set by
> ------------------------------------------------------------------------------------------------
>                 Key: MESOS-76
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Andy Konwinski
>            Assignee: Andy Konwinski
>            Priority: Critical
>         Attachments: MESOS-76.patch
> I'm trying to get a continuous build working for mesos at (see
and it seems as though the Ubuntu machines being used don't have a 64bit jvm library on them,
so the following lines of src/tests/
> else # TODO(John Sirois): parameterize via configure templates
>   LDFLAGS += -L$(JAVA_HOME)/jre/lib/amd64/server -ljvm
> endif
> cause the build to fail with the following error:
> ...
> mkdir -p ../../bin/tests
> g++ -O2 -fno-strict-aliasing -fPIC  -g -I../../../src/tests/.. -I.. -I../../../include
-I../../include -I../../../third_party/boost-1.37.0 -I../../../third_party/protobuf-2.3.0/src
-I../../../third_party/libprocess/include -I../../../third_party/glog-0.3.1/src -I../../third_party/glog-0.3.1/src
-I../../../third_party/leveldb/include -I../../../third_party/gmock-1.6.0/include -I../../../third_party/gmock-1.6.0/gtest/include
-I../../../third_party/zookeeper-3.3.1/src/c/include -I../../../third_party/zookeeper-3.3.1/src/c/generated
-MMD -MP -o ../../bin/tests/all-tests main.o utils.o master_tests.o resource_offers_tests.o
fault_tolerance_tests.o log_tests.o resources_tests.o uuid_tests.o external_tests.o sample_frameworks_tests.o
configurator_tests.o strings_tests.o multihashmap_tests.o protobuf_io_tests.o lxc_isolation_tests.o
utils_tests.o jvm.o zookeeper_server.o base_zookeeper_test.o zookeeper_server_tests.o zookeeper_tests.o
url_processor_tests.o killtree_tests.o exception_tests.o gmock.a ../../lib/libmesos_sched.a
../../lib/libmesos_exec.a  -L/home/jenkins/tools/java/latest/jre/lib/amd64/server -ljvm -L../../third_party/protobuf-2.3.0/src/.libs
-L../../third_party/libprocess -L../../third_party/libprocess/third_party/libev-3.8/.libs
-L../../third_party/glog-0.3.1/.libs -L../../third_party/leveldb -L../../third_party/zookeeper-3.3.1/src/c/.libs
 -lprotobuf -lglog -lleveldb -lprocess -lev -lpthread -ldl -lzookeeper_mt
> /usr/bin/ld: cannot find -ljvm
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/tests/all-tests] Error 1
> make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu/build/src/tests'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu/build/src'
> make: *** [src] Error 2
> Build step 'Execute shell' marked build as failure
> Sending e-mails to:
> Finished: FAILURE
> (see for full output)
> That TODO should be addressed In, specifically "amd64" should be replaced
with $(OS_ARCH) which should be set by configure.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message