# Empty volk directory when I git gnuradio

**URL:** <https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367>\
**Category:** GNU Radio\
**Created:** [April 1, 2015, 4:19pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367 "2015-04-01T16:19:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [April 1, 2015, 4:19pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/1 "2015-04-01T16:19:28Z")

</div>

Looks like some kind of link or something is broken when you try to GIT  
gnuradio. The build fails as volk will not build, and the volk sub-  
directory is empty. I did successfully GIT volk directly and clone it  
to it’s sub-directory in gnuradio, and the build then went fine.

Just throwing that out there so someone can try to fix it or get it  
fixed.

BT/AR  
Chris “Gump” Graves

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 1, 2015, 4:22pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/2 "2015-04-01T16:22:12Z")

</div>

git clone --recursive

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 1, 2015, 5:25pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/3 "2015-04-01T17:25:46Z")

</div>

On 04/01/2015 10:20 AM, Sylvain M. wrote:

> git clone --recursive
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)  
> When did the change actually occur? I knew it was coming, but was  
> waiting to update build-gnuradio to take this into account.

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 1, 2015, 5:28pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/4 "2015-04-01T17:28:27Z")

</div>

This happened on Sunday. The --recursive flag could have been added at  
any  
point in anticipation of it.

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 1, 2015, 5:33pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/5 "2015-04-01T17:33:48Z")

</div>

On 04/01/2015 11:26 AM, Johnathan C. wrote:

> This happened on Sunday. The --recursive flag could have been added  
> at any point in anticipation of it.

Well, spank me. I’d had it in my fuzzy little brain that I’d have to  
wait. Ah well, just testing an update to build-gnuradio now.

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 4, 2015, 6:43pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/6 "2015-04-04T18:43:28Z")

</div>

Actually now I see it would probably be:

git pull --recurse-submodules=on  
git submodule update

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p53155.html](http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p53155.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 5, 2015, 5:53pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/7 "2015-04-05T17:53:35Z")

</div>

When I clone from the gnuradio repository:

_git clone_ --recursive [http://git](http://git)._gnuradio_.org/git/_gnuradio_.git

The clone succeeds. It is on the master branch. I can checkout next,  
and  
switch back and forth  
between next and master. However when I attempt to checkout maint, git  
says  
the checkout is aborted  
because the untracked working tree (everything in volk) would be  
overwritten by the maint checkout.

$ git checkout maint  
error: The following untracked working tree files would be overwritten  
by  
checkout:  
volk/CMakeLists.txt  
volk/apps/CMakeLists.txt  
… many line of volk/ contents …

Aborting

Any advice on how to get to the maint version?

– Tom, N5EG

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 5, 2015, 7:08pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/8 "2015-04-05T19:08:42Z")

</div>

On Sun, Apr 5, 2015 at 11:51 AM, Tom McDermott [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> – Tom, N5EG

You’ll need to deinitialize the volk submodule first to make it a clean  
checkout:

git submodule deinit volk  
git checkout maint

Probably best not to worry too much about this. For feature branches,  
you’ll do this and then rebase off master to prevent this happening  
again.  
For maint, if you need it, best to keep a separate directory just for  
that  
branch.

This is temporary. The planned release of 3.7.7 is next Monday. When  
that  
happens, master becomes maint, so the current maint issue will go away.

Tom

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 4, 2015, 6:40pm UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/9 "2015-04-04T18:40:46Z")

</div>

Can you you add the --recursive in the README?

I assume a standard “git pull” will be sufficient in the future or do we  
also need to do a “git submodule update”?

Thanks,  
Lou

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p53154.html](http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p53154.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@Chris\_SSSGumpSSSS\_G](https://www.ruby-forum.com/u/Chris_SSSGumpSSSS_G)\
**Post date:** [April 6, 2015, 5:58am UTC](https://www.ruby-forum.com/t/empty-volk-directory-when-i-git-gnuradio/241367/10 "2015-04-06T05:58:23Z")

</div>

Thanks, Tom.

It works.

After checking out maint, I can checkout master then,  
git submodule init volk  
and now all 3 branches (next, master, maint) checkout correctly.

My issue was being unfamiliar with git submodules.

I’ll wait for 3.7.7 before further testing - so many new cool features  
to  
play with!

– Tom, N5EG
