[ros-users] [Discourse.ros.org] [OpenEmbedded] Superflore & Open Embedded

Hunter L. Allen ros.discourse at gmail.com
Tue Jan 9 21:01:28 UTC 2018



@bulwahn I've had some real progress here with respect to catkin.

At the moment, I think the main issue is some sort of python pack linkage.

```
 ERROR: cmake-modules-0.4.1-r0 do_configure: Function failed: do_configure (log file is located at /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/temp/log.do_configure.17964)
ERROR: Logfile of failure stored in: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/temp/log.do_configure.17964
Log data follows:
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 7.2.0
| -- The CXX compiler identification is GNU 7.2.0
| -- Check for working C compiler: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
| -- Check for working C compiler: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -- works
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Check for working CXX compiler: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
| -- Check for working CXX compiler: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Using CATKIN_DEVEL_PREFIX: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/build/devel
| -- Using CMAKE_PREFIX_PATH: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/opt/ros/lunar;/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/usr;                        /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/opt/ros/lunar;/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr
| -- Found PythonInterp: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/python-native/python (found version "2.7.13")
| -- Using PYTHON_EXECUTABLE: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/python-native/python
| -- Using default Python package layout
| -- Found PY_em: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages/em.pyc
| -- Using empy: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages/em.pyc
| -- Using CATKIN_ENABLE_TESTING: 0
| -- catkin 0.7.8
| Traceback (most recent call last):
|   File "/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/build/catkin_generated/generate_cached_setup.py", line 20, in <module>
|     from catkin.environment_cache import generate_environment_script
| ImportError: No module named catkin.environment_cache
| CMake Error at /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/opt/ros/lunar/share/catkin/cmake/safe_execute_process.cmake:11 (message):
| 
|   execute_process(/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr/bin/python-native/python
|   "/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/build/catkin_generated/generate_cached_setup.py")
|   returned error code 1
| Call Stack (most recent call first):
|   /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/opt/ros/lunar/share/catkin/cmake/all.cmake:186 (safe_execute_process)
|   /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/opt/ros/lunar/share/catkin/cmake/catkinConfig.cmake:20 (include)
|   CMakeLists.txt:4 (find_package)
| 
| 
| -- Configuring incomplete, errors occurred!
| See also "/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/build/CMakeFiles/CMakeOutput.log".
| WARNING: /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/temp/run.do_configure.17964:1 exit 1 from 'cmake $oecmake_sitefile /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/cmake_modules-release-release-lunar-cmake_modules-0.4.1-0 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE=/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/toolchain.cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_PREFIX_PATH='/home/allenh1/
 work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/opt/ros/lunar;/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot/usr;                        /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/opt/ros/lunar;/home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/recipe-sysroot-native/usr' -DCMAKE_INSTALL_PREFIX:PATH='/opt/ros/lunar' -DSETUPTOOLS_DEB_LAYOUT=OFF -DCATKIN_ENABLE_TESTING=0 -DCATKIN_BUILD_BINARY_PACKAGE=1 ${PACKAGECONFIG_CONFARGS} -Wno-dev'
| ERROR: Function failed: do_configure (log file is located at /home/allenh1/work/poky/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cmake-modules/0.4.1-r0/temp/log.do_configure.17964)
ERROR: Task (/home/allenh1/work/poky/meta-ros/recipes-ros-lunar/cmake-modules/cmake-modules_0.4.1.bb:do_configure) failed with exit code '1'
ERROR: Task (/home/allenh1/work/poky/meta-ros/recipes-ros-lunar/rosgraph/rosgraph_1.13.5.bb:do_configure) failed with exit code '1'
```

I don't quite have the Open Embedded experience to debug this yet. Do you have any idea as to what could be wrong here?





---
[Visit Topic](https://discourse.ros.org/t/superflore-open-embedded/3579/4) or reply to this email to respond.




More information about the ros-users mailing list