gabpeixoto / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Failure in rosjava make #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

....                           
[rosmake-4] Finished <<< xmlrpcpp [PASS] [ 0.97 seconds ]                       

[rosmake-7] Finished <<< rosgraph [PASS] [ 0.90 seconds ]                       

[rosmake-5] Finished <<< rosjava_bootstrap [PASS] [ 1.39 seconds ]              

[rosmake-5] Starting >>> apache_commons_util [ make ]                           

[rosmake-3] Finished <<< roscpp_traits [PASS] [ 0.60 seconds ]                  

[ rosmake ] All 14 linestd_msgs: 1.5 sec ] [ rosmaster: 1.5... [ 4 Active 12/26 
Complete ]
{-------------------------------------------------------------------------------
  rosrun rosjava_bootstrap generate_properties.py apache_commons_util > ros.properties
  Traceback (most recent call last):
    File "/home/kshaurya/ros/rosjava/rosjava_bootstrap/scripts/generate_properties.py", line 174, in <module>
      generate_properties_main()
    File "/home/kshaurya/ros/rosjava/rosjava_bootstrap/scripts/generate_properties.py", line 171, in generate_properties_main
      generate_ros_properties(package)
    File "/home/kshaurya/ros/rosjava/rosjava_bootstrap/scripts/generate_properties.py", line 124, in generate_ros_properties
      props['ros.pkg.%s.version'%(p)] = get_package_version(p)
    File "/home/kshaurya/ros/rosjava/rosjava_bootstrap/scripts/generate_properties.py", line 112, in get_package_version
      return get_stack_version_cached(s)
    File "/home/kshaurya/ros/rosjava/rosjava_bootstrap/scripts/generate_properties.py", line 106, in get_stack_version_cached
      _stack_version_cache[s] = val = roslib.stacks.get_stack_version(s)
  AttributeError: 'module' object has no attribute 'get_stack_version'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package apache_commons_util written to:
[ rosmake ]    
/home/kshaurya/.ros/rosmake/rosmake_output-20110706-154322/apache_commons_util/b
uild_output.log
[rosmake-5] Finished <<< apache_commons_util [FAIL] [ 0.16 seconds ]            

[ rosmake ] Halting due to failure in package apache_commons_util. 
[ rosmake ] Waiting for other threads to complete.
[rosmake-2] Finished <<< rostime [PASS] [ 1.08 seconds ]                        

[rosmake-6] Finished <<< rosmaster [PASS] [ 5.29 seconds ]                      

[rosmake-1] Finished <<< std_msgs [PASS] [ 5.29 seconds ]                       

[ rosmake ] Results:                                                            

[ rosmake ] Built 16 packages with 1 failures.                                  

What version of the product are you using? On what operating system?

 Latest hg update, Fedora 15 x86_64. Everything worked till July 1

Please provide any additional information below.
 The previous revision threw errors about unresolved Int64s and AddTwoInts.

Original issue reported on code.google.com by icodera...@gmail.com on 6 Jul 2011 at 7:48

GoogleCodeExporter commented 9 years ago
Latest build mostly fixed it. However, these things are further needed to make 
rosjava compile without a fuss for me

a. Download and include apache-commons.jar
b. Manually generate messages and services from the rosjava_bootscr/scripts
c. Include these generated java files in the project

Also, ActionLib seems to have reverted - in ParameterTree getDouble has to be 
replaced by get() to make it work.

Original comment by icodera...@gmail.com on 6 Jul 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Correction, that is commons-logging-1.1.1.jar

Original comment by icodera...@gmail.com on 6 Jul 2011 at 10:13

GoogleCodeExporter commented 9 years ago
None of this seems to be an issue currently. Please reopen the bug if you're 
still having trouble.

Original comment by damonkoh...@google.com on 27 Jul 2011 at 7:05