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

🧑‍🌾 Rendering Main failing after gz-cmake forward port #963

Closed
Crola1702 opened this issue Jan 23, 2024 · 1 comment
Closed

🧑‍🌾 Rendering Main failing after gz-cmake forward port #963

Crola1702 opened this issue Jan 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Crola1702
Copy link
Contributor

Environment

  • OS Version: Ubuntu jammy
  • Source Build

Description

  • Expected behavior: Build should pass
  • Actual behavior: Build is failing

After gazebosim/gz-cmake#399, gz-rendering7 was broken. @mjcarroll solved this issue for rendering7 branch.

The change that broke rendering7 was forward ported in gazebosim/gz-cmake#401, so it makes sense that the issue is happening on main branch.

Steps to reproduce

  1. Run a build in https://build.osrfoundation.org/job/gz_rendering-ci-main-jammy-amd64/
  2. See it fail.

Output

Reference build: https://build.osrfoundation.org/job/gz_rendering-ci-main-jammy-amd64/24/

Log output:

[ 93%] �[32m�[1mLinking CXX shared library ../../lib/libgz-rendering9-ogre2.so�[0m
/usr/bin/ld: ../../lib/libterra.a(OgreHlmsTerra.cpp.o): warning: relocation against `_ZN4Ogre11PbsProperty14LegacyMathBrdfE' in read-only section `.text'
/usr/bin/ld: ../../lib/libterra.a(OgreHlmsTerra.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN4Ogre9HlmsTerraE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [ogre2/src/CMakeFiles/gz-rendering9-ogre2.dir/build.make:987: lib/libgz-rendering9-ogre2.so.9.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:3493: ogre2/src/CMakeFiles/gz-rendering9-ogre2.dir/all] Error 2
@Crola1702 Crola1702 added the bug Something isn't working label Jan 23, 2024
@Crola1702 Crola1702 moved this to Reported 📚 in Buildfarm Issues Jan 23, 2024
@mjcarroll mjcarroll mentioned this issue Jan 23, 2024
@mjcarroll mjcarroll self-assigned this Jan 29, 2024
@mjcarroll
Copy link
Contributor

Resolved by #964

@github-project-automation github-project-automation bot moved this from Reported 📚 to Fixed ✅ in Buildfarm Issues Jan 29, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants