2017-12-15 11 views
0

yocktoを実行してドッカーの中にイメージを構築していますが、すべてのプロセスの後でautomakeに関連するエラーが発生します。YoctoProjectのautomakeとシステムクロックのエラー

checking whether build environment is sane... 
configure: error: newly created file is older than distributed files! 
Check your system clock 

enter image description here

ログは次のとおりです:

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 
NOTE: Running ../automake-1.15.1/configure --build=x86_64-linux   --host=x86_64-linux   --target=x86_64-linux   --prefix=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr  --exec_prefix=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr   --bindir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/bin  --sbindir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/sbin   --libexecdir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/libexec  --datadir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/share   --sysconfdir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/etc  --sharedstatedir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/com  --localstatedir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/var   --libdir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/lib  --includedir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/include  --oldincludedir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/include   --infodir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/share/info  --mandir=/shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/recipe-sysroot-native/usr/share/man   --disable-silent-rules   --disable-dependency-tracking    --disable-static 
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-static 
checking whether make supports nested variables... yes 
checking build system type... x86_64-pc-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking for a BSD-compatible install... /shared/rpi3-custom/build/tmp/hosttools/install -c 
checking whether build environment is sane... configure: error: newly created file is older than distributed files! 
Check your system clock 
NOTE: The following config.log files may provide further information. 
NOTE: /shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/build/config.log 
ERROR: configure failed 
WARNING: exit code 1 from a shell command. 
ERROR: Function failed: do_configure (log file is located at /shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0/temp/log.do_configure.11873) 
+0

どのYoctoバージョンを使用しますか? – Nayfe

+0

コマンドラインで実行される「日付」は何を表示しますか? –

+0

make cmd = "date": Tue Dec 19 22:36:08 UTC 2017 –

答えて

0

が最新Yoctoのバージョンでは、クロックの健全性チェックを削除し、このpatchがあり、これはエラーになります。

+0

こんにちは、ありがとう。しかし、どうすればそれを使うことができますか?私はyocto 2.4を使っていますが、これは最新のバージョンです。 –

+0

これは '/ shared/rpi3-custom/build/tmp/work/x86_64-linux/automake-native/1.15.1-r0 /'にも適用されていますか? – Nayfe

+0

こんにちは。助けてくれてありがとう。私が持っているファイルを一覧表示した場合: '' ' 0001-のautomake-追加・デフォルト・libtool_tagツーcppasm.patch のautomake-1.15.1 のautomake-置き換える-W-オプション・イン・shebangs-と、近代的な-use- warnings.patch ビルド buildtest.patch new_rt_path_for_test-driver.patch performance.patch のpython-libdir.patch レシピSYSROOT レシピSYSROOTネイティブ 一時 '' ' –

関連する問題