Bug 12271 - ruby-native failing on fedora26 in morty branch
Summary: ruby-native failing on fedora26 in morty branch
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2.3
Assignee: Joshua Lock
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-24 19:40 UTC by oscar lopez arandas
Modified: 2017-12-19 10:33 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
test.log (120.23 KB, application/octet-stream)
2017-10-24 19:40 UTC, oscar lopez arandas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description oscar lopez arandas 2017-10-24 19:40:29 UTC
Created attachment 4096 [details]
test.log

i tested nightly-world on fedora26 and it failed 

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-26"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2.2"
TUNE_FEATURES     = "m32 i586"       
meta-yocto-bsp    = "heads/morty:1d92cb1a20135cfffff9f94a6633ec0840518738"

================================================================================
ERROR: ruby-native-2.2.5-r0 do_compile: oe_runmake failed
ERROR: ruby-native-2.2.5-r0 do_compile: Function failed: do_compile (log file is located at /home/ab/autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ruby-native/2.2.5-r0/temp/log.do_compile.24861)
ERROR: Logfile of failure stored in: /home/ab/autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ruby-native/2.2.5-r0/temp/log.do_compile.24861
=================================================================================
please refer to attachment.
Comment 1 Joshua Lock 2017-10-25 13:59:21 UTC
I can't replicate this on my local fedora26 machine or in a fedora26 CROPS container.

Is it possible to get a copy of the log.do_compile?

/home/ab/autobuilder/yocto-worker/nightly-world/build/build/tmp/work/x86_64-linux/ruby-native/2.2.5-r0/temp/log.do_compile.24861
Comment 2 Joshua Lock 2017-10-26 15:16:59 UTC
I'd originally missed that this was filed against 2.2.2, I couldn't reproduce the issue with master but *could* reproduce on the morty branch. So far as I can tell the only change to the ruby recipe in that time were version bumps, therefore the fix likely comes from an upstream ruby change.

This issue isn't autobuilder specific, so moving to core.
Comment 3 Joshua Lock 2017-10-26 15:19:23 UTC
Fedora 26 is newer than morty, yet we'd probably benefit from fixing this issue if we can due to the use of Fedora26 on the autobuilder infrastructure.
Comment 4 Joshua Lock 2017-10-27 14:46:26 UTC
Found the upstream bug:

https://bugs.ruby-lang.org/issues/13150
Comment 5 Joshua Lock 2017-10-27 14:50:58 UTC
https://patchwork.openembedded.org/patch/145262/
Comment 6 Armin Kuster 2017-10-27 16:54:09 UTC
(In reply to comment #5)
> https://patchwork.openembedded.org/patch/145262/
thanks