Bug 9219

Summary: systemd 229 fails to build without gcrypt PACKAGECONFIG
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jonathan Liu <net147>
Component: coreAssignee: Maxin B. John <maxin.john>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, raj.khem
Version: 2.2   
Target Milestone: 2.1 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jonathan Liu 2016-03-06 05:49:55 UTC
systemd 229 has an undeclared dependency on libgcrypt header files and libraries. This means if the gcrypt PACKAGECONFIG is disabled, it can fail to find the libgcrypt header files and also fail to link when building the systemd recipe.

Tested using OE-core 092984669d8590627cfb188a0aa00244e22c4671.

Upstream issue:
https://github.com/systemd/systemd/issues/2711
Comment 1 Ross Burton 2016-03-10 16:50:48 UTC
Patch sent to add a comment that resolved needs it.  If upstream solve this properly we can backport a patch.
Comment 2 Ross Burton 2016-03-16 13:55:41 UTC
Comment merged in oe-core c885b44480b14554c8835e114a2e5469a82f0598.
Comment 3 Ross Burton 2016-03-30 15:23:19 UTC
Upstream has fixed this in https://github.com/systemd/systemd/pull/2905.  Maxin, would you have the time to see if this can be trivially backported to oe-core?
Comment 4 Maxin B. John 2016-03-30 15:46:22 UTC
(In reply to comment #3)
> Upstream has fixed this in https://github.com/systemd/systemd/pull/2905. 
> Maxin, would you have the time to see if this can be trivially backported to
> oe-core?

Sure, I will look into it ASAP.
Comment 5 Maxin B. John 2016-03-31 09:12:23 UTC
Patch sent to oe-core:
http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119729.html