Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672364 - media-tv/mythtv - QA Notice: command not found: version.sh: line 25: git: command not found
Summary: media-tv/mythtv - QA Notice: command not found: version.sh: line 25: git: com...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-02 00:59 UTC by Daniel Frey
Modified: 2019-09-21 21:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Frey 2018-12-02 00:59:14 UTC
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
Comment 1 Brian G. 2019-08-22 07:15:52 UTC
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.
Comment 2 Daniel Frey 2019-08-22 19:04:03 UTC
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?
Comment 3 Wilson M. Michaels 2019-09-21 21:27:17 UTC
Fixed in mythtv-29.1-r1.ebuild