-
Notifications
You must be signed in to change notification settings - Fork 736
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
spdlog_1.3.1 allow empty for header only libs #197
Conversation
By default, BitBake does not produce empty packages. opkg_prepare_url_for_install: Couldn't find anything to satisfy 'spdlog'
Please rebase it on top of master branch first. Then backport into warrior |
Installing completely empty package doesn't really fix anything on target. Just fix whatever is depending on this empty package. |
@shr-project, so, what's the best approach? |
Just fix whatever is depending on this empty package. |
@shr-project, I'm a kind of perplex about your answer. "Just fix whatever is depending on this empty package." You need this package in dev level to package it in an SDK populate. So, in that way, we need to package it, right? I think we can allow_empty only for the dev-level. So are you okay with it? Or can you give me a hint? |
your commit message doesn't show what failed to install with "opkg_prepare_url_for_install: Couldn't find anything to satisfy 'spdlog'" if it was spdlog-dev package, then just set |
I'm in the development stage. I added a new library to update my SDK via my image package list. So, I don't understand why you want I fix other recipes that I didn't depend on it. I want to populate my SDK with a header only in dev-level as well as a standard lib install lib-header into the populated SDK. As I have said maybe the ALLOW_EMPTY_${PN}-dev = "1" was a good way. Maybe I missed something for the best way to install a lib header only in the populated SDK.
|
ALLOW_EMPTY_${PN}-dev = "1" Does placeholder-dev-image have spdlog in IMAGE_INSTALL? Then you should fix placeholder-dev-image to IMAGE_INSTALL spdlog-dev not spdlog. |
My bad, you are right about the non-empty package-split of dev-level of the lib fact. We don't be able to populate the SDK with only adding '-dev'. For the spdlog-dev, I'm wondering if it's really an excellent way to do it.
Both ways make sense. Thank you for your arguments, B. r |
It's not the solution to my problem. I will dig into it and come back later. |
I had issues with adding spdlog to my SDK as-well. Due to the note in the commit message of the initial commit when
This solved my issue. Maybe it does help somebody else as-well. |
@graugans, it's a spotless way to do it.
I'm wondering why packages are not installed into the SDK (ex. spdlog) if they are available only with the suffix "-dev" (ex. spdlog-dev). But, whatever the fact, it seems a philosophical matter.
My guts tell me that the minimal way is the good one. But, the principal issue is the fact of both shares in the same place and can consume some extra cost of time to figure out what's the way used by this one. Thank you for sharing this hint, B. r |
Changelog: ========== Refreshed packaging. openembedded#197: Fixed default argument rendering in docs. openembedded#209: Refactored write_lines to re-use open semantics. Deprecated the linesep parameter. Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Changelog: ========== Refreshed packaging. #197: Fixed default argument rendering in docs. #209: Refactored write_lines to re-use open semantics. Deprecated the linesep parameter. Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
The project has stopped using setuptools in favor of poetry, so inherit python_poetry_core instead. Changelog (https://github.com/ludeeus/awesomeversion/releases/tag/23.5.0): - Add CI for Python 3.11 by @ludeeus in openembedded#191 - Add demo page by @ludeeus in openembedded#195 - Add better styles to demo by @ludeeus in openembedded#197 - Remove setuptools from dev-dependencies by @ludeeus in openembedded#202 - Update demo with compare by @ludeeus in openembedded#219 - Add Python 3.12 to CI by @ludeeus in openembedded#222 - Add in_range helper method by @ludeeus in openembedded#224 - Restructure README contents by @ludeeus in openembedded#225 Signed-off-by: Trevor Gamblin <[email protected]> Signed-off-by: Khem Raj <[email protected]>
By default, BitBake does not produce empty packages.