Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406651 - git-2: links to other repositories are not cloned
Summary: git-2: links to other repositories are not cloned
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 20:17 UTC by Martin Mokrejš
Modified: 2013-01-07 18:03 UTC (History)
1 user (show)

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


Attachments
freebayes-9999.ebuild (freebayes-9999.ebuild,531 bytes, text/plain)
2012-03-02 20:18 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2012-03-02 20:17:13 UTC
I am preparing a live ebuild ofr a FreeBayes package, from https://github.com/ekg/freebayes. It has thre "links" (to bamtools, intervaltree, vcflib). There were not cloned. How should I proceed? Create for them separate packages and alter the build process of freebayes to look for their libs&headers in installed locations instead?


$ ebuild freebayes-9999.ebuild compile
>>> Existing ${T}/environment for 'freebayes-9999' will be sourced. Run
>>> 'clean' to start with a fresh environment.
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
Cloning into bare repository '/mnt/external/usr/portage/distfiles/egit-src/freebayes.git'...
remote: Counting objects: 3253, done.
remote: Compressing objects: 100% (788/788), done.
remote: Total 3253 (delta 2509), reused 3201 (delta 2457)
Receiving objects: 100% (3253/3253), 1.13 MiB | 592 KiB/s, done.
Resolving deltas: 100% (2509/2509), done.
GIT NEW clone -->
   repository:               git://github.com/ekg/freebayes.git
   at the commit:            df23b3fcc1733c71e125a50752f26c3019af6519
   branch:                   master
   storage directory:        "/mnt/external/usr/portage/distfiles/egit-src/freebayes.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/sci-biology/freebayes-9999/work/freebayes-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
[cut]
$ ls -la /var/tmp/portage/sci-biology/freebayes-9999/work/freebayes-9999/intervaltree/
total 8
drwxr-xr-x  2 mmokrejs mmokrejs 4096 Mar  2 21:09 .
drwxr-xr-x 10 mmokrejs mmokrejs 4096 Mar  2 21:09 ..
$
Comment 1 Martin Mokrejš 2012-03-02 20:18:08 UTC
Created attachment 304021 [details]
freebayes-9999.ebuild
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-03-05 18:06:11 UTC
Links? I think you mean submodules. You have to define:

	EGIT_HAS_SUBMODULES=1

in the ebuild. Please let me know if that works for you.