Skip to content

Auto submodule update: cmake - Fix importing of latest protobuf version (#181) #1474

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

swiftnav-svc-jenkins
Copy link
Collaborator

Automated PR by Jenkins. If CI has passed successfully, merge away!

cmake 30226aa8 -> 8920f2a3

This pull request was created by https://jenkins.ci.swift-nav.com/job/CI%20Infra/job/submodule-update/19843/.

# Changes

In order to use the latest protobuf `v5.29.0` version, we need to tweek
some compile options to remove the installation commands from a few
targets, otherwise you will get the following errors:

```
-- Performing Test HAVE_CXX_FLAG_WNO_VARIADIC_MACROS
-- Performing Test HAVE_CXX_FLAG_WNO_VARIADIC_MACROS - Success
-- Configuring done (139.2s)
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_absl_check" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_absl_log" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_algorithm" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_base" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_bind_front" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_bits" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_btree" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_cleanup" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_cord" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_core_headers" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_debugging" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_die_if_null" that is not in any export set.
CMake Error: install(EXPORT "protobuf-targets" ...) includes target "libprotobuf-lite" which requires target "absl_dynamic_annotations" that is not in any export set.
...
```

Triggered-By:	cmake	8920f2a37e0cce06f64ac15c6fc4b94c4396b297
Upstream-PR:	http://github.com/swift-nav/cmake/pull/181
Copy link

@RReichert RReichert enabled auto-merge (squash) April 28, 2025 10:18
@RReichert RReichert merged commit 6fce604 into master Apr 28, 2025
20 of 24 checks passed
@RReichert RReichert deleted the auto-submodule-pointer-update/id-8920f2a37e branch April 28, 2025 20:41
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

Successfully merging this pull request may close these issues.

3 participants