-
Notifications
You must be signed in to change notification settings - Fork 721
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
abseil-cpp issue with _append in library name #833
Comments
@chadrockey we do not parse the cmakefiles using bitbake, so I am not sure if override syntax change is an issue here unless |
@kraj I tested against the latest abseil-cpp. Here is the patch file I used to bypass this issue, so I can confirm what is reported on the toradex link that a match for '_append' is triggering the error: abseil-cpp_20240116.2.bbappend
0001-Change-library-name-to-not-include-_append.patch
I've not come across anything similar to this before, so is it possible this is adding the library name to a variable as you suspect?
|
I see, its because its splitting the contents into sepratate packages and packages are dynamically named after the library it contains, so if a library has a string |
@kraj my vendor's bsp is kirkstone, so that's why I believe the error pops up as it enforces the syntax. The way that I produced this error was that I needed to back port the latest version of abseil-cpp so I copied the abseil-cpp recipe and files into a layer. Is there any additional testing you'd like me to do that's possible? I don't think my build will succeed if I checkout the entire oe master branch. |
I came across this issue today where a library name that contains _append will trigger the old syntax warning for _append to :append.
ERROR: abseil-cpp-20240116.2-r0 do_package: Variable Requires: absl_config = 20240116, absl_core_headers = 20240116, absl_log_internal_append_truncated = 20240116, absl_log_internal_config = 20240116, absl_log_internal_globals = 20240116, absl_log_severity = 20240116, absl_strings = 20240116, absl_str_format = 20240116, absl_time = 20240116, absl_span contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
I found I'm not the only one who has seen this issue:
https://community.toradex.com/t/how-to-add-new-abseil-cpp-to-image-please-convert-this-layer-metadata/21212/5
I'm looking for guidance on if this is something that should be patched, reported upstream to bitable, or maybe there's an insane skip that should be applied?
The text was updated successfully, but these errors were encountered: