All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with YOCTO Dunfell and host Fedora 33
@ 2021-05-20 13:58 Zoran
  2021-05-20 14:48 ` [yocto] " Joel Winarske
  0 siblings, 1 reply; 4+ messages in thread
From: Zoran @ 2021-05-20 13:58 UTC (permalink / raw)
  To: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Hello Yocto developers,

I have few problems running the following self proprietary script from
one of my public git repos:
https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/yocto-setup.sh

I recall that last time I used the script (I used then Fedora 31), the
./yocto setup dunfell worked seamlessly, did setup the environment,
and upon bitbake -k core-image-minimal completed the tasks without any
problem.

Now, I am using Fedora 33 (in the meantime I did two Fedora version upgrades).

The problem is that while compiling the cannelloni package, the
following errors were issued (please, look into the attached file
cmake_problem.txt).

This cmake problem was introduced after switching from Fedora 31 to Fedora 33 ?!

Any clue/idea why this is happening??? What is the cause of the problem?

Thank you,
Zoran
_______

[-- Attachment #2: cmake_problem.txt --]
[-- Type: text/plain, Size: 22827 bytes --]

[vuser@fedora33-ssd build]$ bitbake -k core-image-minimal
WARNING: Host distribution "fedora-33" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |############################################################################| Time: 0:00:00
Loaded 3309 entries from dependency cache.
Parsing recipes: 100% |##########################################################################| Time: 0:00:01
Parsing of 2201 .bb files complete (2198 cached, 3 parsed). 3312 targets, 117 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "beaglebone"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.7"
TUNE_FEATURES        = "arm vfp cortexa8 neon callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:97a9f30f1c457c55bf0c791d0466ff8620110a49"
meta-jumpnow         = "dunfell:b3995636741be0d219a50035c98ded8b48590888"
meta-bbb             = "dunfell:fa02d8e9079c1cc18f83527588a9dd2747293992"
meta-oe              
meta-python          
meta-networking      = "dunfell:2915810edbb6599051e30efb3b7f805665ddcc23"
meta-qt5             = "upstream/dunfell:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-socketcan       = "master:4e7128b75ba731fc8be662385659fb7f9c440d12"

Initialising tasks: 100% |#######################################################################| Time: 0:00:04
Sstate summary: Wanted 10 Found 0 Missed 10 Current 1698 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: cannelloni-1.0-r0 do_compile: Execution of '/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/run.do_compile.2406989' failed with exit code 1:
[1/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
FAILED: CMakeFiles/addsources.dir/connection.cpp.o 
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp:21:
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.h:23:10: fatal error: linux/can/raw.h: No such file or directory
   23 | #include <linux/can/raw.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
[2/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
FAILED: CMakeFiles/addsources.dir/thread.cpp.o 
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp:21:
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.h:23:10: fatal error: memory: No such file or directory
   23 | #include <memory>
      |          ^~~~~~~~
compilation terminated.
[3/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
FAILED: CMakeFiles/cannelloni-common.dir/parser.cpp.o 
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/cannelloni.h:23,
                 from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.h:4,
                 from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp:1:
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.3.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
    9 | # include_next <stdint.h>
      |                ^~~~~~~~~~
compilation terminated.
[4/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
FAILED: CMakeFiles/addsources.dir/framebuffer.cpp.o 
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp:21:10: fatal error: cstring: No such file or directory
   21 | #include <cstring>
      |          ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
WARNING: /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/run.do_compile.2406989:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'

ERROR: Logfile of failure stored in: /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/log.do_compile.2406989
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/build --target all --
| [1/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
| FAILED: CMakeFiles/addsources.dir/connection.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp:21:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.h:23:10: fatal error: linux/can/raw.h: No such file or directory
|    23 | #include <linux/can/raw.h>
|       |          ^~~~~~~~~~~~~~~~~
| compilation terminated.
| [2/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
| FAILED: CMakeFiles/addsources.dir/thread.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp:21:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.h:23:10: fatal error: memory: No such file or directory
|    23 | #include <memory>
|       |          ^~~~~~~~
| compilation terminated.
| [3/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
| FAILED: CMakeFiles/cannelloni-common.dir/parser.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/cannelloni.h:23,
|                  from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.h:4,
|                  from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp:1:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.3.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
|     9 | # include_next <stdint.h>
|       |                ^~~~~~~~~~
| compilation terminated.
| [4/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
| FAILED: CMakeFiles/addsources.dir/framebuffer.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp:21:10: fatal error: cstring: No such file or directory
|    21 | #include <cstring>
|       |          ^~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/run.do_compile.2406989:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| ERROR: Execution of '/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/run.do_compile.2406989' failed with exit code 1:
| [1/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
| FAILED: CMakeFiles/addsources.dir/connection.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/connection.cpp.o -MF CMakeFiles/addsources.dir/connection.cpp.o.d -o CMakeFiles/addsources.dir/connection.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.cpp:21:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/connection.h:23:10: fatal error: linux/can/raw.h: No such file or directory
|    23 | #include <linux/can/raw.h>
|       |          ^~~~~~~~~~~~~~~~~
| compilation terminated.
| [2/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
| FAILED: CMakeFiles/addsources.dir/thread.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/thread.cpp.o -MF CMakeFiles/addsources.dir/thread.cpp.o.d -o CMakeFiles/addsources.dir/thread.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.cpp:21:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/thread.h:23:10: fatal error: memory: No such file or directory
|    23 | #include <memory>
|       |          ^~~~~~~~
| compilation terminated.
| [3/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
| FAILED: CMakeFiles/cannelloni-common.dir/parser.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++  -Dcannelloni_common_EXPORTS -I. -Wall -DNDEBUG -fPIC -MD -MT CMakeFiles/cannelloni-common.dir/parser.cpp.o -MF CMakeFiles/cannelloni-common.dir/parser.cpp.o.d -o CMakeFiles/cannelloni-common.dir/parser.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp
| In file included from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/cannelloni.h:23,
|                  from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.h:4,
|                  from /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/parser.cpp:1:
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.3.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
|     9 | # include_next <stdint.h>
|       |                ^~~~~~~~~~
| compilation terminated.
| [4/12] /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
| FAILED: CMakeFiles/addsources.dir/framebuffer.cpp.o
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -I. -Wall -DNDEBUG -MD -MT CMakeFiles/addsources.dir/framebuffer.cpp.o -MF CMakeFiles/addsources.dir/framebuffer.cpp.o.d -o CMakeFiles/addsources.dir/framebuffer.cpp.o -c /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp
| /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/git/framebuffer.cpp:21:10: fatal error: cstring: No such file or directory
|    21 | #include <cstring>
|       |          ^~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: /home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/run.do_compile.2406989:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/vuser/projects_yocto/bbb-yocto/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| 
ERROR: Task (/home/vuser/projects_yocto/bbb-yocto/meta-socketcan/recipes-can/cannelloni/cannelloni.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4137 tasks of which 4128 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/vuser/projects_yocto/bbb-yocto/meta-socketcan/recipes-can/cannelloni/cannelloni.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] Problem with YOCTO Dunfell and host Fedora 33
  2021-05-20 13:58 Problem with YOCTO Dunfell and host Fedora 33 Zoran
@ 2021-05-20 14:48 ` Joel Winarske
  2021-05-21  5:54   ` Zoran
       [not found]   ` <1680FF3BA8F793EE.4271@lists.yoctoproject.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Joel Winarske @ 2021-05-20 14:48 UTC (permalink / raw)
  To: Zoran; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Hi Zoran,

