[Buildroot] [PATCH] cryptsetup: Link against -lrt for clock_gettime

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Jan 8 16:22:58 UTC 2014


On 01/08/2014 12:12 PM, Clayton Shotwell wrote:

> Vincent,
> 
> buildroot-bounces at busybox.net wrote on 01/07/2014 11:24:11 AM:
> 
>> Applying an upstream patch to fix clock_gettime undefined reference
>> errors.
>>
>> Upstream patch URL:
>>    https://code.google.com/p/cryptsetup/source/detail?
>> r=3ba95a822f70ff1e8141230bc2830ae46346486b
>>
>> Fixes:
>>    http://autobuild.buildroot.net/results/bed/
>> bed37fac9bc54d3dbe956e4af632a044a5829acd/
>>
> 
> I tried your patch but the build errored with the following lines.
> 
> Making install in po
> /home/test/outputs/b5e/b5ef439aed8bce6c43381daa69bce690131d2934/output/target/usr/share
> make[3]: execvp: 
> /home/test/outputs/b5e/b5ef439aed8bce6c43381daa69bce690131d2934/output/target/usr/share: 
> Permission denied
> make[3]: *** [install-data-yes] Error 127
> make[2]: *** [install-recursive] Error 1
> make[1]: *** 
> [/home/test/outputs/b5e/b5ef439aed8bce6c43381daa69bce690131d2934/output/build/cryptsetup-1.6.3/.stamp_target_installed] 
> Error 2
> make: *** [_all] Error 2
> 
> This seems to be the same error that Axel Lin reported on 12/19 but I am 
> not sure how to fix it. The issue is related to MKDIR_P not being defined 
> properly (should be defined as "/bin/mkdir -p")when the install step is 
> called for the po folder. The MKDIR_P variable is being found properly 
> accoring to the config.log. I did a little digging but I was unable to 
> find a solution. I am not an autoconf expert by any means but there may be 
> someone else who has seen this issue before.

Hi, take a look at packages/linux-pam/linux-pam-04-mkdir.patch maybe
it's the same problem? (very old bundled gettext).
Regards.




More information about the buildroot mailing list