Bug 9691 - Wrong cryptsetup package include files location
Summary: Wrong cryptsetup package include files location
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2016.08
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
: 9696 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-02 15:45 UTC by Jean-pierre Cartal
Modified: 2017-03-05 20:32 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-pierre Cartal 2017-03-02 15:45:51 UTC
Hello,

I noticed that after building cryptsetup package, the libcryptsetup.h header file is located under target directory instead of staging :
$ find target/ staging/ -name libcryptsetup.h
target/usr/include/libcryptsetup.h
$

Building packages that depend on libcryptsetup library is thus not possible.
Comment 1 Thomas Petazzoni 2017-03-02 15:52:37 UTC
*** Bug 9696 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Petazzoni 2017-03-02 15:53:24 UTC
We just need to add CRYPTSETUP_INSTALL_STAGING = YES in cryptsetup.mk.

Just curious, what other package might use this header file provided by crypsetup?
Comment 3 Jean-pierre Cartal 2017-03-02 16:03:15 UTC
Thanks for your quick answer.

Adding CRYPTSETUP_INSTALL_STAGING = YES does indeed solves the issue

Regarding which package would use this header, it's an internal C package that uses libcryptsetup to mount encrypted partitions. I thought it might be of interest for others, but if you think that this is a corner case, I'll understand.

Regards
Comment 4 Thomas Petazzoni 2017-03-05 15:26:04 UTC
Patch submitted at https://patchwork.ozlabs.org/patch/735450/.