질문과 답변

Quest5 bitbake 에러 문의
2020. 5. 19 (화) 21:53 Telcard 조회 127 좋아요 1 스크랩 0 댓글 3

안녕하십니까?

 

반복적으로 bitbake를 시도하고 있습니다.

그런데, 이 에러가 뜨는데, 이 부분도 

수동으로 다운로드하고 하는 것은 아닌 듯 한데..

 

ERROR: Task (/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile) failed with exit code '1'
 

이렇게 종료가 됩니다.

 

반복적으로 재부팅 후에도 다시 하면 같은 에러가 뜨네요. (53 % 지점 쯤)

Initialising tasks: 100% |################################################################################################| Time: 0:00:09
Sstate summary: Wanted 499 Found 463 Missed 36 Current 2064 (92% match, 98% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (6879 of 6973)  98% |###############################################################ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0 do_package_write_deb: Fatal errors occurred in subprocesses:
Command 'PATH="/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/scripts:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot/usr/bin/crossscripts:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/sbin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/sbin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/bitbake/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/hosttools" dpkg-deb -b /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/packages-split/qtbase-dbg /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/deploy-debs/cortexa7t2hf-neon-vfpv4' returned non-zero exit status 141.: Traceback (most recent call last):
  File "/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/meta/classes/package_deb.bbclass", line 274, in deb_write_pkg
    shell=True)
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/scripts:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot/usr/bin/crossscripts:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/sbin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/usr/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/sbin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/openembedded-core/bitbake/bin:/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/hosttools" dpkg-deb -b /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/packages-split/qtbase-dbg /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/deploy-debs/cortexa7t2hf-neon-vfpv4' returned non-zero exit status 141.


ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0 do_package_write_deb: Function failed: do_package_deb
ERROR: Logfile of failure stored in: /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/temp/log.do_package_write_deb.70282
ERROR: Task (/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_package_write_deb) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6897 tasks of which 6827 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_package_write_deb
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
jobaek@ubuntu:~/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1$

 

안되어서, qtbase 패키지 만 지우고, 다시 진행 중입니다.

 

khyo 2020.05.21 11:00 답글  | 
/home/jobaek/Work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/temp/log.do_package_write_deb.70282 이 로그파일 내용을 참조 해 보시면 좋을 것 같습니다. 공유 해 주신 내용 상으로는 build가 안되었다기 보다는 build 결과물을 확인하는 과정에서 문제가 발생하는 것 같습니다.
Telcard 2020.05.20 23:51 답글  | 
빌드 과정에서 안되어서, 각각의 패키지별 지우고 진행해 보았습니다. $>bitbake -c cleanall qtbase $>bitbake qtbase 이런 방법으로 2~3개를 개별적으로 먼저 작업을 했습니다.
khyo 2020.05.20 10:00 답글  | 
올려주신 내용은 compile 실패했다는 내용 뿐이라 어디에서 문제가 발생 했는지 알 수 없습니다. 에러 발생하셨을 때 로그를 전부 첨부 해 주시면 좋을 것 같습니다.

로그인 후
참가 상태를 확인할 수 있습니다.