Bug 190057 - net-im/libpurple-2.10.9_3 fails to detect libsasl2
Summary: net-im/libpurple-2.10.9_3 fails to detect libsasl2
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 10:20 UTC by freebsd
Modified: 2014-05-21 16:51 UTC (History)
1 user (show)

See Also:


Attachments
config.log (168.53 KB, text/plain)
2014-05-21 10:20 UTC, freebsd
no flags Details
libpurple.patch (434 bytes, patch)
2014-05-21 15:12 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 freebsd 2014-05-21 10:20:00 UTC
	Configure script fails to detect libsasl2:
checking smime.h usability... yes
checking smime.h presence... yes
checking for smime.h... yes
checking for Mozilla nss libraries... yes
checking for snprintf... (cached) yes
checking for connect... (cached) yes
checking for sasl_client_init in -lsasl2... no
configure: error: Cyrus SASL library not found
===>  Script "configure" failed unexpectedly.
Please report the problem to marcus@FreeBSD.org [maintainer] and attach the
"/var/tmp/export/ports/net-im/libpurple/work/pidgin-2.10.9/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

Stop in /export/ports/net-im/libpurple.
*** [stage] Error code 1

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

	libsasl2 is there:
root@cakebox ~ > pkg info -g -Ea|grep sasl
cyrus-sasl-2.1.26_7            RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-saslauthd-2.1.26    SASL authentication server for cyrus-sasl2
gsasl-1.8.0_2                  GNU SASL Library

root@cakebox ~ > pkg info -l cyrus-sasl-2.1.26_7|grep libsasl2
        /usr/local/lib/libsasl2.a
        /usr/local/lib/libsasl2.la
        /usr/local/lib/libsasl2.so
        /usr/local/lib/libsasl2.so.3
        /usr/local/lib/libsasl2.so.3.0.0
        /usr/local/libdata/pkgconfig/libsasl2.pc
root@cakebox ~ > ldd -a /usr/local/lib/libsasl2.so
/usr/local/lib/libsasl2.so:
        libc.so.7 => /lib/libc.so.7 (0x33c77000)
root@cakebox ~ > ll /usr/local/lib/libsasl2.*
-rw-r--r--  1 root  wheel  293040 May 10 09:20 /usr/local/lib/libsasl2.a
-rwxr-xr-x  1 root  wheel     648 May 10 09:20 /usr/local/lib/libsasl2.la*
lrwxr-xr-x  1 root  wheel      17 May 10 09:20 /usr/local/lib/libsasl2.so@ -> libsasl2.so.3.0.0
lrwxr-xr-x  1 root  wheel      17 May 10 09:20 /usr/local/lib/libsasl2.so.3@ -> libsasl2.so.3.0.0
-rwxr-xr-x  1 root  wheel  127177 May 10 09:20 /usr/local/lib/libsasl2.so.3.0.0*

	I have libpurple-2.10.9_2 installed so it seems whatever 
	was changed to 2.10.9_3 broke the detection?

libpurple-2.10.9_2                 <   needs updating (port has 2.10.9_3)

Fix: Unknown.
How-To-Repeat: 	Attempt to install net-im/libpurple-2.10.9_3
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2014-05-21 15:12:48 UTC
Hi,

Please try the attached patch.
Comment 2 freebsd 2014-05-21 16:13:34 UTC
This message is in MIME format.

Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-21 16:49:29 UTC
Author: tijl
Date: Wed May 21 15:49:26 2014
New Revision: 354753
URL: http://svnweb.freebsd.org/changeset/ports/354753
QAT: https://qat.redports.org/buildarchive/r354753/

Log:
  Fix build with SASL option.
  
  PR:		ports/190057

Modified:
  head/net-im/libpurple/Makefile

Modified: head/net-im/libpurple/Makefile
==============================================================================
--- head/net-im/libpurple/Makefile	Wed May 21 15:44:08 2014	(r354752)
+++ head/net-im/libpurple/Makefile	Wed May 21 15:49:26 2014	(r354753)
@@ -20,6 +20,7 @@ CONFIGURE_ARGS?=--disable-gtkui \
 		--with-dynamic-prpls=${PRPL_MODULES:S/,$//} \
 		--enable-static \
 		--disable-nm
+CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 INSTALL_TARGET=	install-strip
 
 .if !defined(PIDGIN_SLAVE)
_______________________________________________
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 4 Tijl Coosemans freebsd_committer freebsd_triage 2014-05-21 16:50:57 UTC
State Changed
From-To: open->closed

Fixed in r354753.