← Back to team overview

linux-traipu team mailing list archive

[Bug 560489] Re: memcached_stats needs to be ported up

 

Doesn't build the plugin on my ubuntu box, likely need to fix up some
autotools and some api calling.

** Changed in: drizzle
     Assignee: Padraig O'Sullivan (posulliv) => (unassigned)

** Changed in: drizzle
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/560489

Title:
  memcached_stats needs to be ported up

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  Triaged

Bug description:
  memcached_stats plugin is using an old version of libmemcached and we
  are requiring 0.38 for memcached_functions.

  Error follows:

  plugin/memcached_stats/stats_table.cc:66:56: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
  plugin/memcached_stats/stats_table.cc:67:54: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
    CXX    plugin/multi_thread/plugin_libmulti_thread_plugin_la-multi_thread.lo
    CXX    plugin/pool_of_threads/plugin_libpool_of_threads_plugin_la-pool_of_threads.lo
  plugin/memcached_stats/analysis_table.cc:96:70: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
  plugin/memcached_stats/analysis_table.cc:98:67: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
  plugin/memcached_stats/analysis_table.cc:100:63: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
    CXX    plugin/pool_of_threads/plugin_libpool_of_threads_plugin_la-session_scheduler.lo
    CXX    plugin/registry_dictionary/plugin_libregistry_dictionary_plugin_la-dictionary.lo
  plugin/memcached_stats/stats_table.cc: In function ‘memcached_return server_function(const memcached_st*, const memcached_server_st*, void*)’:
  plugin/memcached_stats/stats_table.cc:66: error: ‘memcached_server_name’ was not declared in this scope
  plugin/memcached_stats/stats_table.cc:67: error: ‘memcached_server_port’ was not declared in this scope
  cc1plus: warnings being treated as errors
  plugin/memcached_stats/stats_table.cc: At global scope:
  plugin/memcached_stats/stats_table.cc:60: error: unused parameter ‘server’ [-Wunused-parameter]
  plugin/memcached_stats/stats_table.cc: In member function ‘virtual bool StatsTableTool::Generator::populate()’:
  plugin/memcached_stats/stats_table.cc:188: error: invalid conversion from ‘memcached_return (*)(const memcached_st*, const memcached_server_st*, void*)’ to ‘memcached_return_t (*)(const memcached_st*, memcached_server_st*, void*)’ [-fpermissive]
    CXX    plugin/registry_dictionary/plugin_libregistry_dictionary_plugin_la-modules.lo
  make[2]: *** [plugin/memcached_stats/plugin_libmemcached_stats_plugin_la-stats_table.lo] Error 1
  make[2]: *** Waiting for unfinished jobs....
  plugin/memcached_stats/analysis_table.cc: In member function ‘virtual bool AnalysisTableTool::Generator::populate()’:
  plugin/memcached_stats/analysis_table.cc:96: error: ‘memcached_server_name’ was not declared in this scope
  cc1plus: warnings being treated as errors
  plugin/memcached_stats/analysis_table.cc:86: error: unused variable ‘servers’ [-Wunused-variable]
  make[2]: *** [plugin/memcached_stats/plugin_libmemcached_stats_plugin_la-analysis_table.lo] Error 1
  make[2]: Leaving directory `/home/hudson/hudson/workspace/drizzle-param/BUILD_TYPE/release/label/debian-squeeze-amd64'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/hudson/hudson/workspace/drizzle-param/BUILD_TYPE/release/label/debian-squeeze-amd64'

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/560489/+subscriptions