packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packages
PATCH 1/2 packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packages
From: Leonardo Sandoval <[email protected]>
Otherwise, the following bitbake error is observed
root@qemux86-64:~/openembedded-core/build# bitbake -e
NOTE: Starting bitbake server...
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log /home/root/openembedded-core/build/bitbake-cookerdaemon.log:
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 348, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/root/openembedded-core/bitbake/lib/bb/cookerdata.py", line 323, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
NOTE: Starting bitbake server...
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
pod2man scp ssh--- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +3 -0
@@ -140,12 +140,15 @@ RDEPENDS_packagegroup-self-hosted-extended = "\ nfs-utils \ nfs-utils-client \ openssl \ + openssh-scp \ openssh-sftp-server \ + openssh-ssh \ opkg \ opkg-utils \ patch \ perl \ perl-dev \ + perl-misc \ perl-modules \ perl-pod \ python \
Signature · 1 line
2.12.3
PATCH 2/2 build-appliance-image: include proxy on pip3 installation
From: Leonardo Sandoval <[email protected]>
Otherwise, we get timeouts, leading to errors:
pip._vendor.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff741bb3ef0>, 'Connection to pypi.python.org timed out. (connect timeout=5)'))
WARNING: TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/temp/run.do_populate_poky_src.185123:1 exit 1 from 'pip3 install --user -I -U -v -r TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/rootfs/home/builder/poky/bitbake/toaster-requirements.txt'
DEBUG: Python function do_image finishedComplete log at [1]
[1] http://errors.yoctoproject.org/Errors/Build/43393/
--- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-core/images/build-appliance-image_15.0.0.bb +5 -1
@@ -101,7 +101,11 @@ fakeroot do_populate_poky_src () { export STAGING_INCDIR=${STAGING_INCDIR_NATIVE} export HOME=${IMAGE_ROOTFS}/home/builder mkdir -p ${IMAGE_ROOTFS}/home/builder/.cache/pip - pip3 install --user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt + pip3_install_params="--user -I -U -v -r ${IMAGE_ROOTFS}/home/builder/poky/bitbake/toaster-requirements.txt" + if [ -n ${http_proxy} ]; then + pip3_install_params="${pip3_install_params} --proxy ${http_proxy}" + fi + pip3 install ${pip3_install_params} chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.local chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/.cache }
Signature · 1 line
2.12.3
Re: [PATCH 2/2] build-appliance-image: include proxy on pip3 installation
Quoted 19 lines · On Tue, 2017-08-15 at 12:08 -0700, [email protected]…
From: Leonardo Sandoval <[email protected]>
Otherwise, we get timeouts, leading to errors:
pip._vendor.requests.exceptions.ConnectTimeout:
HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection .VerifiedHTTPSConnection object at0x7ff741bb3ef0>, 'Connection to pypi.python.org timed out. (connect timeout=5)'))
WARNING: TOPDIR/tmp/work/qemux86-poky-linux/build-appliance- image/15.0.0-r0/temp/run.do_populate_poky_src.185123:1 exit 1 from 'pip3 install --user -I -U -v -r TOPDIR/tmp/work/qemux86-poky- linux/build-appliance-image/15.0.0-r0/rootfs/home/builder/poky/bitbake/toaster-requirements.txt'
DEBUG: Python functiondo_imagefinishedComplete log at [1]
Quoted 7 lines
[1] http://errors.yoctoproject.org/Errors/Build/43393/
Signed-off-by Leonardo Sandoval <[email protected]tel.com>
---
meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 +++++-1 file changed, 5 insertions(+), 1 deletion(-)
Something isn't correct here:
Cheers,
Richard
Re: [PATCH 2/2] build-appliance-image: include proxy on pip3 installation
Quoted 23 lines · Richard Purdie
Quoted 21 lines · On Tue, 2017-08-15 at 12:08 -0700, [email protected]…
From: Leonardo Sandoval <[email protected]>
Otherwise, we get timeouts, leading to errors:
pip._vendor.requests.exceptions.ConnectTimeout:
HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection .VerifiedHTTPSConnection object at0x7ff741bb3ef0>, 'Connection to pypi.python.org timed out. (connect timeout=5)'))
WARNING: TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-
image/15.0.0-r0/temp/run.do_populate_poky_src.185123:1 exit 1 from 'pip3 install --user -I -U -v -r TOPDIR/tmp/work/qemux86-poky- linux/build-appliance-image/15.0.0-r0/rootfs/home/builder/poky/bitbake/toaster-requirements.txt'
DEBUG: Python functiondo_imagefinishedComplete log at [1]
Quoted 8 lines
Quoted 5 lines
Signed-off-by Leonardo Sandoval <[email protected]tel.com>
--- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)Something isn't correct here:
rigth. Missing quotes on the if -n expression. V2 pending.
Leo
Quoted 5 lines
Cheers,
Richard