All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] cryptsetup: Link against -lrt for clock_gettime
Date: Wed, 8 Jan 2014 15:20:00 +0000	[thread overview]
Message-ID: <52CD6CA0.7050109@imgtec.com> (raw)
In-Reply-To: <OF00B93CC6.8A6EB2A8-ON86257C5A.0052E7B2-86257C5A.00538718@rockwellcollins.com>

On 01/08/2014 03: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.
>
> Thanks,
> Clayton
>

Hello Clayton,

first of all, that patch is not mine, is an upstream patch. I just 
proposed it for Buildroot.

Second, I think the problem you are having is not related to that patch. 
The patch only modifies the configure.ac to make sure that -lrt is 
passed for linking. Your failure is at the install phase, so the 
autoreconf, configure, compilation and linkage worked correctly.

-- 
Vincent

  reply	other threads:[~2014-01-08 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 17:24 [Buildroot] [PATCH] cryptsetup: Link against -lrt for clock_gettime Vicente Olivert Riera
2014-01-08 15:12 ` Clayton Shotwell
2014-01-08 15:20   ` Vicente Olivert Riera [this message]
2014-01-08 16:22   ` Gustavo Zacarias
2014-01-08 18:27     ` Clayton Shotwell
2014-01-09  3:02       ` Axel Lin
2014-01-09  9:36       ` Vicente Olivert Riera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52CD6CA0.7050109@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.