Search code examples
ubuntu-14.04embedded-linuxyoctobitbakeopenembedded

Error File name too long Yocto Project


I'm working on a Yocto project, Version : poky-jethro

I want to build a version of the distribution poky to Raspberry Pi

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU        = "vfp"
meta              
meta-yocto        = "jethro:3b223f75eec1738fbc913858e8e11c8305e3edcb"
meta-oe           
meta-multimedia   
meta-networking   
meta-python       = "jethro:c305ac5d2f5285d5eec8952a4ca7f3b4f89aed96"
meta-qt5          = "jethro:9bfcf79fcd824efb9f2a9bd72ecbedfee1315c96"
meta-raspberrypi  = "jethro:f2cff839f52a6e6211337fc45c7c3eabf0fac113"
meta-rpi          = "jethro:3ef71867eeb3669da40019469385a437843e8245"

I succeeded in building system on another OS "Ubuntu-14.0403" but when I tried build system on another version "Ubuntu-14.0404"

This error appears

[Errno 36] File name too long

[Errno 36] File name too long


Solution

  • You probably selected the option when installing Ubuntu to use encrypted home directories, which unfortunately uses a broken file system that can't handle long file names. If this is the case it's best to reinstall Ubuntu without encrypted home directories (or any other distro as they generally do disk encryption properly)