Closed traversaro closed 6 years ago
@traversaro could you please provide a link to a failed Travis build? I rapidly checked some random PR but could not find one with a failed macOS build.
The error is pretty strange to me. Basically the build is not able to find all the files related to yarpmotorgui
, which is weird because an error like that should be present in all the builds enabling GUIs right?
Anyway, let's see this in detail.
I fear that something is going wrong with brew
. On codyco
the build failed because of a failed brew update
, while for idyntree
I actually find the above-reported error, which is weird.
Do you mind restarting the two Travis jobs and see what happen? Or have you already did it?
Yep, I restarted several jobs and this is still happening:
cc @DanielePucci
It is not a travis fault. Something has changed somewhere (probably cmake). I am not able to compile yarp from a clean build even without brew
@francesco-romano what kind of CMake
version do you have?
I, instead, have problem with brew
. I can't use my own formulae anymore. It gives me error while performing brew update
, which wasn't happening before.
Just updated brew without any problem.
My CMake is 3.10.0
.
Note that they have changed some behaviour on the AUTOMOC
When using "AUTOMOC" or "AUTOUIC", source files that are "GENERATED" will be processed as well. They were ignored by "AUTOMOC" and "AUTOUIC" in earlier releases. See policy "CMP0071".
I don't know if this broke something (as we are having problem in the Qt guis)
With the last cmake (3.10.0) and macOS Sierra 10.12.5 (16F73) I have no problem in compiling YARP master
without brew (or even with brew). devel
instead fails with the homebrew error! Opening an issue in YARP.
The strange thing is that it happens also on the 2.3.70.1 release (which was working)
I have cmake
3.9.4 (3.9.4_1 from bottle), macOS Sierra 10.12.6, and I don't have any problem compiling yarp
on devel
and master
branch.
Apparently there is the same problem also on master, and it only worked the first time.
I guess than that it's because of the new policy CMP0071.
BTW brew
updated just now and the error on third-party taps has now disappeared.
After https://github.com/robotology/yarp/issues/1464, remember to update the formula, otherwise people will not be able to use this.
I'm having the same problem when issuing brew install robotology/formulae/yarp
on macOS High Sierra 10.13.1. and CMake 3.10.0. What was the way to proceed at this point?
With brew install robotology/formulae/yarp --HEAD
I get:
CMake Error at cmake/YarpFindDependencies.cmake:162 (message):
Optional package RTF not found. Please install it or disable the option
"YARP_COMPILE_RTF_ADDONS" to build yarp.
Call Stack (most recent call first):
cmake/YarpFindDependencies.cmake:532 (check_optional_dependency)
CMakeLists.txt:71 (include)
This is causing also a Travis failure on the codyco-superbuild builds: https://travis-ci.org/robotology/codyco-superbuild/jobs/311660897 .
Don't we have two different problems here?
Problem 1:
I'm having the same problem when issuing brew install robotology/formulae/yarp on macOS High Sierra 10.13.1. and CMake 3.10.0. What was the way to proceed at this point?
Was fixed with this PR https://github.com/robotology/yarp/pull/1465 and with a new YARP release we will be able to fix the formula.
Problem 2:
With brew install robotology/formulae/yarp --HEAD I get:
CMake Error at cmake/YarpFindDependencies.cmake:162 (message): Optional package RTF not found. Please install it or disable the option "YARP_COMPILE_RTF_ADDONS" to build yarp. Call Stack (most recent call first): cmake/YarpFindDependencies.cmake:532 (check_optional_dependency) CMakeLists.txt:71 (include)
My two cents here is that with --HEAD
we are installing YARP in devel
while RTF on master
and they are not compatible. This wasn't an issue with previous release, but the compatibility, if I'm not wrong, is currently broken. cc @Nicogene
Problem 2: this is due to the fact that YARP devel depends on RTF devel, not on RTF master.
Problem 2: this is due to the fact that YARP devel depends on RTF devel, not on RTF master.
Hey! Copying my reply? I got you some seconds before 😛 J/K!
Anyway, that's the problem. Maybe with the next minor release of YARP + RTF everything will be fixed.
In several macOS-based Travis builds we are experiencing the following failure of the yarp formula: