Bug 75567

Summary: Automatic dependency was broken for security/gnutls
Product: Ports & Packages Reporter: Kensaku Masuda <greg>
Component: Individual Port(s)Assignee: Sergei Kolobov <sergei>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Kensaku Masuda 2004-12-28 11:10:22 UTC
      gnutls depends by opencdk and tasn1 libraries, if installed. Configure script can found it, But packaging system was not.

How-To-Repeat: 1. Install opencdk and tasn1 library
2. Build security/gnutls
3. Install security/gnutls
4. Look dependency for gnutls. Builded binary was depends by it libraries, But gnutls-1.0.21/+CONTENTS was no lines for opencdk and tasn1.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-12-28 22:03:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2005-02-07 12:14:16 UTC
On 2004-12-28 at 11:01 +0000, Kensaku MASUDA wrote:
> >Description:
>       gnutls depends by opencdk and tasn1 libraries, if installed. Configure
>       script can found it, But packaging system was not.
> >How-To-Repeat:
> 1. Install opencdk and tasn1 library
> 2. Build security/gnutls
> 3. Install security/gnutls
> 4. Look dependency for gnutls. Builded binary was depends by it libraries,
> But gnutls-1.0.21/+CONTENTS was no lines for opencdk and tasn1.

I cannot replicate the problem on my systems.

Here is a excerpt from the build logs (produced by "port test" - part of 
porttools):

[...]
===>  Building package for gnutls-1.0.24
Creating package /FreeBSD/packages/All/gnutls-1.0.24.tbz
Registering depends: gettext-0.14.1 libgcrypt-1.2.1 libgpg-error-1.0_1 libiconv-1.9.2_1 libtasn1-0.2.10 opencdk-0.5.5_1,1 perl-5.8.6_2.
Registering conflicts: gnutls-devel-[0-9]*.
Creating bzip'd tar ball in '/FreeBSD/packages/All/gnutls-1.0.24.tbz'
===> Checking pkg_info
gnutls-1.0.24       GNU Transport Layer Security library
===> Checking shared library dependencies
/lib/libc.so.5
/lib/libz.so.2
/pkg/lib/libgcrypt.so.13
/pkg/lib/libgpg-error.so.1
/pkg/lib/libiconv.so.3
/pkg/lib/libintl.so.6
/pkg/lib/libopencdk.so.8
/pkg/lib/libtasn1.so.2
/var/build/gnutls-1.0.24/lib/libgnutls-extra.so.12
/var/build/gnutls-1.0.24/lib/libgnutls.so.12
[...]

As you see, it correctly registers both shared library dependencies
and package dependcies to external libtasn1 and opencdk ports.

Please retest with the latest version of all related ports 
and let us know if the problem still persists.

Sergei
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2005-02-07 13:09:21 UTC
State Changed
From-To: open->feedback

Asked if the submitter still experiences the problem.
Comment 4 Sergei Kolobov freebsd_committer freebsd_triage 2005-02-28 12:13:57 UTC
State Changed
From-To: feedback->closed

Feedback timeout. 

This problem does not seem to exist in the current port versions 
(at least in my testing).  

Please resubmit as a new PR if you think the problem persists. Thanks!