[
https://issues.apache.org/jira/browse/ZOOKEEPER-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091708#comment-13091708
]
Hudson commented on ZOOKEEPER-1117:
-----------------------------------
Integrated in ZooKeeper-trunk #1283 (See
[https://builds.apache.org/job/ZooKeeper-trunk/1283/])
ZOOKEEPER-1117. zookeeper 3.3.3 fails to build with gcc >= 4.6.1 on
Debian/Ubuntu (James Page via mahadev)
mahadev :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162013
Files :
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/c/src/cli.c
* /zookeeper/trunk/src/c/src/zookeeper.c
> zookeeper 3.3.3 fails to build with gcc >= 4.6.1 on Debian/Ubuntu
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-1117
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1117
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.3.3, 3.4.0
> Environment: Ubuntu Developement Release (11.10/Oneiric Ocelot),
> Debian Unstable (sid)
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Fix For: 3.3.4, 3.4.0
>
> Attachments: ZOOKEEPER-1117-3.3.3.patch, ZOOKEEPER-1117.patch,
> disable-cc-errors, gcc-4.6-ftbfs.patch, gcc-4.6-ftbfs.patch,
> gcc-4.6-ftbfs.patch, gcc-4.6-trunk-fix.patch
>
>
> zookeeper 3.3.3 (and 3.3.1) fails to build on Debian and Ubuntu systems with
> gcc >= 4.6.1:
> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT
> zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c -o zookeeper.lo `test -f
> 'src/zookeeper.c' || echo './'`src/zookeeper.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP -MF
> .deps/zookeeper.Tpo -c src/zookeeper.c -fPIC -DPIC -o .libs/zookeeper.o
> src/zookeeper.c: In function 'getaddrs':
> src/zookeeper.c:455:13: error: variable 'port' set but not used
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625441 for more
> information.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira