robotology / yarp-matlab-bindings

SWIG-based bindings of YARP for Matlab and Octave, based on the MEX C-API.
6 stars 5 forks source link

Error when cloning the repo in case insensitive filesystems #42

Closed traversaro closed 5 years ago

traversaro commented 5 years ago

Warning message:

Performing download step (git clone) for 'yarp-matlab-bindings'
cd /Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/robotology && /usr/local/Cellar/cmake/3.15.4/bin/cmake -P /Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/build/robotology/yarp-matlab-bindings/CMakeFiles/YCMTmp/yarp-matlab-bindings-gitclone.cmake
Cloning into 'yarp-matlab-bindings'...
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'matlab/autogenerated/+yarp/VOCAB.m'
  'matlab/autogenerated/+yarp/Vocab.m'
Already on 'master'
M   matlab/autogenerated/+yarp/VOCAB.m
Your branch is up to date with 'origin/master'.

when used with the robotology-superbuild, this creates the following error:

echo "Performing update step for 'yarp-matlab-bindings'"
Performing update step for 'yarp-matlab-bindings'
cd /Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/robotology/yarp-matlab-bindings && /usr/local/Cellar/cmake/3.15.4/bin/cmake -P /Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/build/robotology/yarp-matlab-bindings/CMakeFiles/YCMTmp/yarp-matlab-bindings-gitupdate.cmake
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.
fatal: No rebase in progress?
CMake Error at /Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/build/robotology/yarp-matlab-bindings/CMakeFiles/YCMTmp/yarp-matlab-bindings-gitupdate.cmake:105 (message):

  Failed to rebase in:
  '/Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/robotology/yarp-matlab-bindings/'.

  You will have to resolve the conflicts manually

make: *** [/Users/runner/runners/2.160.0/work/robotology-superbuild/robotology-superbuild/build/robotology/yarp-matlab-bindings/CMakeFiles/YCMStamp/Release/yarp-matlab-bindings-update] Error 1

** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution CMake\ Rules build/robotology-superbuild.build/Release/yarp-matlab-bindings.build/Script-57CCFCEB5B764AD088BB0A5B.sh
(1 failure)
##[error]Process completed with exit code 65.

Related failure: https://github.com/robotology/robotology-superbuild/runs/291687540 .

traversaro commented 5 years ago

No Mac user experienced this problem in the past @nunoguedelha @lrapetti @kouroshD @claudia-lat @CarlottaSartore ?