Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Why does samba think it (R)DEPENDS on perl?
Date: Wed, 30 Dec 2015 11:55:43 +0100	[thread overview]
Message-ID: <5683B82F.7060003@topic.nl> (raw)
In-Reply-To: <5683B31B.4090103@topic.nl>

Found that the cause is "inherit cpan-base", this hardcodes "perl" into 
the package.

I think this requires a split-up of cpan-base.bbclass into two parts, so 
that one get obtain the perl version without adding these dependencies.

On 30-12-15 11:34, Mike Looijmans wrote:
> When building the current version of samba, it builds perl and drags it
> into the image through an RDEPENDS.
>
> I've been researching this for a while, but failed to figure out what
> causes this runtime relation. Is there a way to find out where this is
> being "detected"?
>
> The workaround I implemented is simply adding this line to the samba
> recipe, which at least gets rid of the overhead in the image:
>
> RDEPENDS_${PN}_remove = "perl"
>
> (Samba 4 is bloated enough by itself, it doesn't need other packages to
> inflate its runtime even more)
>


-- 
Mike Looijmans


  reply	other threads:[~2015-12-30 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 10:34 Why does samba think it (R)DEPENDS on perl? Mike Looijmans
2015-12-30 10:55 ` Mike Looijmans [this message]
2016-01-04 18:40   ` 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=5683B82F.7060003@topic.nl \
    --to=mike.looijmans@topic.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox