Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12769 closed Bug Report - General (fixed)

configure libcec detection/include issue

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: Karl Egly
Priority: minor Milestone: 0.28.1
Component: MythTV - configure script Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no


I note that with some recent builds on Fedora (can be seen in the buildbot build logs) that the compilation gcc command line has a


(note the double -I), and I also note the configure output for libcec is

libCEC device support     yes [-I/usr/include/libcec ]

and for other reports it is just the path, not including the -I.

I believe (that depending on distro) this may not matter since the current MythTV codes are of the form #include <libcec/cec.h> (or equivalent), so (typically) the system /usr/include will be sufficient to locate the includes once support has been detected as available, but there does appear to be a bug here.

I just wanted to get this into trac while I noticed it. It may (or may not) be relevant that there were some (reasonably) recent changes in the configure script for libcec with b39489f247c9ccdc99ff813a4de5f1e48c48ef3c to use pkg-config to improve detection of libcec support.

Change History (3)

comment:1 Changed 5 years ago by Karl Dietz <dekarl@…>

Resolution: fixed
Status: newclosed

In c11433676b6cf3dd0dee55b87d5b0d3eb26cbdd3/mythtv:

fix libcec include path detection issue

Fixes #12769

comment:2 Changed 5 years ago by Karl Dietz <dekarl@…>

In 2fbd9638aa878bc3c0f3bcf80330ff5049fb8a21/mythtv:

fix libcec include path detection issue

Fixes #12769

(cherry picked from commit c11433676b6cf3dd0dee55b87d5b0d3eb26cbdd3)

comment:3 Changed 5 years ago by Karl Egly

Milestone: unknown0.28.1
Owner: changed from JYA to Karl Egly
Version: Master Head0.28.0
Note: See TracTickets for help on using tickets.