I have emerged the latest version of mythtv by unmasking it with package.unmask in /etc/portage and adding it to package.keywords. Mythtv (0.19_pre8642) emerges without problems. When I run emerge --deep --update --newuse --pretend world, it says I need to downgrade to 0.18.1-r2. If I type emerge --pretend mythtv, it wants to rebuild the 0.19 package normally. If I then run emerge --deep --update --newuse world, it downgrades to 0.18.1-r2 and then after that's done, if I run emerge --deep --update --newuse world again, it upgrades to 0.19. Is this a problem with portage or the mythtv ebuild?
Post the output of 'emerge -uDptv world' both when portage wants to downgrade and upgrade mythtv...
When emerge world wants to downgrade: [nomerge ] media-plugins/mythvideo-0.18.1 -debug +mmx [ebuild UD] media-tv/mythtv-0.18.1-r2 [0.19_pre8642] +alsa (-altivec) +arts -debug +dvb -frontendonly +ieee1394 -jack -joystick -lcd +lirc +mmx -nvidia +op engl +oss -unichrome +vorbis 0 kB When emerge world wants to upgrade: [nomerge ] x11-themes/mythtv-themes-0.18 [ebuild U ] media-tv/mythtv-0.19_pre8642 [0.18.1-r2] +alsa (-altivec) +arts -dbox2 -debug +dvb +dvd -frontendonly +ieee1394 -jack -joystick -lcd +lirc +mmx -nvidia +oggvorbis +opengl +oss -unichrome 0 kB
So unmask mythvideo-0.19_pre8642 as well...
Unmasking mythvideo 0.19 does solve the problem but then shouldn't the mythtv 0.19 ebuild state a hard masked dependency for mythvideo 0.19? Currently it does not do that.
# grep -C2 mythvideo /usr/portage/profiles/package.mask =www-apps/mythweb-0.19_pre8642 =media-plugins/mythdvd-0.19_pre8642 =media-plugins/mythvideo-0.19_pre8642 Don't use package.masked ebuilds if you don't know what you are doing.