Your cannelloni recipe is set to autorev, meaning it's not locked to a
commit.  So when something changes upstream you have to manage it.

Chances are Canelloni introduced a CMake change which is overwriting
(opposed to appending) one or more variables required for cross compiling.
Perhaps try to cross compile (not a host build) Canelloni by itself without
Yocto involved.  Once that's sorted, then reintroduce yocto.


Joel


On Thu, May 20, 2021, 6:58 AM Zoran <zoran.stojsavljevic@gmail.com> wrote:

> Hello Yocto developers,
>
> I have few problems running the following self proprietary script from
> one of my public git repos:
> https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/yocto-setup.sh
>
> I recall that last time I used the script (I used then Fedora 31), the
> ./yocto setup dunfell worked seamlessly, did setup the environment,
> and upon bitbake -k core-image-minimal completed the tasks without any
> problem.
>
> Now, I am using Fedora 33 (in the meantime I did two Fedora version
> upgrades).
>
> The problem is that while compiling the cannelloni package, the
> following errors were issued (please, look into the attached file
> cmake_problem.txt).
>
> This cmake problem was introduced after switching from Fedora 31 to Fedora
> 33 ?!
>
> Any clue/idea why this is happening??? What is the cause of the problem?
>
> Thank you,
> Zoran
> _______
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 2090 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] Problem with YOCTO Dunfell and host Fedora 33
  2021-05-20 14:48 ` [yocto] " Joel Winarske
@ 2021-05-21  5:54   ` Zoran
       [not found]   ` <1680FF3BA8F793EE.4271@lists.yoctoproject.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Zoran @ 2021-05-21  5:54 UTC (permalink / raw)
  To: Joel Winarske; +Cc: Yocto-mailing-list

Hello Joel,

Thank you for the tips. Really helpful, appreciated very much.

I spent some time this morning investigating this issue, and to find
the culprit.

Here are my findings, which resulted in a cannelloni.bb recipe change
(according to what you wrote).

The fix submitted is in recipe:
https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/cannelloni/cannelloni.bb

The last cannelloni version which works is:
https://github.com/mguentner/cannelloni/commit/0bd7e27db35bdef361226882ae04205504f7b2f4

The culprit introducing the cmake errors is this one:
https://github.com/mguentner/cannelloni/commit/d01dd1dc745914d129b1f4da2074e282253246af

And, the issue recorded with Maximilian Guentner's cannelloni repo:
https://github.com/mguentner/cannelloni/issues/35

Thank you again,
Zoran
_______

On Thu, May 20, 2021 at 4:48 PM Joel Winarske <joel.winarske@gmail.com> wrote:
>
> Hi Zoran,
>
> Your cannelloni recipe is set to autorev, meaning it's not locked to a commit.  So when something changes upstream you have to manage it.
>
> Chances are Canelloni introduced a CMake change which is overwriting (opposed to appending) one or more variables required for cross compiling.  Perhaps try to cross compile (not a host build) Canelloni by itself without Yocto involved.  Once that's sorted, then reintroduce yocto.
>
>
> Joel
>
>
> On Thu, May 20, 2021, 6:58 AM Zoran <zoran.stojsavljevic@gmail.com> wrote:
>>
>> Hello Yocto developers,
>>
>> I have few problems running the following self proprietary script from
>> one of my public git repos:
>> https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/yocto-setup.sh
>>
>> I recall that last time I used the script (I used then Fedora 31), the
>> ./yocto setup dunfell worked seamlessly, did setup the environment,
>> and upon bitbake -k core-image-minimal completed the tasks without any
>> problem.
>>
>> Now, I am using Fedora 33 (in the meantime I did two Fedora version upgrades).
>>
>> The problem is that while compiling the cannelloni package, the
>> following errors were issued (please, look into the attached file
>> cmake_problem.txt).
>>
>> This cmake problem was introduced after switching from Fedora 31 to Fedora 33 ?!
>>
>> Any clue/idea why this is happening??? What is the cause of the problem?
>>
>> Thank you,
>> Zoran
>> _______
>>
>> 
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] Problem with YOCTO Dunfell and host Fedora 33
       [not found]   ` <1680FF3BA8F793EE.4271@lists.yoctoproject.org>
