Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to to use devtool with 2018.3 release #3

Open
dtrussel opened this issue Apr 15, 2019 · 0 comments
Open

Unable to to use devtool with 2018.3 release #3

dtrussel opened this issue Apr 15, 2019 · 0 comments

Comments

@dtrussel
Copy link

Seems like I can no longer use devtool to write kernel patches when including openamp in my distro via DISTRO_FEATURES.

When running

MACHINE=avg-mcb devtool modify virtual/kernel

I get the following error

...
ERROR: Could not generate configuration queue for avg-mcb.
ERROR: Function failed: do_kernel_metadata (log file is located at /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244)
ERROR: Logfile of failure stored in: /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/david/avg-linux/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_kernel_metadata
| ERROR. input file "cfg/openamp.scc" does not exist
| ERROR: could not process input files: 
...
cfg/openamp.scc
...
|        See /tmp/tmp.WvhHjbpeC2 for details
| ERROR: Could not generate configuration queue for avg-mcb.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_kernel_metadata (log file is located at /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244)
NOTE: Tasks Summary: Attempted 300 tasks of which 294 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
ERROR: Extracting source for linux-xlnx failed

At the moment I don't have time to further dig into this issue but my guess is that it is related to the .scc file no longer being mentioned in the SRC_URI of the new linux-%.bbappend.
On the yocto homepage they mention "You can add kernel features in the recipe-space by using the KERNEL_FEATURES variable and by specifying the feature's .scc file path in the SRC_URI statement."

57e7baa#diff-a4cc1f2c51187c3bdbe2201d31469ecb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant