Closed t0ny-peng closed 2 years ago
Upon checking the error message, it seems that something dependencies are out dates.
RPM build errors:
Deprecated external dependency generator is used!
I was able to finish the build with commands coming from this post:
https://stackoverflow.com/questions/69726046/bitbake-build-fails-because-of-a-python-function
Description
I'm following the official instruction to build Yocto for RPi 4, however the build failed in
perl_5.30.1.bb:do_package_write_rpm
Steps to reproduce the issue:
poky
,meta-raspberrypi
andmeta-openembedded
to~/yocto/sources
, then checkout todunfell
tagcd /yocto/sources && source poky/oe-init-build-env rpi-build
bblayers.conf
:MACHINE ?= "raspberrypi4-64"
inconf/local.conf
Describe the results you received:
The compilation failed around 95% with the following message.
Describe the results you expected:
The build should succeed.
Additional information you deem important (e.g. issue happens only occasionally):
Here's the log file containing the error message of
perl
log.do_package_write_rpm.2293133.log
Additional details (revisions used, host distro, etc.):
Host: Ubuntu 20.04