Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366839 - app-emulation/libvirt-9999: does not git clone the source
Summary: app-emulation/libvirt-9999: does not git clone the source
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 08:15 UTC by Michal Privoznik
Modified: 2011-06-03 18:19 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 Michal Privoznik 2011-05-11 08:15:24 UTC
We are missing GIT_ECLASS inheritance which results in not cloning libvirt repo and thus error in src_prepare()

Reproducible: Always

Steps to Reproduce:
1. make sure distfiles does not contain cloned libvirt git
2. unmask libvirt-9999
3. emerge -av =app-emulation/libvirt-9999
4. observe an error
Actual Results:  
sed: can't read /var/tmp/portage/app-emulation/libvirt-9999/work/libvirt-9999/tests/commanddata/*.log: No such file or directory

Expected Results:  
I'd expect emerge to clone repo and continue

Fix is really trivial:

--- /usr/portage/app-emulation/libvirt/libvirt-9999.ebuild      2011-03-28 10:01:03.000000000 +0200
+++ /usr/local/portage/app-emulation/libvirt/libvirt-9999.ebuild        2011-05-11 10:02:06.909998845 +0200
@@ -16,7 +16,7 @@ PYTHON_DEPEND="python? 2:2.4"
 #RESTRICT_PYTHON_ABIS="3.*"
 #SUPPORT_PYTHON_ABIS="1"

-inherit eutils python ${AUTOTOOLIZE+autotools}
+inherit eutils python ${AUTOTOOLIZE+autotools} ${GIT_ECLASS}

 if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2011-06-03 18:19:31 UTC
Fixed. Thanks for catching that.