| Summary: | multimedia/xawtv: Fails to build on fresh ports | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dmitry Afanasiev <KOT> |
| Component: | Individual Port(s) | Assignee: | Oliver Lehmann <oliver> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | Keywords: | needs-qa |
| Priority: | --- | Flags: | koobs:
maintainer-feedback+
|
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Dmitry Afanasiev
2015-10-29 15:00:59 UTC
Please check which port installs /usr/local/include/event2/event_compat.h multimedia/xawtv has obviously problems with it as it does not pick up its own event_compat.h for compiling but the file installed by the other port. @Oliver, please set maintainer-feedback to + when you respond to an issue, this way it wont feedback timeout. Treat it as:
? = Provide feedback / Feedback requested
+ = Have given/provided feedback
- = Maintainer has not provided feedback (will be used for maintainer timeout)
Additionally, in terms of a port using bundles libraries or not, all ports must use system provided libraries ({LIB,RUN,BUILD}_DEPEND'ing on their respective ports), so it's worth looking down that path
I also note the following warning:
cc: warning: argument unused during compilation: '-Llibng'
Is this a typo? Is it supposed to be libpng?
event_compat.h will be provided by either the libevent or libevent2 ports, which many other ports/packages dependent on independently.
It is not that the port has it's own private copy ob libevent(2) - it is just that it has an implementation of a function with the same name - "event_dispatch" which conflicts with the function provided by libevent(2). Obviously, libevents include files are found in the before xawtv's own files. -I/usr/local/include appears prior to -I./common where event.h is located A commit references this bug: Author: oliver Date: Fri Oct 30 12:41:06 UTC 2015 New revision: 400536 URL: https://svnweb.freebsd.org/changeset/ports/400536 Log: Fix include path to pick u?p local headers first instead of LOCALBASE stuff. This fixes a header conflict with libevent2 PR: 204125 Submitted by: KOT@MATPOCKuH.Ru Changes: head/multimedia/xawtv/Makefile |