[oe] Why does samba think it (R)DEPENDS on perl?

Jens Rehsack rehsack at gmail.com
Mon Jan 4 18:40:24 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160104/f0c713d9/attachment-0002.sig>


More information about the Openembedded-devel mailing list