问题log
ERROR: lighttpd-1.4.59-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget --retry-connrefused -t 5 -T 30 -nv --passive-ftp --no-check-certificate -P /home/sdx62/apps_proc/downloads 'https://portland.source.codeaurora.org/mirrored_source/quic/le/lighttpd-1.4.59.tar.xz' (for url https://portland.source.codeaurora.org/mirrored_source/quic/le/lighttpd-1.4.59.tar.xz)
ERROR: Logfile of failure stored in: /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/lighttpd/1.4.59-r0/temp/log.do_fetch.18709
NOTE: recipe lighttpd-1.4.59-r0: task do_fetch: Failed
NOTE: recipe loc-socket-git-r1: task do_unpack: Started
ERROR: Task (/home/sdx62/apps_proc/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb:do_fetch) failed with exit code '1'
NOTE: recipe powerapp-git-r9: task do_fetch: Started
NOTE: Running task 1176 of 7294 (/home/sdx62/apps_proc/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_fetch)
NOTE: recipe powerapp-git-r9: task do_fetch: Succeeded
NOTE: recipe chrony-2.4-r0: task do_unpack: Succeeded
NOTE: recipe loc-socket-git-r1: task do_unpack: Succeeded
NOTE: recipe bsdiff-native-git-r4: task do_fetch: Started
NOTE: recipe opkg-1_0.4.2-r0: task do_unpack: Succeeded
NOTE: recipe debianutils-native-4.9.1-r0: task do_fetch: Started
NOTE: recipe bsdiff-native-git-r4: task do_fetch: Succeeded
NOTE: recipe libdivsufsort-native-git-r1: task do_fetch: Started
NOTE: recipe debianutils-native-4.9.1-r0: task do_fetch: Succeeded
NOTE: recipe libsparse-native-git-r0: task do_fetch: Started
NOTE: recipe libdivsufsort-native-git-r1: task do_fetch: Succeeded
NOTE: recipe libsparse-native-git-r0: task do_fetch: Succeeded
NOTE: recipe mtd-utils-native-2.0.0-r0: task do_fetch: Started
NOTE: recipe ext4-utils-native-git-r1: task do_fetch: Started
NOTE: recipe mtd-utils-native-2.0.0-r0: task do_fetch: Succeeded
NOTE: recipe ext4-utils-native-git-r1: task do_fetch: Succeeded
NOTE: recipe systemd-machine-units-1.0-r19: task do_unpack: Started
NOTE: recipe systemd-machine-units-ext4-1.0-r0: task do_unpack: Started
NOTE: recipe applypatch-native-1.0-r1: task do_fetch: Started
NOTE: recipe applypatch-native-1.0-r1: task do_fetch: Succeeded
NOTE: recipe systemd-machine-units-ubi-1.0-r0: task do_unpack: Started
NOTE: recipe cross-localedef-native-2.31+gitAUTOINC+4f0a61f753_cd9f958c4c-r0: task do_fetch: Started
NOTE: recipe oem-recovery-git-r1: task do_unpack: Started
NOTE: recipe systemd-machine-units-ext4-1.0-r0: task do_unpack: Succeeded
NOTE: recipe ianatzdata-native-2019a-r0: task do_rm_work: Succeeded
NOTE: recipe fsconfig-native-git-r5: task do_fetch: Started
NOTE: recipe fsconfig-native-git-r5: task do_fetch: Succeeded
NOTE: recipe systemd-machine-units-ubi-1.0-r0: task do_unpack: Succeeded
NOTE: recipe oem-recovery-git-r1: task do_unpack: Succeeded
NOTE: recipe cross-localedef-native-2.31+gitAUTOINC+4f0a61f753_cd9f958c4c-r0: task do_fetch: Succeeded
NOTE: recipe systemd-machine-units-1.0-r19: task do_unpack: Succeeded
NOTE: recipe m4-native-1.4.18-r0: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 1176 tasks of which 1126 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 8 seconds
Summary: 1 task failed:
/home/sdx62/apps_proc/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb:do_fetch
Summary: There were 177 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
20220311_08:49:20 [TURBOX BUILD ERROR]: build_hlos Error****
解决方案
查看apps_proc/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb文件找到以下内容,到指定连接下载lighttpd-1.4.59.tar.xz,然后放到apps_proc/downloads/目录下即可
SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.xz \
file://lighttpd \
file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \
下载路径如下:
Index of /lighttpd/releases-1.4.x/http://download.lighttpd.net/lighttpd/releases-1.4.x/