Bug 282889

Summary: databases/mongosh: fix stage-qa warnings
Product: Ports & Packages Reporter: Ronald Klop <ronald>
Component: Individual Port(s)Assignee: Ronald Klop <ronald>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
diff fixing the gssapi/krb5 lib dependency none

Description Ronald Klop freebsd_committer freebsd_triage 2024-11-21 11:01:28 UTC
Created attachment 255356 [details]
diff fixing the gssapi/krb5 lib dependency

[root@bhyve /usr/ports/databases/mongosh]# make stage-qa                                                                                              
====> Running Q/A tests (stage-qa)                                                                                                                    
Error: /usr/local/bin/mongosh is linked to /usr/local/lib/libkrb5.so.3.3 from security/krb5 but it is not declared as a dependency                    
Warning: you need LIB_DEPENDS+=libkrb5.so:security/krb5                                                                                               
Error: /usr/local/bin/mongosh is linked to /usr/local/lib/libgssapi_krb5.so.2.2 from security/krb5 but it is not declared as a dependency             
Warning: you need LIB_DEPENDS+=libgssapi_krb5.so:security/krb5                                                                                        
Error: /usr/local/bin/mongosh is linked to /usr/local/lib/libcom_err.so.3.0 from security/krb5 but it is not declared as a dependency                 
Warning: you need LIB_DEPENDS+=libcom_err.so:security/krb5                                                                                            
/!\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\                             

krb5 is registered as a BUILD_DEPENDS, but it looks like it should be a LIB_DEPENDS also so the krb5 package is available at runtime.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2024-11-21 11:01:28 UTC
Maintainer informed via mail
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-12-03 20:40:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1d9b67df2ecb4f7024eb75fd869ead430b0297e

commit b1d9b67df2ecb4f7024eb75fd869ead430b0297e
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-12-03 20:36:03 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-12-03 20:36:03 +0000

    databases/mongosh: fix run_depends on krb5

    The USES construction and a build as well as a run depends.
    Fixes warnings of make stage-qa.

    PR:     282889
    Approved by:    maintainer timeout

 databases/mongosh/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)