All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe][PATCH 2/3] freediameter: add dependency on virtual/kernel and use MACHINE_ARCH
Date: Wed, 28 Feb 2018 19:36:26 +0100	[thread overview]
Message-ID: <CA+chaQcfAXi3qiQ_oyDX+becM=auVOMpnNuTThXLUJ+0+WdH1Q@mail.gmail.com> (raw)
In-Reply-To: <20180119151942.19731-2-Martin.Jansa@gmail.com>

ping

On Fri, Jan 19, 2018 at 4:19 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> * TUNE_PKGARCH cannot RRECOMMEND MACHINE specific kernel-modules
> * without virtual/kernel dependency (which isn't really build time
>   dependency) the QA check won't traverse the dependencies correctly
>   and shows following errors:
>   ERROR: QA Issue: freediameter rdepends on kernel-module-ipip, but it
> isn't a build dependency? [build-deps]
>   ERROR: QA Issue: freediameter rdepends on kernel-module-sctp, but it
> isn't a build dependency? [build-deps]
>   ERROR: QA Issue: freediameter rdepends on kernel-module-tipc, but it
> isn't a build dependency? [build-deps]
>   ERROR: QA Issue: freediameter rdepends on kernel-module-udp-tunnel, but
> it isn't a build dependency? [build-deps]
> * also change kernel-module dependencies from RDEPENDS to RRECOMMENDS
>   because the kernel config might include these directly and then
>   freediameter shouldn't fail to install
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  .../recipes-protocols/freediameter/freediameter_1.2.1.bb          | 8
> +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta-networking/recipes-protocols/freediameter/freedia
> meter_1.2.1.bb b/meta-networking/recipes-protocols/freediameter/freedia
> meter_1.2.1.bb
> index 92cd24c3ae..c556eb48e8 100644
> --- a/meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb
> +++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb
> @@ -7,7 +7,9 @@ Accounting needs."
>
>  HOMEPAGE = "http://www.freediameter.net"
>
> -DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools"
> +DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools
> virtual/kernel"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  fd_pkgname = "freeDiameter"
>
> @@ -121,8 +123,8 @@ FILES_${PN} += "${libdir}/${fd_pkgname}/*"
>
>  RDEPENDS_${PN}  = "glib-2.0 gnutls libidn"
>  RDEPENDS_${PN} += "openssl openssl-conf openssl-engines"
> -RDEPENDS_${PN} += "kernel-module-tipc kernel-module-sctp"
> -RDEPENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
> +RRECOMMENDS_${PN} += "kernel-module-tipc kernel-module-sctp"
> +RRECOMMENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip"
>  RDEPENDS_${PN}-ptest = "cmake"
>
>  INITSCRIPT_PACKAGES = "${PN}"
> --
> 2.15.1
>
>


  reply	other threads:[~2018-02-28 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-19 15:19 [meta-oe][PATCH 1/3] fontforge: explicitly depend on gettext-native Martin Jansa
2018-01-19 15:19 ` [meta-oe][PATCH 2/3] freediameter: add dependency on virtual/kernel and use MACHINE_ARCH Martin Jansa
2018-02-28 18:36   ` Martin Jansa [this message]
2018-03-13 12:26     ` Martin Jansa
2018-01-19 15:19 ` [meta-oe][PATCH 3/3] xorgxrdp: add distro_features_check for x11 Martin Jansa
2018-02-28 18:35   ` Martin Jansa

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='CA+chaQcfAXi3qiQ_oyDX+becM=auVOMpnNuTThXLUJ+0+WdH1Q@mail.gmail.com' \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@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.