On Sat, 2006-02-11 at 03:52 -0500, Ron Bickers wrote:
> On Fri February 10 2006 02:59, Boyd Stephen Smith Jr. wrote:
> 
> > I just checked the .ebuild in my portage tree does not list gentoo-sources
> > as direct dependency of gunpg-1.4.2.r3.  Please do a emerge -pvt
> > =app-crypt/gnupg-1.4.2-r3 and give us the output (you might have to unmask
> > gentoo-sources for a bit to give us good output).
> 
> # emerge -pvt =app-crypt/gnupg-1.4.2-r3
> 
> These are the packages that I would merge, in reverse order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] app-crypt/gnupg-1.4.2-r3  -X +bzip2 -caps +curl -ecc -idea 
> +ldap +nls +readline (-selinux) -smartcard -static -usb +zlib 0 kB
> [ebuild  N    ]  sys-kernel/gentoo-sources-2.6.15-r1  -build -doc -symlink 
> (-ultra1) 0 kB
> 
> Total size of downloads: 0 kB
> 
> > You are probably trying to use your own, possibly custom-patched, kernel
> > instead of any of the *-sources packages.
> 
> I'm using gentoo-sources, but I'm compiling kernels on a single machine and 
> installing them manually on their target machines, thus I don't have 
> gentoo-sources installed on the machine in question.
> 
> There is a note in the gnupg ebuild that points to a bug talking about the 
> need for (or not) kernel sources.  I didn't quite follow the arguments and 
> solution, but it had something to do with installing gpg suid root.  At any 
> rate, it doesn't make sense (to me) for gnupg to require kernel sources to 
> build or install.
> 
> -- 
> Ron
Hi,
Here's the output of: dep -l gnupg (listing GnuPG's dependencies):
$ sudo dep -l gnupg
app-crypt/gnupg-1.4.2-r3:
    !static? bzip2? app-arch/bzip2          app-arch/bzip2-1.0.3-r6
    bzip2?          app-arch/bzip2           app-arch/bzip2-1.0.3-r6
                    dev-lang/perl            dev-lang/perl-5.8.8
    !static? usb?   dev-libs/libusb          dev-libs/libusb-0.1.11
    usb?            dev-libs/libusb          dev-libs/libusb-0.1.11
    !static? curl?  net-misc/curl            net-misc/curl-7.15.1
    curl?           net-misc/curl            net-misc/curl-7.15.1
    !static? nls?   sys-devel/gettext        sys-devel/gettext-0.14.5
    nls?            sys-devel/gettext        sys-devel/gettext-0.14.5
    !bootstrap?     sys-devel/patch          sys-devel/patch-2.5.9-r1
    !static? readline? sys-libs/readline     sys-libs/readline-5.1_p2
    readline?       sys-libs/readline        sys-libs/readline-5.1_p2
    !static? zlib?  sys-libs/zlib            sys-libs/zlib-1.2.3
    zlib?           sys-libs/zlib            sys-libs/zlib-1.2.3
                    virtual/libc             sys-libs/glibc-2.3.6-r2
    !static?        virtual/libc             sys-libs/glibc-2.3.6-r2
                    virtual/linux-sources
sys-kernel/gentoo-sources-2.6.15-r4
                    virtual/mta              mail-mta/netqmail-1.05
    !static?        virtual/mta              mail-mta/netqmail-1.05
...END...
So you can see 'gnupg' depends on 'virtual/linux-sources' not
specifically 'gentoo-sources'. Any *-sources package will suffice,
as it will provide "virtual/linux-sources" (PROVIDE in ebuilds,sorry
being moved to /usr/portage/eclass/kernel-2.eclass).
IMO you have to 'lie' to portage that you have some sources (gentoo for
example) by running:
#echo "sys-kernel/gentoo-sources"
>> /etc/portage/profile/packages.provided" (create if it doesn't exist).
Check again the syntax.
HTH.Rumen

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to