Bug 9219 - systemd 229 fails to build without gcrypt PACKAGECONFIG
Summary: systemd 229 fails to build without gcrypt PACKAGECONFIG
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: All Multiple
: Medium normal
Target Milestone: 2.1 M4
Assignee: Maxin B. John
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-06 05:49 UTC by Jonathan Liu
Modified: 2016-04-01 09:08 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

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