Why does samba think it (R)DEPENDS on perl?
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)
Signature · 1 line
Mike Looijmans
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.
Quoted 15 lines · Mike Looijmans
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)
Signature · 1 line
Mike Looijmans
Quoted 6 lines
Am 30.12.2015 um 11:55 schrieb Mike Looijmans <[email protected]>:
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 ^^)
Quoted 8 lines · Mike Looijmans
Quoted 7 lines
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"?
Quoted 9 lines
Quoted 8 lines
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 - [email protected]