Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
myth trunk plugins (video & music) won't compile (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
woZa
Guru
Guru


Joined: 18 Nov 2003
Posts: 340
Location: The Steel City - UK

PostPosted: Sat Sep 26, 2009 8:45 pm    Post subject: myth trunk plugins (video & music) won't compile (SOLVED Reply with quote

Hi. I am running myth trunk & compiling from latest source. Main myth compiles fine but the video & music plugins recently fail with the following error.

Code:
dbcheck.cpp: In function 'bool<unnamed>::DoVideoDatabaseSchemaUpgrade()':dbcheck.cpp:668: error: no matching function for call to 'SchemaUpgradeWizard::Get(const QString&, const char [10], const QString&)'/usr/local/include/mythtv/schemawizard.h:70: note: candidates are: static SchemaUpgradeWizard* SchemaUpgradeWizard::Get(const QString&, const QString&)dbcheck.cpp:678: error: 'class SchemaUpgradeWizard' has no member named 'backupStatus'dbcheck.cpp:678: error: 'kDB_Backup_Unknown' was not declared in this scopedbcheck.cpp:679: error: 'class SchemaUpgradeWizard' has no member named 'backupStatus'dbcheck.cpp:679: error: 'kDB_Backup_Failed' was not declared in this scopemake[2]: *** [dbcheck.o] Error 1make[2]: Leaving directory `/home/alex/src/trunk/mythplugins/mythvideo/mythvideo'make[1]: *** [sub-mythvideo-make_default] Error 2make[1]: Leaving directory `/home/alex/src/trunk/mythplugins/mythvideo'make: *** [sub-mythvideo-make_default] Error 2


emerge --info
Code:
Portage 2.2_rc41 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.1.6
Timestamp of tree: Fri, 25 Sep 2009 05:30:14 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r2, 2.6.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -funroll-all-loops -mfpmath=sse -mno-ieee-fp -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CPPFLAGS="-march=core2 -O3 -funroll-all-loops -mfpmath=sse -mno-ieee-fp -fomit-frame-pointer -pipe"
CXXFLAGS="-march=core2 -O3 -funroll-all-loops -mfpmath=sse -mno-ieee-fp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache disstlocks distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=core2 -O3 -funroll-all-loops -mfpmath=sse -mno-ieee-fp -fomit-frame-pointer -pipe"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo/ ftp://gentoo.virginmedia.com/sites/gentoo/ http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alac alsa amd64 berkdb bzip2 cdr cli cracklib crypt dri dvd dvdr dvdread encode flac fortran gdbm gif gpm iconv isdnlog jpeg lame latin1 mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl ssse3 symlink sysfs tcpd tiff truetype unicode vdpau vorbis wavpack xml xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="hd44780" LINGUAS="en en_GB" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any ideas? Thanks in advance.
_________________
A few months struggling with gentoo is better than a lifetime struggling with windoze!


Last edited by woZa on Wed Oct 14, 2009 3:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
woZa
Guru
Guru


Joined: 18 Nov 2003
Posts: 340
Location: The Steel City - UK

PostPosted: Wed Oct 14, 2009 3:16 pm    Post subject: Reply with quote

Need to install the myth libraries first, then build and compile plugins...
_________________
A few months struggling with gentoo is better than a lifetime struggling with windoze!
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1845

PostPosted: Thu Oct 15, 2009 6:02 pm    Post subject: Reply with quote

I have a question sort of unrelated to your issue...

Are you installing trunk from ebuilds? I can see that 0.22 now has an RC1 so the official 0.22 won't be far off.

I've always used my own customized ebuilds of 0.21-fixes in order to install patches. One serious wrench that got thrown into that some time ago was the switch where mythtv ebuilds no longer pull from mythtv svn but rather use tarballs. Since my custom ebuilds were using svn revs different from those in portage, I ended up having to dredge up old versions of eclass/mythtv-plugins.eclass and eclass/mythtv.eclass and out them in my overlay.

I was curious as to what you were doing in the way of ebuilds. I've always wondered what prompted that change. I think people were complaining about failed svn checkouts or something, but in years of using mythtv under gentoo I've never had that happen.

Tom
Back to top
View user's profile Send private message
woZa
Guru
Guru


Joined: 18 Nov 2003
Posts: 340
Location: The Steel City - UK

PostPosted: Thu Oct 15, 2009 6:14 pm    Post subject: Reply with quote

I'm building from source, not using ebuilds. Add "media-tv/mythtv-0.22_alpha20959" to "/etc/portage/profile/package.provided" and all the deps will be upgraded by portage. Just keep updating the svn and rebuilding. Make sure you do a distclean before each upgrade to avoid problems.
_________________
A few months struggling with gentoo is better than a lifetime struggling with windoze!
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1845

PostPosted: Thu Oct 15, 2009 7:16 pm    Post subject: Reply with quote

Thanks! Maybe I'll try that approach instead.

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum