All of lore.kernel.org
 help / color / mirror / Atom feed
* Why does samba think it (R)DEPENDS on perl?
@ 2015-12-30 10:34 Mike Looijmans
  2015-12-30 10:55 ` Mike Looijmans
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Looijmans @ 2015-12-30 10:34 UTC (permalink / raw)
  To: openembedded-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why does samba think it (R)DEPENDS on perl?
  2015-12-30 10:34 Why does samba think it (R)DEPENDS on perl? Mike Looijmans
@ 2015-12-30 10:55 ` Mike Looijmans
  2016-01-04 18:40   ` Jens Rehsack
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Looijmans @ 2015-12-30 10:55 UTC (permalink / raw)
  To: openembedded-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why does samba think it (R)DEPENDS on perl?
  2015-12-30 10:55 ` Mike Looijmans
@ 2016-01-04 18:40   ` Jens Rehsack
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Rehsack @ 2016-01-04 18:40 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]


> Am 30.12.2015 um 11:55 schrieb Mike Looijmans <mike.looijmans@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.

It's more reasonable to "move" the RDEPENDS from cpan-base.bbclass to cpan.bbclass and cpan_build.bbclass (WITH commend in source).
cpan-base.bbclass might be an unfortunate place for adding RDEPENDS, since it's just a helper (abstract base class ^^)

> 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)
>> 
> 

Cheers
--
Jens Rehsack - rehsack@gmail.com


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 859 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-04 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 10:34 Why does samba think it (R)DEPENDS on perl? Mike Looijmans
2015-12-30 10:55 ` Mike Looijmans
2016-01-04 18:40   ` Jens Rehsack

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.