I am upgrading from dunfell to scarthgap-5.0.5 (LTS). Scarthgap has deprecated
support for *image-mklibs.bbclass.*
I have removed it from *USER_CLASSES ?= "buildstats image-prelink"* variable in
*local.conf.sample* file.
The error thrown is from *BBHandler.py* from *def inherit* function as below.
ERROR: Unable to parse
/home/build/project/bitbake/lib/bb/parse/parse_py/BBHandler.py
Traceback (most recent call last):
File "/home/build/project/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 71,
in inherit(files=['image-mklibs'], fn='configuration INHERITs', lineno=0,
d=<bb.data_smart.DataSmart object at 0x7fd4f63fd190>, deferred=False):
if not os.path.exists(file):
> raise ParseError("Could not inherit file %s" % (file), fn, lineno)
*bb.parse.ParseError: ParseError in configuration INHERITs: Could not inherit
file classes/image-mklibs.bbclass
location below has no image-mklibs.bbclass* which is present in dunfell and
also the count of files is 45 whereas in dunfell it was 201. The count may be
different as i have removed meta-gplv2 from the manifest file and bblayer.conf .
*
* build@ubuntu-bionic:~/project/meta/classes$ ls
archiver.bbclass distrooverrides.bbclass own-mirrors.bbclass
sign_rpm.bbclass
buildhistory.bbclass externalsrc.bbclass prexport.bbclass
siteconfig.bbclass
buildstats-summary.bbclass extrausers.bbclass primport.bbclass
terminal.bbclass
ccache.bbclass go-vendor.bbclass recipe_sanity.bbclass
toaster.bbclass
ccmake.bbclass icecc.bbclass
relative_symlinks.bbclass typecheck.bbclass
chrpath.bbclass image-buildinfo.bbclass relocatable.bbclass
useradd_base.bbclass
copyleft_compliance.bbclass mcextend.bbclass remove-libtool.bbclass
useradd.bbclass
copyleft_filter.bbclass metadata_scm.bbclass report-error.bbclass
useradd-staticids.bbclass
create-spdx-2.2.bbclass migrate_localcount.bbclass
rm_work_and_downloads.bbclass yocto-check-layer.bbclass
create-spdx.bbclass multilib.bbclass rm_work.bbclass
cve-check.bbclass multilib_global.bbclass sign_ipk.bbclass
devtool-source.bbclass oelint.bbclass
sign_package_feed.bbclass *
*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64592): https://lists.yoctoproject.org/g/yocto/message/64592
Mute This Topic: https://lists.yoctoproject.org/mt/110728702/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-