Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 17:05:19 GMT
From:      Olivier <software-freebsd@interfasys.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156756: libmemcached tests fail with gcc46
Message-ID:  <201105011705.p41H5J9W000591@red.freebsd.org>
Resent-Message-ID: <201105011710.p41HAC7O048917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156756
>Category:       ports
>Synopsis:       libmemcached tests fail with gcc46
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 01 17:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier
>Release:        8.2
>Organization:
interfaSys sàrl
>Environment:
8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Apr 10 amd64
>Description:
No problem to compile 0.48, but impossible to compile 0.49 as tests fail with this:


  CC     tests/atomsmasher.o
  CXX    tests/tests_hash_plus-hash_plus.o
  CC     tests/start.o
  CXX    tests/basic.o
  CXX    tests/deprecated.o
  CXX    tests/error_conditions.o
  CC     tests/tests_testapp-mem_functions.o
  CXX    tests/parser.o
  CXX    tests/pool.o
  CXX    tests/print.o
  CXX    tests/replication.o
  CXX    tests/string.o
tests/basic.cc: In function 'test_return_t basic_reset_stack_clone_test(memcached_st*)':
tests/basic.cc:107:34: error: 'memset' was not declared in this scope
gmake[1]: *** [tests/basic.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
clients/memparse.cc: In function 'int main(int, char**)':
clients/memparse.cc:57:65: error: 'strlen' was not declared in this scope
gmake[1]: *** [clients/memparse.o] Error 1
tests/pool.cc: In function 'test_return_t memcached_pool_test(memcached_st*)':
tests/pool.cc:59:78: error: 'strlen' was not declared in this scope
tests/pool.cc:60:152: error: 'strerror' was not declared in this scope
gmake[1]: *** [tests/pool.o] Error 1
tests/parser.cc: In function 'test_return_t __check_host(memcached_st*, const scanner_string_st&)':
tests/parser.cc:92:53: error: 'strcmp' was not declared in this scope
tests/parser.cc: In function 'test_return_t __check_prefix_key(memcached_st*, const scanner_string_st&)':
tests/parser.cc:107:53: error: 'strcmp' was not declared in this scope
gmake[1]: *** [tests/parser.o] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.49'
gmake: *** [all] Error 2

I've tried with various CFLAGS, but couldn't succeed.

>How-To-Repeat:
Install gcc46, compile libmemcached
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105011705.p41H5J9W000591>