ros / homebrew-deps Goto Github PK
View Code? Open in Web Editor NEWHomebrew Formula for common system ROS dependencies
Homebrew Formula for common system ROS dependencies
Robot Operating System (ROS) =============================================================================== ROS is a meta-operating system for your robot. It provides language-independent and network-transparent communication for a distributed robot control system. Installation Notes ------------------ For full installation instructions, including system prerequisites and platform-specific help, see: http://wiki.ros.org/ROS/Installation
Following http://wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source produces the following warnings, which it asserts that I should report!
% brew tap ros/deps
==> Tapping ros/deps
Cloning into '/usr/local/Homebrew/Library/Taps/ros/homebrew-deps'...
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 13 (delta 1), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:11:in `<class:Gfortran>'
Please report this to the ros/deps tap!
Warning: Calling SoftwareSpec#sha1 is deprecated!
Use SoftwareSpec#sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:11:in `<class:Gfortran>'
Please report this to the ros/deps tap!
Warning: Calling Resource#sha1 is deprecated!
Use Resource#sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:11:in `<class:Gfortran>'
Please report this to the ros/deps tap!
Warning: Calling BottleSpecification#sha1 is deprecated!
Use BottleSpecification#sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:16:in `block in <class:Gfortran>'
Please report this to the ros/deps tap!
Warning: Calling BottleSpecification#sha1 is deprecated!
Use BottleSpecification#sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:17:in `block in <class:Gfortran>'
Please report this to the ros/deps tap!
Warning: Calling BottleSpecification#sha1 is deprecated!
Use BottleSpecification#sha256 instead.
/usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:18:in `block in <class:Gfortran>'
Please report this to the ros/deps tap!
Tapped 9 formulae (46 files, 51.2K)
%
Could you please kindly tell me why it happens and how to solve the problem?
Mac OS: 10.13 (17A405)
โฏ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y --skip-keys "libqt5-core libqt5-gui libqt5-opengl libqt5-opengl-dev libqt5-widgets qt5-qmake qtbase5-dev"
executing command [brew install gtest]
Updating Homebrew...
==> Installing gtest from ros/deps
==> Downloading https://github.com/google/googletest/archive/release-1.7.0.tar.g
Already downloaded: /Users/loli/Library/Caches/Homebrew/gtest-1.7.0.tar.gz
==> Patching
patching file include/gtest/gtest.h
==> glibtoolize
==> aclocal
Last 15 lines from /Users/loli/Library/Logs/Homebrew/gtest/02.aclocal:
2017-11-02 23:32:24 +0800
aclocal
aclocal: error: aclocal: file '/usr/local/share/aclocal/mysql.m4' does not exist
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/ros/homebrew-deps/issues
These open issues may also help:
Gtest URL error #21
ERROR: the following rosdeps failed to install
homebrew: command [brew install gtest] failed
The following command fails:
$ brew install gtest
==> Installing gtest from ros/deps
==> Downloading http://googletest.googlecode.com/files/gtest-1.7.0.zip
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "gtest"
Download failed: http://googletest.googlecode.com/files/gtest-1.7.0.zip
Because http://googletest.googlecode.com/files/gtest-1.7.0.zip returns 404.
Upstream is 0.5.3: https://github.com/Homebrew/homebrew-core/blob/master/Formula/yaml-cpp.rb
Trusty's version is 0.5.1: http://packages.ubuntu.com/source/trusty/yaml-cpp
Was 0.3 supporting Hydro? If so, that can certainly be dropped at this point.
So I was trying to update the sha1s to sha256s but I faced several files where the signature would not match.
original signatures don't match: ./console_bridge.rb
original: 541b7b6bae5443c466bfadd5fe159a25835e583f 0.2.5.tar.gz
new: d3b0653707bdeca33ddb5cf6775c502a37d24075 0.2.5.tar.gz
original signatures don't match: ./gfortran.rb
original: 810fb70bd721e1d9f446b6503afe0a9088b62986 gcc-4.8.2.tar.bz2
new: 5809f437859a9d6fca7ca455ab323da36e009fb1 gcc-4.8.2.tar.bz2
./gtest.rb is already up to date, not verifying.
original signatures don't match: ./mongodb-dev.rb
original: 0d8b8dad3b5909af2b9b7ba7ed22d5cb0a7cfd98 r2.5.4.tar.gz
new: d7eb1e49590286ed04d4026ac386f1a1884e16b1 r2.5.4.tar.gz
original signatures don't match: ./pyassimp.rb
original: eb6938c134e7110a96243570e52a8b860d15d915 assimp--2.0.863-sdk.zip
new: 11dd66eda346931c3b495e17d9c46413520c996f assimp--2.0.863-sdk.zip
original signatures don't match: ./urdfdom.rb
original: 79e33e91f79c4775983ffeffcf02b155af942af2 0.2.10.tar.gz
new: dfff696d709a9a5a2d66e5b103a817fb00af31ba 0.2.10.tar.gz
original signatures don't match: ./urdfdom_headers.rb
original: c68e965e3e98263fb908dc26e6e7e450431b71f2 0.2.3.tar.gz
new: 90b2c6da7e62e97213eb0191f31d693010c35a04 0.2.3.tar.gz
DATA
in gtest.rb
should be :DATA
I got the following warnings while brew doctor
with console_bridge
, urdfdom
, and urdfdom-headers
installed:
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/ros/homebrew-deps/console_bridge.rb:6:in `<class:ConsoleBridge>'
Please report this to the ros/deps tap!
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/ros/homebrew-deps/urdfdom.rb:6:in `<class:Urdfdom>'
Please report this to the ros/deps tap!
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/ros/homebrew-deps/urdfdom_headers.rb:6:in `<class:UrdfdomHeaders>'
Please report this to the ros/deps tap!
It seems homebrew is complaining in using deprecated keyword sha1
in the formulas.
Error:
==> Installing gfortran from ros/deps
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gfortran-4.8.2.tar.bz2
Warning: SHA1 support is deprecated and will be removed in a future version.
Please switch this formula to SHA256.
==> ../configure --prefix=/usr/local/Cellar/gfortran/4.8.2/gfortran --datarootdi
==> make bootstrap
Last 15 lines from /Users/gunshigupta/Library/Logs/Homebrew/gfortran/02.make:
c = isl_constraint_set_coefficient_si (c, isl_dim_out, time_depth, 1);
^
../../gcc/graphite-interchange.c:199:3: error: use of undeclared identifier 'c'
c = isl_constraint_set_coefficient_si (c, il_dim_out,^
../../gcc/graphite-interchange.c:199:42: error: use of undeclared identifier 'c'
c = isl_constraint_set_coefficient_si (c, il_dim_out,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [graphite-interchange.o] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/ros/homebrew-deps/issues
Thanks!
The default repository URL for indigo is homebrew-indigo, which doesn't exist - is the repository missing or the URL formation not correct?
user$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y
Error: No available formula for mavlink
Please tap it and then try again: brew tap ros/indigo
Error: No available formula for octomap_msgs
Please tap it and then try again: brew tap ros/indigo
executing command [brew install ros/indigo/mavlink]
Cloning into '/usr/local/Library/Taps/ros/homebrew-indigo'...
Would the mavlink package setup not allow wstool to fetch it correctly? I'm happy to contribute a home-brew formula, but I first need to understand the workflow correctly.
There appears to be an image missing, causing tango-icon-theme to fail to install.
$ brew install tango-icon-theme
==> Downloading http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz
Already downloaded: /Library/Caches/Homebrew/tango-icon-theme-0.8.90.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tango-icon-theme/0.8.90
==> make install
convert: no images defined `24x24/actions/window-new.png' @ error/convert.c/ConvertImageCommand/3145.
make[3]: *** [install-data-local] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/ros/homebrew-deps/issues
This situation is reached when running the rosdep install --from-paths src --ignore-src --rosdistro hydro -y
command when following http://wiki.ros.org/hydro/Installation/OSX/Homebrew/Source
I'm trying to install ROS on MacOS, and apparently the directive MacOS.prefer_64_bit?
was deprecated, and now it's not available anymore.
According to this issue on the dart-lang repo, this directive has been replaced by Hardware::CPU.is_64_bit?
. Is there any way to update the formula so we can tap the repo on current versions of Homebrew?
brew install pcl --HEAD
==> Installing pcl from ros/homebrew-deps
==> Cloning https://github.com/PointCloudLibrary/pcl.git
Cloning into '/Library/Caches/Homebrew/pcl--git'...
remote: Counting objects: 3860, done.
remote: Compressing objects: 100% (3146/3146), done.
remote: Total 3860 (delta 933), reused 2357 (delta 573)
Receiving objects: 100% (3860/3860), 66.06 MiB | 2.40 MiB/s, done.
Resolving deltas: 100% (933/933), done.
Checking connectivity... done.
==> mkdir build
==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/pcl/HEAD' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev ..
==> make install
make[2]: *** No rule to make target /usr/local/Cellar/qt/4.8.5/lib/QtGui.framework', needed by
lib/libpcl_surface.1.8.0.dylib'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 27%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o
make[1]: *** [surface/CMakeFiles/pcl_surface.dir/all] Error 2
make: *** [all] Error 2
I don't know why it tries to use qt 4.8.5 as there is only 4.8.6 installed.
Reinstalling qt doesnt help either. Can someone help?
I tried to use the Formula to install
$ brew install urdfdom
Without success, got an error on the installation of console_bridge as
Go check the configure file and find the error.
CMake Error at ${HOME}/.linuxbrew/share/console_bridge/cmake/console_bridge-config.cmake:12 (message):
Library 'console_bridge' in package console_bridge is not installed properly
This could possibly a related post
ros/console_bridge#12
and it seems to get fixed in console_bridge 0.2.6
The openni2 formula can be removed, as it is outdated and https://github.com/Homebrew/homebrew-science/blob/master/openni2.rb works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.