Bug 189938 - net-im/libpurple: package failure
Summary: net-im/libpurple: package failure
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: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 06:40 UTC by Matthias Andree
Modified: 2014-05-20 20:50 UTC (History)
1 user (show)

See Also:


Attachments
libpurple.patch (918 bytes, patch)
2014-05-19 12:53 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2014-05-19 06:40:00 UTC
net-im/libpurple builds properly on my 9.2-RELEASE amd64, but fails to
package:

$ make -C /usr/ports/net-im/libpurple pretty-print-config
+BONJOUR +DBUS -GG -GNUTLS +GSTREAMER +IDN +IRC +JABBER +MSN -MYSPACE +NOVELL +NSS +OSCAR -PERL -QQ -SAMETIME -SASL -SILC -SIMPLE -TCLTK -VV +YAHOO -ZEPHYR 

$ portmaster -da --no-confirm
[...]
Creating bzip'd tar ball in '/var/tmp/usr/ports/net-im/libpurple/work/pkg/libpurple-2.10.9_2.tbz'
tar: lib/purple-2/libjabber.so.0: Cannot stat: No such file or directory
tar: lib/purple-2/liboscar.so.0: Cannot stat: No such file or directory
tar: lib/purple-2/libymsg.so.0: Cannot stat: No such file or directory
tar: lib/libpurple-client.so.0: Cannot stat: No such file or directory
tar: lib/libpurple.so.0: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/net-im/libpurple.

Fix: 

Please check a possible USES=libtool conversion for mismatches vs. the plist.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-19 06:40:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2014-05-19 11:48:07 UTC
I'll look into it, but it builds fine in a clean environment.
Comment 3 Tijl Coosemans 2014-05-19 12:53:49 UTC
Hi,

Can you send me a full build log with the attached patch applied?  The
patch enables more verbose output.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-20 20:41:37 UTC
Author: tijl
Date: Tue May 20 19:41:32 2014
New Revision: 354674
URL: http://svnweb.freebsd.org/changeset/ports/354674
QAT: https://qat.redports.org/buildarchive/r354674/

Log:
  - Remove "${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH}" from post-patch.
    It was added to prevent running autotools in a previous version of the
    port but is no longer needed and may actually cause autotools to run
    because not all files get the same timestamp.
  - Remove some other things from older versions.
  
  Reported by:	many
  PR:		ports/189938

Modified:
  head/net-im/libpurple/Makefile

Modified: head/net-im/libpurple/Makefile
==============================================================================
--- head/net-im/libpurple/Makefile	Tue May 20 19:35:30 2014	(r354673)
+++ head/net-im/libpurple/Makefile	Tue May 20 19:41:32 2014	(r354674)
@@ -20,10 +20,6 @@ CONFIGURE_ARGS?=--disable-gtkui \
 		--with-dynamic-prpls=${PRPL_MODULES:S/,$//} \
 		--enable-static \
 		--disable-nm
-CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-		PTHREAD_LIB="${PTHREAD_LIBS}"
-CFLAGS+=	-D_XOPEN_SOURCE_EXTENDED
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 
 .if !defined(PIDGIN_SLAVE)
 # Pidgin slave ports that require the following functionality, must explicitly
@@ -83,8 +79,6 @@ PLIST_SUB+=	CONSOLEUI=""
 PLIST_SUB+=	CONSOLEUI="@comment not installed: "
 .endif
 
-OPTIONSFILE=	${PORT_DBDIR}/${UNIQUENAME}/options
-
 CONFIGURE_ARGS+=--disable-doxygen
 
 .include <bsd.port.options.mk>
@@ -319,24 +313,13 @@ pre-everything::
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
-		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-		-e 's|-lpanel |-lpanel -lncurses|g' \
+	@${REINPLACE_CMD} \
 		-e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \
 		-e 's|-lsilc -lsilcclient ${PTHREAD_LIBS} $$LIBDL|-lsilc -lsilcclient ${PTHREAD_LIBS} ${ICONV_LIB}|' \
-		-e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${TCL_VER} required|g' \
-		-e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${TCL_VER:E}|' \
 			${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
-			${WRKSRC}/libpurple/purple-send \
-			${WRKSRC}/libpurple/purple-send-async
-	@${REINPLACE_CMD} -e 's|/python|/env python|' \
-	    		${WRKSRC}/libpurple/purple-remote \
-			${WRKSRC}/libpurple/purple-url-handler
 .if defined(PIDGIN_SLAVE)
 	@${FIND} ${BUILD_WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		's|$$(top_builddir)/libpurple/libpurple.la|-lpurple|'
 .endif
-	@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH}
 
 .include <bsd.port.post.mk>
_______________________________________________
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 Tijl Coosemans freebsd_committer freebsd_triage 2014-05-20 20:42:07 UTC
State Changed
From-To: open->closed

Fixed in r354674.