start-jsk / rtmros_hironx

hironx controller and applications using rtmros packages
http://wiki.ros.org/rtmros_hironx
10 stars 27 forks source link

robot/robot-compile-openrtm.sh fails while untar-ring OpenRTM tarball #176

Closed 130s closed 10 years ago

130s commented 10 years ago

Using this version of robot-compile-openrtm.sh.

ubuntuuser@jenkins:~/hironx-nxo-robot-system-check/rtmros_hironx/hironx_ros_bridge/robot$ ./robot-compile-openrtm.sh qnx qnxuser
/tmp/OpenRTM-aist-1.1.0-RELEASE.tar.gz: Permission denied
ERROR:: Failed to download source code
comands = 
  . ~/.profile;
  env;
: 
  echo "* make tarball*";
  cd /tmp;
  tar -czf openrtm-qnx-2014-07-24.tgz ./openrtm-source-2014-07-24;

execute compile command @ qnx (y/n)? y
qnxuser@qnx's password: 
OpenRTM-aist-1.1.0-RELEASE.tar.gz                                 100% 2110KB   2.1MB/s   00:00    
qnxuser@qnx's password: 
:
* Download openrtm *

gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Unexpected EOF on archive file
Connection to qnx closed.
=====
$ tar -xvzf /tmp/openrtm-qnx-2014-07-24.tgz; cd openrtm-2014-07-24/build; make install
ubuntuuser@jenkins:~/hironx-nxo-robot-system-check/rtmros_hironx/hironx_ros_bridge/robot$ 

Simply untar-ring the tarball without using this script fails.

$ tar fxvz OpenRTM-aist-1.1.0-RELEASE.tar.gz 
./PaxHeaders.2325/OpenRTM-aist-1.1.0
OpenRTM-aist-1.1.0
:
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classRTC_1_1PeriodicExecutionContex
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classRTC_1_1PeriodicExecutionContext_1_1DFPBase.tex
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classRTC_1_1InPortConsumer.tex

gzip:OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classRTC_1_1InPortConsumer.tex
 stdin: uneOpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classcoil_1_1Factory.tex
xpected end of fileOpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classcoil_1_1Factory.tex

OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classOnRemoveConfigurationSetCallba
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classOnRemoveConfigurationSetCallback.tex
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/structRTC_1_1ModuleManager_1_1NotAl
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/structRTC_1_1ModuleManager_1_1NotAllowedOperation.e
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/FactoryInit_8h.tex
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/FactoryInit_8h.tex
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classcoil_1_1log__streambuf.tex

tar: End of archive volume 1 reached
tar: ustar vol 1, 3020 files, 16289167 bytes read, 0 bytes written in 3 secs (5429722 bytes/sec)
OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classcoil_1_1log__streambuf.textar: Unexpected EOF on archive file
k-okada commented 10 years ago

two resons 1) /tmp/OpenRTM..tgz is owned by another user 2) /tmp/OpenRTM..tgz is somehow corrupted

I re-download /tmp/OpenRTM...tgz, so now it should work

On Thu, Jul 24, 2014 at 4:56 PM, Isaac I.Y. Saito notifications@github.com wrote:

Using this version of robot-compile-openrtm.sh https://github.com/start-jsk/rtmros_hironx/blob/f9e33cf7f63e2e24fbad431b2c906e73a91aba2e/hironx_ros_bridge/robot/robot-compile-openrtm.sh .

ubuntuuser@jenkins:~/hironx-nxo-robot-system-check/rtmros_hironx/hironx_ros_bridge/robot$ ./robot-compile-openrtm.sh qnx qnxuser /tmp/OpenRTM-aist-1.1.0-RELEASE.tar.gz: Permission denied ERROR:: Failed to download source code comands = . ~/.profile; env; : echo "* make tarball*"; cd /tmp; tar -czf openrtm-qnx-2014-07-24.tgz ./openrtm-source-2014-07-24;

execute compile command @ qnx (y/n)? y qnxuser@qnx's password: OpenRTM-aist-1.1.0-RELEASE.tar.gz 100% 2110KB 2.1MB/s 00:00 qnxuser@qnx's password: :

  • Download openrtm *

gzip: stdin: unexpected end of file tar: End of archive volume 1 reached tar: Unexpected EOF on archive file

Connection to qnx closed.

$ tar -xvzf /tmp/openrtm-qnx-2014-07-24.tgz; cd openrtm-2014-07-24/build; make install ubuntuuser@jenkins:~/hironx-nxo-robot-system-check/rtmros_hironx/hironx_ros_bridge/robot$

Simply untar-ring the tarball without using this script fails.

$ tar fxvz OpenRTM-aist-1.1.0-RELEASE.tar.gz ./PaxHeaders.2325/OpenRTM-aist-1.1.0 OpenRTM-aist-1.1.0 : OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classRTC_1_1PeriodicExecutionContex OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classRTC_1_1PeriodicExecutionContext_1_1DFPBase.tex OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classRTC_1_1InPortConsumer.tex

gzip:OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classRTC_1_1InPortConsumer.tex stdin: uneOpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classcoil_1_1Factory.tex xpected end of fileOpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classcoil_1_1Factory.tex

OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classOnRemoveConfigurationSetCallba OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classOnRemoveConfigurationSetCallback.tex OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/structRTC_1_1ModuleManager_1_1NotAl OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/structRTC_1_1ModuleManager_1_1NotAllowedOperation.e OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/FactoryInit_8h.tex OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/FactoryInit_8h.tex OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/PaxHeaders.2325/classcoil_1_1log__streambuf.tex

tar: End of archive volume 1 reached tar: ustar vol 1, 3020 files, 16289167 bytes read, 0 bytes written in 3 secs (5429722 bytes/sec) OpenRTM-aist-1.1.0/docs/ClassReference-en/platex/classcoil_1_1log__streambuf.textar: Unexpected EOF on archive file

— Reply to this email directly or view it on GitHub https://github.com/start-jsk/rtmros_hironx/issues/176.

130s commented 10 years ago

Thank you, it works now.