I've been tasked with setting up Yocto builds and I thought I'd better start 
with the simplest possible build of Poky. I've tried Yocto 2.7.1 and Yocto 
3.0.1 on Debian 9 and Debian 10 but they all fail on the bitbake command. The 
simplest failure comes from a Debian 10/Yocto 3.0.1/core-image-minimal build, 
so I've included the output. Where do I go from here?
> 
> 
> olivers@isembard-deb:~/poky/build$ bitbake -k core-image-minimal
> 
> WARNING: Host distribution "Debian-10" 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%
> |###############################################################################################|
> ETA:  00:00:00
> 
> Loaded 1287 entries from dependency cache.
> 
> NOTE: Resolving any missing task queue dependencies
> 
> 
> Build Configuration:
> 
> BB_VERSION        = "1.26.0"
> 
> BUILD_SYS         = "x86_64-linux"
> 
> NATIVELSBSTRING   = "Debian-10"
> 
> TARGET_SYS        = "i586-poky-linux"
> 
> MACHINE           = "qemux86"
> 
> DISTRO            = "poky"
> 
> DISTRO_VERSION    = "1.8.2"
> 
> TUNE_FEATURES     = "m32 i586"
> 
> TARGET_FPU        = ""
> 
> meta
> 
> meta-yocto
> 
> meta-yocto-bsp    = "fido:87631919819b6f85f23f57689cd1065c64d7fb03"
> 
> 
> NOTE: Preparing RunQueue
> 
> NOTE: Executing SetScene Tasks
> 
> NOTE: Executing RunQueue Tasks
> 
> ERROR: Function failed: do_compile (log file is located at
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.27321)
> 
> 
> ERROR: Logfile of failure stored in:
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.27321
> 
> 
> Log data follows:
> 
> | DEBUG: Executing shell function do_compile
> 
> | NOTE: make -j 1
> infodir=/home/olivers/poky/build/tmp/sysroots/x86_64-linux/usr/share/info
> 
> | make  all-recursive
> 
> | make[1]: Entering directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
> 
> 
> | Making all in .
> 
> | make[2]: Entering directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
> 
> 
> | make[2]: Nothing to be done for 'all-am'.
> 
> | make[2]: Leaving directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
> 
> 
> | Making all in examples
> 
> | make[2]: Entering directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/examples'
> 
> 
> | make[2]: Nothing to be done for 'all'.
> 
> | make[2]: Leaving directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/examples'
> 
> 
> | Making all in lib
> 
> | make[2]: Entering directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
> 
> 
> | make  all-am
> 
> | make[3]: Entering directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
> 
> 
> | gcc   -I.
> -I/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4-1.4.17/lib
> -isystem/home/olivers/poky/build/tmp/sysroots/x86_64-linux/usr/include 
> -isystem/home/olivers/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2
> -pipe -c -o freadahead.o
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4-1.4.17/lib/freadahead.c
> 
> 
> |
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4-1.4.17/lib/freadahead.c:
> In function 'freadahead':
> 
> |
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4-1.4.17/lib/freadahead.c:91:3:
> error: #error "Please port gnulib freadahead.c to your platform! Look at
> the definition of fflush, fread, ungetc on your system, then report this
> to bug-gnulib."
> 
> |   #error "Please port gnulib freadahead.c to your platform! Look at the
> definition of fflush, fread, ungetc on your system, then report this to
> bug-gnulib."
> 
> |    ^~~~~
> 
> | make[3]: *** [Makefile:1842: freadahead.o] Error 1
> 
> | make[3]: Leaving directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
> 
> 
> | make[2]: *** [Makefile:1602: all] Error 2
> 
> | make[2]: Leaving directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
> 
> 
> | make[1]: *** [Makefile:1506: all-recursive] Error 1
> 
> | make[1]: Leaving directory
> '/home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
> 
> 
> | make: *** [Makefile:1461: all] Error 2
> 
> | ERROR: oe_runmake failed
> 
> | WARNING: exit code 1 from a shell command.
> 
> | ERROR: Function failed: do_compile (log file is located at
> /home/olivers/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.27321)
> 
> 
> ERROR: Task 947
> (/home/olivers/poky/meta/recipes-devtools/m4/m4-native_1.4.17.bb,
> do_compile) failed with exit code '1'
> 
> NOTE: Tasks Summary: Attempted 725 tasks of which 724 didn't need to be
> rerun and 1 failed.
> 
> No currently running tasks (27 of 2034)
> 
> 
> Summary: 1 task failed:
> 
> /home/olivers/poky/meta/recipes-devtools/m4/m4-native_1.4.17.bb,
> do_compile
> 
> Summary: There was 1 WARNING message shown.
> 
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48300): https://lists.yoctoproject.org/g/yocto/message/48300
Mute This Topic: https://lists.yoctoproject.org/mt/71056942/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to