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

Fedora: cannot build jsonnet #153

Open
DemiMarie opened this issue Mar 18, 2022 · 0 comments
Open

Fedora: cannot build jsonnet #153

DemiMarie opened this issue Mar 18, 2022 · 0 comments

Comments

@DemiMarie
Copy link
Contributor

CMake Error at build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:152 (add_library):
  add_library cannot create target "gtest" because another target with the
  same name already exists.  The existing target is a static library created
  in source directory
  "/home/user/sandboxed-api/build/_deps/googletest-src/googletest".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:209 (cxx_library_with_type)
  build/_deps/jsonnet-build/googletest-src/googletest/CMakeLists.txt:131 (cxx_library)


CMake Error at build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:152 (add_library):
  add_library cannot create target "gtest_main" because another target with
  the same name already exists.  The existing target is a static library
  created in source directory
  "/home/user/sandboxed-api/build/_deps/googletest-src/googletest".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:209 (cxx_library_with_type)
  build/_deps/jsonnet-build/googletest-src/googletest/CMakeLists.txt:133 (cxx_library)


CMake Error at build/_deps/jsonnet-build/googletest-src/googletest/CMakeLists.txt:146 (target_link_libraries):
  Attempt to add link library "gtest" to target "gtest_main" which is not
  built in this directory.

  This is allowed only when policy CMP0079 is set to NEW.


CMake Error at build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:152 (add_library):
  add_library cannot create target "gmock" because another target with the
  same name already exists.  The existing target is a static library created
  in source directory
  "/home/user/sandboxed-api/build/_deps/googletest-src/googlemock".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:209 (cxx_library_with_type)
  build/_deps/jsonnet-build/googletest-src/googlemock/CMakeLists.txt:101 (cxx_library)


CMake Error at build/_deps/jsonnet-build/googletest-src/googlemock/CMakeLists.txt:102 (target_link_libraries):
  Attempt to add link library "gtest" to target "gmock" which is not built in
  this directory.

  This is allowed only when policy CMP0079 is set to NEW.


CMake Error at build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:152 (add_library):
  add_library cannot create target "gmock_main" because another target with
  the same name already exists.  The existing target is a static library
  created in source directory
  "/home/user/sandboxed-api/build/_deps/googletest-src/googlemock".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build/_deps/jsonnet-build/googletest-src/googletest/cmake/internal_utils.cmake:209 (cxx_library_with_type)
  build/_deps/jsonnet-build/googletest-src/googlemock/CMakeLists.txt:104 (cxx_library)


CMake Error at build/_deps/jsonnet-build/googletest-src/googlemock/CMakeLists.txt:105 (target_link_libraries):
  Attempt to add link library "gmock" to target "gmock_main" which is not
  built in this directory.

  This is allowed only when policy CMP0079 is set to NEW.


DemiMarie added a commit to DemiMarie/sandboxed-api that referenced this issue Mar 24, 2022
Lots of contrib packages did not build.

Fixes google#153
Fixes google#152
DemiMarie added a commit to DemiMarie/sandboxed-api that referenced this issue Mar 25, 2022
Lots of contrib packages did not build.

Fixes google#153
Fixes google#152
DemiMarie added a commit to DemiMarie/sandboxed-api that referenced this issue Mar 29, 2022
Lots of contrib packages did not build.

Fixes google#153
Fixes google#152
DemiMarie added a commit to DemiMarie/sandboxed-api that referenced this issue Apr 4, 2022
Lots of contrib packages did not build.

Fixes google#153
Fixes google#152
DemiMarie added a commit to DemiMarie/sandboxed-api that referenced this issue Apr 12, 2022
Lots of contrib packages did not build.

Fixes google#153
Fixes google#152
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 a pull request may close this issue.

1 participant