(ubuntuだし、できるかも?と淡い期待をもってみた)
yoctoの公式Documentの通り、パッケージをインストール後、Raspberry pi3のBasicイメージでビルド。
ビルドするとエラーとなってしまう。autoreconf m4? 見慣れないエラー。。。
$ bitbake rpi-hwup-image Parsing recipes: 100% |##################################################################################| Time: 0:00:23
Parsing of 1987 .bb files complete (0 cached, 1987 parsed). 2778 targets, 109 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies
Build Configuration: BB_VERSION = "1.35.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi3" DISTRO = "poky" DISTRO_VERSION = "2.4" TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "master:65d23bd7986615fdfb0f1717b615534a2a14ab80" meta-oe meta-multimedia meta-python meta-networking = "master:0d220e002e4f525469f0c24e0585318d2178e7a1" meta-raspberrypi = "master:a1cfeb3324c458a73507e34ffcf28c25591b8052" WARNING: The Linux kernel on your build host was not configured to provide process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set) Initialising tasks: 100% |###############################################################################| Time: 0:00:05 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: libtool-native-2.4.6-r0 do_configure: autoreconf execution failed. ERROR: libtool-native-2.4.6-r0 do_configure: Function failed: do_configure (log file is located at /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.222) ERROR: Logfile of failure stored in: /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.222 Log data follows: | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.15.1 | Copyright (C) 2017 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>; | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <tromey@redhat.com> | and Alexandre Duret-Lutz <adl@gnu.org>. | AUTOV is 1.15 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/recipe-sysroot-native/usr/share/aclocal-1.15" autoreconf --verbose --install --force --exclude=libtoolize -I /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ -I /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/ | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal --system-acdir=/home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/recipe-sysroot-native/usr/share/aclocal-1.15 -I /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/m4/ -I /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/libtool-2.4.6/tests/ --force -I m4 | m4: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion `ec >= 0' failed. | m4: internal error detected; please report this bug to <bug-m4@gnu.org>: Aborted | autom4te: m4 failed with exit status: 2 | aclocal: error: echo failed with exit status: 2 | autoreconf: aclocal failed with exit status: 2 | ERROR: autoreconf execution failed. | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/xxxx/rpi3/rpi-build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.222) ERROR: Task (/home/xxxx/rpi3/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 559 tasks of which 525 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/xxxx/rpi3/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_configure Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
どうやらBash on Windowsではglibcが完全に動作しないことが原因らしい。
https://github.com/Microsoft/WSL/issues/1878
(Bash on Windowsでyoctoを試そうとする人は他にもいたみたい。。。)
0 件のコメント:
コメントを投稿