我创建了一个名为的配方clamav-vd
,它试图从http://database.clamav.net
位置获取/下载 clamav 的病毒数据库。早些时候它工作得很好,但现在由于某种原因它不是。我可以从网络浏览器(chrome 或 firefox)下载数据库(.cvd),但通过配方没有发生同样的情况。
这就是clamav-vd.bb
包含,
SUMMARY = "Recipe for copying the virus databases into /usr/share/clamav"
SRC_URI = "http://database.clamav.net/main.cvd;name=main \
http://database.clamav.net/daily.cvd;name=daily \
http://database.clamav.net/bytecode.cvd;name=bytecode \
"
BB_STRICT_CHECKSUM = "0"
LICENSE = "CLOSED"
do_install() {
install -d ${D}/${localstatedir}/lib/clamav
install -m 644 ${WORKDIR}/daily.cvd ${D}/${localstatedir}/lib/clamav
install -m 644 ${WORKDIR}/main.cvd ${D}/${localstatedir}/lib/clamav
install -m 644 ${WORKDIR}/bytecode.cvd ${D}/${localstatedir}/lib/clamav
}
FILES_${PN} += "${localstatedir}/lib/clamav/daily.cvd"
FILES_${PN} += "${localstatedir}/lib/clamav/main.cvd"
FILES_${PN} += "${localstatedir}/lib/clamav/bytecode.cvd"
这是来自的错误bitbake
,
WARNING: clamav-vd-0.1-r0 do_fetch: Failed to fetch URL http://database.clamav.net/main.cvd;name=main, attempting MIRRORS if available
ERROR: clamav-vd-0.1-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="5434"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/panther2/panther/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/panther2/panther/sources/poky/scripts:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot-native/usr/sbin:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot-native/usr/bin:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot-native/sbin:/home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/recipe-sysroot-native/bin:/home/panther2/panther/sources/poky/bitbake/bin:/home/panther2/panther/build/tmp/hosttools"; export HOME="/home/panther2"; /usr/bin/env wget --header "X-JFrog-Art-Api:AKCp8hyEoKBdGAAnbEXfB11VhR7epp4zpXYUvYA4DVKqrUzDXHviMUEzGqa7NjZ1s4xdhksgt" -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/panther2/panther/build/downloads 'http://database.clamav.net/main.cvd' --progress=dot -v failed with exit code 8, output:
--2021-05-24 05:50:57-- http://database.clamav.net/main.cvd
Resolving database.clamav.net (database.clamav.net)... 104.16.219.84, 104.16.218.84, 2606:4700::6810:db54, ...
Connecting to database.clamav.net (database.clamav.net)|104.16.219.84|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-05-24 05:50:58 ERROR 403: Forbidden.
ERROR: clamav-vd-0.1-r0 do_fetch: Fetcher failure for URL: 'http://database.clamav.net/main.cvd;name=main'. Unable to fetch URL from any source.
ERROR: clamav-vd-0.1-r0 do_fetch:
ERROR: clamav-vd-0.1-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/panther2/panther/build/tmp/work/corei7-64-poky-linux/clamav-vd/0.1-r0/temp/log.do_fetch.8477
ERROR: Task (/home/panther2/panther/sources/meta-ncr/recipes-support/clamav-vd/clamav-vd_0.1.bb:do_fetch) failed with exit code '1'
有铅吗?