From owner-freebsd-ports@FreeBSD.ORG Thu Sep 11 10:03:18 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D51FE4F5 for ; Thu, 11 Sep 2014 10:03:18 +0000 (UTC) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.obspm.fr", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C673C49 for ; Thu, 11 Sep 2014 10:03:18 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.4/8.14.4/SIO Observatoire de Paris - 07/2009) with ESMTP id s8B9xixJ009823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 11 Sep 2014 11:59:45 +0200 Date: Thu, 11 Sep 2014 11:59:44 +0200 From: Albert Shih To: ports@freebsd.org Subject: databases/redis don't build on 8.4 Message-ID: <20140911095944.GA73064@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Miltered: at smtp-int-m.obspm.fr with ID 54117290.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 54117290.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 10:03:18 -0000 Hi all, I got a problem with databases/redis on my FreeBSD 8.4. The build failed. On FreeBSD 10 everything is fine Here the message I've got with lang/lua option MAKE hiredis cd hiredis && gmake static gmake[3]: Entering directory `/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis' cc -std=c99 -pedantic -c -fPIC -O2 -pipe -fPIC -I/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wwrite-strings net.c net.c: In function 'redisKeepAlive': net.c:143: error: 'TCP_KEEPIDLE' undeclared (first use in this function) net.c:143: error: (Each undeclared identifier is reported only once net.c:143: error: for each function it appears in.) net.c:150: error: 'TCP_KEEPINTVL' undeclared (first use in this function) net.c:156: error: 'TCP_KEEPCNT' undeclared (first use in this function) gmake[3]: *** [net.o] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis' gmake[2]: *** [hiredis] Error 2 gmake[2]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps' gmake[1]: [persist-settings] Error 2 (ignored) cc -std=c99 -pedantic -Wall -W -O2 -O2 -pipe -fPIC -I/usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I/usr/local/include/lua51 -c adlist.c .... .... cc -std=c99 -pedantic -Wall -W -O2 -O2 -pipe -fPIC -I/usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I/usr/local/include/lua51 -c strbuf.c cc -Wl,-E -L/usr/local/lib -pthread -lm -lexecinfo -o redis-server adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o hyperloglog.o latency.o sparkline.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o ../deps/hiredis/libhiredis.a -lm -L/usr/local/lib -llua-5.1 cc: ../deps/hiredis/libhiredis.a: No such file or directory gmake[1]: *** [redis-server] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/src' gmake: *** [all] Error 2 *** Error code 1 and without lang/lua option MAKE hiredis cd hiredis && gmake static gmake[3]: Entering directory `/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis' cc -std=c99 -pedantic -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wwrite-strings net.c net.c: In function 'redisKeepAlive': net.c:143: error: 'TCP_KEEPIDLE' undeclared (first use in this function) net.c:143: error: (Each undeclared identifier is reported only once net.c:143: error: for each function it appears in.) net.c:150: error: 'TCP_KEEPINTVL' undeclared (first use in this function) net.c:156: error: 'TCP_KEEPCNT' undeclared (first use in this function) gmake[3]: *** [net.o] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis' gmake[2]: *** [hiredis] Error 2 gmake[2]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps' gmake[1]: [persist-settings] Error 2 (ignored) cc -std=c99 -pedantic -Wall -W -O2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -c adlist.c ... ... cc -std=c99 -pedantic -Wall -W -O2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -c sparkline.c cc -L/usr/local/lib -pthread -lm -lexecinfo -o redis-server adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o hyperloglog.o latency.o sparkline.o ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a -lm cc: ../deps/hiredis/libhiredis.a: No such file or directory cc: ../deps/lua/src/liblua.a: No such file or directory gmake[1]: *** [redis-server] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/src' gmake: *** [all] Error 2 *** Error code 1 Anyone get this before I fill a bug report ? Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 11 sep 2014 11:54:36 CEST