Tommy Murphy:
> > The root cause is that .gitmodules entry for jimtcl was changed but
> > not the submodule itself and that the required checkout was not
> > available at the old repository.
> 
> Sorry, but I'm still confused.
...

  I can recreate the problem by doing:
git co 7d6156fae8a398a3bd17af5a30b32a8bf6ec206a
rm -rf jimtcl/
git clone https://repo.or.cz/jimtcl.git
./bootstrap
git co master
./bootstrap
 ...failure here...

  If do:
$ git co 7d6156fae8a398a3bd17af5a30b32a8bf6ec206a
$ rm -rf jimtcl/
$ ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
Makefile.am:46: warning: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am:28: error: required directory ./jimtcl does not exist
Makefile.am:29: error: required directory ./jimtcl does not exist
  then automake fails

  At this point I can do:
$ mkdir jimtcl
$ ./bootstrap
  or
$ git submodule init
$ git submodule update
Submodule path 'jimtcl': checked out 'a9bf5975fd0f89974d689a2d9ebd0873c8d64787'
Submodule path 'src/jtag/drivers/libjaylink': checked out 
'f73ad5e667ae8b26a52b847c603fdadaabf302a6'

$ cd jimtcl
$ git remote -v
origin  https://github.com/msteveb/jimtcl.git (fetch)
origin  https://github.com/msteveb/jimtcl.git (push)
$ cd ..
$ grep jimtcl.git .gitmodules 
        url = https://repo.or.cz/jimtcl.git
$

  Soo, the error only seems to appear if I have the old repo in dir 
  jimtcl, if the dir is empty, there seems to be some redirection.

Regards,
/Karl Hammar



Reply via email to