hrpsys-base.pc isn't installed in 315.1.8 .deb #29

Closed
130s opened this Issue Mar 6, 2014 · 11 comments

2 participants

@130s
start-jsk member

Related to start-jsk/rtmros_common#355, from the source of only hrpsys, I get installation error (using cdcbdb5):

$ catkin_make
:
sed -i s@/home/n130s/ROS/cws/devel/share@/home/n130s/ROS/cws/src/hrpsys/share@s /home/n130s/ROS/cws/src/hrpsys/share/hrpsys/samples/HRP4C//HRP4C.xml 
fix /home/n130s/ROS/cws/devel/lib/pkgconfig/hrpsys-base.pc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/n130s/ROS/cws/build
####
#### Running command: "make -j8 -l8" in "/home/n130s/ROS/cws/build"
####
$ catkin_make install
Base path: /home/n130s/ROS/cws
:
-- Installing: /home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/idl/NullService.idl
fix  /home/n130s/ROS/cws/src/hrpsys -> /home/n130s/ROS/cws/install
                   -> /home/n130s/ROS/cws/install/share/openhrp3
                  /home/n130s/ROS/cws/devel -> /home/n130s/ROS/cws/install
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//PA10simulation.xml
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//PA10monitor.xml
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//hrpsys.sh
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//PA10.conf
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//rtc.conf
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//RobotHardware.conf
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/PA10//PA10.py
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/HRP4C//HRP4C.sh
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/HRP4C//HRP4C.xml
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/HRP4C//HRP4C.conf
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/HRP4C//HRP4C.py
fix //home/n130s/ROS/cws/install/share/hrpsys/share/hrpsys/samples/HRP4C//rtc.conf
fix //home/n130s/ROS/cws/install/lib/pkgconfig/hrpsys-base.pc /home/n130s/ROS/cws/devel -> /home/n130s/ROS/cws/install
sed: can't read //home/n130s/ROS/cws/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
sed: can't read //home/n130s/ROS/cws/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
sed: can't read //home/n130s/ROS/cws/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
$
$ find . -iname "hrpsys*.pc"
./install/lib/pkgconfig/hrpsys.pc
./build/hrpsys/build/hrpsys-base/hrpsys-base.pc
./build/hrpsys/catkin_generated/installspace/hrpsys.pc
./devel/lib/pkgconfig/hrpsys.pc
./devel/lib/pkgconfig/hrpsys-base.pc

@130s 130s added bug critical labels Mar 6, 2014
@k-okada
start-jsk member

I also found same error at http://jenkins.ros.org/job/ros-hydro-hrpsys_binarydeb_precise_amd64/30/consoleFull but does this happens on your local machine?

@130s
start-jsk member
@k-okada
start-jsk member

That was my fault. I'll fix them. see -> 4815aa2#diff-5c89b7e4f355eac0cd15e9df73b4b9cdL104

@k-okada
start-jsk member

still curios why it passed the test code, it should be checkd at -> https://github.com/start-jsk/hrpsys/blob/master/test/test-pkgconfig.py

@k-okada
start-jsk member

Humm, if it is compiled with other package that install CATKIN_DEVEL_PREFIX/lib directory, then it will install hrpsys-base.pc???

@k-okada
start-jsk member

ok, then let's start travis again and see if fails (https://travis-ci.org/start-jsk/hrpsys/builds/20146264)

@k-okada
start-jsk member

(https://travis-ci.org/start-jsk/hrpsys/builds/20146264) should fail on test process and patch
#30) will fail on install process,

@130s
start-jsk member

(https://travis-ci.org/start-jsk/hrpsys/builds/20146264) should fail on test process

This fails at test, but also seems failing at install:

https://s3.amazonaws.com/archive.travis-ci.org/jobs/20146265/log.txt

:
fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//hrpsys.sh
fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//PA10simulation.xml
fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//RobotHardware.conf
fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//rtc.conf
fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//PA10.conf
fix //home/travis/ros/ws_hrpsys/install/lib/pkgconfig/hrpsys-base.pc /home/travis/ros/ws_hrpsys/devel -> /home/travis/ros/ws_hrpsys/install
sed: can't read //home/travis/ros/ws_hrpsys/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
sed: can't read //home/travis/ros/ws_hrpsys/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
sed: can't read //home/travis/ros/ws_hrpsys/install/lib/pkgconfig/hrpsys-base.pc: No such file or directory
:
$ find install -iname "*.test" -print0 | xargs -0 -n1 rostest
... logging to /home/travis/.ros/log/rostest-testing-worker-linux-3-1-18520-linux-6-20146265-5148.log
[ROSUNIT] Outputting test results to /home/travis/.ros/test_results/hrpsys/rostest-test_test-hrpsys.xml
ready
sh: 1: rtcprof: not found
sh: 1: rtcprof: not found
:
sh: 1: rtcprof: not found
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
Traceback (most recent call last):
  File "/home/travis/ros/ws_hrpsys/install/share/hrpsys/test/test-hostname.py", line 7, in <module>
    from hrpsys import hrpsys_config
ImportError: No module named hrpsys
ready
sh: 1: rtcprof: not found
:
sh: 1: rtcprof: not found
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
Traceback (most recent call last):
  File "/home/travis/ros/ws_hrpsys/install/share/hrpsys/test/test-hrpsysconf.py", line 7, in <module>
    from hrpsys import hrpsys_config
ImportError: No module named hrpsys
ready
sh: 1: rtcprof: not found
:
sh: 1: rtcprof: not found
testconfig_hostname ... FAILURE!
FAILURE: test [config_hostname] did not generate test results
  File "/usr/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rostest/runner.py", line 162, in fn
    self.assert_(os.path.isfile(test_file), "test [%s] did not generate test results"%test_name)
  File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue
    raise self.failureException(msg)
--------------------------------------------------------------------------------
testhrpsys_config ... FAILURE!
FAILURE: test [hrpsys_config] did not generate test results
  File "/usr/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rostest/runner.py", line 162, in fn
    self.assert_(os.path.isfile(test_file), "test [%s] did not generate test results"%test_name)
  File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue
    raise self.failureException(msg)
--------------------------------------------------------------------------------
testpkgconfig ... ok

and patch #30 will fail on install process,

Yes, failing at install.

https://s3.amazonaws.com/archive.travis-ci.org/jobs/20204023/log.txt

fix //home/travis/ros/ws_hrpsys/install/share/hrpsys/share/hrpsys/samples/PA10//RobotHardware.conf
CMake Error at hrpsys/cmake_install.cmake:82 (message):
  FATAL_ERROR
  //home/travis/ros/ws_hrpsys/install/lib/pkgconfig/hrpsys-base.pc is not
  exists
Call Stack (most recent call first):
  cmake_install.cmake:92 (INCLUDE)
@k-okada
start-jsk member

sorry we're still tackling this problem on #31

@k-okada
start-jsk member

Sorry for waiting, I think is OK now.

@130s
start-jsk member

7dc1745 Worked!

$ find install/ -iname 'hrp*.pc'
install/lib/pkgconfig/hrpsys_tools.pc
install/lib/pkgconfig/hrpsys_ros_bridge.pc
install/lib/pkgconfig/hrpsys-base.pc
install/lib/pkgconfig/hrpsys.pc
@130s 130s closed this Mar 6, 2014
@130s 130s referenced this issue Mar 6, 2014
Closed

Release 315.1.8 #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment