Beagle-ROS: summary of cross-compiling errors

As suggested yesterday at the IRC chat i’m sharing a summary of the cross-compiling erros with some of the ROS packages:

from /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build/include/turtlesim/moc_turtle_frame.cxx:10:
| /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of ‘va_list’ has changed in GCC 4.4

(complete log)

Since turtlesim doesn’t cross-compile, the tutorials won’t either.

ERROR: QA Issue: urdf rdepends on urdfdom-dev

ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/urdf-1.10.14-r0/temp/log.do_package.29598
ERROR: Task 9 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/robot-model/urdf_1.10.14.bb, do_package) failed with exit code '1’

(i believe the error provides from the urdfdom recipe)

Víctor.

As suggested yesterday at the IRC chat i'm sharing a summary of the cross-compiling erros with some of the ROS packages:

  • ros-tutorials/turtlesim:
from /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build/include/turtlesim/moc_turtle_frame.cxx:10:
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of 'va_list' has changed in GCC 4.4
(complete log)

It's picking up qt for x86, not arm:

/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtGui.so: could not read symbols: File in wrong format

You probably need to inherit qt4x11 or qt4e (I'd recommend qt4x11) to get that fixed.

regards,

Koen

You probably need to inherit qt4x11 or qt4e (I’d recommend qt4x11) to get that fixed.

regards,

Koen

inherit qt4x11:

ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419 for further information)
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419
Log data follows:

DEBUG: Executing shell function do_compile
NOTE: make -j2 -e MAKEFLAGS= KERNEL_PATH=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel KERNEL_SRC=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel KERNEL_VERSION=3.8.13 CC=arm-angstrom-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-angstrom-linux-gnueabi-ld AR=arm-angstrom-linux-gnueabi-ar BUILD=release TI_PLATFORM=ti335x
make -C /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel M=pwd
make[1]: Entering directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel' CC [M] /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c: In function 'bc_cat_init': /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6: error: implicit declaration of function 'cpu_is_omap3530' [-Werror=implicit-function-declaration] /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6: error: implicit declaration of function 'omap_rev' [-Werror=implicit-function-declaration] /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56: error: 'OMAP3430_REV_ES3_0' undeclared (first use in this function) /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors make[3]: *** [/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 1 make[2]: *** [/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti] Error 2 make[1]: *** [_module_/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM] Error 2 make[1]: Leaving directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel’
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419 for further information)
ERROR: Task 1686 (/home/victor/Escritorio/GSOC/setup-scripts/sources/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb, do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4139 tasks of which 4133 didn’t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/victor/Escritorio/GSOC/setup-scripts/sources/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

inherit qt4xe

ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.28587 for further information)
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.28587
Log data follows:

DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: SITE files [‘endian-little’, ‘bit-32’, ‘arm-common’, ‘common-linux’, ‘common-glibc’, ‘arm-linux’, ‘arm-linux-gnueabi’, ‘common’]
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing shell function do_configure
NOTE: using qmake spec in /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/share/qtopia/mkspecs/linux-gnueabi-oe-g++, using profiles ‘’
ls: cannot access *.pro: No such file or directory
ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.28587 for further information)
ERROR: Task 7 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 3994 tasks of which 3991 didn’t need to be rerun and 1 failed.
No currently running tasks (3994 of 4003)

Summary: 1 task failed:
/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

You probably need to inherit qt4x11 or qt4e (I'd recommend qt4x11) to get that fixed.

regards,

Koen

inherit qt4x11:

ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419 for further information)
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419
Log data follows:
> DEBUG: Executing shell function do_compile
> NOTE: make -j2 -e MAKEFLAGS= KERNEL_PATH=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel KERNEL_SRC=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel KERNEL_VERSION=3.8.13 CC=arm-angstrom-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-angstrom-linux-gnueabi-ld AR=arm-angstrom-linux-gnueabi-ar BUILD=release TI_PLATFORM=ti335x
> make -C /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel M=`pwd`
> make[1]: Entering directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel'
> CC [M] /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c: In function 'bc_cat_init':
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6: error: implicit declaration of function 'cpu_is_omap3530' [-Werror=implicit-function-declaration]
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6: error: implicit declaration of function 'omap_rev' [-Werror=implicit-function-declaration]
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56: error: 'OMAP3430_REV_ES3_0' undeclared (first use in this function)
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56: note: each undeclared identifier is reported only once for each function it appears in
> cc1: some warnings being treated as errors
> make[3]: *** [/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 1
> make[2]: *** [/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti] Error 2
> make[1]: *** [_module_/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/Graphics_SDK_4_05_00_03/GFX_Linux_KM] Error 2
> make[1]: Leaving directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/src/kernel'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/beaglebone-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-r23b/temp/log.do_compile.27419 for further information)
ERROR: Task 1686 (/home/victor/Escritorio/GSOC/setup-scripts/sources/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4139 tasks of which 4133 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/victor/Escritorio/GSOC/setup-scripts/sources/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

To fix the above, can you try deleting

  ./meta-kde/recipes-misc-support/qt4-x11-free_4.8.1.bbappend

And retry? That should disable the sgx stuff for qt4x11

Doing what you suggested ends up with the following error:

ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080 for further information)
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080
Log data follows:

DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: SITE files [‘endian-little’, ‘bit-32’, ‘arm-common’, ‘common-linux’, ‘common-glibc’, ‘arm-linux’, ‘arm-linux-gnueabi’, ‘common’]
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing shell function do_configure
NOTE: using qmake spec in /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/share/qt4/mkspecs/linux-gnueabi-oe-g++, using profiles ‘’
ls: cannot access *.pro: No such file or directory
ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080 for further information)
ERROR: Task 7 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4134 tasks of which 4132 didn’t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Seems like the error when inheriting from qt4e.

