It appears that the scmdata=keep does not play well with a SRC_URI with ssh
on a nonstandard port.

The following fails:
SRC_URI = "git://
git.ourserver.com:29418/our_app.git;protocol=ssh;scmdata=keep"

I've investigated a bit and found the root cause.  When specifying a
nonstandard port, the fetcher is including the :port as part of the local
file path.  Git clone seems to see the colon and stops parsing, assuming
what it found is an ssh address.
ssh: Could not resolve hostname /home/foerster/dev/oe/sources/git/
git.ourserver.com: Name or service not known
fatal: The remote end hung up unexpectedly


The offending git clone command from the fetcher is:
git clone -n 
/home/foerster/dev/oe/sources/git/git.ourserver.com:29418.our_app.git/
/home/foerster/dev/oe/sources/git/git.ourserver.com:29418
.our_app.git/799d683099e323af48be25579638f6399942fadf/git/


If we convert :port to -pport or something in the local file path then this
works fine.

Has anyone else seen this?  Does anyone have better ideas to fix this?

Thanks,
Bob
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to