Bug 12983

Summary: Cannot build libgpg-error-native on ppc64le Power8 build machine
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Guillermo <deuteros76>
Component: coreAssignee: Guillermo <deuteros76>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.6   
Target Milestone: ---   
Hardware: Other   
OS: ppc64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Defines ppc64 and ppc64le header files none

Description Guillermo 2018-11-06 22:47:15 UTC

    
Comment 1 Guillermo 2018-11-06 22:50:50 UTC
Created attachment 4383 [details]
Defines ppc64 and ppc64le header files
Comment 2 Guillermo 2018-11-06 22:53:25 UTC
Using a ppc64le build machine the following error occurs when compiling libjpg-error-native

cp: cannot stat '/home/ubuntu/Yocto/build-ppc64/tmp/work/ppc64le-linux/libgpg-error-native/1.32-r0/libgpg-error-1.32/src/syscfg/lock-obj-pub.ppc64le-unknown-linux-gnu.h': No such file or directory

The attached patch defines the right header file for ppc64 and ppc64le archs
Comment 3 Ross Burton 2018-11-07 09:40:20 UTC
We don't take patches though bugzilla, can you submit that patch to the oe-core list as a fully-formed patch (ie git-send-email)?
Comment 4 Guillermo 2018-11-07 14:35:58 UTC
Ok, already sent
Comment 5 Ross Burton 2018-11-07 16:57:05 UTC
There's an identical patch by Serhey Popovych already queued for master.
Comment 6 Ross Burton 2018-11-08 15:41:12 UTC
Merged in oe-core f1af780769477f06eb925fd87c844baba04ada2d.