All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] cmake-native: disable check for acl.h
Date: Tue, 27 Jan 2015 13:37:27 +0800	[thread overview]
Message-ID: <54C72417.3010705@windriver.com> (raw)
In-Reply-To: <1422336953-26386-1-git-send-email-Qi.Chen@windriver.com>

Please ignore this one.
Stupid command mistake.

//Chen Qi

On 01/27/2015 01:35 PM, Chen Qi wrote:
> We build cmake-native without acl support. However, the acl.h header
> is still being checked which would sometimes cause the following error
> during do_compile:
>
>       archive_read_disk_entry_from_file.c:38:21: fatal error: sys/acl.h: No such file or directory
>       |  #include <sys/acl.h>
>       |                      ^
>       | compilation terminated.
>
> This happens when the sysroot parts of acl-native is removed between
> do_configure and do_compile tasks of cmake-native.
>
> To reproduce the problem manually, execute the following command:
>
> bitbake cmake-native -c cleansstate && bitbake acl-native -c cleansstate && \
> bitbake	acl-native && bitbake cmake-native -c configure	&& \
> bitbake acl-native -c cleansstate && bitbake cmake-native -c compile
>
> This patch fixes the above problem by explicitly disable the checking for
> acl.h header file.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
> index cd6b1d8..e40dfdd 100644
> --- a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
> +++ b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
> @@ -15,4 +15,5 @@ SRC_URI[sha256sum] = "8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a
>   CMAKE_EXTRACONF = "\
>       -DBUILD_CursesDialog=0 \
>       -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
> +    -DHAVE_SYS_ACL_H=0 \
>   "



      parent reply	other threads:[~2015-01-27  5:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27  5:35 [PATCH] cmake-native: disable check for acl.h Chen Qi
2015-01-27  5:35 ` [PATCH] image.bbclass: don't let do_rootfs depend on BUILDNAME Chen Qi
2015-01-27  5:37 ` ChenQi [this message]

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=54C72417.3010705@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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.