From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Mike Crowe <mac@mcrowe.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: cmake-native also depends on acl-native (was Re: cmake-native: Depend on ncurses-native too)
Date: Sun, 06 Apr 2014 12:57:02 +0100 [thread overview]
Message-ID: <1396785422.24597.7.camel@ted> (raw)
In-Reply-To: <20140403104411.GA20640@mcrowe.com>
On Thu, 2014-04-03 at 11:44 +0100, Mike Crowe wrote:
> On Tuesday 01 April 2014 at 21:59:34 -0700, Khem Raj wrote:
> > On Tue, Apr 1, 2014 at 3:11 AM, Mike Crowe <mac@mcrowe.com> wrote:
> > > It seems to be possible to disable building the "CursesDialog" component to
> > > remove the need for ncurses but I couldn't immediately see how to do that
> > > for a bootstrap build.
> > >
> > > The non-native cmake recipe depends on ncurses even though it passes
> > > -DBUILD_CursesDialog=0.
> >
> > you need to disable it completely in CMakefile.txt, just that define
> > does not suffice you might try something like
> > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.10-libform.patch?diff_format=f&view=markup
> >
>
> It appears that a similar problem occurs if cmake-native is built at the
> same time as acl-native:
>
> Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/http_chunks.c.o
> [ 30%] /home/jenkins/workspace/nightly-brightsign-master/MACHINE/source/label/nightly/build-bcm7425/source-release-test-build/brightsign-oe/build-bcm7425/tmp-eglibc/work/x86_64-linux/cmake-native/2.8.12.2-r0/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_read_disk_entry_from_file.c:38:21:fatal error: sys/acl.h: No such file or directory
> compilation terminated.
>
> cmake detects sys/acl.h but by the time the compiler tries to include it
> the file has been unstaged from the sysroot.
>
> This one is harder to patch out. Do you object to me adding acl{,-native}
> to DEPENDS?
Each dependency we add like this tends to cause slightly longer builds.
Each small piece mounts up. So I do feel quite strongly we disable
things we can...
Cheers,
Richard
next prev parent reply other threads:[~2014-04-06 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 9:16 [PATCH] cmake-native: Depend on ncurses-native too Mike Crowe
2014-04-01 9:31 ` Richard Purdie
2014-04-01 10:11 ` Mike Crowe
2014-04-01 10:46 ` Richard Purdie
2014-04-02 4:59 ` Khem Raj
2014-04-02 9:14 ` Mike Crowe
2014-04-02 15:15 ` Khem Raj
2014-04-02 15:17 ` Khem Raj
2014-04-02 16:04 ` [PATCH 1/2] cmake-native: Stop building ccmake Mike Crowe
2014-04-02 16:04 ` [PATCH 2/2] cmake: Remove dependency on ncurses Mike Crowe
2014-04-03 10:44 ` cmake-native also depends on acl-native (was Re: cmake-native: Depend on ncurses-native too) Mike Crowe
2014-04-06 11:57 ` Richard Purdie [this message]
2014-04-02 4:53 ` [PATCH] cmake-native: Depend on ncurses-native too Khem Raj
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=1396785422.24597.7.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=mac@mcrowe.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox