Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 17:26:28 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97487: error in building security/gnutls
Message-ID:  <200605190826.k4J8QSst083014@polymer3.scphys.kyoto-u.ac.jp>
Resent-Message-ID: <200605190830.k4J8UKMD054216@freefall.freebsd.org>

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

>Number:         97487
>Category:       ports
>Synopsis:       error in building security/gnutls
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 08:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #19: Thu Mar 23 12:05:35 JST 2006 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building security/gnutls ceases with error about libtasn1.
	when libtasn1.so.3 exists in adequate path, building claims
		Error: shared library "tasn1.2" does not exist .
	this may caused by typo while update of ports, as i guess.

>How-To-Repeat:
	
	% portupgrade gnutls-1.2.10_3
	...
	===>   gnutls-1.2.11 depends on shared library: tasn1.2 - not found
	===>    Verifying install for tasn1.2 in /usr/ports/security/libtasn1
	===>   Returning to build of gnutls-1.2.11
	Error: shared library "tasn1.2" does not exist
	*** Error code 1

>Fix:
	here is a patch:
	--- ports/security/gnutls/Makefile.orig	Fri May 19 17:17:57 2006
	+++ ports/security/gnutls/Makefile Fri	May 19 17:15:15 2006
	@@ -43,7 +43,7 @@
	 .endif
	
	 .if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
	-LIB_DEPENDS+=   tasn1.2:${PORTSDIR}/security/libtasn1
	+LIB_DEPENDS+=   tasn1.3:${PORTSDIR}/security/libtasn1
	 .endif
	
	 .if ${OSVERSION} < 600000

	


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



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