[ros-users] OS X Electric rosinstall

Kartik Mohta kartikmohta at gmail.com
Sat Jul 23 23:04:02 UTC 2011


I enabled a print inside the rosinstall git.py to check the exact
command being run:

Cloning into /opt/ros/electric/orocos_kinematics_dynamics...
remote: Counting objects: 2284, done.
remote: Compressing objects: 100% (885/885), done.
remote: Total 2284 (delta 1496), reused 2092 (delta 1363)
Receiving objects: 100% (2284/2284), 667.50 KiB | 760 KiB/s, done.
Resolving deltas: 100% (1496/1496), done.

Git Installing: git checkout orocos_kinematics_dynamics-0.2.0 -b
rosinstall_tagged_branch --track

fatal: Cannot setup tracking information; starting point is not a branch.

The problem is the "--track" option being passed to git checkout as
tracking tags is not allowed in newer git versions (I believe since
v1.7.4.2, the exact commit is
http://git.kernel.org/?p=git/git.git;a=commit;h=21b5b1e8dc9bed2b518defe29d69ebc27da4b68f)

So I guess it's a rosinstall bug and not something specific to electric.

On Sat, Jul 23, 2011 at 9:50 AM, Willy Lambert <lambert.willy at gmail.com> wrote:
> FYI, this command worked fine on Debian Squeeze some few days ago.
> git version 1.7.2.5
> rosinstall 0.5.16
>
>
>
> 2011/7/23 Kartik Mohta <kartikmohta at gmail.com>
>>
>> Have the same problem on Debian (sid/unstable):
>>
>> $ rosinstall .
>> "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no"
>> [..]
>> Installing https://kforge.ros.org/geometry/kdlclone
>> orocos_kinematics_dynamics-0.2.0 to
>> /opt/ros/electric/orocos_kinematics_dynamics
>> Cloning into /opt/ros/electric/orocos_kinematics_dynamics...
>> remote: Counting objects: 2284, done.
>> remote: Compressing objects: 100% (885/885), done.
>> remote: Total 2284 (delta 1496), reused 2092 (delta 1363)
>> Receiving objects: 100% (2284/2284), 667.50 KiB | 899 KiB/s, done.
>> Resolving deltas: 100% (1496/1496), done.
>> fatal: Cannot setup tracking information; starting point is not a branch.
>> ERROR: Failed to install tree
>> '/opt/ros/electric/orocos_kinematics_dynamics'
>>  vcs not setup correctly
>>
>> $ git --version
>> git version 1.7.5.4
>>
>> $ rosinstall --version
>> rosinstall 0.5.16
>>
>> On Fri, Jul 22, 2011 at 7:02 PM, Tully Foote <tfoote at willowgarage.com>
>> wrote:
>> > Hi William,
>> >
>> > This looks like the git syntax on OSX may be slightly different.  I just
>> > tested your command on my machine.  The code to look at is vcs/git.py in
>> > rosinstall which comes from the vcstools package.  I expect that there
>> > might
>> > need to be a special case added for OSX.  Or there might have been a
>> > hiccup
>> > in you connection like here?
>> >
>> > http://answers.ros.org/question/1645/vcs-not-setup-correctly-while-i-install-ros-using
>> >
>> > Tully
>> >
>> > On Thu, Jul 21, 2011 at 3:28 PM, William Woodall <wjwwood at gmail.com>
>> > wrote:
>> >>
>> >> When running rosinstall for Electric on OS X I get this error when it
>> >> gets
>> >> to kdlclone:
>> >> Installing https://kforge.ros.org/geometry/kdlclone
>> >> orocos_kinematics_dynamics-0.2.0 to
>> >> /Users/william/devel/ros/electric/orocos_kinematics_dynamics
>> >> Cloning into
>> >> /Users/william/devel/ros/electric/orocos_kinematics_dynamics...
>> >> remote: Counting objects: 2284, done.
>> >> remote: Compressing objects: 100% (885/885), done.
>> >> remote: Total 2284 (delta 1496), reused 2092 (delta 1363)
>> >> Receiving objects: 100% (2284/2284), 667.50 KiB | 381 KiB/s, done.
>> >> Resolving deltas: 100% (1496/1496), done.
>> >> fatal: Cannot setup tracking information; starting point is not a
>> >> branch.
>> >> ERROR: Failed to install tree
>> >> '/Users/william/devel/ros/electric/orocos_kinematics_dynamics'
>> >>  vcs not setup correctly
>> >> I am running this command:
>> >> rosinstall ~/devel/ros/electric
>> >>
>> >> "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no"
>> >> What logs should I look at to try and resolve this?
>> >> Thanks,
>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> >> William Woodall
>> >> Graduate Software Engineering
>> >> Auburn University
>> >> w at auburn.edu
>> >> wjwwood at gmail.com
>> >> williamjwoodall.com
>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> >>
>> >> _______________________________________________
>> >> ros-users mailing list
>> >> ros-users at code.ros.org
>> >> https://code.ros.org/mailman/listinfo/ros-users
>> >>
>> >
>> >
>> >
>> > --
>> > Tully Foote
>> > Systems Engineer
>> > Willow Garage, Inc.
>> > tfoote at willowgarage.com
>> > (650) 475-2827
>> >
>> > _______________________________________________
>> > ros-users mailing list
>> > ros-users at code.ros.org
>> > https://code.ros.org/mailman/listinfo/ros-users
>> >
>> >
>>
>>
>>
>> --
>> Kartik
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



-- 
Kartik



More information about the ros-users mailing list