ports/186274: [patch] net-im/ejabberd: does not compile in poudriere
David Demelier
markand at malikania.fr
Thu Jan 30 13:10:00 UTC 2014
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list