From dev-return-80041-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Apr 10 00:28:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8B732180629 for ; Wed, 10 Apr 2019 02:28:02 +0200 (CEST) Received: (qmail 31076 invoked by uid 500); 10 Apr 2019 00:08:24 -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 31065 invoked by uid 99); 10 Apr 2019 00:08:24 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2019 00:08:24 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0D806E02D1 for ; Wed, 10 Apr 2019 00:28:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A4C7624595 for ; Wed, 10 Apr 2019 00:28:00 +0000 (UTC) Date: Wed, 10 Apr 2019 00:28:00 +0000 (UTC) From: "Hudson (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-3302) ZooKeeper C client does not compile on Fedora 29 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/ZOOKEEPER-3302?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 16813927#comment-16813927 ]=20 Hudson commented on ZOOKEEPER-3302: ----------------------------------- FAILURE: Integrated in Jenkins build ZooKeeper-trunk #469 (See [https://bui= lds.apache.org/job/ZooKeeper-trunk/469/]) ZOOKEEPER-3302: ZooKeeper C client does not compile on Fedora 29 (andor: re= v 450869006e0f62790e974305eb079e1b0450dbfd) * (edit) zookeeper-client/zookeeper-client-c/src/cli.c > ZooKeeper C client does not compile on Fedora 29=20 > ------------------------------------------------- > > Key: ZOOKEEPER-3302 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3302 > Project: ZooKeeper > Issue Type: Wish > Components: c client > Affects Versions: 3.6.0 > Reporter: Enrico Olivelli > Assignee: Enrico Olivelli > Priority: Blocker > Labels: pull-request-available > Fix For: 3.6.0 > > Time Spent: 2h > Remaining Estimate: 0h > > I cannot build current master (git sha=C2=A0372e713a9d2d9264417313e5d68e9= 437ffddd0f5)=C2=A0 with Fedora 29 > =C2=A0 > {noformat} > gcc --version > gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) > {noformat} > =C2=A0 > This is the error: > {code:java} > =C2=A0=C2=A0=C2=A0 [exec] gcc -DHAVE_CONFIG_H -I. -I/home/eolivelli/dev/z= ookeeper/zookeeper-client/zookeeper-client-c=C2=A0 -I/home/eolivelli/dev/zo= okeeper/zookeeper-client/zookeeper-client-c/include -I/home/eolivelli/dev/z= ookeeper/zookeeper-client/zookeeper-client-c/tests -I/home/eolivelli/dev/zo= okeeper/zookeeper-client/zookeeper-client-c/generated=C2=A0=C2=A0 -Wall -We= rror -Wdeclaration-after-statement -fprofile-arcs -ftest-coverage -g -O2 -D= _GNU_SOURCE -MT cli.o -MD -MP -MF .deps/cli.Tpo -c -o cli.o `test -f 'src/c= li.c' || echo '/home/eolivelli/dev/zookeeper/zookeeper-client/zookeeper-cli= ent-c/'`src/cli.c > =C2=A0=C2=A0=C2=A0=C2=A0 [exec] /home/eolivelli/dev/zookeeper/zookeeper-c= lient/zookeeper-client-c/src/cli.c: In function =E2=80=98main=E2=80=99: > =C2=A0=C2=A0=C2=A0=C2=A0 [exec] /home/eolivelli/dev/zookeeper/zookeeper-c= lient/zookeeper-client-c/src/cli.c:689:9: error: =E2=80=98strncpy=E2=80=99 = specified bound 1024 equals destination size [-Werror=3Dstringop-truncation= ] > =C2=A0=C2=A0=C2=A0=C2=A0 [exec]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 strncpy(cmd, argv[2]+4, sizeof(cmd)); > =C2=A0=C2=A0=C2=A0=C2=A0 [exec]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > =C2=A0=C2=A0=C2=A0=C2=A0 [exec] cc1: all warnings being treated as errors > =C2=A0=C2=A0=C2=A0=C2=A0 [exec] make: *** [Makefile:1155: cli.o] Error 1{= code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)