jynik / ready-set-yocto

A short, unofficial guide on getting started with Yocto using a Raspberry Pi
66 stars 12 forks source link

Building core-image-base fails on icu-native package #2

Closed fjenner closed 4 years ago

fjenner commented 4 years ago

When building for machine "raspberrypi2" on a fresh Xubuntu 18.04.3 install, the core-image-base image recipe fails. See attached log. log.do_configure.25108.log

Repo versions/build configuration:

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi2"
DISTRO               = "poky"
DISTRO_VERSION       = "3.0.1"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "zeus:cf92a2d567260b91a259652bad0ecd790750f710"
meta-oe              
meta-multimedia      
meta-networking      
meta-python          = "zeus:e855ecc6d35677e79780adc57b2552213c995731"
meta-raspberrypi     = "zeus:85b75588fdedf72242870628f7c22f034d308740"
jynik commented 4 years ago

I'll have to git bisect to see if an upstream change in the icu build process introduced a build-time dependency on python3-distutils. If so, that's something worth bringing up on the Yocto mailing list.

jynik commented 4 years ago

@fjenner - Could you confirm this is resolved via the additions to the recommended host packages, included in #3?

fjenner commented 4 years ago

Yes, it it. Technically, just adding python3-distutils would have been sufficient in this case. However, I figured it's probably better to just include the full set of official host package dependencies in case there are other Yocto images/packages that rely on some of this additional host functionality. The host packages includes python3, which, by way of dependencies, includes the missing python3-distutils.

jynik commented 4 years ago

Agreed. Thanks for confirming.

Marking closed per #3.