Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603028 - media-tv/mythtv-0.28 with dev-libs/libcec-4.0.0 - cecadapter.cpp: In member function ‘bool CECAdapterPriv::Open()’: cecadapter.cpp:110:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecLogMessage’
Summary: media-tv/mythtv-0.28 with dev-libs/libcec-4.0.0 - cecadapter.cpp: In member f...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 21:02 UTC by Nathan Caldwell
Modified: 2017-07-22 00:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,624.50 KB, text/plain)
2016-12-18 21:02 UTC, Nathan Caldwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Caldwell 2016-12-18 21:02:32 UTC
Created attachment 456630 [details]
build.log

This probably impacts mythtv 0.27 in addition 0.28, however I have not tested compiling 0.27 with libcec 4.0.0.

> cecadapter.cpp: In member function ‘bool CECAdapterPriv::Open()’:
> cecadapter.cpp:110:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecLogMessage’
>          callbacks.CBCecLogMessage = &CECLogMessageCallback;
>                    ^
> cecadapter.cpp:111:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecKeyPress’
>          callbacks.CBCecKeyPress   = &CECKeyPressCallback;
>                    ^
> cecadapter.cpp:112:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecCommand’
>          callbacks.CBCecCommand    = &CECCommandCallback;
>                    ^
> cecadapter.cpp:114:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecAlert’
>          callbacks.CBCecAlert      = &CECAlertCallback;
>                    ^
> cecadapter.cpp:115:19: error: ‘CEC::ICECCallbacks {aka struct CEC::ICECCallbacks}’ has no member named ‘CBCecSourceActivated’
>          callbacks.CBCecSourceActivated = &CECSourceActivatedCallback;
>                    ^
> cecadapter.cpp:131:40: error: ‘class CEC::ICECAdapter’ has no member named ‘FindAdapters’
>          uint8_t num_devices = adapter->FindAdapters(devices, MAX_CEC_DEVICES, NULL);
>                                         ^
Comment 1 Nathan Caldwell 2016-12-18 21:04:12 UTC
$ emerge -pqv '=media-tv/mythtv-0.28::gentoo'
[ebuild   R   ] media-tv/mythtv-0.28  USE="alsa bluray cec dvb dvd fftw hls ieee1394 libass lirc mythlogserver perl pulseaudio python theora vaapi vdpau vorbis xml xvid zeroconf (-altivec) -autostart -crystalhd -debug -egl -jack -lcd -systemd -wrapper -xmltv" INPUT_DEVICES="joystick" PYTHON_TARGETS="python2_7"

$ emerge --info '=media-tv/mythtv-0.28::gentoo'
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r3, 4.8.13-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.13-ck-x86_64-Intel-R-_Core-TM-_i7-4771_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem:     8127948 total,   1671992 free
KiB Swap:    4194300 total,   4194064 free
Timestamp of repository gentoo: Sat, 17 Dec 2016 10:00:01 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
ccache version 3.3.3 [disabled]
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.3.3::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://10.20.20.20/gentoo-portage
    priority: -1000

anders-larsson
    location: /usr/local/overlays/anders-larsson
    sync-type: git
    sync-uri: https://github.com/anders-larsson/gentoo-overlay.git
    masters: gentoo

bumblebee
    location: /usr/local/overlays/bumblebee
    sync-type: git
    sync-uri: https://github.com/Bumblebee-Project/bumblebee-gentoo.git
    masters: gentoo

gpmdp-overlay
    location: /usr/local/overlays/gpmdp-overlay
    masters: gentoo

hawkthorne
    location: /usr/local/overlays/hawkthorne
    masters: gentoo

kde
    location: /usr/local/overlays/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo

local
    location: /usr/local/portage
    masters: gentoo

obs-studio-overlay
    location: /usr/local/overlays/obs
    sync-type: git
    sync-uri: https://github.com/saintdev/obs-studio-overlay.git
    masters: gentoo

steam-overlay
    location: /usr/local/overlays/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo

Installed sets: @qt5-essentials
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi alsa amd64 amr amrnb amrwb avahi avx avx2 bash-completion bdplus berkdb bluetooth bluray bzip2 cairo caps cdda cdr cec cli consolekit cracklib crypt cxx dbus declarative dirac dri dts dvb dvd dvdr emboss encode exif fam fbcondecor ffmpeg fftw flac fltk fortran gdbm gif git glamor gpg gphoto2 gpm gstreamer gtk htmlhandbook iconv ieee1394 inotify ios ipv6 java joystick jpeg kde kipi kvm lapack lcms ldap libass libav libnotify libv4l2 lirc live lm_sensors logrotate lzma lzo mad matroska mdadm mmap mmx mmxext mng modules mp3 mp4 mpeg mtp multilib musicbrainz mythtv ncurses nls nptl ntfs ogg openexr opengl openmp openssl opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt qt3support qt4 qt5 qwt rar readline real redland rtmp samba schroedinger sdl seccomp semantic-desktop session spell sqlite sqlite3 srt sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subversion svg tcpd theora threads thumbnail tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vnc vorbis vpx webkit widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" LIRC_DEVICES="inputlirc" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-tv/mythtv-0.28::gentoo was built with the following:
USE="alsa bluray cec dvb dvd fftw hls ieee1394 libass lirc mythlogserver perl pulseaudio python theora vaapi vdpau vorbis xml xvid zeroconf (-altivec) -autostart -crystalhd -debug -egl -jack -lcd -systemd -wrapper -xmltv" ABI_X86="64" INPUT_DEVICES="joystick" PYTHON_TARGETS="python2_7"

>>> Attempting to run pkg_info() for 'media-tv/mythtv-0.28'
Please attach all output as a file in bug reports.
MythTV Version : 3543e74534a39c150e956e2f07f50ed9f873a84e
MythTV Branch : fixes/0.28
Network Protocol : 88
Library API : 0.28.20160309-1
QT Version : 5.7.1
Options compiled in:
 linux release use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_mythlogserver using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
Comment 2 Andreas Steinmetz 2017-01-08 18:11:00 UTC
As a hint (I'm not using libcec in mythtv but nevertheless):

libcec-4 is not api compatible with libcec-3.
Furthermore you don't want libcec-4 < 4.0.1 (VolUp = VolDown = always up bug).

mythtv needs to stick to libcec < 4 until upstream handles the api changes.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-07-22 00:28:21 UTC
This is supposedly fixed by 0.28.1, please re-open if not.