From: Paul Barker <paul@paulbarker.me.uk>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>,
Koen Kooi <koen.kooi@linaro.org>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] libarchive: add missing e2fsprogs dependency
Date: Tue, 6 May 2014 10:33:29 +0000 [thread overview]
Message-ID: <20140506103329.GD12987@gmail.com> (raw)
In-Reply-To: <3296908.lWzdU1Kadh@peggleto-mobl5.ger.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2853 bytes --]
On Tue, May 06, 2014 at 10:18:41AM +0100, Paul Eggleton wrote:
> On Tuesday 06 May 2014 10:17:03 Paul Eggleton wrote:
> > On Tuesday 06 May 2014 07:52:23 Koen Kooi wrote:
> > > Op 5 mei 2014, om 23:54 heeft Saul Wold <sgw@linux.intel.com> het volgende
> >
> > geschreven:
> > > > On 05/05/2014 04:26 AM, Koen Kooi wrote:
> > > >> This fixes the following build error:
> > > >> | libarchive/archive_entry.c:59:55: fatal error: ext2fs/ext2_fs.h: No
> > > >> | such file or directory>>
> > > >>
> > > >> There is no configure options to avoid this dependency.
> > > >>
> > > >> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> > > >> ---
> > > >>
> > > >> meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 2 ++
> > > >> 1 file changed, 2 insertions(+)
> > > >>
> > > >> diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> > > >> b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb index
> > > >> eedbaa7..277d8c8 100644
> > > >> --- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> > > >> +++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> > > >> @@ -5,6 +5,8 @@ SECTION = "devel"
> > > >>
> > > >> LICENSE = "BSD"
> > > >> LIC_FILES_CHKSUM =
> > > >> "file://COPYING;md5=b4e3ffd607d6686c6cb2f63394370841"
> > > >>
> > > >> +DEPENDS = "e2fsprogs"
> > > >> +
> > > >
> > > > By doing this we also have to extend e2fprogs to be a nativesdk target.
> > > >
> > > > Is there not a way to make this optional by editing the configure.ac and
> > > > adding a switch? What functionality to we gain or loose with / without
> > > > the ext2fs extensions?
> > >
> > > I really have no idea, I just had the above buildfailure yesterday.
> >
> > FYI this is a bug I was meant to be fixing in the 1.6 cycle (I noticed the
> > error in one of my builds a few months ago). Simply adding e2fsprogs to
> > DEPENDS adds time to the build, plus when I submitted a patch to do this I
> > found that nativesdk-e2fsprogs doesn't actually build at the moment and
> > since it's actually only the header it wants, I had in mind to just use the
> > header from e2fsprogs-native. I haven't got around to testing the latter
> > solution though.
> >
> > Anyway, I've now done what I should have done earlier and filed a bug:
>
> Oops, sent too early - bug link:
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6268
>
> Cheers,
> Paul
>
I just had a quick look at this as I've done a bit of work with libarchive. It
looks like as long as the header isn't found at configure time there's no
problem at compile time. Could we work around this by modifying config.h in a
do_configure_append() function to undefine the relevant symbol
(HAVE_EXT2FS_EXT2_FS_H)?
Thanks,
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
[-- Attachment #2: Type: application/pgp-signature, Size: 501 bytes --]
next prev parent reply other threads:[~2014-05-06 10:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 11:26 [PATCH] libarchive: add missing e2fsprogs dependency Koen Kooi
2014-05-05 21:54 ` Saul Wold
2014-05-06 5:52 ` Koen Kooi
2014-05-06 9:17 ` Paul Eggleton
2014-05-06 9:18 ` Paul Eggleton
2014-05-06 10:33 ` Paul Barker [this message]
2014-05-06 10:39 ` Paul Eggleton
2014-05-06 18:25 ` Khem Raj
2014-05-06 22:57 ` Paul Barker
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=20140506103329.GD12987@gmail.com \
--to=paul@paulbarker.me.uk \
--cc=koen.kooi@linaro.org \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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.