@ 2021-06-30  4:00     ` Zoran
  0 siblings, 0 replies; 4+ messages in thread
From: Zoran @ 2021-06-30  4:00 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Joel Winarske, Yocto-mailing-list

Hello to everyone,

Mguentner fixed the cmake issue:
https://github.com/mguentner/cannelloni/issues/35

With this patch:
https://github.com/mguentner/cannelloni/commit/125a7c72e4bcbbf580aeb6ee03e25ed0540be217

So I also reinstated the old cannelloni recipe with:
https://github.com/ZoranStojsavljevic/meta-socketcan/commit/b79e35425b72ba1caf90404a953235a43202e16f

Zee
_______

On Fri, May 21, 2021 at 7:55 AM Zoran via lists.yoctoproject.org
<zoran.stojsavljevic=gmail.com@lists.yoctoproject.org> wrote:
>
> Hello Joel,
>
> Thank you for the tips. Really helpful, appreciated very much.
>
> I spent some time this morning investigating this issue, and to find
> the culprit.
>
> Here are my findings, which resulted in a cannelloni.bb recipe change
> (according to what you wrote).
>
> The fix submitted is in recipe:
> https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/cannelloni/cannelloni.bb
>
> The last cannelloni version which works is:
> https://github.com/mguentner/cannelloni/commit/0bd7e27db35bdef361226882ae04205504f7b2f4
>
> The culprit introducing the cmake errors is this one:
> https://github.com/mguentner/cannelloni/commit/d01dd1dc745914d129b1f4da2074e282253246af
>
> And, the issue recorded with Maximilian Guentner's cannelloni repo:
> https://github.com/mguentner/cannelloni/issues/35
>
> Thank you again,
> Zoran
> _______
>
> On Thu, May 20, 2021 at 4:48 PM Joel Winarske <joel.winarske@gmail.com> wrote:
> >
> > Hi Zoran,
> >
> > Your cannelloni recipe is set to autorev, meaning it's not locked to a commit.  So when something changes upstream you have to manage it.
> >
> > Chances are Canelloni introduced a CMake change which is overwriting (opposed to appending) one or more variables required for cross compiling.  Perhaps try to cross compile (not a host build) Canelloni by itself without Yocto involved.  Once that's sorted, then reintroduce yocto.
> >
> >
> > Joel
> >
> >
> > On Thu, May 20, 2021, 6:58 AM Zoran <zoran.stojsavljevic@gmail.com> wrote:
> >>
> >> Hello Yocto developers,
> >>
> >> I have few problems running the following self proprietary script from
> >> one of my public git repos:
> >> https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/yocto-setup.sh
> >>
> >> I recall that last time I used the script (I used then Fedora 31), the
> >> ./yocto setup dunfell worked seamlessly, did setup the environment,
> >> and upon bitbake -k core-image-minimal completed the tasks without any
> >> problem.
> >>
> >> Now, I am using Fedora 33 (in the meantime I did two Fedora version upgrades).
> >>
> >> The problem is that while compiling the cannelloni package, the
> >> following errors were issued (please, look into the attached file
> >> cmake_problem.txt).
> >>
> >> This cmake problem was introduced after switching from Fedora 31 to Fedora 33 ?!
> >>
> >> Any clue/idea why this is happening??? What is the cause of the problem?
> >>
> >> Thank you,
> >> Zoran
> >> _______
> >>
> >>
> >>
>
> 
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-30  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 13:58 Problem with YOCTO Dunfell and host Fedora 33 Zoran
2021-05-20 14:48 ` [yocto] " Joel Winarske
2021-05-21  5:54   ` Zoran
     [not found]   ` <1680FF3BA8F793EE.4271@lists.yoctoproject.org>
2021-06-30  4:00     ` Zoran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.