From: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Policy of explicit disabling of package features
Date: Fri, 20 Mar 2015 10:07:08 +0200 [thread overview]
Message-ID: <550BD52C.1040601@linux.intel.com> (raw)
Hi,
I'm using the pulseaudio packaging as the starting point to learn about
OE packaging. I'm trying to understand why everything is done as it is
done, and my current focus is on pulseaudio's EXTRA_OECONF:
EXTRA_OECONF = "\
--disable-hal-compat \
--disable-orc \
--enable-tcpwrap=no \
--with-access-group=audio \
--disable-openssl \
--disable-xen \
--with-database=simple \
--without-fftw \
--without-zsh-completion-dir \
--with-udev-rules-dir=`pkg-config --variable=udevdir
udev`/rules.d \
ac_cv_header_valgrind_memcheck_h=no \
"
I'm trying to understand the reason for each of those options. One
question that I had was that why are some features explicitly disabled,
when they should get anyway disabled automatically due to missing
dependencies. I found out from the git logs that at least some of them
are explicitly disabled, because the configure script may randomly find
some dependencies installed even if they are not listed in DEPENDS, due
to other packages pulling them in.
This then raises the question that what the policy of explicit vs.
implicit disabling is, and also what the policy *should* be. It seems
that the current policy is that things are explicitly disabled only
after someone has run into problems with the non-determinism. Is that
correct?
It seems to me that a better policy would be to always explicitly
disable *all* features that have external dependencies that aren't
listed in DEPENDS. That kind of policy should reduce these
non-determinism issues. Full compliance with such policy may not be
feasible to achieve, since it requires great care to check for new
optional dependencies whenever updating to new upstream versions, but I
hope that at least "pre-emptive" patches that add explicit feature
disabling will be accepted even before anyone has run into actual problems.
--
Tanu
next reply other threads:[~2015-03-20 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 8:07 Tanu Kaskinen [this message]
2015-03-20 9:30 ` Policy of explicit disabling of package features Richard Purdie
2015-03-20 16:47 ` Tanu Kaskinen
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=550BD52C.1040601@linux.intel.com \
--to=tanu.kaskinen@linux.intel.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.