I am working on building yocto for banana pro board and using Jethro 2.0 version.I modified meta-sunxi bsp according to banana pro.But when I add meta-oe layer to project,I get following error
ParseError at ~/yocto/poky/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.10.bb:12: Could not inherit file classes/bash-completion.bbclass
What is my mistake?Why am I getting this error?
You're using meta-oe from git master, but oe-core Jethro. Checkout the jethro branch of meta-oe.
Related
Here is a link to my package.
So after updating my Swift Package and its version tag,
I am getting the following errors when I try to update the package in my project that consumes the package.
Missing package product 'MyPackage1'
ā¯•Package resolution errors must be fixed before building
https://github.com/ElevatedUnderdogs/PackageTest2.git
has no Package.swift manifest for version 1.0.1
1.0.0 is the original. 1.0.1 is my updated version.
Does this mean I need to create a new Package.swift for every single version? I don't even see a place in the Package.swift where I can signify the current version.
Things I've tried:
reseting the package cache in the consuming project.
"updating to latest package versions"
Deleting the Swift Package, and then trying to add it again. Before adding it completes, I get: "MyProject.git has no Package.swift manifest for version 1.0.1.
Package.swift is in the root directory.
In my case, the tag was updated on an incorrect remote branch which wasn't merged to yet, so the tag's corresponding commit didn't have the Package.swift file. It is a good practice to check the commit hash of the version you are trying to access to verify that it has the correct code.
I am using yocto krogoth, I have added meta-java in using toaster then its giving below error.
ParseError at /home/siva/yocto/toaster/poky/_toaster_clones/_git___git.yoctoproject.org_meta-java_krogoth/recipes-core/jikes/jikes_1.22.bb:12: Could not inherit file classes/relative_symlinks.bbclass
Down load the file from the link relative_synlinks.bbclass and copy in your meta-java/classes dir
Your layer branches must match: if you use krogoth-branch from poky, you should use krogoth-branch from meta-java as well. You error implies that your meta-java is actually newer.
I am following the hands-on kernel lab of embedded linux conference 2013 . In Lab1 i followed the same steps except i work with yocto version of poky-pyro-17.0.1 not poky-danny-8.0.1 when i bitbake core-image-minimal, it gives me errors of
ERROR: /home/yahia/Desktop/elinux_dev/bake_factory/poky-pyro-17.0.1/meta-lab1-qemux86/recipes-kernel/linux/linux_3.0.18.bb: QA Issue: Recipe /home/yahia/Desktop/elinux_dev/bake_factory/poky-pyro-17.0.1/meta-lab1-qemux86/recipes-kernel/linux/linux_3.0.18.bb has PN of "linux" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides]
i don't understand what is the $PN and why this error exist?
if i use poky-danny-8.0.1 , it gives me this error
PN in this case refers to the recipe name which in your example comes from the recipe file name (linux_3.0.18.bb).
There are newer versions of the kernel lab: https://www.yoctoproject.org/training/kernel-lab. The latest version uses recipe name "linux-korg", no doubt to avoid the issue you're seeing.
Recently I started with yocto-project to build images for raspberry-pi.
I cloned poky and meta-raspberrypi under a directory named as yocto_project on my ubuntu host. Initiated the build using source oe-init-build-env rpi-build.
The first image I created the rpi-basic-image which was a successful attempt.
Upon booting RPi with the image I got a CLI based interface, but the problem is few commands are missing. Came to know by-default all the packages didn't get combine with image, we need to add it manually for example systemd.
If I run bitbake-layers show-recipes I get long list of all the recipes available for RPi. So I added the text IMAGE_INSTALL_append = " systemd" after reading some documents online to append systemd. After this when I bitbake rpi-basic-image got error as ERROR: Nothing RPOVIDES 'systemd' (but /path_to/rpi-basic-image.bb RDEPENDS on or otherwise requires it)
ERROR: systemd was skipped: 'systemd' not in DISTRO_FEATURES
ERROR: Required build target 'rpi-basic-image' has no buildable providers
Don't have clue, why I get this error. How to resolve it. Also do I have to manually add those packages/recipes using build/local.conf to get all the commands.
Need a good explanation/guidance .
From Selecting an Initialization Manager - Yocto Development Manual:
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
You can set those variables in your local.conf.
First of all: I never worked with Smalltalk before, so it's a bit of a culture shock for me. I am using Squeak 5.1 (32bit).
Now to my question: I want to install a Smalltalk project from a GitHub Repository. I successfully installed Metacello using this code, executing it in Transcript:
"Get the Metacello configuration (for Squeak users)"
Installer gemsource
project: 'metacello';
addPackage: 'ConfigurationOfMetacello';
install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
version: #'previewBootstrap') load.
"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
configuration: 'MetacelloPreview';
version: #stable;
repository: 'github://dalehenrich/metacello-work:configuration';
load.
"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
get.
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
load.
And I also installed the Metacello Scripting API using this code:
Installer gemsource
project: 'metacello';
install: 'ConfigurationOfMetacello'.
If I now want to install a project from a GitHub Repository, for example this:
Metacello new
baseline: 'Animations';
repository: 'github://hpi-swa/animations/repository';
load.
Then I allways get this error:
gofer repository error: 'GoferRepositoryError: UndefinedObject>>thisOSProcess'...ignoring
Am I missing something?
You're absolutely right, that doesn't work. OSProcess is has not yet been marked as compatible with Squeak 5.1 and even if it were, it's not being pulled in by Metacello. I'll report this to the developers.
In the mean time you can load OSProcess with
(Installer ss project: 'OSProcess') install: 'OSProcess-dtl.98'