Fetching error while build process in WSL2
comeeasy opened this issue · 2 comments
comeeasy commented
I got a fetching issue during building webos image for external native service.
To do so, I build the web-os 2.26 version image which is in master branch from scratch in WSL2
environment. Here is distribution information.
WSL2
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
To build, I executed instructions following this guide.
$ git clone https://github.com/webosose/build-webos
$ cd build-webos
$ git checkout -t origin/<BRANCH_OF_THE_LATEST_WEBOS_OSE_VERSION>
$ sudo scripts/prerequisites.sh
$ ./mcf -p <NUM_OF_CPUS> -b <NUM_OF_CPUS> raspberrypi4-64
$ source oe-init-build-env
$ bitbake -c populate_sdk webos-image- Here is error message in
BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/temp/log.do_fetch.2893
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are []
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: []
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_fetch
DEBUG: Executing python function base_do_fetch
DEBUG: Trying PREMIRRORS
DEBUG: Trying Upstream
DEBUG: Fetching http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz using command '/usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/joono/build-webos/downloads 'http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz''
DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/joono/build-webos/downloads 'http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz'
DEBUG: Running export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/joono/build-webos/BUILD/sysroots-uninative/x86_64-linux/usr/bin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin/python3-native:/home/joono/build-webos/meta-webosose/meta-webos/scripts:/home/joono/build-webos/oe-core/scripts:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/sbin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/sbin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/bin:/home/joono/build-webos/bitbake/bin:/home/joono/build-webos/BUILD/hosttools"; export HOME="/home/joono"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/joono/build-webos/downloads 'http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz' --progress=dot -v
--2024-08-19 02:57:14-- http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz
Resolving freedesktop.org (freedesktop.org)... 131.252.210.176
Connecting to freedesktop.org (freedesktop.org)|131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz [following]
--2024-08-19 02:57:14-- https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz
Connecting to freedesktop.org (freedesktop.org)|131.252.210.176|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘freedesktop.org’.
To connect to freedesktop.org insecurely, use `--no-check-certificate'.
WARNING: Failed to fetch URL http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz, attempting MIRRORS if available
DEBUG: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/joono/build-webos/BUILD/sysroots-uninative/x86_64-linux/usr/bin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin/python3-native:/home/joono/build-webos/meta-webosose/meta-webos/scripts:/home/joono/build-webos/oe-core/scripts:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/sbin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/usr/bin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/sbin:/home/joono/build-webos/BUILD/work/raspberrypi4_64-webos-linux/webrtc-audio-processing/1.0-r0/recipe-sysroot-native/bin:/home/joono/build-webos/bitbake/bin:/home/joono/build-webos/BUILD/hosttools"; export HOME="/home/joono"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/joono/build-webos/downloads 'http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-1.0.tar.gz' --progress=dot -v failed with exit code 5, no output
DEBUG: Trying MIRRORS
Heeam-Shin commented
This issue was resolved in the internal build, but not released yet.
It will be resolved in the next release. :)
dpmin7 commented
This will be released next time but before that you can try as below
meta-webosose/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing_1.0.bb
from SRC_URI = "http://freedesktop.org/software/pulseaudio/${BPN}/${BP}.tar.gz \
to SRC_URI = "https://www.freedesktop.org/software/pulseaudio/${BPN}/${BP}.tar.gz \