| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Synchronous waiting for status is not supported, since it would be
vulnerable to hitting the recursion limit when a large number of tasks
need to be terminated simultaneously, like in bug #402335.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since StringIO.StringIO fallback was removed in commit
5df96179611ce0e98727945b1800b43daccedfc2, we can rely on
io.StringIO.getoutput() to return unicode, so there's no
need to call _unicode_decode on the result.
|
|
|
|
|
|
|
|
| |
Since the io module in python-2.6 was broken when threading was
disabled, we needed to fall back from io.StringIO to StringIO.StringIO
in this case (typically just for Gentoo's stage1 and stage2 tarballs).
Now that python-2.7 is stable in stages and we rely on io.open() being
available, we can also rely on io.StringIO being available.
|
|
|
|
|
|
| |
These callers don't intend to make WIFSIGNALED return True, so they
need to shift their codes 8 bits to the left. This ensures that
commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended.
|
|
|
|
| |
This will fix bug #368817.
|
|
|
|
|
|
|
|
| |
In this subprocess we don't want PORTAGE_BACKGROUND to suppress
stdout/stderr output since they are pipes. We also don't want to open
PORTAGE_LOG_FILE, since it will already be opened by the parent
process, so we set the PORTAGE_BACKGROUND="subprocess" value for use
in conditional logging code involving PORTAGE_LOG_FILE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, when AbstractPollTask receives a POLLERR or POLLNVAL event,
it would silently cancel the task. Now it will generate a message like
this:
!!! SpawnProcess received strange poll event: 8
The message is displayed via a new _log_poll_exception method, which
is overridden by AbstractEbuildProcess to log the message via elog.
This might help diagnose reported cases of SIGTERM signals killing
ebuild processes for no apparent reason:
http://code.google.com/p/chromium-os/issues/detail?id=12968
|
|
|
|
|
| |
This allows PollScheduler instances to do basic cleanup and terminate
gracefully when SIGINT or SIGTERM signals are received.
|
| |
|
|
|
|
|
| |
Instead of calling die as in bug #340387, just call eqawarn for the
time being.
|
|
|
|
|
|
| |
it seems fixed now.
This reverts commit 0906fee12ffe0ebd07e8952316f03927962af29b.
|
|
|
|
|
|
| |
it reportedly triggers a tight loop in emerge.
This reverts commit 6085103bdd7623d941e3c6ae5905e66658c49fd7.
|
|
|
|
| |
seems fixed since commit 81fc303212b8379219cf5d463c8717359b972dba.
|
| |
|
|
|
|
| |
work yet.
|
|
|
|
| |
dir_path attribute.
|
|
|
|
| |
locked.
|
|
|
|
| |
EbuildPhase.
|
|
|
|
|
|
|
| |
AbstractEbuildProcess._start() since that's a better place
if we decide to use phase_completed_file skip the spawning
of bash (dyn_unpack automatic clean/re-unpack logic could
be migrated here too).
|
|
|
|
| |
the existing _eerror() method.
|
|
|
|
| |
exists and bail out if necessary.
|
|
|
|
| |
for logging via named pipe (fifo) for sesandbox.
|
| |
|
|
|
|
| |
called the exit command via IPC.
|
|
|
|
|
|
|
| |
all build logs to be compressed while they are being written. Log file
names have an extension that is appropriate for the compression type.
Currently, only gzip(1) compression is supported, so build logs will
have a '.gz' extension when this feature is enabled.
|
|
|
|
| |
AbstractEbuildProcess (only EbuildSpawnProcess uses it).
|
|
|
|
| |
AbstractEbuildProcess.
|
| |
|
| |
|
|
|
|
|
| |
intermittent build failures in my stage builds. For testing purposes
set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
|
|
|
|
|
| |
codes from showing up in logs, since we're not displaying to a terminal
anyway. Thanks to Brian Harring for the suggestion.
|
|
|
|
| |
the _get_phase() method isn't needed.
|
|
|
|
|
| |
doesn't have to be passed to the daemon in has_version and
best_version calls.
|
|
|
|
|
| |
environment, so all AbstractEbuildProcess subclasses are consistent
in this way.
|
|
|
|
|
| |
appropriate phases (it was leaking into clean/cleanrm from
previous phases.
|
|
|
|
|
| |
This provides performance benefits and also avoids permissions issues with
FEATURES=userpriv.
|
|
|
|
| |
the eerror message.
|
|
|
|
| |
appropriate.
|
|
|
|
|
| |
has left an orphan child process running in the background, generate
an eerror message about a 'zombie' process and note the pid.
|
|
|
|
| |
EBUILD_EXIT_STATUS_FILE.
|
|
|
|
| |
subclasses and into AbstractEbuildProcess itself.
|
|
|
|
| |
them, since EbuildSpawnProcess doesn't use the attributes.
|
| |
|
|
|
|
| |
svn path=/main/trunk/; revision=15515
|
|
|
|
| |
svn path=/main/trunk/; revision=15448
|
|
_pipe and _can_log methods that used to be in the EbuildProcess class.
svn path=/main/trunk/; revision=14933
|