public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ryan Hill <dirtyepic@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: Dependencies on system packages
Date: Sat, 16 Dec 2006 19:44:44 -0600	[thread overview]
Message-ID: <20061216194444.57f6d09f@tycho.dirtyepic.ca> (raw)
In-Reply-To: 45849CFF.6080002@gentoo.org

[-- Attachment #1: Type: text/plain, Size: 1984 bytes --]

Alec Warner <antarus@gentoo.org> wrote:

> Hrm, I thought I wrote about this a while ago but I don't see it on 
> archives.g.o so lets try again.
> 
>  > If your package is 'not important' meaning it will never be in
>  > 'system' for any profile, you should not depend on anything in
>  > 'system', as 
> stuff in system should already be installed in a given (sane)
> configuration.
>  >
>  > If your package may be in 'system' in a given profile, you need to 
> ensure your package builds in the proper order, with regards to other 
> system packages.  The classic example is zlib; if you need zlib to 
> uncompress something, then you should put zlib in the deps; that way 
> when someone is building say, a stage1, your package will build after 
> zlib, instead of before it.
>  >
>  > You have to be careful in deciding what to specify, as doing
>  > things 
> incorrectly in this case can often cause dependency loops which are 
> sometimes fun to debug; perl and openssl were infamous back in the
> day for this.
>  >
>  > Enterprising users would specify the 'doc' useflag. openssl
>  > requires 
> perl to generate its docs and perl requires openssl for some
> encryption stuff.  Users would then complain about perl or openssl
> not building, or portage getting really pissed at them; the solution
> being to build openssl twice, once with USE="-doc" and then build
> perl, and then rebuild openssl with USE="doc".  This certainly wasn't
> the only case where this occurred (see ML thread about shadow and
> it's dep on some other package I can't remember, although that was a
> while back as well).
>  >
>  > In conclusion, you need domain knowledge of system packages and 
> portage behavior to make good choices here ;)
> 
> Wow that pasted nastily; hopefully it shows up ok ;)
> 
> In any case I'm sure there are some other exceptions but these are
> the main ones.

Cool, that's exactly what I was looking for.

thanks ;d

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-12-17  1:48 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-10  1:11 [gentoo-dev] Dependencies on sys-apps/portage Stephen Bennett
2006-12-10  1:33 ` [gentoo-dev] Dependencies on system packages Stephen Bennett
2006-12-10  2:22   ` Piotr Jaroszyński
2006-12-10  2:34     ` Ciaran McCreesh
2006-12-10 12:33       ` Piotr Jaroszyński
2006-12-10  2:50     ` Stephen Bennett
2006-12-11 11:03       ` [gentoo-dev] " Steve Long
2006-12-11 11:35         ` Stephen Bennett
2006-12-11 11:45           ` Stephen Bennett
2006-12-11 13:57             ` [gentoo-dev] " Steve Long
2006-12-16 18:46             ` [gentoo-dev] " Ryan Hill
2006-12-16 20:13               ` Ciaran McCreesh
2006-12-16 20:21                 ` Doug Goldstein
2006-12-16 23:36                   ` Mike Doty
2006-12-17  7:06                   ` Ciaran McCreesh
2006-12-17  7:02                     ` Alec Warner
2006-12-16 20:51                 ` Ryan Hill
2006-12-17  1:25                   ` Ryan Hill
2006-12-17  1:27                     ` Alec Warner
2006-12-17  1:44                       ` Ryan Hill [this message]
2006-12-18  7:33                         ` Steve Long
2006-12-17  6:10                       ` Jason Stubbs
2006-12-17  7:04                         ` Ciaran McCreesh
2006-12-17  7:41                           ` Jason Stubbs
2006-12-17  7:48                             ` Ciaran McCreesh
2006-12-18  7:28                               ` [gentoo-dev] " Steve Long
2006-12-18  8:48                                 ` Ciaran McCreesh
2006-12-20  4:59                                   ` [gentoo-dev] " Steve Long
2006-12-20 10:20                                     ` Ciaran McCreesh
2006-12-29 15:00                                       ` [gentoo-dev] " Steve Long
2006-12-29 18:01                                         ` Alec Warner
2007-01-01  9:44                                           ` [gentoo-dev] " Steve Long
2007-01-01 13:49                                             ` Robert Buchholz
2007-01-01 22:43                                               ` [gentoo-dev] " Steve Long
2007-01-02  5:16                                                 ` Robert Buchholz
2007-01-03 21:48                                                   ` [gentoo-dev] " Steve Long
2007-01-04  3:51                                                     ` [gentoo-dev] Re: metadatabase (was: Dependencies on system packages) Ryan Hill
2007-01-04 10:45                                                       ` [gentoo-dev] Re: metadatabase Robert Buchholz
2007-01-05  1:12                                                         ` Ryan Hill
2007-01-06 17:30                                                           ` Steve Long
2007-01-06 17:29                                                       ` [gentoo-dev] Re: metadatabase (was: Dependencies on system packages) Steve Long
2007-01-04 11:08                                                     ` [gentoo-dev] Re: Re: Re: Re: Re: Re: Re: Dependencies on system packages Robert Buchholz
2007-01-06 17:19                                                       ` [gentoo-dev] " Steve Long
2006-12-17  8:14                             ` [gentoo-dev] " Alec Warner
2006-12-17  8:33                               ` Ciaran McCreesh
2006-12-18  7:32                               ` [gentoo-dev] " Steve Long
2006-12-10 16:02     ` [gentoo-dev] " Lars Strojny
2006-12-10  8:39 ` [gentoo-dev] Re: Dependencies on sys-apps/portage Christian Faulhammer
2006-12-12  2:12   ` Stephen Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061216194444.57f6d09f@tycho.dirtyepic.ca \
    --to=dirtyepic@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox