All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: Jens Rehsack <rehsack@gmail.com>,
	openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-networking][PATCH] samba: move RDEPENDS of perl from samba to samba-pidl
Date: Tue, 5 Jan 2016 12:32:21 +0100	[thread overview]
Message-ID: <568BA9C5.5070308@topic.nl> (raw)
In-Reply-To: <8E273032-FCAF-4476-A017-50D6D2451F14@gmail.com>

On 04-01-16 20:06, Jens Rehsack wrote:
> samba-pidl is the package containing the perl-extension, so RDEPENDS
> must include perl for samba-pidl, not for samba.
>
> Signed-off-by: Jens Rehsack <sno@netbsd.org>
> ---
>   meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> index 5b343f2..de1f033 100644
> --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
> @@ -39,6 +39,8 @@ SRC_URI[md5sum] = "232016d7581a1ba11e991ec2674553c4"
>   SRC_URI[sha256sum] = "033604674936bf5c77d7df299b0626052b84a41505a6a6afe902f6274fc29898"
>
>   inherit systemd waf-samba cpan-base perlnative
> +# remove default added RDEPENDS on perl
> +RDEPENDS_${PN}_remove = "perl"

This is a hack, not a solution.

Better to fix this at its core: cpan-base.bbclass forces both DEPENDS_${PN} 
and RDEPENDS_${PN} to contain "perl".

All that the recipe really wants to have is the perl version. It does not need 
a perl for the target, regardless of whether you'd want to install samba-pidl.

Fixing this at the proper level will considerably reduce compilation time for 
samba, which is already excessively long because of parallel build issues (the 
patch that fixes that isn't integrated).

>
>   DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 ctdb libbsd"
>
> @@ -319,4 +321,5 @@ FILES_${PN}-python-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.d
>                             ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/dcerpc/.debug/* \
>   "
>
> +RDEPENDS_${PN}-pidl_append = " perl "
>   FILES_${PN}-pidl = "${bindir}/pidl ${PERL_VERNDORLIB}/*"
> --
> 1.9.1
>
> --
> Jens Rehsack - rehsack@gmail.com
>



Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail







  parent reply	other threads:[~2016-01-05 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 19:06 [meta-networking][PATCH] samba: move RDEPENDS of perl from samba to samba-pidl Jens Rehsack
2016-01-04 19:16 ` Martin Jansa
2016-01-05 11:32 ` Mike Looijmans [this message]
2016-01-05 12:14   ` Jens Rehsack

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=568BA9C5.5070308@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=rehsack@gmail.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.