Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 10:45:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202590] memcached port fails to compile
Message-ID:  <bug-202590-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202590

            Bug ID: 202590
           Summary: memcached port fails to compile
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: christoph.larsen@synalinq.com

Thanks a lot, Everyone, for the hard work! memcached is a great piece of
software and has saved my neck several times.
However, since the latest upgrade via ports, I fail to compile memcached from
ports (and have to use the pkg instead). Here is what happens:

-------------------------------%<-------------------------------
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include  -m64 -O2 -pipe -march=athlon64 
-fstack-protector -fno-strict-aliasing -std=c99 -Wall -Werror -pedantic
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT
memcached_debug-stats.o -MD -MP -MF .deps/memcached_debug-stats.Tpo -c -o
memcached_debug-stats.o `test -f 'stats.c' || echo './'`stats.c
--- memcached_debug-items.o ---
items.c:1141:28: error: comparison of constant 256 with expression of type
'uint8_t' (aka 'unsigned char') is always true
[-Werror,-Wtautological-constant-out-of-range-compare]
    assert(it->slabs_clsid < LARGEST_ID);
           ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/usr/include/assert.h:54:21: note: expanded from macro 'assert'
#define assert(e)       ((e) ? (void)0 : __assert(__func__, __FILE__, \
                          ^
1 error generated.
*** [memcached_debug-items.o] Error code 1

make[4]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
--- memcached_debug-daemon.o ---
mv -f .deps/memcached_debug-daemon.Tpo .deps/memcached_debug-daemon.Po
--- memcached_debug-assoc.o ---
mv -f .deps/memcached_debug-assoc.Tpo .deps/memcached_debug-assoc.Po
--- memcached_debug-jenkins_hash.o ---
mv -f .deps/memcached_debug-jenkins_hash.Tpo
.deps/memcached_debug-jenkins_hash.Po
--- memcached_debug-stats.o ---
mv -f .deps/memcached_debug-stats.Tpo .deps/memcached_debug-stats.Po
--- memcached_debug-thread.o ---
mv -f .deps/memcached_debug-thread.Tpo .deps/memcached_debug-thread.Po
--- memcached_debug-slabs.o ---
mv -f .deps/memcached_debug-slabs.Tpo .deps/memcached_debug-slabs.Po
--- memcached_debug-memcached.o ---
mv -f .deps/memcached_debug-memcached.Tpo .deps/memcached_debug-memcached.Po
1 error

make[4]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
*** [all-recursive] Error code 1

make[3]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
1 error

make[3]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
*** [all] Error code 2

make[2]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
1 error

make[2]: stopped in
/var/ports/basejail/usr/ports/databases/memcached/work/memcached-1.4.24
===> Compilation failed unexpectedly.
-------------------------------%<-------------------------------

I have this installed automatically, via ports for compilation:
autoconf-wrapper-20131203
automake-wrapper-20131203
autoconf-2.69
automake-1.15

Any ideas, clues, something obvious I may have missed?
Thanks a lot for your help!

Chris

-- 
You are receiving this mail because:
You are the assignee for the bug.



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