2017-12-15 22 views
0

docker에서 이미지를 빌드하기 위해 yocto를 실행 중이지만 모든 프로세스가 끝나면 automake와 관련된 오류가 발생합니다.YoctoProject error with automake and system clock

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를 사용하는 Im, 이것이 최신 버전입니다. –

+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 파이썬 libdir.patch 조리법 SYSROOT 조리법 SYSROOT 네이티브 온도 ''' –