ports/155067: security/gnutls will not build inside jail

Michael Scheidell scheidell at secnap.net
Sat Feb 26 17:20:07 UTC 2011


>Number:         155067
>Category:       ports
>Synopsis:       security/gnutls will not build inside jail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 26 17:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        7.3
>Organization:
SECNAP Network Security
>Environment:
uname -a
FreeBSD sip.tpa.secnap.com 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #1: Thu Oct 28 19:39:01 GMT 2010     admin at ionspam.spammertrap.net:/usr/obj/usr/src/sys/ENTSPAM  amd64

>Description:
while building gnutls inside of jail:
(which can build anything else I need) 

I get this:

checking for libgcrypt... no
configure: error: 
***
*** libgcrypt was not found. You may want to get it from


BUT:

pkg_info libgcrypt\*
Information for libgcrypt-1.4.6:

and, in make file stage when checking dependencies:

===>   gnutls-2.8.6_2 depends on package: libtool>=2.2 - found
===>   gnutls-2.8.6_2 depends on executable: pkg-config - found
===>   gnutls-2.8.6_2 depends on shared library: gcrypt.17 - found
===>   gnutls-2.8.6_2 depends on shared library: gpg-error.0 - found
===>   gnutls-2.8.6_2 depends on shared library: lzo2 - found



>How-To-Repeat:
make a jail, try to compile it.

>Fix:
same machine, same ports, just not in jail, builds just fine:

make && make package

===>   gnutls-2.8.6_2 depends on shared library: gcrypt.17 - found
===>   gnutls-2.8.6_2 depends on shared library: gpg-error.0 - found
===>   gnutls-2.8.6_2 depends on shared library: lzo2 - found
===>   gnutls-2.8.6_2 depends on shared library: iconv.3 - found
===>   gnutls-2.8.6_2 depends on shared library: intl - found
===>  Configuring for gnutls-2.8.6_2

package can then be installed in jail:
pkg_add /usr/ports/packages/All/gnutls-2.8.6_2.tbz 
sip# pkg_info gnutls\*
Information for gnutls-2.8.6_2:

Comment:
GNU Transport Layer Security library


ok, its not a fix, but a workaround.
I though as long as you are looking to upgrade to 2.10.4 (pr: 	ports/154135) you could look at it.



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



More information about the freebsd-ports-bugs mailing list