Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Dec 25 01:36:25 PST 2017

On Sun, 24 Dec 2017, Dirk Hohndel wrote:
> > On Dec 24, 2017, at 12:54 PM, Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com> wrote:
> > 
> > On Sun, 24 Dec 2017, Dirk Hohndel wrote:
> >> 
> >> cd ~/src/subsurface
> >> git submodule update
> > 
> >> cd subsurface
> > [master=]> git submodule update
> > fatal: destination path 
> > '.../subsurface/libdivecomputer' already exists and 
> > is not an empty directory.
> And there is your problem - I'm guessing that you have a version of 
> libdivecomputer checked out in subsurface/libdivecomputer

I guess subsurface/libdivecomputer came with:

commit 10237a19b7b65802a0ceb2f8e2192703ad2fcf97
Author: Dirk Hohndel <dirk at hohndel.org>
Date:   Sun Dec 3 11:39:58 2017 -0800

    libdc: add our libdivecomputer branch as git submodule

But that was previously cloned under ~/src, if I remember correctly.  
And what I missed was doing:

	[master=]> git submodule update

at some point after pulling from 

> move that directory elsewhere (or remove completely) and try again.

Yes, I ended up removing both ~/src/libdivecomputer and 

	> cd ~/src/subsurface
	[master=]> git pull
	[master=]> git submodule update

and now it builds.

I imagine this must have happen for many other people who keep their 
cloned trees around for a long time.  If my interpretation is correct, 
would it be a good idea to mention something about it in the INSTALL 



More information about the subsurface mailing list