Bug 256378

Summary: mail/sylpheed - unecessary dependencies
Product: Ports & Packages Reporter: tigersharke
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ehaupt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
output of pkg info for sylpheed and gtkspell none

Description tigersharke 2021-06-02 12:17:54 UTC
Created attachment 225497 [details]
output of pkg info for sylpheed and gtkspell

The gtkspell option for this port causes a dependency upon dbus which gtkspell itself does not depend upon. Both built fine without dbus as illustrated by the pkg info output attached.
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2021-06-03 21:14:11 UTC
If you add

DEVELOPER=yes

to /etc/make.conf

remove the dbus dependency and build the port you'll get:

Error: /usr/local/bin/sylpheed is linked to /usr/local/lib/libharfbuzz.so.0 from print/harfbuzz but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libharfbuzz.so:print/harfbuzz
Error: /usr/local/bin/sylpheed is linked to /usr/local/lib/libdbus-glib-1.so.2 from devel/dbus-glib but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libdbus-glib-1.so:devel/dbus-glib
Error: /usr/local/bin/sylpheed is linked to /usr/local/lib/libdbus-1.so.3 from devel/dbus but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libdbus-1.so:devel/dbus

so in fact it needs dbus plus it's missing print/harfbuzz as it seems.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-06-06 10:43:06 UTC
A commit in branch main references this bug:

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

commit 06caa0418884a026c1c2e0be94675880371898f4
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2021-06-06 10:41:40 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2021-06-06 10:41:40 +0000

    mail/sylpheed: Add missing dependency

    PR:             256378 (based on)
    Notified by:    stage-qa
    MFH:            2021Q1

 mail/sylpheed/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-06-06 10:46:07 UTC
A commit in branch 2021Q2 references this bug:

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

commit 14239f27d1169ace26d1913ce7fd1ba0ac097eba
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2021-06-06 10:41:40 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2021-06-06 10:45:30 +0000

    mail/sylpheed: Add missing dependency

    PR:             256378 (based on)
    Notified by:    stage-qa
    MFH:            2021Q1

    (cherry picked from commit 06caa0418884a026c1c2e0be94675880371898f4)

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