So here is what I have done so far:.

# Added meta-java layer in bblayers.conf and then did a bitbake -c cleanall 
glibc followed by bitbake glibc. Everything builds successfully.

# As soon as I try to build bitbake core-image-full-cmdline, I get the 
following errors:

ERROR: linux-yocto-5.2.17+gitAUTOINC+bb2776d6be_25b14cdf96-r0 do_package: Error 
executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:split_kernel_module_packages(d)
0003:
File: '/opt/graylog-poky/meta/classes/kernel-module-split.bbclass', lineno: 
171, function: split_kernel_module_packages
0167:    # avoid warnings. removedirs only raises an OSError if an empty
0168:    # directory cannot be removed.
0169:    dvar = d.getVar('PKGD')
0170:    for dir in ["%s/etc/modprobe.d" % (dvar), "%s/etc/modules-load.d" % 
(dvar), "%s/etc" % (dvar)]:
*** 0171:        if len(os.listdir(dir)) == 0:
0172:            os.rmdir(dir)
0173:}
0174:
0175:do_package[vardeps] += '${@" ".join(map(lambda s: "module_conf_" + s, 
(d.getVar("KERNEL_MODULE_PROBECONF") or "").split()))}'
Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/opt/graylog-poky/build/tmp/work/genericx86_64-poky-linux/linux-yocto/5.2.17+gitAUTOINC+bb2776d6be_25b14cdf96-r0/package/etc/modprobe.d'

ERROR: Logfile of failure stored in: 
/opt/graylog-poky/build/tmp/work/genericx86_64-poky-linux/linux-yocto/5.2.17+gitAUTOINC+bb2776d6be_25b14cdf96-r0/temp/log.do_package.29306
ERROR: Task 
(/opt/graylog-poky/meta/recipes-kernel/linux/linux-yocto_5.2.bb:do_package) 
failed with exit code '1'
ERROR: volatile-binds-1.0-r0 do_package: SYSTEMD_SERVICE_volatile-binds value 
var-volatile-lib.service does not exist
ERROR: Logfile of failure stored in: 
/opt/graylog-poky/build/tmp/work/all-poky-linux/volatile-binds/1.0-r0/temp/log.do_package.29309
ERROR: Task 
(/opt/graylog-poky/meta/recipes-core/volatile-binds/volatile-binds.bb:do_package)
 failed with exit code '1'
ERROR: run-postinsts-1.0-r10 do_package: SYSTEMD_SERVICE_run-postinsts value 
run-postinsts.service does not exist
ERROR: Logfile of failure stored in: 
/opt/graylog-poky/build/tmp/work/all-poky-linux/run-postinsts/1.0-r10/temp/log.do_package.29316
ERROR: Task 
(/opt/graylog-poky/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb:do_package)
 failed with exit code '1'

# If I remove the meta-java layer from bblayers.conf, everything builds 
successfully.

-=Srijan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49778): https://lists.yoctoproject.org/g/yocto/message/49778
Mute This Topic: https://lists.yoctoproject.org/mt/75209521/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to