public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Armak <danarmak@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] The future of eclasses
Date: Thu, 07 Feb 2002 20:41:31 +0200	[thread overview]
Message-ID: <0GR6009CEESR2S@mxout2.netvision.net.il> (raw)
In-Reply-To: <1013103818.15050.15.camel@silica.localmosci>

On Thursday 07 February 2002 19:43, you wrote:
> The structure of ebuilds being analogous to the ./configure, make, make
> install manual build sequence is a tremendously valuable "feature" for
> gentoo users in my opinion.  Holds to the "form follows function"
> principal and is relatively transparent to a user who wants to tweak an
> ebuild to suit their needs with minimal effort.  I admit that I am an
> unabashed promoter of the KISS principal (one of my daily working
> mantras, along with "check the connections" :)  Is their anyway that
> eclasses could be "hidden" in portage so that the visible ebuilds
> remains simple, i.e at least gives the appearance of being analogous to
> ./configure, make, make install?  As John Stalker stated in another
> post, the ability to understand, or at least think you understand, with
> minimal effort what is happening when you merge a particular ebuild is
> attractive.
Well, the code in the eclasses is the same exact code that wuold go into the 
ebuilds if the eclasses didn't exist. So you can read and understand it.
If you want to actually see it execute, then a) a vrey detailed log is 
generated in $WORKDIR/temp and b) you can change ebuild.sh's shell to bash -x 
and thus get info on every line executed and every action taken. It's quite 
transparent and comfortable once you're used to it.

BTW, you can export ECLASS_DEBUG_OUTPUT="on" before emerging and you'll get 
that same output to your console.

-- 
Dan Armak
Gentoo Linux Developer, Desktop Team (KDE)
Matan, Israel


  reply	other threads:[~2002-02-07 18:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06 20:45 [gentoo-dev] The future of eclasses Dan Armak
2002-02-07 19:27 ` Karl Trygve Kalleberg
2002-02-07 16:51   ` John Stalker
2002-02-07 17:43   ` Tod M. Neidt
2002-02-07 18:41     ` Dan Armak [this message]
2002-02-07 20:07       ` Tod M. Neidt
2002-02-07 18:38   ` Dan Armak

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=0GR6009CEESR2S@mxout2.netvision.net.il \
    --to=danarmak@gentoo.org \
    --cc=gentoo-dev@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