Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 21:17:12 +0100 (CET)
From:      jpicalau+freebsd_ports@elmandria.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187675: Upgrading port textproc/exmpp from 0.9.7 to 0.9.9 (0.9.7 appears broken)
Message-ID:  <201403172017.s2HKHCIW069691@skydragoness.com>
Resent-Message-ID: <201403172020.s2HKK0sm085827@freefall.freebsd.org>

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

>Number:         187675
>Category:       ports
>Synopsis:       Upgrading port textproc/exmpp from 0.9.7 to 0.9.9 (0.9.7 appears broken)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 20:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Julien Picalausa<jpicalau+freebsd_ports@elmandria.com>
>Release:        FreeBSD 9.1-RELEASE-p10 i386
>Organization:
N/A
>Environment:

>Description:
I am submitting a patch to the port upgrading it to v0.9.9. I have attempted contacting the maintainer, but have not received a reply after one week.
Aside from the version update, I have added MAKE_JOBS_UNSAFE=yes to the Makefile. The port would otherwise fail to compile on the first run of make and subsequent runs would finish just fine. (this was already an issue with 0.9.7).

Note that exmpp v0.9.7 appears to have stopped working at least when used for imported xep-0227 files to ejabberd.
The problem seem to be an incompatibility with versions of Erlang/OTP 15 and later, due to a change in the way erlang dynamic libraries are identified. v0.9.9 seem to have fixed that issue.

>How-To-Repeat:
>Fix:
Patch included

--- exmpp.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 348497)
+++ Makefile	(working copy)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	exmpp
-PORTVERSION=	0.9.7
+PORTVERSION=	0.9.9
 CATEGORIES=	textproc net-im
 MASTER_SITES=	http://download.process-one.net/${PORTNAME}/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	gelraen.ua@gmail.com
 COMMENT=	Fast and scalable library for XMPP written in Erlang/OTP
@@ -15,6 +14,7 @@
 LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
 		xml2.5:${PORTSDIR}/textproc/libxml2
 
+MAKE_JOBS_UNSAFE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--enable-static=yes \
 					--enable-shared=yes \
Index: distinfo
===================================================================
--- distinfo	(revision 348497)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (exmpp-0.9.7.tgz) = e0816b3c06b9b559a2613f72ffdc1ba0a8384bb50c1fc976a9a686e02b1d262a
-SIZE (exmpp-0.9.7.tgz) = 248672
+SHA256 (exmpp-0.9.9.tar.gz) = 9768ccb742e1df4bdf6c2ca66130d110fe3fea4832e1e1579bf2f51d2ba3d25f
+SIZE (exmpp-0.9.9.tar.gz) = 601612
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 348497)
+++ pkg-plist	(working copy)
@@ -1,5 +1,4 @@
 %%PORTDOCS%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/doc/html/ejabberd_socket.html
-%%PORTDOCS%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/doc/html/ejabberd_zlib.html
 %%PORTDOCS%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/doc/html/erlang.png
 %%PORTDOCS%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/doc/html/exmpp.html
 %%PORTDOCS%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/doc/html/exmpp_bosh.html
--- exmpp.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?201403172017.s2HKHCIW069691>