Bug 191113

Summary: [patch] Add missing dependency for devel/kdevelop-kde4
Product: Ports & Packages Reporter: Kevin Zheng <kevinz5000>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Only Me CC: rakuco
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch that adds the correct dependency none

Description Kevin Zheng 2014-06-16 23:05:33 UTC
Created attachment 143857 [details]
Patch that adds the correct dependency

devel/kdevelop-kde4 fails to build in poudriere with the following error:

In file included from /wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.6.0/documentation/qthelp/kdevqthelp_automoc.cpp:5:
In file included from /wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.6.0/documentation/qthelp/moc_qthelpproviderabstract.cpp:9:
/wrkdirs/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.6.0/documentation/qthelp/qthelpproviderabstract.h:30:10: fatal error: 'QHelpEngine' file not found
#include <QHelpEngine>
         ^
1 error generated.
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-06-20 18:18:09 UTC
Are you using any special options? It built fine here on poudriere/11-amd64, and the pkg-fallout machines look fine too.
Comment 2 Kevin Zheng 2014-06-21 03:24:04 UTC
I switched around *many* options while compiling KDE, so I don't think I'll be able to pinpoint it to any one specific option. In any case, if QHelpEngine is used in the port, it should be a direct dependency (instead of relying on dependent ports that may or may not require it).
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-06-21 18:55:30 UTC
I don't disagree with that, my point is that without an easy way to reproduce the issue I might as well be just half-fixing the issue and miss another dependency somewhere.

In this case I'm going the nuclear way and depend on all Qt libraries I can see in the build system.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-06-21 18:57:47 UTC
A commit references this bug:

Author: rakuco
Date: Sat Jun 21 18:57:04 UTC 2014
New revision: 358735
URL: http://svnweb.freebsd.org/changeset/ports/358735

Log:
  Explicitly depend on all Qt libraries linked by the build system targets.

  Stop pulling Qt dependencies implicitly via other ports, as this can be
  unreliable at times. Instead, bring in all Qt ports that the port links
  against.

  PR:		191113

Changes:
  head/devel/kdevelop-kde4/Makefile