Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build! #yocto #python
Sorry Khem,
With esc character '\' before & it can't take the full path. So briefly:
Yocto build with char '\' before & in SRC_URI:
online - OK
offline - Error - svn: E170013: Unable to connect to a repository...
Yocto build without '\' in SRC_URI:
online and offline same error - do_unpack: Unpack failure for URL - "package".tar.gz is present in DL_DIR
Thanks
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Georgi Georgiev via Lists.Yoctoproject.Org
Sent: Wednesday, February 05, 2020 5:26 PM
To: Khem Raj <[email protected]>; [email protected]
Cc: [email protected]
Subject: Re: [EXTERNAL] Re: [yocto] Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build! #yocto #python
Hi Khem,
Yes, no issues with that. When I am connected to network it fetches the code with and without escape character before & in the path.
svn co " https://urldefense.proofpoint.com/v2/url?u=http-3A__cocosubversion_svn_Embedded_Valve-26Actuator_DVPII_trunk_SOCPACManEnvEngKeys&d=DwIGaQ&c=y6L7g950KfMp92YmLM0QlMdXcRn6b-Cq4AApnSJOenE&r=kHtJrQGzfH1ZmfsNkJpYuH-jtNpv8yMDkqAmsRP99mc&m=vXia-xlcxuLr2fSmBogZpMIaOntXLKWv3mkxcRgtUc4&s=UYH9lueDIeMGZndMxgbZgb76A5EfqN-MR58DBv1iriI&e= " works fine and fetches the package.
Georgi
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Friday, January 31, 2020 8:33 PM
To: Georgi Georgiev <[email protected]>; [email protected]
Subject: [EXTERNAL] Re: [yocto] Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build! #yocto #python
Quoted 7 lines · georgi.georgiev via Lists.Yoctoproject.Org
Hello Community,
This is the third time I am asking for support on this issue. This time I decided to use the web form.
In our project we have a requirement to be able to build the project offline. E.g. on the field without any network connection. When we are connected with the recipe mentioned below we don't have issues:
svn: E170013: Unable to connect to a repository at URL 'https://urldefense.proofpoint.com/v2/url?u=http-3A__cocosubversion_svn_Embedded_Valve-26Actuator_DVPII_trunk_SOCPACManEnvEngKeys_trunk&d=DwIGaQ&c=y6L7g950KfMp92YmLM0QlMdXcRn6b-Cq4AApnSJOenE&r=kHtJrQGzfH1ZmfsNkJpYuH-jtNpv8yMDkqAmsRP99mc&m=ocx6BoVSrDQGWUvUUVvgKtuJbT7eH7jFSjCy1Ys73Vw&s=OTunnmsi_tCUt3JytmU2Hs7i7Xnqhl8-2CMsqmzIl90&e= '
svn: E670003: Temporary failure in name resolution
can you try checking out the repo out side of fetcher and see if the machine can fetch the url you are using in SRC_URI ?
Quoted 88 lines
*SUMMARY = "PACMan - Parameter And Configuration MANager"* *LICENSE = "CLOSED"* *inherit systemd useradd*
*REQUIRED_DISTRO_FEATURES= "systemd"* *# SVN revision* *PV = "121026"* *# Name of SVN project* *PACMAN_PROJ_NAME="SOCPACManEnvEngKeys"**SRC_URI= "svn://cocosubversion/svn/Embedded/Valve%5C&Actuator/DVPII/trunk/$%7BP ACMAN_PROJ_NAME%7D;module=trunk;protocol=http;externals=allowed;rev=$% 7BPV%7D%22**SRC_URI+= "file://ww-authpacman.service%22**SRC_URI+= "file://ww-pacman.service%22* *S = "${WORKDIR}/trunk/"* *# ${PN}-sys:
content related to system, which goes to base rootfs (only .service file and symlinks)* *# ${PN}: real content which may go to separate partition* *PACKAGES =+ " ${PN}-sys"* ......... When disconnect the network, erase sstate-cache, cache and tmp I see log file attached (log.do_fetch.32757) and the following output:*ERROR: ww-pacman-121026-r0
do_fetch: Fetcher failure: Fetch command
export PSEUDO_DISABLED=1; unset_PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export
SSH_AGENT_PID="11412"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/w23698/projects/proj_dvp2/build_dvp2/tmp/sysroots-uninativ e/x86_64-linux/usr/bin:/home/w23698/projects/proj_dvp2/sources/poky/sc ripts:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-n eon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/usr/b in/arm-poky-linux-gnueabi:/home/w23698/projects/proj_dvp2/build_dvp2/t mp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe- sysroot/usr/bin/crossscripts:/home/w23698/projects/proj_dvp2/build_dvp 2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/reci pe-sysroot-native/usr/sbin:/home/w23698/projects/proj_dvp2/build_dvp2/ tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe -sysroot-native/usr/bin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp /work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sy sroot-native/sbin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/ cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot- native/bin:/home/w23698/projects/proj_dvp2/sources/poky/bitbake/bin:/h ome/w23698/projects/proj_dvp2/build_dvp2/tmp/hosttools";
export HOME="/home/w23698";/usr/bin/envsvn --non-interactive
--trust-server-cert update --no-auth-cache -r 121026 failed with exit
code 1, output:* *Updating '.':*
*svn: E170013: Unable to connect to a repository at URL 'https://urldefense.proofpoint.com/v2/url?u=http-3A__cocosubversion_sv n_Embedded_Valve-26Actuator_DVPII_trunk_SOCPACManEnvEngKeys_trunk-27-2 A&d=DwIGaQ&c=y6L7g950KfMp92YmLM0QlMdXcRn6b-Cq4AApnSJOenE&r=kHtJrQGzfH1 ZmfsNkJpYuH-jtNpv8yMDkqAmsRP99mc&m=ocx6BoVSrDQGWUvUUVvgKtuJbT7eH7jFSjC y1Ys73Vw&s=Ffv1JU1QYBh4g49fmoLnsDSFgMMBc_5MbOpy59QUS18&e=
*svn: E670003: Temporary failure in name resolution*
*ERROR: ww-pacman-121026-r0do_fetch: Fetcher failure for URL:
'svn://cocosubversion/svn/Embedded/Valve%5C&Actuator/DVPII/trunk/SOCPACManEnvEngKeys;module=trunk;protocol=http;externals=allowed;rev=121026'. Unable to fetch URL from any source.*
*ERROR: Logfile of failure stored in:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/temp/log.do_fetch.32757*
*ERROR: Task
(/home/w23698/projects/proj_dvp2/build_dvp2/../sources/meta-ww-dvp2/re
cipes-ww/ww-pacman/ww-pacman.bb:do_fetch)
failed with exit code '1'*When remove the '\' character in
SRC_URI, e.g. to become:
*SRC_URI= "svn://cocosubversion/svn/Embedded/Valve&Actuator/DVPII/trunk/$%7BPACM AN_PROJ_NAME%7D;module=trunk;protocol=http;externals=allowed;rev=$%7BP V%7D%22*In connected and not connected to network
do_fetch()passes successfully but I see one and same error (log.do_unpack.25226) output:*ERROR: ww-pacman-121026-r0
do_unpack: Unpack failure for URL:
'svn://cocosubversion/svn/Embedded/Valve&Actuator/DVPII/trunk/SOCPACManEnvEngKeys;module=trunk;protocol=http;externals=allowed;rev=121026'.
Unpack command PATH="/home/w23698/projects/proj_dvp2/build_dvp2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/w23698/projects/proj_dvp2/sources/poky/scripts:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot/usr/bin/crossscripts:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/usr/sbin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/usr/bin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/sbin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ww-pacman/121026-r0/recipe-sysroot-native/bin:/home/w23698/projects/proj_dvp2/sources/poky/bitbake/bin:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/hosttools" tar xz --no-same-owner -f/home/w23698/projects/proj_dvp2/build_dvp2/downloads/trunk_cocosubvers
ion_.svn.Embedded.Valve&Actuator.DVPII.trunk.SOCPACManEnvEngKeys_12102
6_.tar.gz
failed with return value 127*
*ERROR: Logfile of failure stored in:/home/w23698/projects/proj_dvp2/build_dvp2/tmp/work/cortexa9hf-neon-po
ky-linux-gnueabi/ww-pacman/121026-r0/temp/log.do_unpack.25226*
*ERROR: Task
(/home/w23698/projects/proj_dvp2/build_dvp2/../sources/meta-ww-dvp2/re
cipes-ww/ww-pacman/ww-pacman.bb:do_unpack)
failed with exit code '1'
*
I don't it this matters but, the build machine is baremetal Ubuntu
18.04.3 LTS. In all cases the packed tar.gz remain in downloads
directory with one name!
Quoted 6 lines
Cordially,
Georgi
***
The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information.
***
***
The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information.
***