From: Robert Joslyn <robert.joslyn@redrectangle.org>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>,
akuster808 <akuster808@gmail.com>,
"openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe][PATCH] cryptsetup: Add PACKAGECONFIG options
Date: Tue, 02 Jul 2019 21:40:10 -0700 [thread overview]
Message-ID: <cc036abd9b524d59dbc3aba12846cf6d613d4283.camel@redrectangle.org> (raw)
In-Reply-To: <45e5da62990f4748b245c0c96c8add8c@xbox06.axis.com>
On Mon, 2019-07-01 at 23:53 +0000, Peter Kjellerstedt wrote:
> > -----Original Message-----
> > From: Robert Joslyn <robert.joslyn@redrectangle.org>
> > Sent: den 28 juni 2019 05:51
> > To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>; akuster808
> > <akuster808@gmail.com>; openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] [meta-oe][PATCH] cryptsetup: Add PACKAGECONFIG
> > options
> >
> > On Thu, 2019-06-27 at 10:56 +0000, Peter Kjellerstedt wrote:
> > > It is no longer possible to build cryptsetup-native after this was
> > > merged.
> > > It now fails with:
> > >
> > > ERROR: Nothing PROVIDES 'udev-native' (but virtual:native:.../meta-
> > > oe/recipes-crypto/cryptsetup/cryptsetup_2.1.0.bb DEPENDS on or
> > > otherwise
> > > requires it). Close matches:
> > > fuse-native
> > > unifdef-native
> > > db-native
> > > ERROR: Required build target 'cryptsetup-native' has no buildable >
> > > providers.
> > > Missing or unbuildable dependency chain was: ['cryptsetup-native',
> > > 'udev-native']
> > >
> > > This is with systemd in DISTRO_FEATURES.
> > >
> > > //Peter
> >
> > Sorry about that. Is there a reasonable set of options useful for the
> > native build? Any preference for an empty native PACKAGECONFIG or
> > should it be the same as the target (minus udev obviously)?
>
> I have no idea. I don't even know why cryptsetup-native is being built,
> all I know is that it can't depend on udev-native. Locally, I have
> fixed
> it by adding a bbappend with PACKAGECONFIG_remove_class-native =
> "udev",
> so now it builds again. For meta-oe I would instead suggest to add the
> udev feature using PACKAGECONFIG_append_class-target = " udev".
>
> One thing that worries me though is that you stated in the commit
> message
> that the set of enabled PACKAGECONFIGs should match the default when no
> enable/disable options are specified. However, this does not seem to
> hold
> true for udev, as there was no dependency on udev before your change.
> So
> maybe udev should not be enabled by default for target either?
I looked at it again, and the behavior of --enable-udev and --disable-udev
is a little different than I thought. --enable-udev is adding a check for
devmapper udev sync support at runtime (it adds a call to
dm_udev_get_sync_support()). So it doesn't need udev at build time for
this, just runtime. libdevmapper has udev support enabled by default for target builds, so that would have been pulling it in before.
I'll send a patch adding udev only for the target build and making it an
RDEPENDS only.
Thanks,
Robert
prev parent reply other threads:[~2019-07-03 5:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-02 23:12 [meta-oe][PATCH] cryptsetup: Add PACKAGECONFIG options Robert Joslyn
2019-06-06 14:24 ` akuster808
2019-06-07 3:46 ` Robert Joslyn
2019-06-27 10:56 ` Peter Kjellerstedt
2019-06-28 3:50 ` Robert Joslyn
2019-07-01 23:53 ` Peter Kjellerstedt
2019-07-02 7:02 ` Mikko.Rapeli
2019-07-03 4:40 ` Robert Joslyn [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=cc036abd9b524d59dbc3aba12846cf6d613d4283.camel@redrectangle.org \
--to=robert.joslyn@redrectangle.org \
--cc=akuster808@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.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.