Ask Your Question
1

Problem during compilation of ROS INDIGO on ARM/Ubuntu trusty from source

asked 2014-07-25 10:41:56 -0500

formica gravatar image

updated 2014-07-25 16:35:07 -0500

ahendrix gravatar image

Trying to compile ROS from source on Ubuntu 14 (trusty) on NVIDIA Jetson tk1. I'm stucked on this problem:

==> Processing catkin package: 'qt_gui_cpp'
==> Building with env: '/home/ubuntu/ros_catkin_ws/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/ubuntu/ros_catkin_ws/build_isolated/qt_gui_cpp'
==> make -j1 -l1 in '/home/ubuntu/ros_catkin_ws/build_isolated/qt_gui_cpp'
[ 76%] Built target qt_gui_cpp
[ 84%] Running SIP generator for qt_gui_cpp_sip Python bindings...
Traceback (most recent call last):
  File "/home/ubuntu/ros_catkin_ws/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 41, in <module>
    subprocess.check_call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [sip/qt_gui_cpp_sip/Makefile] Error 1
make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'qt_gui_cpp': 
  Command '/home/ubuntu/ros_catkin_ws/install_isolated/env.sh make -j1 -l1' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/ubuntu/ros_catkin_ws/build_isolated/qt_gui_cpp && /home/ubuntu/ros_catkin_ws/install_isolated/env.sh make -j1 -l1

Command failed, exiting.

ANY IDEA?

edit retag flag offensive close merge delete

Comments

Make sure you have multiverse and universe sources available. Check out my answer below.

jacksonkr_ gravatar image jacksonkr_  ( 2016-04-08 12:23:25 -0500 )edit

5 Answers

Sort by ยป oldest newest most voted
1

answered 2014-07-25 16:42:57 -0500

ahendrix gravatar image

updated 2014-08-15 19:36:07 -0500

UPDATE

I now have experimental binary builds of Indigo available for Trusty armhf: http://wiki.ros.org/indigo/Installati...

ORIGINAL ANSWER

On my Jetson tk1, this executes /usr/bin/sip, which is part of the sip-dev package. Do you have sip-dev installed?

I found out which executable it's trying to run by reading the sip_configure.py script and then running the following python snippet:

from PyQt4 import pyqtconfig
cfg = pyqtconfig.Configuration()
print cfg.sip_bin
edit flag offensive delete link more
0

answered 2014-07-30 16:14:41 -0500

ccapriotti gravatar image

Looks like someone had a similar problem in the past (April) and a workaround was offered:

http://answers.ros.org/question/11438...

edit flag offensive delete link more
0

answered 2016-04-08 12:22:57 -0500

jacksonkr_ gravatar image

updated 2016-04-08 13:50:31 -0500

I was installing on a Jetson TK1 as well. Per my specific situation all I had to do was make sure that universe and multiverse were added to my apt-get sources.

https://help.ubuntu.com/community/Rep...

edit flag offensive delete link more
0

answered 2014-08-02 20:06:54 -0500

kp gravatar image

Check this:

sudo aptitude  install sip-dev python-qt4-dev python-qt4-gl  python-pyside.qtcore python-pyside.qtopengl python-pyside.qtgui python3-pyqt4

I also had problems with SIP and qt_gui_cpp on ARM:

[ 84%] Running SIP generator for qt_gui_cpp_sip Python bindings...
sip: Deprecation warning: qt_gui_cpp.sip:1: %Module version number should be specified using the 'version' argument
sip: Unable to find file "QtCore/QtCoremod.sip"
Traceback (most recent call last):
  File "/home/odroid/indigo/install_isolated/share/python_qt_binding/cmake/sip_configure.py", line 41, in <module>
    subprocess.check_call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/sip', '-c', '/home/odroid/indigo/build_isolated/qt_gui_cpp/sip/qt_gui_cpp_sip', '-b', '/home/odroid/indigo/build_isolated/qt_gui_cpp/sip/qt_gui_cpp_sip/pyqtscripting.sbf', '-I', '/usr/share/sip/PyQt4', '-w', '-x', 'VendorID', '-t', 'WS_X11', '-x', 'PyQt_NoPrintRangeBug', '-x', 'PyQt_NoOpenGLES', '-x', 'PyQt_qreal_double', '-t', 'Qt_4_8_4', '-x', 'Py_v3', '-g', 'qt_gui_cpp.sip']' returned non-zero exit status 1
make[2]: *** [sip/qt_gui_cpp_sip/Makefile] Error 1
make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'qt_gui_cpp': 
  Command '/home/odroid/indigo/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2

In my case it's probably was dependent on some python binding. I can't guarantee that this is same problem, but:

  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

looks like it can't find some binary/python executable.

edit flag offensive delete link more
0

answered 2014-08-19 08:11:48 -0500

formica gravatar image

updated 2014-08-19 08:12:25 -0500

Thanks Ahendrix!! :D Following your instruction I obtain this: ` Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ros-indigo-ros-base : Depends: ros-indigo-actionlib but it is not going to be installed Depends: ros-indigo-bond-core but it is not going to be installed Depends: ros-indigo-class-loader but it is not going to be installed Depends: ros-indigo-common-tutorials but it is not going to be installed Depends: ros-indigo-dynamic-reconfigure but it is not going to be installed Depends: ros-indigo-nodelet-core but it is not going to be installed Depends: ros-indigo-pluginlib but it is not going to be installed Depends: ros-indigo-ros-core but it is not going to be installed E: Unable to correct problems, you have held broken packages. `

Any idea?

edit flag offensive delete link more

Comments

Please ask this as a new question.

ahendrix gravatar image ahendrix  ( 2014-08-19 12:54:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-07-25 10:41:56 -0500

Seen: 1,971 times

Last updated: Apr 08 '16