Date: Tue, 27 Mar 2007 11:45:45 +0300 From: Peter Pentchev <roam@ringlet.net> To: sekes <gexlie@gmail.com> Cc: Gerrit Beine <gerrit.beine@gmx.de>, freebsd-ports@FreeBSD.org Subject: Re: irc/unreal Message-ID: <20070327084545.GA2446@straylight.m.ringlet.net> In-Reply-To: <20070326150050.GA27019@icarus.home.lan> References: <53cc795f0703240541w6953db30m337b4beb66bc8cdf@mail.gmail.com> <20070326150050.GA27019@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
--PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 26, 2007 at 08:00:50AM -0700, 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: > >=20 > > =3D=3D=3D> 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 > >=20 > > Stop in /usr/ports/irc/unreal/work/Unreal3.2/src. > > *** Error code 1 > >=20 > > Stop in /usr/ports/irc/unreal/work/Unreal3.2. > > *** Error code 1 > >=20 > > Stop in /usr/ports/irc/unreal. > > [xnet] /usr/ports/irc/unreal# > >=20 > > Ideas? >=20 > I've discussed the problem on #bsdports on IRC in the past; dvl brought > it to my attention. >=20 > The problem, from my perspective, is this: >=20 > 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. Yep, I added the patch to c-ares especially for irc/unreal :) As a matter of fact, I *took* it from the irc/unreal sources :) > 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. >=20 > 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. >=20 > 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. >=20 > 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. A run-time check would be nice, indeed. However, how about this as an additional check at the dependencies' level? Index: ports/irc/unreal/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/irc/unreal/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- ports/irc/unreal/Makefile 3 Jan 2007 15:29:54 -0000 1.13 +++ ports/irc/unreal/Makefile 27 Mar 2007 08:41:36 -0000 @@ -7,6 +7,7 @@ =20 PORTNAME=3D Unreal PORTVERSION=3D 3.2.6 +PORTREVISION=3D 1 CATEGORIES=3D irc ipv6 MASTER_SITES=3D http://www.ilmarinen.us/unreal/ \ http://unrealircd.alert-net.com/ \ @@ -20,7 +21,9 @@ MAINTAINER=3D gerrit.beine@gmx.de COMMENT=3D Unreal - the next generation ircd =20 +BUILD_DEPENDS=3D c-ares-config>=3D1.3.2:${PORTSDIR}/dns/c-ares LIB_DEPENDS=3D cares.1:${PORTSDIR}/dns/c-ares +RUN_DEPENDS=3D c-ares-config>=3D1.3.2:${PORTSDIR}/dns/c-ares =20 WRKSRC=3D ${WRKDIR}/${PORTNAME}3.2 =20 G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence is false. --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGCNm57Ri2jRYZRVMRAkRxAJsH7iaid12nIg/IsrXfgflW4aO8EQCghV8l WXt3hs+38BAOe65/Id8/TWw= =Y49F -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070327084545.GA2446>