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

Fail to install gazebo as installing errors #2289

Closed
kevinuav opened this issue Jun 13, 2023 · 3 comments
Closed

Fail to install gazebo as installing errors #2289

kevinuav opened this issue Jun 13, 2023 · 3 comments
Labels

Comments

@kevinuav
Copy link

Please supply your brew configuration:

$ brew config
HOMEBREW_VERSION: 4.0.22-6-gf71294d
ORIGIN: https://github.com/Homebrew/brew
HEAD: f71294d483e1ce9920fd10d8169b1419c0ba41fb
Last commit: 5 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8e196e546044e33c3246ce89b0603bdbf774374b
Core tap last commit: 6 hours ago
Core tap branch: master
Core tap JSON: 13 Jun 20:42 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.UopL9MA43V/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 12.6.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2

If you are reporting a build failure, please supply the build logs
with the --verbose flag:

% brew install px4-sim-gazebo --verbose
..............
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.cc:28:
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.hh:32:
/usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:13:2: error: "This file was generated by a newer version of protoc which is"
#error "This file was generated by a newer version of protoc which is"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:14:2: error: "incompatible with your Protocol Buffer headers. Please update"
#error "incompatible with your Protocol Buffer headers. Please update"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:15:2: error: "your headers."
#error "your headers."
 ^
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.cc:28:
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.hh:32:
In file included from /usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:34:
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:13:2: error: "This file was generated by a newer version of protoc which is"
#error "This file was generated by a newer version of protoc which is"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:14:2: error: "incompatible with your Protocol Buffer headers. Please update"
#error "incompatible with your Protocol Buffer headers. Please update"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:15:2: error: "your headers."
#error "your headers."
 ^
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.cc:28:
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.hh:32:
In file included from /usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:34:
In file included from /usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:34:
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:13:2: error: "This file was generated by a newer version of protoc which is"
#error "This file was generated by a newer version of protoc which is"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:14:2: error: "incompatible with your Protocol Buffer headers. Please update"
#error "incompatible with your Protocol Buffer headers. Please update"
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:15:2: error: "your headers."
#error "your headers."
 ^
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:195:12: error: no member named 'absl' in the global namespace
  static ::absl::string_view FullMessageName() {
         ~~^
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:160:5: error: use of undeclared identifier 'ABSL_DCHECK'
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    ^
/usr/local/include/ignition/msgs5/ignition/msgs/time.pb.h:196:12: error: cannot initialize return object of type 'int' with an lvalue of type 'const char[19]'
    return "ignition.msgs.Time";
           ^~~~~~~~~~~~~~~~~~~~
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.cc:28:
In file included from /tmp/gazebo11-20230614-11471-yopqbe/gazebo-11.13.0/gazebo/msgs/msgs.hh:32:
In file included from /usr/local/include/ignition/msgs5/ignition/msgs/color.pb.h:34:
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:201:12: error: no member named 'absl' in the global namespace
  static ::absl::string_view FullMessageName() {
         ~~^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:234:29: error: use of undeclared identifier 'absl'
  void set_value(int index, absl::string_view value);
                            ^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:240:18: error: use of undeclared identifier 'absl'
  void add_value(absl::string_view value);
                 ^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:166:5: error: use of undeclared identifier 'ABSL_DCHECK'
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    ^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:202:12: error: cannot initialize return object of type 'int' with an lvalue of type 'const char[25]'
    return "ignition.msgs.Header.Map";
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:398:12: error: no member named 'absl' in the global namespace
  static ::absl::string_view FullMessageName() {
         ~~^
/usr/local/include/ignition/msgs5/ignition/msgs/header.pb.h:363:5: error: use of undeclared identifier 'ABSL_DCHECK'
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [gazebo/msgs/CMakeFiles/gazebo_msgs.dir/msgs.cc.o] Error 1
make[1]: *** [gazebo/msgs/CMakeFiles/gazebo_msgs.dir/all] Error 2
make: *** [all] Error 2

==> Formula
Tap: osrf/simulation
Path: /usr/local/Homebrew/Library/Taps/osrf/homebrew-simulation/Formula/gazebo11.rb
==> Configuration
HOMEBREW_VERSION: 4.0.22-6-gf71294d
ORIGIN: https://github.com/Homebrew/brew
HEAD: f71294d483e1ce9920fd10d8169b1419c0ba41fb
Last commit: 5 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8e196e546044e33c3246ce89b0603bdbf774374b
Core tap last commit: 6 hours ago
Core tap branch: master
Core tap JSON: 13 Jun 20:50 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.UopL9MA43V/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 12.6.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/icu4c:/usr/local/opt/openblas:/usr/local/opt/[email protected]:/usr/local/opt/libarchive:/usr/local/opt/m4:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/ruby:/usr/local/opt/protobuf@21:/usr/local/opt/qt@5:/usr/local/opt/qwt-qt5:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks:/usr/local/opt/qt@5/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/protobuf-c/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/zstd/lib/pkgconfig:/usr/local/opt/bullet/lib/pkgconfig:/usr/local/opt/assimp/lib/pkgconfig:/usr/local/opt/libccd/lib/pkgconfig:/usr/local/opt/octomap/lib/pkgconfig:/usr/local/opt/fcl/lib/pkgconfig:/usr/local/opt/gmp/lib/pkgconfig:/usr/local/opt/isl/lib/pkgconfig:/usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/flann/lib/pkgconfig:/usr/local/opt/fmt/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig:/usr/local/opt/ipopt/lib/pkgconfig:/usr/local/opt/nlopt/lib/pkgconfig:/usr/local/opt/ode/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/jpeg-turbo/lib/pkgconfig:/usr/local/opt/sdl2/lib/pkgconfig:/usr/local/opt/open-scene-graph/lib/pkgconfig:/usr/local/opt/spdlog/lib/pkgconfig:/usr/local/opt/tinyxml2/lib/pkgconfig:/usr/local/opt/console_bridge/lib/pkgconfig:/usr/local/opt/tinyxml/lib/pkgconfig:/usr/local/opt/urdfdom_headers/lib/pkgconfig:/usr/local/opt/urdfdom/lib/pkgconfig:/usr/local/opt/dartsim/lib/pkgconfig:/usr/local/opt/brotli/lib/pkgconfig:/usr/local/opt/highway/lib/pkgconfig:/usr/local/opt/imath/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/little-cms2/lib/pkgconfig:/usr/local/opt/openexr/lib/pkgconfig:/usr/local/opt/webp/lib/pkgconfig:/usr/local/opt/jpeg-xl/lib/pkgconfig:/usr/local/opt/libvmaf/lib/pkgconfig:/usr/local/opt/aom/lib/pkgconfig:/usr/local/opt/aribb24/lib/pkgconfig:/usr/local/opt/dav1d/lib/pkgconfig:/usr/local/opt/frei0r/lib/pkgconfig:/usr/local/opt/libidn2/lib/pkgconfig:/usr/local/opt/libtasn1/lib/pkgconfig:/usr/local/opt/nettle/lib/pkgconfig:/usr/local/opt/p11-kit/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libnghttp2/lib/pkgconfig:/usr/local/opt/unbound/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/fribidi/lib/pkgconfig:/usr/local/opt/pcre2/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/libxau/lib/pkgconfig:/usr/local/opt/libxdmcp/lib/pkgconfig:/usr/local/opt/libxcb/lib/pkgconfig:/usr/local/opt/libx11/lib/pkgconfig:/usr/local/opt/libxext/lib/pkgconfig:/usr/local/opt/libxrender/lib/pkgconfig:/usr/local/opt/lzo/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/graphite2/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/libunibreak/lib/pkgconfig:/usr/local/opt/libass/lib/pkgconfig:/usr/local/opt/libbluray/lib/pkgconfig:/usr/local/opt/cjson/lib/pkgconfig:/usr/local/opt/librist/lib/pkgconfig:/usr/local/opt/libsoxr/lib/pkgconfig:/usr/local/opt/libvidstab/lib/pkgconfig:/usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/libvpx/lib/pkgconfig:/usr/local/opt/opencore-amr/lib/pkgconfig:/usr/local/opt/openjpeg/lib/pkgconfig:/usr/local/opt/opus/lib/pkgconfig:/usr/local/opt/rav1e/lib/pkgconfig:/usr/local/opt/libsamplerate/lib/pkgconfig:/usr/local/opt/flac/lib/pkgconfig:/usr/local/opt/mpg123/lib/pkgconfig:/usr/local/opt/libsndfile/lib/pkgconfig:/usr/local/opt/rubberband/lib/pkgconfig:/usr/local/opt/speex/lib/pkgconfig:/usr/local/opt/srt/lib/pkgconfig:/usr/local/opt/svt-av1/lib/pkgconfig:/usr/local/opt/leptonica/lib/pkgconfig:/usr/local/opt/libb2/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/tesseract/lib/pkgconfig:/usr/local/opt/theora/lib/pkgconfig:/usr/local/opt/x264/lib/pkgconfig:/usr/local/opt/x265/lib/pkgconfig:/usr/local/opt/libsodium/lib/pkgconfig:/usr/local/opt/zeromq/lib/pkgconfig:/usr/local/opt/zimg/lib/pkgconfig:/usr/local/opt/ffmpeg/lib/pkgconfig:/usr/local/opt/libavif/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/jasper/lib/pkgconfig:/usr/local/opt/netpbm/lib/pkgconfig:/usr/local/opt/gts/lib/pkgconfig:/usr/local/opt/gdk-pixbuf/lib/pkgconfig:/usr/local/opt/librsvg/lib/pkgconfig:/usr/local/opt/graphviz/lib/pkgconfig:/usr/local/opt/ignition-cmake2/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/ignition-math6/lib/pkgconfig:/usr/local/opt/ossp-uuid/lib/pkgconfig:/usr/local/opt/ignition-common3/lib/pkgconfig:/usr/local/opt/ignition-tools/lib/pkgconfig:/usr/local/opt/abseil/lib/pkgconfig:/usr/local/opt/protobuf/lib/pkgconfig:/usr/local/opt/ignition-msgs5/lib/pkgconfig:/usr/local/opt/jsoncpp/lib/pkgconfig:/usr/local/opt/libzip/lib/pkgconfig:/usr/local/opt/ignition-fuel-tools4/lib/pkgconfig:/usr/local/opt/cppzmq/lib/pkgconfig:/usr/local/opt/ignition-transport8/lib/pkgconfig:/usr/local/opt/libzzip/lib/pkgconfig:/usr/local/opt/tbb/lib/pkgconfig:/usr/local/opt/ogre1.9/lib/pkgconfig:/usr/local/opt/protobuf@21/lib/pkgconfig:/usr/local/opt/qt@5/lib/pkgconfig:/usr/local/opt/qwt-qt5/lib/pkgconfig:/usr/local/opt/sdformat9/lib/pkgconfig:/usr/local/opt/simbody/lib/pkgconfig:/usr/local/opt/eigen/share/pkgconfig:/usr/local/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/cmake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/protobuf-c/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/xz/bin:/usr/local/opt/lz4/bin:/usr/local/opt/zstd/bin:/usr/local/opt/assimp/bin:/usr/local/opt/octomap/bin:/usr/local/opt/gcc/bin:/usr/local/opt/libaec/bin:/usr/local/opt/hdf5/bin:/usr/local/opt/flann/bin:/usr/local/opt/ampl-mp/bin:/usr/local/opt/ipopt/bin:/usr/local/opt/ode/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/jpeg-turbo/bin:/usr/local/opt/sdl2/bin:/usr/local/opt/open-scene-graph/bin:/usr/local/opt/urdfdom/bin:/usr/local/opt/doxygen/bin:/usr/local/opt/brotli/bin:/usr/local/opt/giflib/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/little-cms2/bin:/usr/local/opt/openexr/bin:/usr/local/opt/webp/bin:/usr/local/opt/jpeg-xl/bin:/usr/local/opt/libvmaf/bin:/usr/local/opt/aom/bin:/usr/local/opt/dav1d/bin:/usr/local/opt/gettext/bin:/usr/local/opt/libidn2/bin:/usr/local/opt/libtasn1/bin:/usr/local/opt/nettle/bin:/usr/local/opt/p11-kit/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/libevent/bin:/usr/local/opt/gnutls/bin:/usr/local/opt/lame/bin:/usr/local/opt/fribidi/bin:/usr/local/opt/pcre2/bin:/usr/local/opt/glib/bin:/usr/local/opt/cairo/bin:/usr/local/opt/graphite2/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/libbluray/bin:/usr/local/opt/mbedtls/bin:/usr/local/opt/librist/bin:/usr/local/opt/openjpeg/bin:/usr/local/opt/rav1e/bin:/usr/local/opt/flac/bin:/usr/local/opt/mpg123/bin:/usr/local/opt/libsndfile/bin:/usr/local/opt/rubberband/bin:/usr/local/opt/speex/bin:/usr/local/opt/srt/bin:/usr/local/opt/svt-av1/bin:/usr/local/opt/leptonica/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/pango/bin:/usr/local/opt/tesseract/bin:/usr/local/opt/x264/bin:/usr/local/opt/x265/bin:/usr/local/opt/zeromq/bin:/usr/local/opt/ffmpeg/bin:/usr/local/opt/libavif/bin:/usr/local/opt/gd/bin:/usr/local/opt/jasper/bin:/usr/local/opt/netpbm/bin:/usr/local/opt/gts/bin:/usr/local/opt/gdk-pixbuf/bin:/usr/local/opt/librsvg/bin:/usr/local/opt/m4/bin:/usr/local/opt/libtool/bin:/usr/local/opt/graphviz/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/ruby/bin:/usr/local/opt/ossp-uuid/bin:/usr/local/opt/ignition-common3/bin:/usr/local/opt/ignition-tools/bin:/usr/local/opt/protobuf/bin:/usr/local/opt/libzip/bin:/usr/local/opt/libtar/bin:/usr/local/opt/libzzip/bin:/usr/local/opt/ogre1.9/bin:/usr/local/opt/protobuf@21/bin:/usr/local/opt/qt@5/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: osrf/simulation/gazebo11 11.13.0 did not build
Logs:
     /Users/kevin/Library/Logs/Homebrew/gazebo11/00.options.out
     /Users/kevin/Library/Logs/Homebrew/gazebo11/01.cmake.cc
     /Users/kevin/Library/Logs/Homebrew/gazebo11/01.cmake
     /Users/kevin/Library/Logs/Homebrew/gazebo11/02.make.cc
     /Users/kevin/Library/Logs/Homebrew/gazebo11/build
     /Users/kevin/Library/Logs/Homebrew/gazebo11/02.make

then include the link in the issue. Thanks!

@kevinuav kevinuav added the bug label Jun 13, 2023
@Onicc
Copy link

Onicc commented Jun 14, 2023

hi, i have the same problem.

@kevinuav
Copy link
Author

Emm. I think it is a new bug since I have installed it successfully no long ago. But it fails this time.
Just as the brew config says, it has been committed just 5hours ago.

HOMEBREW_VERSION: 4.0.22-6-gf71294d
ORIGIN: https://github.com/Homebrew/brew
HEAD: f71294d483e1ce9920fd10d8169b1419c0ba41fb
Last commit: 5 hours ago

@scpeters
Copy link
Member

gazebo11 was just rebuilt in #2295, so this should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants