ebuild deps and cross-compiling
On Fri, 2010-04-23 at 15:20 +0400, Sergey Mironov wrote:
> I am maintaining small arm tree built with gentoo crosstools. My
> rootfs is based on busybox, which has implementation of udev (called
> mdev). My questions are about bad things i found while working with
> Recently i have to compile sys-devel/libtool to get libltdl - one of
> its runtime libs. The ebuild has following deps:
> || ( app-arch/xz-utils app-arch/lzma-utils )
> I think that auto* tools are not required on target system for ltdl to
> work. More, those auto-tools implicitly require bash which is not
> installed in system.
> I solved the problem by fixing the ebuild in local overlay but it is
> just workaround. Should i register a libtool bug? Maybe (just guess)
> one should split libtool into 'runtime' and 'buildtime' packets?
> Here is another issue:
> Lets look at dev-libs/openct ebuild.
> RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
> usb? ( virtual/libusb:0 )
Sounds like openct should use virtual/dev-manager vs a hard-coded udev
dep. But then again there is probably a reason that the dev opted to use
>=0.96, so you should probably read the ChangeLog and dig around to
perhaps see why. It could be something as simple/silly as gentoo
providing an init script to go along with it.
> My system doesn't have udev. It has mdev from busybox. Openct docs
> says that mdev is ok, so should i register an ebuild-bug and suggest
> something like 'udev useflag'? There are util-linux dependencies,
> which are also incompatible with busybox. I am in doubt.
> Will be glad to hear your opinion.
You should file a bugs for both the libtool problem and the openct
problem with the respective maintainers. Feel free to CC: embedded@ on