Yocto 프로젝트 빌드: 'GLIBC_2.33' 버전을 찾을 수 없습니다.

Yocto 프로젝트 빌드: 'GLIBC_2.33' 버전을 찾을 수 없습니다.

Yocto projectOclea 하드웨어에서 작업하려면 사용자 정의 레이어와 장치 트리를 사용하여 이미지를 구축 해야 합니다 . 나는 Ubuntu 20함께 일하고 있다ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.31

파일 시스템 NTFS가 문제일 수 있다는 것을 알았지만 ext3/ext4.

빌드를 실행할 때의 전체 출력은 다음과 같습니다.

./example-build.sh --platform s5l
You had no conf/local.conf file. This configuration file has therefore been
created for you from /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-poky/conf/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware). See conf/local.conf for more information as common configuration
options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you from /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-poky/conf/bblayers.conf.sample
To add additional metadata layers into your configuration please add entries
to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    https://docs.yoctoproject.org

For more information about OpenEmbedded see the website:
    https://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-full-cmdline
    core-image-sato
    core-image-weston
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Other commonly useful commands are:
 - 'devtool' and 'recipetool' handle common recipe tasks
 - 'bitbake-layers' handles common layer tasks
 - 'oe-pkgdata-util' handles common target package tasks
Adding bitbake layers
NOTE: Starting bitbake server...
Loading cache: 100% |                                                                                                                                     | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |####################################################################################################################################| Time: 0:00:09
Parsing of 2657 .bb files complete (0 cached, 2657 parsed). 4107 targets, 361 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime libgstcodecparsers-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-rtsp-server)
Consider defining a PREFERRED_RPROVIDER entry to match libgstcodecparsers-1.0
NOTE: Multiple providers are available for runtime libgstvideo-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-rtsp-server)
Consider defining a PREFERRED_RPROVIDER entry to match libgstvideo-1.0

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-oclea-linux"
MACHINE              = "oclea-s5l"
DISTRO               = "oclea"
DISTRO_VERSION       = "1.0"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:1861941037c4cca6fdfa3154f65d82ea96ab761f"
meta-oe              
meta-python          
meta-networking      
meta-multimedia      
meta-filesystems     
meta-webserver       = "HEAD:5f120a926b0fcd55cfe7565bb7ddf23661cad498"
meta-oclea-open      
meta-oclea-prebuilt  
meta-oclea-source    
meta-oclea-distro    = "HEAD:1861941037c4cca6fdfa3154f65d82ea96ab761f"

WARNING: Unable to get checksum for oclea-log SRC_URI entry oe-logs: [Errno 2] No such file or directory: '/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/oe-logs'
WARNING: Unable to get checksum for oclea-log SRC_URI entry oe-workdir: [Errno 2] No such file or directory: '/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/oe-workdir'
Initialising tasks: 100% |#################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 2139 Local 2135 Mirrors 0 Missed 4 Current 0 (99% match, 0% complete)
NOTE: Executing Tasks
NOTE: oclea-log: compiling from external source tree /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/
WARNING: oclea-image-3.0.0-rc1 do_rootfs: QA Issue: The license listed BSD was not in the licenses collected for recipe cyw-supplicant [license-file-missing]
WARNING: oclea-image-3.0.0-rc1 do_rootfs: QA Issue: The license listed BSD was not in the licenses collected for recipe murata-binaries [license-file-missing]
ERROR: ota-7z-3.0.0-rc1 do_assemble_7z: ExecutionError('/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/temp/run.do_assemble_7z.291416', 1, None, None)
ERROR: Logfile of failure stored in: /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/temp/log.do_assemble_7z.291416
Log data follows:
| DEBUG: Executing shell function do_assemble_7z
| Device-trees      oclea_s5l_micro_som.dts     oclea_s5l_janus.dts     oclea_s5l_evk2.dts     oclea_s5l_breakout_evk_hydra.dts
| /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc)
| /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc)
| WARNING: exit code 1 from a shell command.
ERROR: Task (/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-distro/recipes-bsp/ota-7z/ota-7z.bb:do_assemble_7z) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5031 tasks of which 5004 didn't need to be rerun and 1 failed.

답변1

Ubuntu 20.04를 사용하여 가상 머신을 생성했는데 동일한 문제가 발생했습니다. 그런 다음 GLIBC 2.34를 사용하여 Ubuntu 21로 업그레이드하기로 결정하고 Yocto 프로젝트를 사용하여 이미지를 성공적으로 구축했습니다.

관련 정보