From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O5e4g-0000wv-EN for garchives@archives.gentoo.org; Sat, 24 Apr 2010 12:03:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74E53E07FB for ; Sat, 24 Apr 2010 12:03:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6E4FFE0743 for ; Sat, 24 Apr 2010 11:26:23 +0000 (UTC) Received: from [192.168.1.2] (dsl092-011-131.sfo1.dsl.speakeasy.net [66.92.11.131]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E8CBE1B4004 for ; Sat, 24 Apr 2010 11:26:22 +0000 (UTC) Subject: Re: [gentoo-embedded] ebuild deps and cross-compiling From: Gentoo To: gentoo-embedded@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain Organization: Gentoo Linux Date: Sat, 24 Apr 2010 04:26:26 -0700 Message-Id: <1272108386.6957.5.camel@here> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: abc79b45-496d-4078-b2a8-c05e254dddcf X-Archives-Hash: 154dadbfdf9d601489513c0b0750d7db On Fri, 2010-04-23 at 15:20 +0400, Sergey Mironov wrote: > Hello. > 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 > it. > > Recently i have to compile sys-devel/libtool to get libltdl - one of > its runtime libs. The ebuild has following deps: > > RDEPEND="sys-devel/gnuconfig > >=sys-devel/autoconf-2.60 > >=sys-devel/automake-1.10.1" > DEPEND="${RDEPEND} > || ( app-arch/xz-utils app-arch/lzma-utils ) > sys-apps/help2man" > > 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 ) > >=sys-fs/udev-096" 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 the bug.