public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Armak <danarmak@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] re: confcache
Date: Sat, 9 Oct 2004 11:45:44 +0200	[thread overview]
Message-ID: <200410091145.54054.danarmak@gentoo.org> (raw)
In-Reply-To: <1097265907.8869.27.camel@localhost.localdomain>

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

On Friday 08 October 2004 22:08, Brian Harring wrote:
> Well... that's weird, attempted to send this directly to dan, having it
> bail due to
> 'failed: relaying not allowed: danarmak@gentoo.org'
> I assume I'm being an idiot and screwing up the address (or local
> configuration)...
All I can say is, I can receive at that address quite well...

>
> Either way, you might want to take a look at my implementation of
> confcache in
> http://dev.gentoo.org/~ferringb/ebuild-daemon/51-pre20-cvs/
I did, but it's tied to your ability to call back into python from ebuild.sh, 
so I couldn't use it with the main portage tree. Unless there's a way to do 
this in stock portage? I don't have any experience with the python side of 
portage, so please enlighten my ignorance...

>
> You can use SANDBOX_DEBUG_LOG and SANDBOX_DEBUG instead of modifying the
> sandbox- works just the same.  
I'll look at doing that, the less modifications the better.

> Also, variables changing _will_ cause 
> configure to bail if they've been cached (cflags fex), so you might want
> to either filter those entries (they start with ac_cv_env_), or rewrite
> them (I went for rewrite, works although I worry about other cache
> entries relying on the vars not changing).
I dump the cache when they change in the latest revision of my patch. That 
seems safest. The problem is that some ebuilds (eg fftw) modify CFLAGS, thus 
invalidating the cache.

How safe do you think it is to ignore these variables entirely? Some of them 
like LDFLAGS might affect the results of some configure tests. We could have 
separate cache data for different combinations of them...

> Aside from that, there is also the md5'ing of /proc/cpuinfo- most users,
> not an issue, as magnade pointed out, this is a killer for users that
> have procs that adjust their frequency (laptops fex) for power saving-
> this changes the md5 of /proc/cpuinfo pretty much continually,
> invalidating the cache continually.

We'll have to add special treatment for it then.

Unfortunately I've picked this time to fall sick, so my response time may be 
very high...

-- 
Dan Armak
Gentoo Linux developer (KDE)
Matan, Israel
Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD  0069 508D 9143 8D5F 8951

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

  reply	other threads:[~2004-10-09  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08 20:08 [gentoo-portage-dev] re: confcache Brian Harring
2004-10-09  9:45 ` Dan Armak [this message]
2004-10-09 12:35   ` Brian Harring
  -- strict thread matches above, loose matches on Subject: below --
2005-11-15  1:43 [gentoo-portage-dev] confcache Brian Harring
2005-11-15  2:40 ` [gentoo-portage-dev] confcache Thomas Kirchner

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=200410091145.54054.danarmak@gentoo.org \
    --to=danarmak@gentoo.org \
    --cc=gentoo-portage-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