irc/unreal won't compile
I'm getting the following when trying to compile unrealircd: Building src /usr/local/bin/ccache gcc -I../include -I/usr/ports/irc/unreal/work/ Unreal3.2/extras/regexp/include -pipe -I/usr/local/include -O2 -pipe -DNO_IDEA -funsigned-char -fno-strict-aliasing -DZIP_LINKS -export- dynamic -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -c timesynch.c /usr/local/bin/ccache gcc -I../include -I/usr/ports/irc/unreal/work/ Unreal3.2/extras/regexp/include -pipe -I/usr/local/include -O2 -pipe -DNO_IDEA -funsigned-char -fno-strict-aliasing -DZIP_LINKS -export- dynamic -L/usr/local/lib -rpath=/usr/lib:/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 It compiles fine when I untar to my home directory and run the exact same configure as reported by config.log in the ports work directory: ./configure --with-listen=5 --with-dpath=/usr/local/etc/Unreal --with- spath=/usr/local/libexec/ircd --with-nick-history=2000 --with- sendq=300 --with-bufferpool=18 --with-permissions=0600 --with-fd- setsize=1024 --enable-dynamic-linking --enable-hub --enable-ziplinks --enable-ssl I attempted to submit a pr on this with send-pr, but never got a reply back... -- Jim Nasby[EMAIL PROTECTED] EnterpriseDB http://enterprisedb.com 512.569.9461 (cell) ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irc/unreal won't compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 7 May 2007 14:00:10 -0500 Jim Nasby [EMAIL PROTECTED] wrote: |I'm getting the following when trying to compile unrealircd: | | |I attempted to submit a pr on this with send-pr, but never got a |reply back... not quite correct :). From: Martin Wilke [EMAIL PROTECTED] To: Martin Wilke [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Jim C.Nasby [EMAIL PROTECTED] Subject: Re: ports/112221: irc/unreal won't compile Date: Sun, 29 Apr 2007 08:59:39 +0200 User-Agent: [EMAIL PROTECTED] X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim and Gerrit, ./configure --with-listen=5 --with-dpath=/usr/local/etc/Unreal - - --with-spath=/usr/local/libexec/ircd --with-nick-history=2000 - - --with-sendq=300 --with-bufferpool=18 --with-permissions=0600 - - --with-fd-setsize=1024 --enable-dynamic-linking --enable-hub - --enable-ziplinks --enable-ssl === 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 -pipe -DNO_IDEA -funsigned-char - - -fno-strict-aliasing -DZIP_LINKS -export-dynamic -L/usr/local/lib - -rpath=/usr/lib:/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 -pipe -DNO_IDEA -funsigned-char - - -fno-strict-aliasing -DZIP_LINKS -export-dynamic -L/usr/local/lib - -rpath=/usr/lib:/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 Jim we now this problem. Please take a look in the Discussion [1]. This should solved your compielier error. [1] http://lists.freebsd.org/pipermail/freebsd-ports/2007-March/039619.html - - Martin - -- Martin Wilke| irc.unixfreunde.de #bsd [EMAIL PROTECTED] | [EMAIL PROTECTED] FreeBSD Committer | Power to Serve -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGP360FwpycAVoI1MRAj8HAJ41zd0yvoHKf7Az4JIqYAg+jqVgWgCdF/iO whC3yoXdg3eR6cZcN8LOLq0= =7H8O -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irc/unreal won't compile
On Mon, May 07, 2007 at 02:00:10PM -0500, Jim Nasby wrote: I'm getting the following when trying to compile unrealircd: This has been discussed before. Please see the below thread: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg05997.html -- | Jeremy Chadwickjdc 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 | ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irc/unreal
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: === 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. 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. 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. 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 === 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 - 1.13 +++ ports/irc/unreal/Makefile 27 Mar 2007 08:41:36 - @@ -7,6 +7,7 @@ PORTNAME= Unreal PORTVERSION= 3.2.6 +PORTREVISION= 1 CATEGORIES=irc ipv6 MASTER_SITES= http://www.ilmarinen.us/unreal/ \ http://unrealircd.alert-net.com/ \ @@ -20,7 +21,9 @@ MAINTAINER=[EMAIL PROTECTED] COMMENT= Unreal - the next generation ircd +BUILD_DEPENDS= c-ares-config=1.3.2:${PORTSDIR}/dns/c-ares LIB_DEPENDS= cares.1:${PORTSDIR}/dns/c-ares +RUN_DEPENDS= c-ares-config=1.3.2:${PORTSDIR}/dns/c-ares WRKSRC=${WRKDIR}/${PORTNAME}3.2 G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] 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. pgpmzyqN7erat.pgp Description: PGP signature
Re: irc/unreal
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? Do you have the c-ares library installed? What is the output of pkg_info | fgrep -e c-ares -e curl If this does not display a line saying c-ares-config-1.3.2, then you need to either upgrade or reinstall your c-ares library, with the ares_config_info patch. To do that: - deinstall anything that provides a libcares.so in your path (you can find out what it is by first running ldconfig -r | fgrep cares to find the library itself and then pkg_info -qW /usr/local/lib/libcares.so.1 to see which package has installed it) - cd /usr/ports/dns/c-ares - make config (as root) - make sure the CONFIG_INFO option is checked - make all install clean After that, try building unreal-ircd again. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven words long if it were six words shorter. pgp6I1XKbhnyT.pgp Description: PGP signature
Re: irc/unreal
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 Chadwickjdc 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 | ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
irc/unreal
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? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Port: irc/unreal
I'm trying to build irc/unreal on 6.2-stable and failing: === Building for Unreal-3.2.6 Building src cc -I../include -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pi pe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -funsigned-char -fno-str ict-aliasing -export-dynamic -L/usr/local/lib -c timesynch.c cc -I../include -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pi pe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -funsigned-char -fno-str ict-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. *** Error code 1 Stop in /usr/ports/irc/unreal. [EMAIL PROTECTED]:/usr/ports/irc/unreal] # Ideas? -- Dan Langille - http://www.langille.org/ BSDCan - The Technical BSD Conference: http://www.bsdcan.org/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]