You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Marshall McMullen (Commented) (JIRA)" <ji...@apache.org> on 2011/12/31 04:15:31 UTC

[jira] [Commented] (ZOOKEEPER-1348) Zookeeper 3.4.2 C client incorrectly reports string version of 3.4.1

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177882#comment-13177882 ] 

Marshall McMullen commented on ZOOKEEPER-1348:
----------------------------------------------

This is caused by this line in configure:

PACKAGE_STRING='zookeeper C client 3.4.1'

I changed it to 3.4.2, and rebuilt by hand, and the C client now reports the correct version.

This isn't really critical, but could cause confusion so should be fixed... 
                
> Zookeeper 3.4.2 C client incorrectly reports string version of 3.4.1
> --------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1348
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1348
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.2
>            Reporter: Marshall McMullen
>
> When running the 3.4.2 C client, it shows the following output:
> Client environment:zookeeper.version=zookeeper C client 3.4.1
> This should show "3.4.2" not "3.4.1". The problem looks to be caused by stale autoconf files in the C directory. 
> grep -R "zookeeper C client 3.4.1" *                                                                                                                                                                     
> autom4te.cache/output.0:@%:@ Generated by GNU Autoconf 2.59 for zookeeper C client 3.4.1.
> autom4te.cache/output.0:PACKAGE_STRING='zookeeper C client 3.4.1'
> autom4te.cache/output.0:\`configure' configures zookeeper C client 3.4.1 to adapt to many kinds of systems.
> autom4te.cache/output.0:     short | recursive ) echo "Configuration of zookeeper C client 3.4.1:";;
> autom4te.cache/output.1:@%:@ Generated by GNU Autoconf 2.59 for zookeeper C client 3.4.1.
> autom4te.cache/output.1:PACKAGE_STRING='zookeeper C client 3.4.1'
> autom4te.cache/output.1:\`configure' configures zookeeper C client 3.4.1 to adapt to many kinds of systems.
> autom4te.cache/output.1:     short | recursive ) echo "Configuration of zookeeper C client 3.4.1:";;
> config.h:#define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:| #define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.log:PACKAGE_STRING='zookeeper C client 3.4.1'
> config.log:#define PACKAGE_STRING "zookeeper C client 3.4.1"
> config.status:s,@PACKAGE_STRING@,zookeeper C client 3.4.1,;t t
> config.status:${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}"zookeeper C client 3.4.1"${ac_dD}
> config.status:${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}"zookeeper C client 3.4.1"${ac_uD}
> configure:# Generated by GNU Autoconf 2.59 for zookeeper C client 3.4.1.
> configure:PACKAGE_STRING='zookeeper C client 3.4.1'
> configure:\`configure' configures zookeeper C client 3.4.1 to adapt to many kinds of systems.
> configure:     short | recursive ) echo "Configuration of zookeeper C client 3.4.1:";;
> Binary file libzkmt_la-zookeeper.o matches
> Makefile:PACKAGE_STRING = zookeeper C client 3.4.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira