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

Rebuild bottles broken by boost 1.87.0 #2916

Open
7 of 8 tasks
scpeters opened this issue Dec 17, 2024 · 3 comments
Open
7 of 8 tasks

Rebuild bottles broken by boost 1.87.0 #2916

scpeters opened this issue Dec 17, 2024 · 3 comments
Labels
broken-bottle A binary bottle needs to be rebuilt

Comments

@scpeters
Copy link
Member

scpeters commented Dec 17, 2024

Please supply your brew configuration:

Brew configuration

+ brew config
HOMEBREW_VERSION: 4.4.12
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3001afe88112c13b5aafdd92e097680897060881
Last commit: 32 hours ago
Branch: stable
Core tap HEAD: 27daa063da9d84512dd4134f6982cd113b49b7c0
Core tap last commit: 5 minutes ago
Core tap JSON: 12 Dec 11:13 UTC
Core cask tap HEAD: 3fa90d3483a87f42b36d2277702a34c238bd43ac
Core cask tap last commit: 34 minutes ago
Core cask tap JSON: 12 Dec 11:13 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_GIT_EMAIL: [email protected]
HOMEBREW_GIT_NAME: OSRF Build Bot
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_NO_INSTALL_FROM_API: set
HOMEBREW_SORBET_RUNTIME: set
HOMEBREW_UPDATE_TO_TAG: set
Homebrew Ruby: 3.3.6 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 15.0.0 build 1500
Git: 2.47.1 => /usr/local/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A

Brew linkage test result

Build Status https://build.osrfoundation.org/view/gz-citadel/job/gz_physics2-install_bottle-homebrew-amd64/366/

+ brew linkage --test gz-physics2
Broken dependencies:
  /usr/local/opt/boost/lib/libboost_atomic-mt.dylib (boost)
  /usr/local/opt/boost/lib/libboost_filesystem-mt.dylib (boost)
  /usr/local/opt/boost/lib/libboost_regex-mt.dylib (boost)
  /usr/local/opt/boost/lib/libboost_system-mt.dylib (boost)
  /usr/local/opt/[email protected]/lib/libdart-collision-ode.6.10.dylib ([email protected])
  /usr/local/opt/[email protected]/lib/libdart-external-odelcpsolver.6.10.dylib ([email protected])
  /usr/local/opt/[email protected]/lib/libdart-utils-urdf.6.10.dylib ([email protected])
  /usr/local/opt/[email protected]/lib/libdart-utils.6.10.dylib ([email protected])
  /usr/local/opt/[email protected]/lib/libdart.6.10.dylib ([email protected])

Checklist

@scpeters scpeters added the broken-bottle A binary bottle needs to be rebuilt label Dec 17, 2024
@scpeters
Copy link
Member Author

gazebo11 is failing to build with the new boost:

Last 15 lines from /Users/jenkins/Library/Logs/Homebrew/gazebo11/02.make:
In file included from /tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/plugins/rest_web/RestUiWidget.hh:27:
In file included from /tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/gazebo/gazebo.hh:20:
In file included from /tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/gazebo/gazebo_core.hh:21:
In file included from /tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/build/gazebo/transport/transport.hh:5:
/tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/gazebo/transport/IOManager.hh:45:28: error: no type named 'io_service' in namespace 'boost::asio'
      public: boost::asio::io_service &GetIO();
              ~~~~~~~~~~~~~^
2 errors generated.
make[2]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/RestUiLoginDialog.cc.o] Error 1
2 errors generated.
make[2]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/RestUiPlugin.cc.o] Error 1
2 errors generated.
make[2]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/RestUiWidget.cc.o] Error 1
make[1]: *** [plugins/rest_web/CMakeFiles/RestUiPlugin.dir/all] Error 2
make: *** [all] Error 2

@scpeters
Copy link
Member Author

[email protected] (used by gz-physics2) is also failing to build, but from local testing, it appears to be an NLOPT issue:

console log from that job isn't useful, here's a log from my local machine:

