Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 14:07:05 +0100
From:      "David Demelier" <markand@malikania.fr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186274: [patch] net-im/ejabberd: does not compile in poudriere
Message-ID:  <20140130130705.A7BC26D5E@postfix.malikania.fr>
Resent-Message-ID: <201401301310.s0UDA0PI024170@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186274
>Category:       ports
>Synopsis:       [patch] net-im/ejabberd: does not compile in poudriere
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 30 13:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Pomme.malikania.fr 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r261002: Wed Jan 22 10:16:44 CET 2014 root@Pomme.malikania.fr:/usr/obj/usr/src/sys/Pomme amd64

>Description:
Does not compile in poudriere because it cannot find expat.h. I also wonder how it can compile outside poudriere.

The patch adds --with-expat and it seems to work, however I don't know which one from LOCALBASE
or PREFIX is the best.

checking for XML_ParserCreate in -lexpat... no
configure: error: Could not find development files of Expat library
===>  Script "configure" failed unexpectedly.
Please report the problem to ashish@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/net-im/ejabberd/work/ejabberd-2.1.13/src/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).
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/ejabberd
===>  Cleaning for ejabberd-2.1.13
build of /usr/ports/net-im/ejabberd ended at Thu Jan 30 13:18:00 CET 2014
build time: 00:00:33

>How-To-Repeat:
>Fix:

--- ejabberd.diff begins here ---
--- Makefile.orig	2014-01-30 13:55:42.076324542 +0100
+++ Makefile	2014-01-30 13:59:01.682311214 +0100
@@ -28,7 +28,7 @@
 OPTIONS_DEFINE=	ODBC PAM
 
 MAKE_ENV=	PORTVERSION=${PORTVERSION}
-CONFIGURE_ARGS+=--localstatedir=/var --with-openssl=${OPENSSLBASE}
+CONFIGURE_ARGS+=--localstatedir=/var --with-openssl=${OPENSSLBASE} --with-expat=${LOCALBASE}
 PKGMESSAGE=	${WRKDIR}/pkg-message
 PKGINSTALL=	${WRKDIR}/pkg-install
 PLIST_SUB=	PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
--- ejabberd.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140130130705.A7BC26D5E>