From owner-freebsd-ports@FreeBSD.ORG Mon Mar 26 16:05:26 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA14216A402 for ; Mon, 26 Mar 2007 16:05:25 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 4DBA813C484 for ; Mon, 26 Mar 2007 16:05:25 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2682174nfc for ; Mon, 26 Mar 2007 09:05:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a4eowU/ib9+0ym1nzFWGD187BjuQlS3cWdC3u9PCThhfU+tw26xORCgXgIdDzDBiRYsI3FVWejcaOSYZR9CcVgbb9RFLP2B+pA7ytrvbMpWHRBiKonjhyZeNTAgHeHijFBjLWd6TUd2C7tGKWjBknmqF4frELh2AETumqsnQjQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TFhrHsObgRpeejBV19bF86IzAg7eXHVGgmi33QgfmUII7b+OhZg/62EEZ7Le8KKQX8pa6wjHlRPVLYr+tOshJAjekjaBuV8wBURzGg/vuuAvWkHFJCVhAc+9Unes9FzUx9MaqRrVnY42fBlcWWoK5e3E7wNksUYgeE23hQTeFT0= Received: by 10.82.146.14 with SMTP id t14mr14035223bud.1174925123551; Mon, 26 Mar 2007 09:05:23 -0700 (PDT) Received: by 10.82.126.3 with HTTP; Mon, 26 Mar 2007 09:05:23 -0700 (PDT) Message-ID: <53cc795f0703260905j4dd26fb6g2301a782e0304765@mail.gmail.com> Date: Mon, 26 Mar 2007 20:05:23 +0400 From: sekes To: sekes , freebsd-ports@freebsd.org In-Reply-To: <20070326150050.GA27019@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <53cc795f0703240541w6953db30m337b4beb66bc8cdf@mail.gmail.com> <20070326150050.GA27019@icarus.home.lan> Cc: Subject: Re: irc/unreal 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: Mon, 26 Mar 2007 16:05:26 -0000 okay then. let's see what we'll get :) [xnet] /usr/ports/irc/unreal> pkg_info | grep -iE 'c-ares|Unreal' [xnet] /usr/ports/irc/unreal> [xnet] /usr/ports/dns/c-ares> cd /usr/ports/irc/unreal/ [xnet] /usr/ports/irc/unreal> cd /usr/ports/dns/c-ares/ [xnet] /usr/ports/dns/c-ares> grep ares_config_info Makefile OPTIONS= CONFIG_INFO "Add the ares_config_info patch" ON [xnet] /usr/ports/dns/c-ares> sudo make WITH_CONFIG_INFO=1 install clean [...] ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for c-ares-config-1.3.2 ===> Cleaning for c-ares-config-1.3.2 [xnet] /usr/ports/dns/c-ares> cd /usr/ports/irc/unreal/ [xnet] /usr/ports/irc/unreal> sudo make install clean ===> Installing rc.d startup script(s) ===> Registering installation for Unreal-3.2.6 voila!! thank you On 3/26/07, Jeremy Chadwick wrote: > On Sat, Mar 24, 2007 at 03:41:20PM +0300, sekes wrote: > > I'm trying to build irc/unreal on 6.2-RELEASE and failing: > > > > ===> Building for Unreal-3.2.6 > > Building src > > cc -I../include > > -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pipe > > -I/usr/local/include -O2 -fno-strict-aliasing -pipe -funsigned-char > > -fno-strict-aliasing -export-dynamic -L/usr/local/lib -c timesynch.c > > cc -I../include > > -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pipe > > -I/usr/local/include -O2 -fno-strict-aliasing -pipe -funsigned-char > > -fno-strict-aliasing -export-dynamic -L/usr/local/lib -c res.c > > res.c: In function `m_dns': > > res.c:718: error: storage size of 'inf' isn't known > > *** Error code 1 > > > > Stop in /usr/ports/irc/unreal/work/Unreal3.2/src. > > *** Error code 1 > > > > Stop in /usr/ports/irc/unreal/work/Unreal3.2. > > *** Error code 1 > > > > Stop in /usr/ports/irc/unreal. > > [xnet] /usr/ports/irc/unreal# > > > > Ideas? > > I've discussed the problem on #bsdports on IRC in the past; dvl brought > it to my attention. > > The problem, from my perspective, is this: > > dns/c-ares was modified to support an OPTIONS knob for CONFIG_INFO. > This option *must be on*, and adds the "ares_config_info" patch, which > provides the necessary header information for type "inf". irc/unreal > depends on this information. > > The knob itself defaults to ON. However, for people who have built > dns/c-ares in the past (prior to this knob being added), there will > obviously be no support for ares_config_info. > > Thus, you need to pkg_delete or deinstall dns/c-ares, and either rebuild > it (make clean && make install) or let irc/unreal rebuild it for you. > > I'm about 90% sure this is the problem, because when I heard of the > issue, I tried to reproduce it on two of my systems (neither of which > had ever built dns/c-ares or irc/unreal before), and I had no issue. > > Ideally, what needs to happen is that the irc/unreal port needs to > check to make sure that the appropriate storage type ("inf") is > available prior to irc/unreal being built. Usually this is done in > autoconf (and that makes it the responsibility of the authors of > Unreal). If there's some way the port itself could check to see if > dns/c-ares was built with CONFIG_INFO enabled (otherwise refuse to > build), that would be a workaround. > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > >