From owner-freebsd-ports@FreeBSD.ORG Wed Dec 14 03:02:47 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E94611065673 for ; Wed, 14 Dec 2011 03:02:47 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id B801C8FC08 for ; Wed, 14 Dec 2011 03:02:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 6CD7C170F7; Tue, 13 Dec 2011 22:03:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1323831797; bh=qX0gySKYPAox4iUDa083AQ8mfni/OycNxh7HSHIDvbY=; b= UcL+VizxFSsCyr1eyuts+gHqX5IAVoqHWw6L6Jw4RTNCjI8hOKS74O6aAl4pEq8q rScBL781LkhfroQxEDqmMxvFpo3YaXhid4amFrBLewO4TYzr+rEIyyWtGt382VoH ILh1TVlA4PAfVu/81UE69vhC79907uHu+K4UtzQ4orM= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id GFsKDES9BhmS; Tue, 13 Dec 2011 22:03:17 -0500 (EST) Received: from magic.hamla.org (cpe-68-174-92-20.nyc.res.rr.com [68.174.92.20]) by spartan.hamla.org (Postfix) with ESMTPSA id A8AAB170E3; Tue, 13 Dec 2011 22:03:16 -0500 (EST) Date: Tue, 13 Dec 2011 22:02:44 -0500 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20111214030243.GA9963@magic.hamla.org> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: vsevolod@FreeBSD.org, mm@FreeBSD.org Subject: Re: www/lighttpd failes to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 03:02:48 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, 2011-12-11 at 15:06:07 -0500, Chris Brennan wrote: > /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 Ah, it seems you are building lighttpd WITH_LIBEV, in which case the build is reproducibly broken in my environment. You should either build WITHOUT_LIBEV (this is the default), or - if you must build with that option - try the attached CONFIGURE_ARGS hack[1]. I am not certain that the latter is a robust solution, so perhaps mm@ can chime in with a more structural fix. I've also copied the devel/libev maintainer as this problem may be related to how lighttpd interacts with the new libev version. [1] https://svn.macports.org/changeset/84337 -- Sahil Tandon --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="lighttpd.txt" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/lighttpd/Makefile,v retrieving revision 1.102 diff -u -r1.102 Makefile --- Makefile 23 Sep 2011 22:26:02 -0000 1.102 +++ Makefile 14 Dec 2011 02:54:22 -0000 @@ -127,7 +127,7 @@ .endif .if defined(WITH_LIBEV) -CONFIGURE_ARGS+= --with-libev=${LOCALBASE} +CONFIGURE_ARGS+= --with-libev=${LOCALBASE} ac_cv_func_kqueue=no LIB_DEPENDS+= ev.4:${PORTSDIR}/devel/libev .endif --ibTvN161/egqYuK8--