From owner-freebsd-ports@FreeBSD.ORG Sun Dec 11 20:33:14 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B9F106564A; Sun, 11 Dec 2011 20:33:14 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9758FC13; Sun, 11 Dec 2011 20:33:13 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so9828604wgb.31 for ; Sun, 11 Dec 2011 12:33:13 -0800 (PST) Received: by 10.180.102.4 with SMTP id fk4mr19797914wib.15.1323633988275; Sun, 11 Dec 2011 12:06:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Sun, 11 Dec 2011 12:06:07 -0800 (PST) From: Chris Brennan Date: Sun, 11 Dec 2011 15:06:07 -0500 Message-ID: To: ports@freebsd.org, mm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: www/lighttpd failes to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 20:33:14 -0000 I tried to install lighttpd today and I ran into a snag of sorts. It won't build. Relevant stuff below: The host is FreeBSD9 on a NQHost VPS FreeBSD abc.xaerolimit.net 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r228404: Sun Dec 11 07:38:46 MST 2011 root@abc.xaerolimit.net:/usr/obj/usr/src/sys/ABC.KernConf i386 CPU: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (2533.39-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = 5 Features=0x1781fbff Features2=0x80982201 AMD Features=0x20100000 AMD Features2=0x1 real memory = 1610612736 (1536 MB) avail memory = 1554743296 (1482 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 lighttpd stuff: Plugins: enabled: mod_access, mod_accesslog, mod_alias, mod_auth, mod_cgi, mod_cml, mod_compress, mod_dirlisting, mod_evhost, mod_expire, mod_extforward, mod_fastcgi, mod_flv_streaming, mod_indexfile, mod_magnet, mod_mysql_vhost, mod_proxy, mod_redirect, mod_rewrite, mod_rrdtool, mod_scgi, mod_secdownload mod_setenv, mod_simple_vhost, mod_ssi, mod_staticfile, mod_status, mod_trigger_b4_dl, mod_userdir, mod_usertrack, mod_webdav disabled: Features: enabled: auth-crypt, compress-bzip2, compress-deflate, compress-gzip, large-files, network-ipv6, network-openssl, regex-conditionals, stat-cache-fam, , storage-gdbm, storage-memcache, webdav-locks, webdav-properties disabled: auth-ldap ===> Building for lighttpd-1.4.29_2 (CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/autoheader-2.68) rm -f stamp-h1 touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive Making all in src cc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/local/lib/lighttpd\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT lemon.o -MD -MP -MF .deps/lemon.Tpo -c -o lemon.o lemon.c mv -f .deps/lemon.Tpo .deps/lemon.Po /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow -pedantic -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/lib -o lemon lemon.o libtool: link: cc -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow -pedantic -rpath=/usr/lib:/usr/local/lib -o lemon lemon.o -L/usr/local/lib -L/usr/lib rm -f configparser.h ../src/lemon -q ./configparser.y ./lempar.c rm -f mod_ssi_exprparser.h ../src/lemon -q ./mod_ssi_exprparser.y ./lempar.c make all-am /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/local/lib/lighttpd\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT mod_flv_streaming.lo -MD -MP -MF .deps/mod_flv_streaming.Tpo -c -o mod_flv_streaming.lo mod_flv_streaming.c libtool: compile: cc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR=\"/usr/local/lib/lighttpd\" -DSBIN_DIR=\"/usr/local/sbin\" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT mod_flv_streaming.lo -MD -MP -MF .deps/mod_flv_streaming.Tpo -c mod_flv_streaming.c -fPIC -DPIC -o .libs/mod_flv_streaming.o In file included from fdevent.h:64, from base.h:27, from mod_flv_streaming.c:1: /usr/local/include/ev.h:200: warning: ISO C restricts enumerator values to range of 'int' /usr/local/include/ev.h:222: error: expected identifier before numeric constant *** Error code 1 Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29/src. *** Error code 1 Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29/src. *** Error code 1 Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29. *** Error code 1 Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29. *** Error code 1 Stop in /usr/ports/www/lighttpd. *** Error code 1 Stop in /usr/ports/www/lighttpd. real 0m19.999s user 0m11.980s sys 0m7.193s [root@abc /usr/ports/www/lighttpd]# When I asked about this on freenode, I was instructed to e-mail ports and the maintainer, so I am. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------