Bug 12983 - Cannot build libgpg-error-native on ppc64le Power8 build machine
Summary: Cannot build libgpg-error-native on ppc64le Power8 build machine
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.6
Hardware: Other ppc64
: Undecided normal
Target Milestone: ---
Assignee: Guillermo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-11-06 22:47 UTC by Guillermo
Modified: 2018-11-08 15:41 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Defines ppc64 and ppc64le header files (647 bytes, patch)
2018-11-06 22:50 UTC, Guillermo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.