public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-soc@lists.gentoo.org
Subject: Re: [gentoo-soc] Auto dependency builder progress report. Week 5.
Date: Wed, 29 Jun 2011 10:02:41 +0200	[thread overview]
Message-ID: <20110629080241.GG11775@gentoo.org> (raw)
In-Reply-To: <BANLkTikDE7gaH0nT7t7uEAOi+9PtekfVJQ@mail.gmail.com>

On 29-06-2011 13:28:45 +0600, Александр Берсенев wrote:
> Then I began to log all environment variables and find then someone
> changes my LOG_SOCKET variable during "prerm" stage. I renamed it to
> LOG_SOCKET_<LONG_STRING> in all sources hoping this is a
> name-collision. But variable continues changing its value. The most
> interesting fact: value was changing to another valid socket name, for
> example from "/tmp/tmpFSDhf/socket_for_logging" to
> "/tmp/tmpHDvJ5/socket_for_logging". But nobody listened
> "/tmp/tmpHDvJ5/socket_for_logging". I started to believe in the higher
> powers in this moment because last socket file was created five days
> ago and notebook has been rebooted several times these days.
> 
> But the explanation was simple: portage system remembers all
> environment variables while installing a package and restores them
> while removing this package!!

You can add your variable(s) to a white/blacklist in the code that saves
the environment.
Check save_ebuild_env() in isolated-functions.sh.


-- 
Fabian Groffen
Gentoo on a different level



  reply	other threads:[~2011-06-29 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  7:28 [gentoo-soc] Auto dependency builder progress report. Week 5 Александр Берсенев
2011-06-29  8:02 ` Fabian Groffen [this message]
2011-06-30 20:06   ` Александр Берсенев
2011-07-03 13:16     ` Zac Medico

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=20110629080241.GG11775@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-soc@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