Some recent updates have broken my mythtv (missing libraries) so I'm of course trying to recompile it. Whenever I try however, the following happens:
sgc ~ # emerge -va mythtv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-tv/mythtv-0.21_p18314-r1 USE="aac alsa dvd ieee1394 mmx opengl perl python xvmc (-altivec) -autostart -debug -directv -dvb -fftw -jack -lcd -lirc" VIDEO_CARDS="nvidia" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-tv/mythtv-0.21_p18314-r1 * mythtv-0.21_p18314.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * This ebuild now uses a heavily stripped down version of your CFLAGS * * For NVIDIA based cards, the XvMC renderer only works on * the NVIDIA 4, 5, 6 & 7 series cards. >>> Unpacking source... >>> Unpacking mythtv-0.21_p18314.tar.bz2 to /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924: cd: /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv: No such file or directory sed: can't read /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv/version.pro: No such file or directory * * ERROR: media-tv/mythtv-0.21_p18314-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3925: Called die * The specific snippet of code: * sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" -i "${S}"/version.pro || die "svnversion sed failed"; * The die message: * svnversion sed failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'. * >>> Failed to emerge media-tv/mythtv-0.21_p18314-r1, Log file: >>> '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log' sgc ~ # The error seems to be in the line: /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924: cd: /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv: No such file or directory There's a folder missing somewhere, and when I look, sure enough: sgc ~ # ls /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/ mythtv-0.21_p18314 sgc ~ # It seems the work folder has a 'mythtv-0.21_p18314' folder, which has the branches folder inside that. This has been broken for over a week now (normally I just wait, resync and these things go away if they're an ebuild problem) but I'm starting to think it's a problem on my end. Anyone have any suggestions on how to track down where the error is coming from. It the environment file, but I'm not sure if that's a distributed file, or generated by portage (I suspect the later). So where does that file get its contents from? Thanks Shawn