Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D81B200BD2 for ; Fri, 18 Nov 2016 23:56:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4CC2E160B04; Fri, 18 Nov 2016 22:56:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 505BC160B16 for ; Fri, 18 Nov 2016 23:56:01 +0100 (CET) Received: (qmail 44277 invoked by uid 500); 18 Nov 2016 22:56:00 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 43850 invoked by uid 99); 18 Nov 2016 22:56:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 22:56:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EB2252C0088 for ; Fri, 18 Nov 2016 22:55:59 +0000 (UTC) Date: Fri, 18 Nov 2016 22:55:59 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-2633) Build failure in contrib/zkfuse with gcc 6.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 18 Nov 2016 22:56:02 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-2633?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 15678022#comment-15678022 ]=20 Hadoop QA commented on ZOOKEEPER-2633: -------------------------------------- -1 overall. GitHub Pull Request Build =20 +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that = doesn't require tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of java= c compiler warnings. -1 findbugs. The patch appears to introduce 20 new Findbugs (version 3= .0.1) warnings. +1 release audit. The applied patch does not increase the total number= of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-b= uild/81//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github= -pr-build/81//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.h= tml Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr= -build/81//console This message is automatically generated. > Build failure in contrib/zkfuse with gcc 6.x > -------------------------------------------- > > Key: ZOOKEEPER-2633 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2633 > Project: ZooKeeper > Issue Type: Bug > Components: contrib-zkfuse > Environment: gcc --version > gcc (GCC) 6.2.1 20160830 > Copyright (C) 2016 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is N= O > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. > g++ --version > g++ (GCC) 6.2.1 20160830 > Copyright (C) 2016 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is N= O > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. > CFLAGS, CXXFLAGS, and LDFLAGS are unset, hence default. > uname -a > Linux lative 4.8.8-1-ARCH #1 SMP PREEMPT Tue Nov 15 08:25:24 CET 2016 x86= _64 GNU/Linux > Reporter: Raghavendra Prabhu > Priority: Minor > > The build in contrib/zkfuse fails with > {noformat} > make > (CDPATH=3D"${ZSH_VERSION+.}:" && cd . && /bin/sh /home/raghu/zookeeper/sr= c/contrib/zkfuse/missing autoheader) > rm -f stamp-h1 > touch config.h.in > cd . && /bin/sh ./config.status config.h > config.status: creating config.h > config.status: config.h is unchanged > make all-recursive > make[1]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse' > Making all in src > make[2]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse/src= ' > g++ -DHAVE_CONFIG_H -I. -I.. -I/home/raghu/zookeeper/src/contrib/zkfus= e/../../c/include -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/genera= ted -I../include -I/usr/include -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -marc= h=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -MT zkfuse.o= -MD -MP -MF .deps/zkfuse.Tpo -c -o zkfuse.o zkfuse.cc > g++ -DHAVE_CONFIG_H -I. -I.. -I/home/raghu/zookeeper/src/contrib/zkfus= e/../../c/include -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/genera= ted -I../include -I/usr/include -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -marc= h=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -MT zkadapte= r.o -MD -MP -MF .deps/zkadapter.Tpo -c -o zkadapter.o zkadapter.cc > In file included from zkadapter.h:34:0, > from zkadapter.cc:24: > event.h:216:9: error: reference to =E2=80=98shared_ptr=E2=80=99 is ambigu= ous > shared_ptr m_eventWrapper; > ^~~~~~~~~~ > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from event.h:30, > from zkadapter.h:34, > from zkadapter.cc:24: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: = template class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > In file included from /usr/include/c++/6.2.1/bits/shared_ptr.h:52:0, > from /usr/include/c++/6.2.1/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from event.h:30, > from zkadapter.h:34, > from zkadapter.cc:24: > /usr/include/c++/6.2.1/bits/shared_ptr_base.h:343:11: note: = template class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > In file included from zkadapter.h:34:0, > from zkadapter.cc:24: > event.h: In constructor =E2=80=98zkfuse::GenericEvent::GenericEvent(int, = zkfuse::AbstractEventWrapper*)=E2=80=99: > event.h:189:27: error: class =E2=80=98zkfuse::GenericEvent=E2=80=99 does = not have any field named =E2=80=98m_eventWrapper=E2=80=99 > m_type(type), m_eventWrapper(eventWrapper) { > ^~~~~~~~~~~~~~ > event.h: In member function =E2=80=98void* zkfuse::GenericEvent::getEvent= () const=E2=80=99: > event.h:204:41: error: =E2=80=98m_eventWrapper=E2=80=99 was not declared = in this scope > void *getEvent() const { return m_eventWrapper->getWrapee(); } > ^~~~~~~~~~~~~~ > In file included from zkadapter.h:34:0, > from zkfuse.cc:54: > event.h:216:9: error: reference to =E2=80=98shared_ptr=E2=80=99 is ambigu= ous > shared_ptr m_eventWrapper; > ^~~~~~~~~~ > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/detail/shared_count.hp= p:27, > from /usr/include/boost/smart_ptr/weak_ptr.hpp:17, > from /usr/include/boost/weak_ptr.hpp:16, > from zkfuse.cc:50: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: = template class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > In file included from /usr/include/c++/6.2.1/bits/shared_ptr.h:52:0, > from /usr/include/c++/6.2.1/memory:82, > from /usr/include/boost/smart_ptr/weak_ptr.hpp:16, > from /usr/include/boost/weak_ptr.hpp:16, > from zkfuse.cc:50: > /usr/include/c++/6.2.1/bits/shared_ptr_base.h:343:11: note: = template class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > In file included from zkadapter.h:34:0, > from zkfuse.cc:54: > event.h: In constructor =E2=80=98zkfuse::GenericEvent::GenericEvent(int, = zkfuse::AbstractEventWrapper*)=E2=80=99: > event.h:189:27: error: class =E2=80=98zkfuse::GenericEvent=E2=80=99 does = not have any field named =E2=80=98m_eventWrapper=E2=80=99 > m_type(type), m_eventWrapper(eventWrapper) { > ^~~~~~~~~~~~~~ > event.h: In member function =E2=80=98void* zkfuse::GenericEvent::getEvent= () const=E2=80=99: > event.h:204:41: error: =E2=80=98m_eventWrapper=E2=80=99 was not declared = in this scope > void *getEvent() const { return m_eventWrapper->getWrapee(); } > ^~~~~~~~~~~~~~ > zkadapter.cc: In member function =E2=80=98bool zk::ZooKeeperAdapter::dele= teNode(const string&, bool, int)=E2=80=99: > zkadapter.cc:676:52: error: no matching function for call to =E2=80=98zk:= :ZooKeeperAdapter::getNodeChildren(std::vector >&, const string&, bool)=E2=80=99 > getNodeChildren( nodeList, path, false ); > ^ > In file included from zkadapter.cc:24:0: > zkadapter.h:440:14: note: candidate: void zk::ZooKeeperAdapter::getNodeCh= ildren(std::vector >&, const string&, zk::= ZKEventListener*, void*) > void getNodeChildren(vector &children, > ^~~~~~~~~~~~~~~ > zkadapter.h:440:14: note: no known conversion for argument 3 from =E2= =80=98bool=E2=80=99 to =E2=80=98zk::ZKEventListener* {aka zkfuse::EventList= ener*}=E2=80=99 > make[2]: *** [Makefile:310: zkadapter.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: *** [Makefile:310: zkfuse.o] Error 1 > make[2]: Leaving directory '/home/raghu/zookeeper/src/contrib/zkfuse/src' > make[1]: *** [Makefile:352: all-recursive] Error 1 > make[1]: Leaving directory '/home/raghu/zookeeper/src/contrib/zkfuse' > make: *** [Makefile:293: all] Error 2 > =20 > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > make > make all-recursive > make[1]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse' > Making all in src > make[2]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse/src= ' > g++ -DHAVE_CONFIG_H -I. -I.. -I/home/raghu/zookeeper/src/contrib/zkfus= e/../../c/include -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/genera= ted -I../include -I/usr/include -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -marc= h=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -MT zkfuse.o= -MD -MP -MF .deps/zkfuse.Tpo -c -o zkfuse.o zkfuse.cc > g++ -DHAVE_CONFIG_H -I. -I.. -I/home/raghu/zookeeper/src/contrib/zkfus= e/../../c/include -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/genera= ted -I../include -I/usr/include -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -marc= h=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -MT zkadapte= r.o -MD -MP -MF .deps/zkadapter.Tpo -c -o zkadapter.o zkadapter.cc > zkadapter.cc: In member function =E2=80=98bool zk::ZooKeeperAdapter::dele= teNode(const string&, bool, int)=E2=80=99: > zkadapter.cc:676:52: error: no matching function for call to =E2=80=98zk:= :ZooKeeperAdapter::getNodeChildren(std::vector >&, const string&, bool)=E2=80=99 > getNodeChildren( nodeList, path, false ); > ^ > In file included from zkadapter.cc:24:0: > zkadapter.h:440:14: note: candidate: void zk::ZooKeeperAdapter::getNodeCh= ildren(std::vector >&, const string&, zk::= ZKEventListener*, void*) > void getNodeChildren(vector &children, > ^~~~~~~~~~~~~~~ > zkadapter.h:440:14: note: no known conversion for argument 3 from =E2= =80=98bool=E2=80=99 to =E2=80=98zk::ZKEventListener* {aka zkfuse::EventList= ener*}=E2=80=99 > make[2]: *** [Makefile:310: zkadapter.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > mv -f .deps/zkfuse.Tpo .deps/zkfuse.Po > make[2]: Leaving directory '/home/raghu/zookeeper/src/contrib/zkfuse/src' > make[1]: *** [Makefile:352: all-recursive] Error 1 > make[1]: Leaving directory '/home/raghu/zookeeper/src/contrib/zkfuse' > make: *** [Makefile:293: all] Error 2 > =20 > {noformat} > in two different places. > Fixed here: https://github.com/ronin13/zookeeper/commit/726a8eda08e4022fc= bcb0581ec2650e07e39910b=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)