Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721912 - Can't compile cryptsetup.static on version 2.3.2 with json-c 0.14
Summary: Can't compile cryptsetup.static on version 2.3.2 with json-c 0.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 17:12 UTC by Marcus V Salvador
Modified: 2020-05-13 23:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Cryptsetup compilation time' problem (gentoo_cryptsetup_static_v2_3_2.txt,115.38 KB, text/plain)
2020-05-09 17:12 UTC, Marcus V Salvador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus V Salvador 2020-05-09 17:12:26 UTC
Created attachment 637126 [details]
Cryptsetup compilation time' problem

Hello to y´all, guys.

Reporting the bug of the cryptsetup.static compilation problem on version 2.3.2.

Please, look my log file in the attachment.

Regards,
Marcus.
Comment 1 Mathieu Belanger 2020-05-10 22:01:16 UTC
I confirm

The problem is in fact related to the new json-c 0.14.

Even when the USE "static-libs" is set, no static libs a produced.

I try to manually add -DBUILD_STATIC_LIBS in the ebuild but after the configuring part I see that : 

CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_STATIC_LIBS

json-c static is required for cryptsetup.static.

cryptsetup.static is required for encrypted boot device.
Comment 2 Jakov Smolić archtester gentoo-dev 2020-05-13 21:41:11 UTC
Hello,
there was a json-c bug opened for the "static-libs" problem - https://bugs.gentoo.org/720742

It has been resolved and changes were merged in ::gentoo tree yesterday ( via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34cc9b34ece4e078343c264acaf4b9962a57969b)

I hope that solves your problems here :)
Comment 3 Jonas Stein gentoo-dev 2020-05-13 23:22:02 UTC
please test and reopen if it is not fixed.