Doing what you suggested ends up with the following error:

ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080 for further information)
ERROR: Logfile of failure stored in: /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080
Log data follows:
> DEBUG: Executing python function sysroot_cleansstate
> DEBUG: Python function sysroot_cleansstate finished
> DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
> DEBUG: Executing shell function autotools_preconfigure
> DEBUG: Shell function autotools_preconfigure finished
> DEBUG: Executing shell function do_configure
> NOTE: using qmake spec in /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone/usr/share/qt4/mkspecs/linux-gnueabi-oe-g++, using profiles ''
> ls: cannot access *.pro: No such file or directory
> ERROR: Function failed: do_configure (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_configure.5080 for further information)
ERROR: Task 7 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4134 tasks of which 4132 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Seems like the error when inheriting from qt4e.

I see what's happening, does it work if you move the inherit before the 'require ros-tutorials.inc'? The QT classes assume that you're using qmake instead of cmake. If that doesn't work, you'll likely need to set the QT paths manually and/or patch the cmake findqt methods.

It doesn’t, there’s some progress though:

[ 83%] Built target turtle_teleop_key
make[2]: Leaving directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build' make -f CMakeFiles/turtlesim_node.dir/build.make CMakeFiles/turtlesim_node.dir/build make[2]: Entering directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build’
Linking CXX executable devel/lib/turtlesim/turtlesim_node
/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/turtlesim_node.dir/link.txt --verbose=1
/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fpermissive -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed -Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed CMakeFiles/turtlesim_node.dir/src/turtlesim.cpp.o CMakeFiles/turtlesim_node.dir/src/turtle.cpp.o CMakeFiles/turtlesim_node.dir/src/turtle_frame.cpp.o CMakeFiles/turtlesim_node.dir/include/turtlesim/moc_turtle_frame.cxx.o -o devel/lib/turtlesim/turtlesim_node -rdynamic /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtGui.so /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtCore.so -lcpp_common -lroscpp_serialization -lrostime -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lrosconsole -lboost_regex-mt -llog4cxx -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lxmlrpcpp -lroslib -lboost_thread-mt -lrosconsole -lboost_regex-mt -llog4cxx -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lxmlrpcpp -lroslib -Wl,-rpath,/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib:
/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtGui.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [devel/lib/turtlesim/turtlesim_node] Error 1
make[2]: Leaving directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build' make[1]: *** [CMakeFiles/turtlesim_node.dir/all] Error 2 make[1]: Leaving directory /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build’
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_compile.28007 for further information)
ERROR: Task 8 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4139 tasks of which 4134 didn’t need to be rerun and 1 failed.
No currently running tasks (4139 of 4147)

Summary: 1 task failed:
/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

It seems it’s getting the i686-linux libraries.

It doesn't, there's some progress though:

> [ 83%] Built target turtle_teleop_key
> make[2]: Leaving directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build'
> make -f CMakeFiles/turtlesim_node.dir/build.make CMakeFiles/turtlesim_node.dir/build
> make[2]: Entering directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build'
> Linking CXX executable devel/lib/turtlesim/turtlesim_node
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/turtlesim_node.dir/link.txt --verbose=1
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fpermissive -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/beaglebone -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/turtlesim_node.dir/src/turtlesim.cpp.o CMakeFiles/turtlesim_node.dir/src/turtle.cpp.o CMakeFiles/turtlesim_node.dir/src/turtle_frame.cpp.o CMakeFiles/turtlesim_node.dir/include/turtlesim/moc_turtle_frame.cxx.o -o devel/lib/turtlesim/turtlesim_node -rdynamic /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtGui.so /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtCore.so -lcpp_common -lroscpp_serialization -lrostime -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lrosconsole -lboost_regex-mt -llog4cxx -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lxmlrpcpp -lroslib -lboost_thread-mt -lrosconsole -lboost_regex-mt -llog4cxx -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lxmlrpcpp -lroslib -Wl,-rpath,/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib:
> /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/sysroots/i686-linux/usr/lib/libQtGui.so: could not read symbols: File in wrong format
> collect2: error: ld returned 1 exit status
> make[2]: *** [devel/lib/turtlesim/turtlesim_node] Error 1
> make[2]: Leaving directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build'
> make[1]: *** [CMakeFiles/turtlesim_node.dir/all] Error 2
> make[1]: Leaving directory `/home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/ros_tutorials-0.3.11/turtlesim/build'
> make: *** [all] Error 2
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (see /home/victor/Escritorio/GSOC/setup-scripts/build/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/turtlesim-0.3.11-r0/temp/log.do_compile.28007 for further information)
ERROR: Task 8 (/home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4139 tasks of which 4134 didn't need to be rerun and 1 failed.
No currently running tasks (4139 of 4147)

Summary: 1 task failed:
  /home/victor/Escritorio/GSOC/setup-scripts/sources/beagle-ros/recipes/ros-tutorials/turtlesim_0.3.11.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

It seems it's getting the i686-linux libraries.

I strongly suspect the findQT4 cmake macro is broken :frowning:

How can I address this problem if findQT4 cmake macro is broken?. I’m willing to give it a try but i might need some pointers.

I'm not sure, you might need to write a replacement findQT4 class from scratch that uses the qt*.bbclass variables