Bug 10861

Summary: perl is not compiling on a OpenSUSE distro
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: coreAssignee: Daniela Plascencia <daniela.plascencia>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Leonardo Sandoval Gonzalez 2016-12-27 17:05:03 UTC
report-error class enabled and full log posted into:

http://errors.yoctoproject.org/Errors/Build/27787/


Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal-4.8"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "master:dbb247cac5fbf7b037e4955f9793828451723924"
meta-oe
meta-python       = "master:380f0cef364c1a3749b574ee29f44cca004088b0"
meta-patchtest    = "master:effe3afbbc9fbcbdad71ec87c784b05d6c30e260"


Error:

./miniperl -Ilib -f write_buildcustomize.pl
Can't load generated lib/buildcustomize.pl:  at write_buildcustomize.pl line 112.
makefile:391: recipe for target 'lib/buildcustomize.pl' failed
make[1]: *** [lib/buildcustomize.pl] Error 13
Comment 1 Leonardo Sandoval Gonzalez 2017-01-05 16:45:07 UTC
Markus, I just realize that the problem is not happening with poky layers. The problem I had happens when building core-image-patchtest, which includes meta-oe layers. One way to easily reproduce the reported problem is running the following script:

patchtest/scripts/create-guest-machine on an opensuse machine, where patchtest code is located at git.yp.org. The latter machine uses meta-oe layers and the package-group self-hosted.

The opensuse machine where the problem was found is:

> cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="42.1"
VERSION_ID="42.1"
PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"
Comment 2 Leonardo Sandoval Gonzalez 2017-01-05 23:32:25 UTC
Issue cannot be reproduced. The guest machine was created successfully in two opensuse machines and the issue was not present.