-
-
Save netskink/3d090630ccb44d9e58bbc5754538c3f2 to your computer and use it in GitHub Desktop.
ssh with private key and parenthesis in name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRCREV = "${AUTOREV}" | |
PV = "1.0.0+git${SRCPV}" | |
# email on multiple src uri | |
# https://lists.yoctoproject.org/pipermail/yocto/2015-July/025589.html | |
# SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ | |
# file://xwc.patch \ | |
# file://rxvt.desktop \ | |
# file://rxvt.png" | |
#SRC_URI = "git://gitlab.com/netskink/cmake-tutor.git;protocol=https;branch=bitbake" | |
# this works in bash. no login required using .netrc | |
# $ git clone http://devsupport:8080/tfs/Linux%20PCM%20Project%20\(Reboot%20Edition\)/_git/PCMX | |
SRC_URI = "http://http://devsupport:8080/tfs/Linux%20PCM%20Project%20(Reboot%20Edition)/_git/PCMX" | |
----------------- | |
failure | |
WARNING: pcmx-1.0.0+git${SRCPV}-r0 do_fetch: Failed to fetch URL http://http://devsupport:8080/tfs/Linux%20PCM%20Project%20(Reboot%20Edition)/_git/PCMX, attempting MIRRORS if available | |
ERROR: pcmx-1.0.0+git${SRCPV}-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output: | |
wget: unable to resolve host address 'http' | |
wget: unable to resolve host address 'http' | |
ERROR: pcmx-1.0.0+git${SRCPV}-r0 do_fetch: Function failed: Fetcher failure for URL: 'http://http://devsupport:8080/tfs/Linux%20PCM%20Project%20(Reboot%20Edition)/_git/PCMX'. Unable to fetch URL from any source. | |
ERROR: Logfile of failure stored in: /home/davis/setup-scripts/build/tmp-glibc/work/corei7-64-oe-linux/pcmx/1.0.0+git${SRCPV}-r0/temp/log.do_fetch.20254 | |
ERROR: Task 729 (/home/davis/setup-scripts/sources/meta-developer/recipes-nt-apps/pcmx/pcmx_%.bb, do_fetch) failed with exit code '1' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this works in bash | |
----------------------------- | |
$ git clone ssh://devsupport:22/tfs/Linux%20PCM%20Project%20\(Reboot%20Edition\)/_git/PCMX | |
This does not work in recipe | |
-------------------------------- | |
SRC_URI = "git://devsupport/tfs/Linux%20PCM%20Project%20\(Reboot%20Edition\)/_git/PCMX;protocol=ssh" | |
This is the output | |
--------------------- | |
ERROR: ExpansionError during parsing /home/davis/setup-scripts/sources/meta-developer/recipes-nt-apps/pcmx/pcmx_%.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output: | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
Summary: There was 1 ERROR message shown, returning a non-zero exit code. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment