I did some cleanup to my world file and git was removed as part of this process. However, I updated today and mythtv had to be rebuilt. At the end of the merge process I got this message: * QA Notice: command not found: * * version.sh: line 25: git: command not found * version.sh: line 25: git: command not found Reporting this in case the dependencies need to be fixed in the mythtv ebuild. emerge -pv mythtv: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] media-tv/mythtv-29.1:0/29.1::gentoo USE="alsa dvb dvd hls perl python theora vorbis wrapper xml xvid (-altivec) -autostart -bluray -cec -crystalhd -debug -egl -fftw -ieee1394 -jack -lcd -libass -lirc -mythlogserver -pulseaudio -systemd -vaapi -vdpau -xmltv -zeroconf" INPUT_DEVICES="-joystick" PYTHON_TARGETS="python2_7" 0 KiB
Have you tried "emerge -pvD mythtv" ? As far as I know, emerge only checks direct dependencies by default, but -D (or --deep) tells emerge to verify the full dependency tree so dependencies of dependencies (and so on) are also verified. You are right in that if mythtv actually requires git to build, it should list it as a dependency. But I believe in this case, it is only used to get a copy of sources, instead of downloading via wget or curl for example. So, based on that, it is not really a dependency of mythtv, but rather a dependency of emerge to do its task of downloading sources before build/install.
It makes no difference: $ emerge -pvD mythtv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] media-tv/mythtv-29.1-r1:0/29.1::gentoo USE="alsa dvd hls perl pulseaudio python theora vaapi vorbis wrapper xml xvid (-altivec) -autostart -bluray -cec -crystalhd -debug -dvb -egl -fftw -ieee1394 -jack -lcd -libass -lirc -mythlogserver -systemd -vdpau -xmltv -zeroconf" INPUT_DEVICES="-joystick" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB It looks like a script somewhere in the build process is trying to run git. I don't know what it's using it for (haven't actually tried to figure that out) but instead of running it, shouldn't it try detecting it through a configure script?
Fixed in mythtv-29.1-r1.ebuild