cd /tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/build/dart/collision/bullet && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_TEST_DYN_LINK -Ddart_collision_bullet_EXPORTS -I/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24 -I/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/build -isystem /usr/local/include/eigen3 -isystem /usr/local/include/bullet -fPIC -stdlib=libc++ -O3 -DNDEBUG -std=gnu++14 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=10.8 -fPIC -MD -MT dart/collision/bullet/CMakeFiles/dart-collision-bullet.dir/detail/BulletOverlapFilterCallback.cpp.o -MF CMakeFiles/dart-collision-bullet.dir/detail/BulletOverlapFilterCallback.cpp.o.d -o CMakeFiles/dart-collision-bullet.dir/detail/BulletOverlapFilterCallback.cpp.o -c /tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/collision/bullet/detail/BulletOverlapFilterCallback.cpp
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:276:5: error: no member named 'LD_LBFGS_NOCEDAL' in 'nlopt::algorithm'; did you mean simply 'LD_LBFGS_NOCEDAL'?
  276 |     NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT(LD_LBFGS_NOCEDAL)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:254:12: note: expanded from macro 'NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT'
  254 |     return nlopt::algorithm::alg_name;
      |            ^~~~~~~~~~~~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.hpp:75:5: note: 'LD_LBFGS_NOCEDAL' declared here
   75 |     LD_LBFGS_NOCEDAL,
      |     ^
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:276:41: error: cannot initialize return object of type 'nlopt::algorithm' with an rvalue of type 'dart::optimizer::NloptSolver::Algorithm'
  276 |     NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT(LD_LBFGS_NOCEDAL)
      |                                         ^~~~~~~~~~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:254:30: note: expanded from macro 'NLOPTSOLVER_ALGORITHM_DART_TO_NLOPT'
  254 |     return nlopt::algorithm::alg_name;
      |                              ^~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:331:5: error: no member named 'LD_LBFGS_NOCEDAL' in 'nlopt::algorithm'; did you mean simply 'LD_LBFGS_NOCEDAL'?
  331 |     NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART(LD_LBFGS_NOCEDAL)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:258:8: note: expanded from macro 'NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART'
  258 |   case nlopt::algorithm::alg_name:                                             \
      |        ^~~~~~~~~~~~~~~~~~
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.hpp:75:5: note: 'LD_LBFGS_NOCEDAL' declared here
   75 |     LD_LBFGS_NOCEDAL,
      |     ^
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:332:5: error: duplicate case value: 'LD_LBFGS_NOCEDAL' and 'LD_LBFGS' both equal '10'
  332 |     NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART(LD_LBFGS)
      |     ^
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:258:8: note: expanded from macro 'NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART'
  258 |   case nlopt::algorithm::alg_name:                                             \
      |        ^
/tmp/dartsimA6.10.0-20241217-4527-4u8p9w/dart-d2b6ee08a60d0dbf71b0f008cd8fed1f611f6e24/dart/optimizer/nlopt/NloptSolver.cpp:331:41: note: previous case defined here
  331 |     NLOPTSOLVER_ALGORITHM_NLOPT_TO_DART(LD_LBFGS_NOCEDAL)
      |                                         ^
4 errors generated.
make[2]: *** [dart/optimizer/nlopt/CMakeFiles/dart-optimizer-nlopt.dir/NloptSolver.cpp.o] Error 1
make[1]: *** [dart/optimizer/nlopt/CMakeFiles/dart-optimizer-nlopt.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

@scpeters
Copy link
Member Author

gazebo11 is failing to build with the new boost:

/tmp/gazebo11-20241217-86675-upeq8d/gazebo-11.15.0/gazebo/transport/IOManager.hh:45:28: error: no type named 'io_service' in namespace 'boost::asio'
      public: boost::asio::io_service &GetIO();
              ~~~~~~~~~~~~~^

apparently io_service has been deprecated in favor of io_context and was just recently removed: boostorg/asio#110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken-bottle A binary bottle needs to be rebuilt
Projects
None yet
Development

No branches or pull requests

1 participant