* [PATCH 1/2] packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packages
@ 2017-08-15 19:08 leonardo.sandoval.gonzalez
2017-08-15 19:08 ` [PATCH 2/2] build-appliance-image: include proxy on pip3 installation leonardo.sandoval.gonzalez
0 siblings, 1 reply; 4+ messages in thread
From: leonardo.sandoval.gonzalez @ 2017-08-15 19:08 UTC (permalink / raw)
To: openembedded-core
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
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
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
---
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index 0abd5bc90e..ff42866e32 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -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 \
--
2.12.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] build-appliance-image: include proxy on pip3 installation
2017-08-15 19:08 [PATCH 1/2] packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packages leonardo.sandoval.gonzalez
@ 2017-08-15 19:08 ` leonardo.sandoval.gonzalez
2017-08-19 21:14 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: leonardo.sandoval.gonzalez @ 2017-08-15 19:08 UTC (permalink / raw)
To: openembedded-core
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
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 finished
Complete log at [1]
[1] http://errors.yoctoproject.org/Errors/Build/43393/
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
---
meta/recipes-core/images/build-appliance-image_15.0.0.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
index 927a9310ac..e0566f4300 100644
--- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
@@ -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
}
--
2.12.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] build-appliance-image: include proxy on pip3 installation
2017-08-15 19:08 ` [PATCH 2/2] build-appliance-image: include proxy on pip3 installation leonardo.sandoval.gonzalez
@ 2017-08-19 21:14 ` Richard Purdie
2017-08-19 22:01 ` Sandoval Gonzalez, Leonardo
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2017-08-19 21:14 UTC (permalink / raw)
To: leonardo.sandoval.gonzalez, openembedded-core
On Tue, 2017-08-15 at 12:08 -0700,
leonardo.sandoval.gonzalez@linux.intel.com wrote:
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>
> 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 finished
>
> Complete log at [1]
>
> [1] http://errors.yoctoproject.org/Errors/Build/43393/
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.in
> 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:
https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/1176/steps/BuildImages_1/logs/stdio
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] build-appliance-image: include proxy on pip3 installation
2017-08-19 21:14 ` Richard Purdie
@ 2017-08-19 22:01 ` Sandoval Gonzalez, Leonardo
0 siblings, 0 replies; 4+ messages in thread
From: Sandoval Gonzalez, Leonardo @ 2017-08-19 22:01 UTC (permalink / raw)
To: Richard Purdie, openembedded-core
El 8/19/2017 a las 4:14 PM, Richard Purdie escribió:
> On Tue, 2017-08-15 at 12:08 -0700,
> leonardo.sandoval.gonzalez@linux.intel.com wrote:
>> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>>
>> 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 finished
>>
>> Complete log at [1]
>>
>> [1] http://errors.yoctoproject.org/Errors/Build/43393/
>>
>> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.in
>> 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:
>
> https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/1176/steps/BuildImages_1/logs/stdio
rigth. Missing quotes on the if -n expression. V2 pending.
Leo
>
> Cheers,
>
> Richard
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-19 22:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-15 19:08 [PATCH 1/2] packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packages leonardo.sandoval.gonzalez
2017-08-15 19:08 ` [PATCH 2/2] build-appliance-image: include proxy on pip3 installation leonardo.sandoval.gonzalez
2017-08-19 21:14 ` Richard Purdie
2017-08-19 22:01 ` Sandoval Gonzalez, Leonardo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.