public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Catalyst and logical emerge problem
Date: Thu, 10 Jun 2004 06:08:44 -0700	[thread overview]
Message-ID: <pan.2004.06.10.13.08.43.303600@cox.net> (raw)
In-Reply-To: 112d3893029e224082c92d72a3bae92f@192.168.4.1

Lars Kneschke posted <112d3893029e224082c92d72a3bae92f@192.168.4.1>,
excerpted below,  on Thu, 10 Jun 2004 07:42:11 +0000:

> As you see, sasl can only become compiled after openldap is emerged and
> openldap can only become compiled after sasl is emerged. It's little bit
> tricky. Is there a way to solve this problem?

The usual solution to such "circular dependencies" is to either:

emerge one with the useflag for the other set -<flag>, then emerge the
other with the proper useflags, then emerge the first again with the
desired flags,

or

emerge --nodeps one of them, then emerge the other, then the first again
if there are issues.

Take the following with the caveat that I'm not a Gentoo devel, and may be
giving "improper" advice, from their perspective.  I've seen the above
posted by others, but the following is mine.  However, it should work..
and what is open source for, if not the ability to customize for your own
use?

It's also possible, for catalyst liveCD builds, that one makes use of the
build or bootstrap useflags.  This is how stage one circular dependencies
are normally handled.  These flags limit additional functionality (in the
ebuilds that use them) so they can be built with a minimal system,
normally under conditions such that they will be rebuilt in a later stage
with appropriate operational parameters.

The docs for these flags say do NOT set them for ordinary use.  However,
doing your own LiveCD isn't "ordinary use".  Even if the flags aren't used
by the packages normally, for your own customized LiveCD, you could
customize the ebuilds as well, either statically, for "snapshot"
installations, or using a customized dynamic patch script, for updated
portage tree installations.

-- 
Duncan - List replies preferred.   No HTML msgs.
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
Benjamin Franklin



--
gentoo-dev@gentoo.org mailing list


      reply	other threads:[~2004-06-10 13:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-10  7:42 [gentoo-dev] Catalyst and logical emerge problem Lars Kneschke
2004-06-10 13:08 ` Duncan [this message]

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=pan.2004.06.10.13.08.43.303600@cox.net \
    --to=1i5t5.duncan@cox.net \
    --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