| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
locked.
|
|
|
|
|
| |
inside dblink.unmerge(), so that the scheduler can concurrently service
ipc calls in the main thread.
|
| |
|
|
|
|
| |
doesn't need to.
|
|
|
|
|
| |
EbuildBuildDir.lock() so that the scheduler can concurrently service ipc
calls in the main thread.
|
| |
|
|
|
|
| |
acquire a lock asynchronously, using a background thread.
|
|
|
|
|
| |
to ensure that we don't trigger the _treeVirtuals assertion in
VirtualsManager._compile_virtuals().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
self._frozen_config.pkgsettings so that it has populated virtuals.
This solves allows us to avoid triggering an AssertionError reported
at http://forums.gentoo.org/viewtopic-t-844519.html with the following
traceback:
Calculating dependencies... done!
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1683, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/lib/portage/pym/_emerge/actions.py", line 204, in action_build
settings, trees, mtimedb, myopts, myparams, spinner)
File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6047, in resume_depgraph
myparams, spinner)
File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6070, in _resume_depgraph
skip_masked=skip_masked)
File "/usr/lib/portage/pym/_emerge/depgraph.py", line 5617, in _loadResumeCommand
if not self._add_pkg(task, None):
File "/usr/lib/portage/pym/_emerge/depgraph.py", line 893, in _add_pkg
pkgsettings.setinst(pkg.cpv, pkg.metadata)
File "/usr/lib/portage/pym/portage/package/ebuild/config.py", line 1757, in setinst
self._virtuals_manager.add_depgraph_virtuals(mycpv, virts)
File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 199, in add_depgraph_virtuals
self.getvirtuals()
File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 156, in getvirtuals
self._compile_virtuals()
File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 131, in _compile_virtuals
"any query about virtuals"
AssertionError: _populate_treeVirtuals() must be called before any query about virtuals
|
| |
|
|
|
|
| |
don't miss a "missing IUSE"
|
|
|
|
| |
This patch also drops flags with EAPI 4 use dep defaults from use.required.
|
|
|
|
|
| |
inside dblink.treewalk(), periodically yield to the scheduler so that
it can service ipc calls.
|
| |
|
|
|
|
|
| |
dblink.lockdb() so that the scheduler can concurrently service ipc
calls in the main thread.
|
|
|
|
|
| |
which is a callable that should return True when it is desirable for
the _schedule_wait() method to return.
|
| |
|
|
|
|
|
|
| |
of RESTRICT since they don't apply unconditionally. Assume such
conditionals only apply on the client side where digestgen() does not
need to be called.
|
|
|
|
| |
opposite of matchall.
|
| |
|
| |
|
|
|
|
|
|
|
| |
instance, since we don't need to hold a reference for the whole thing.
This also makes it possible to rely on per-package variable settings that
may have come from /etc/portage/package.env, since we'll be isolated from
any future mutations of mysettings.
|
| |
|
|
|
|
| |
no longer does it.
|
| |
|
|
|
|
|
| |
spawn_nofetch() support for doebuild() and other fetch() callers
to use.
|
|
|
|
| |
with RESTRICT=fetch since fetch() doesn't call pkg_nofetch anymore.
|
|
|
|
| |
broken (doebuild_environment raises TypeError due to missing mydbapi parameter) and this is a poor place to spawn pkg_nofetch anyway, especially given that the caller does not even pass in a portdbapi instance. For now, relocate the pkg_nofetch execution to EbuildBuild so that it works for emerge. TODO: Add pkg_nofetch support to fetch() callers where appropriate.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Before this change -atoms could leak out of the place where they were defined.
Different repos could influence their profile/package.mask.
Profiles could influence profile/package.mask.
Note that the latter is not desirable because other than normal atoms, -atoms
have to exactly match the atom they remove. Because of this, the place specifying
the -atom has to now which atoms exists, which can only be the case if it (or in case
of a profiles, a parent profile) defines it.
|
|
|
|
|
|
|
|
| |
to make them return (token, file) pairs
This is useful to name the token's source file in error messages.
stack_lists has another new optional parameter: warn_for_unmatched_removal, which
warns for -atoms that don't remove anything.
|
|
|
|
| |
(like PORTDIR)
|
| |
|
| |
|
| |
|
|
|
|
| |
to masked or forced USE flags.
|
|
|
|
|
| |
change to parent USE is not a valid solution (a normal mask message should
be displayed instead).
|
|
|
|
| |
_global_updates().
|
| |
|
|
|
|
|
| |
which fetch has failed, since _unlock_builddir() will handle it
later.
|
|
|
|
| |
/etc/portage and warn if necessary.
|
|
|
|
|
| |
for better handling of errors like "IOError: [Errno 11] Resource
temporarily unavailable". TODO: Apply a similar fix to ebuild-ipc.py.
|
| |
|
| |
|
|
|
|
|
| |
go ahead and run pkg_nofetch upon fetch failure. This allows specialized
messages to be displayed for problematic packages.
|
|
|
|
|
| |
DEFINED_PHASES is undefined. This makes it easy to do containment
checks to see if it's safe to skip execution of a given phase.
|
|
|
|
| |
_final_exit where appropriate.
|
|
|
|
|
| |
handle arguments like --exclude that are stored as a list since
they use the 'append' action.
|
| |
|