Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8002E17F71 for ; Mon, 23 Feb 2015 23:41:15 +0000 (UTC) Received: (qmail 82876 invoked by uid 500); 23 Feb 2015 23:41:12 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 82708 invoked by uid 500); 23 Feb 2015 23:41:12 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 82453 invoked by uid 99); 23 Feb 2015 23:41:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 23:41:11 +0000 Date: Mon, 23 Feb 2015 23:41:11 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (MESOS-2381) Build failure after reintroducing "internal" namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-2381?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Mahler reopened MESOS-2381: ------------------------------------ authentication.proto was missed during the change, it still has {{package m= esos}}. > Build failure after reintroducing "internal" namespace > ------------------------------------------------------ > > Key: MESOS-2381 > URL: https://issues.apache.org/jira/browse/MESOS-2381 > Project: Mesos > Issue Type: Bug > Reporter: Kapil Arya > Assignee: Kapil Arya > Priority: Blocker > > Four different problems with the build: > 1. https://builds.apache.org/job/Mesos-Ubuntu-distcheck/703/changes > {code} > + ./support/mesos-style.py > Checking 592 files using filter --filter=3D-,+build/class,+build/deprecat= ed,+build/endif_comment,+readability/todo,+readability/namespace,+runtime/v= log,+whitespace/blank_line,+whitespace/comma,+whitespace/end_of_line,+white= space/ending_newline,+whitespace/forcolon,+whitespace/indent,+whitespace/li= ne_length,+whitespace/operators,+whitespace/semicolon,+whitespace/tab,+whit= espace/todo > src/tests/isolator.hpp:44: Lines should be <=3D 80 characters long [whi= tespace/line_length] [2] > Total errors found: 1 > Build step 'Execute shell' marked build as failure > {code} > 2. https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA= _HOME/2479/changes > {code} > libtool: compile: g++ -DPACKAGE_NAME=3D\"mesos\" -DPACKAGE_TARNAME=3D\"m= esos\" -DPACKAGE_VERSION=3D\"0.22.0\" "-DPACKAGE_STRING=3D\"mesos 0.22.0\""= -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"mesos\" -DVE= RSION=3D\"0.22.0\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STA= T_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_= STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1= -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DHAVE_PTHREAD=3D1 -DHAVE_LIBZ= =3D1 -DHAVE_LIBCURL=3D1 -DHAVE_APR_POOLS_H=3D1 -DHAVE_LIBAPR_1=3D1 -DHAVE_S= VN_VERSION_H=3D1 -DHAVE_LIBSVN_SUBR_1=3D1 -DHAVE_SVN_DELTA_H=3D1 -DHAVE_LIB= SVN_DELTA_1=3D1 -DHAVE_LIBSASL2=3D1 -DMESOS_HAS_JAVA=3D1 -DHAVE_PYTHON=3D\"= 2.7\" -DMESOS_HAS_PYTHON=3D1 -I. -Wall -Werror -DLIBDIR=3D\"/usr/local/lib\= " -DPKGLIBEXECDIR=3D\"/usr/local/libexec/mesos\" -DPKGDATADIR=3D\"/usr/loca= l/share/mesos\" -I../include -I../3rdparty/libprocess/include -I../3rdparty= /libprocess/3rdparty/stout/include -I../include -I../include/mesos -I../3rd= party/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/pi= cojson-4f93734 -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src -I../3r= dparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/libprocess/3rdparty= /glog-0.3.3/src -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5= /src/c/include -I../3rdparty/zookeeper-3.4.5/src/c/generated -I../3rdparty/= libprocess/3rdparty/protobuf-2.5.0/src -I/usr/include/subversion-1 -I/usr/i= nclude/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 -Wno-unused-local-type= defs -std=3Dc++11 -MT hook/libmesos_no_3rdparty_la-manager.lo -MD -MP -MF h= ook/.deps/libmesos_no_3rdparty_la-manager.Tpo -c hook/manager.cpp -fPIC -D= PIC -o hook/.libs/libmesos_no_3rdparty_la-manager.o > In file included from hook/manager.cpp:36:0: > ./module/manager.hpp: In static member function 'static std::vector > mesos::modules::ModuleManager::find()': > ./module/manager.hpp:120:5: error: 'Lock' is not a member of 'mesos' > mesos::Lock lock(&mutex); > ^ > ./module/manager.hpp:120:5: note: suggested alternative: > In file included from hook/manager.cpp:34:0: > ./common/lock.hpp:28:7: note: 'mesos::internal::Lock' > class Lock > ^ > In file included from hook/manager.cpp:36:0: > ./module/manager.hpp:120:17: error: expected ';' before 'lock' > mesos::Lock lock(&mutex); > ^ > make[2]: *** [hook/libmesos_no_3rdparty_la-manager.lo] Error 1 > make[2]: Leaving directory ` > make[1]: *** [check] Error 2 > make[1]: Leaving directory ` > make: *** [check-recursive] Error 1 > Build step 'Execute shell' marked build as failure > Recording test results > {code} > 3. Missing the following lines from src/local.cpp: > {code} > using mesos::internal::slave::Containerizer; = =20 > using mesos::internal::slave::Fetcher; = =20 > using mesos::internal::slave::GarbageCollector; = =20 > using mesos::internal::slave::Slave; = =20 > using mesos::internal::slave::StatusUpdateManager; = =20 > {code} > 4. Anonymous module test: > {code} > ../../src/tests/anonymous_tests.cpp:37:24: error: =E2=80=98tests=E2=80=99= is not a namespace-name > using namespace mesos::tests; > ^ > ../../src/tests/anonymous_tests.cpp:37:29: error: expected namespace-name= before =E2=80=98;=E2=80=99 token > using namespace mesos::tests; > ^ > Makefile:4635: recipe for target 'tests/mesos_tests-anonymous_tests.o' fa= iled > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)