[MacPorts] #24021: make failed on libmemcached

MacPorts noreply at macports.org
Tue Aug 24 07:18:24 PDT 2010


#24021: make failed on libmemcached
--------------------------------+-------------------------------------------
 Reporter:  ben.xiao@…          |       Owner:  brett@…           
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.8.2             
 Keywords:                      |        Port:  libmemcached      
--------------------------------+-------------------------------------------

Comment(by ddebernardy@…):

 Here's another trace, in case it gives anyone an idea:

 {{{
 DB:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libmemcached/work
 /libmemcached-0.40 $ sudo /usr/bin/make -j2 all
 /usr/bin/make  all-recursive
 Making all in docs
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_cas.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_create.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_flags.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_free.pop
 ln -s ../docs/memcached_result_st.pod
 ../docs/memcached_result_key_length.pop
 ln -s ../docs/memcached_result_st.pod
 ../docs/memcached_result_key_value.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_length.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_st.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_value.pop
 /usr/bin/make  all-am
 make[3]: Nothing to be done for `all-am'.
   CC     libmemcached/protocol/ascii_handler.lo
   CC     libmemcached/protocol/binary_handler.lo
 In file included from ./libmemcached/protocol/common.h:18,
                  from libmemcached/protocol/ascii_handler.c:2:
 ./libmemcached/protocol_handler.h:131: warning: declaration of ‘recv’
 shadows a global declaration
 /usr/include/sys/socket.h:567: warning: shadowed declaration is here
 ./libmemcached/protocol_handler.h:132: warning: declaration of ‘send’
 shadows a global declaration
 /usr/include/sys/socket.h:571: warning: shadowed declaration is here
 In file included from ./libmemcached/protocol/common.h:18,
                  from libmemcached/protocol/binary_handler.c:2:
 ./libmemcached/protocol_handler.h:131: warning: declaration of ‘recv’
 shadows a global declaration
 /usr/include/sys/socket.h:567: warning: shadowed declaration is here
 ./libmemcached/protocol_handler.h:132: warning: declaration of ‘send’
 shadows a global declaration
 /usr/include/sys/socket.h:571: warning: shadowed declaration is here
   CC     libmemcached/protocol/cache.lo
   CC     libmemcached/protocol/pedantic.lo
   CC     libmemcached/protocol/protocol_handler.lo
 In file included from ./libmemcached/protocol/common.h:18,
                  from libmemcached/protocol/pedantic.c:2:
 ./libmemcached/protocol_handler.h:131: warning: declaration of ‘recv’
 shadows a global declaration
 /usr/include/sys/socket.h:567: warning: shadowed declaration is here
 ./libmemcached/protocol_handler.h:132: warning: declaration of ‘send’
 shadows a global declaration
 /usr/include/sys/socket.h:571: warning: shadowed declaration is here
 In file included from ./libmemcached/protocol/common.h:18,
                  from libmemcached/protocol/protocol_handler.c:2:
 ./libmemcached/protocol_handler.h:131: warning: declaration of ‘recv’
 shadows a global declaration
 /usr/include/sys/socket.h:567: warning: shadowed declaration is here
 ./libmemcached/protocol_handler.h:132: warning: declaration of ‘send’
 shadows a global declaration
 /usr/include/sys/socket.h:571: warning: shadowed declaration is here
   CC     libmemcached/byteorder.lo
   CC     libmemcached/libmemcached_libmemcached_la-allocators.lo
   CC     libmemcached/libmemcached_libmemcached_la-analyze.lo
   CC     libmemcached/libmemcached_libmemcached_la-auto.lo
   CC     libmemcached/libmemcached_libmemcached_la-behavior.lo
   CC     libmemcached/libmemcached_libmemcached_la-connect.lo
   CC     libmemcached/libmemcached_libmemcached_la-delete.lo
   CC     libmemcached/libmemcached_libmemcached_la-do.lo
   CC     libmemcached/libmemcached_libmemcached_la-dump.lo
   CC     libmemcached/libmemcached_libmemcached_la-fetch.lo
   CC     libmemcached/libmemcached_libmemcached_la-flush.lo
   CC     libmemcached/libmemcached_libmemcached_la-flush_buffers.lo
   CC     libmemcached/libmemcached_libmemcached_la-get.lo
   CC     libmemcached/libmemcached_libmemcached_la-hash.lo
   CC     libmemcached/libmemcached_libmemcached_la-hosts.lo
   CC     libmemcached/libmemcached_libmemcached_la-io.lo
 libmemcached/io.c: In function ‘io_wait’:
 libmemcached/io.c:33: warning: ‘error’ may be used uninitialized in this
 function
   CC     libmemcached/libmemcached_libmemcached_la-key.lo
   CC     libmemcached/libmemcached_libmemcached_la-memcached.lo
   CC     libmemcached/libmemcached_libmemcached_la-parse.lo
   CC     libmemcached/libmemcached_libmemcached_la-purge.lo
   CC     libmemcached/libmemcached_libmemcached_la-quit.lo
   CC     libmemcached/libmemcached_libmemcached_la-response.lo
   CC     libmemcached/libmemcached_libmemcached_la-result.lo
   CC     libmemcached/libmemcached_libmemcached_la-server.lo
   CC     libmemcached/libmemcached_libmemcached_la-server_list.lo
   CC     libmemcached/libmemcached_libmemcached_la-stats.lo
   CC     libmemcached/libmemcached_libmemcached_la-storage.lo
   CC     libmemcached/libmemcached_libmemcached_la-strerror.lo
   CC     libmemcached/libmemcached_libmemcached_la-verbosity.lo
   CC     libmemcached/libmemcached_libmemcached_la-version.lo
   CC     libmemcached/libmemcached_libmemcachedcallbacks_la-callback.lo
   CC     libmemcached/string.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-algorithm.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-behavior.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-crc32.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-fnv.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-digest.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-function.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-hashkit.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-jenkins.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-ketama.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-md5.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-murmur.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-one_at_a_time.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-strerror.lo
   CC     libhashkit/libhashkit_libhashkitinc_la-hsieh.lo
 libhashkit/hsieh.c:20: error: syntax error before ‘(’ token
 libhashkit/hsieh.c:20: warning: function declaration isn’t a prototype
 libhashkit/hsieh.c:25: error: syntax error before ‘if’
 libhashkit/hsieh.c:28: warning: type defaults to ‘int’ in declaration of
 ‘rem’
 libhashkit/hsieh.c:28: warning: redundant redeclaration of ‘rem’
 libhashkit/hsieh.c:23: warning: previous declaration of ‘rem’ was here
 libhashkit/hsieh.c:28: error: ‘key_length’ undeclared here (not in a
 function)
 libhashkit/hsieh.c:28: warning: data definition has no type or storage
 class
 libhashkit/hsieh.c:29: error: syntax error before ‘>>=’ token
 libhashkit/hsieh.c:35: warning: type defaults to ‘int’ in declaration of
 ‘tmp’
 libhashkit/hsieh.c:35: error: ‘key’ undeclared here (not in a function)
 libhashkit/hsieh.c:35: error: ‘hash’ undeclared here (not in a function)
 libhashkit/hsieh.c:35: warning: data definition has no type or storage
 class
 libhashkit/hsieh.c:36: warning: type defaults to ‘int’ in declaration of
 ‘hash’
 libhashkit/hsieh.c:36: error: initializer element is not constant
 libhashkit/hsieh.c:36: warning: data definition has no type or storage
 class
 libhashkit/hsieh.c:37: error: syntax error before ‘+=’ token
 make[2]: *** [libhashkit/libhashkit_libhashkitinc_la-hsieh.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/24021#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list