Bug 183587 - irc/unreal: Fails to build with REMOTE option
Summary: irc/unreal: Fails to build with REMOTE option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 11:00 UTC by Bryan Drewery
Modified: 2013-11-04 00:10 UTC (History)
0 users

See Also:


Attachments
patch.txt (400 bytes, text/plain; charset=US-ASCII)
2013-11-03 22:24 UTC, tanawts
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Drewery 2013-11-02 11:00:00 UTC
When REMOTE option is selected the build fails in 'configure':

checking /usr/local/bin/curl-config... yes
configure: error: 

  You have decided to build unrealIRCd with libcURL (remote includes) support.
  However, you have disabled system-installed c-ares support (--with-system-cares).
  Because UnrealIRCd will use a bundled copy of c-ares which may be incompatible
  with the system-installed libcURL, this is a bad idea which may result in error
  messages looking like:

  	``[error] unrealircd.conf:9: include: error downloading '(http://example.net/ex.conf)': Could not resolve host: example.net (Successful completion)''

  Or UnrealIRCd might even crash.

  Please build UnrealIRCd with --with-system-cares when enabling --enable-libcurl

===>  Script "configure" failed unexpectedly.
Please report the problem to tanawts@gmail.com [maintainer] and attach the
"/wrkdirs/usr/ports/irc/unreal/work/Unreal3.2.10.1/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** [do-configure] Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-02 11:00:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-02 11:00:08 UTC
Maintainer of irc/unreal,

Please note that PR ports/183587 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183587

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-11-03 22:26:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-04 00:08:15 UTC
Author: bdrewery
Date: Mon Nov  4 00:08:07 2013
New Revision: 332656
URL: http://svnweb.freebsd.org/changeset/ports/332656

Log:
  - Fix build with REMOTE [1]
  - Add missing dependency on pkgconfig
  
  PR:		ports/183587 [1]
  Submitted by:	JR Aquino <tanawts@gmail.com> (maintainer) [1]

Modified:
  head/irc/unreal/Makefile

Modified: head/irc/unreal/Makefile
==============================================================================
--- head/irc/unreal/Makefile	Sun Nov  3 23:22:27 2013	(r332655)
+++ head/irc/unreal/Makefile	Mon Nov  4 00:08:07 2013	(r332656)
@@ -28,6 +28,8 @@ USE_RC_SUBR=	unrealircd
 USERS=		ircd
 GROUPS=		ircd
 
+USES=		pkgconfig
+
 SUB_LIST+=	RUNDIR=${RUNDIR}
 SUB_LIST+=	USERS=${USERS}
 SUB_LIST+=	GROUPS=${GROUPS}
@@ -43,6 +45,7 @@ CONFIGURE_ARGS=	--with-listen=5 \
 		--with-bufferpool=18 \
 		--with-permissions=0600 \
 		--with-fd-setsize=1024 \
+		--with-system-cares \
 		--enable-dynamic-linking
 
 OPTIONS_DEFINE=	HUB NOSPOOF ZIPLINKS SSL IPV6 PREFIXAQ REMOTE DOCS
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2013-11-04 00:08:20 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!