Brian, I found that using set(FILENAME ./ccny_exp_20100913_bags.tgz) instead of set(FILENAME ccny_exp_20100913_bags.tgz) works, which confirms what you said. I filed the ticket here: https://code.ros.org/trac/ros/ticket/3034 Thanks, Ivan On Mon, Sep 27, 2010 at 5:01 PM, Brian Gerkey wrote: > On Mon, Sep 27, 2010 at 12:11 PM, Ivan Dryanovski > wrote: >> -------------------------------------------- >> cmake_minimum_required(VERSION 2.4.6) >> include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) >> rosbuild_init() >> >> set(URL  http://robotics.ccny.cuny.edu/data/ROS/ccny_exp_20100913_bags.tgz) >> set(FILENAME ccny_exp_20100913_bags.tgz) >> set(UNPACKED_NAME bags) >> set(MD5SUM  77f36f36e36d512967f3e4aaad5e09c5) >> >> rosbuild_download_data(${URL} ${FILENAME} ${MD5SUM}) >> rosbuild_untar_file(${FILENAME} ${UNPACKED_NAME} ALL) >> ------------------------------------------------ >> >> >> This is the output of make: >> >> ------------------------------------------------ >> ... >> [ 33%] Generating ../bags >> tar: Old option `f' requires an argument. >> Try `tar --help' or `tar --usage' for more information. >> make[3]: *** [../bags] Error 2 >> ... >> ------------------------------------------------ > > hi Ivan, > > That's a bug.  rosbuild is naively assuming that the FILENAME argument > has a directory component (i.e., it's not just a bare filename).  A > workaround is to ask the tarball to be put in a subdirectory, e.g.: > > set(FILENAME foo/ccny_exp_20100913_bags.tgz) > > Can you ticket me on the ros Trac to fix it? > >        brian. > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >