| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
updates args with _set_args().
|
| |
|
| |
|
| |
|
|
|
|
| |
it bails out due to unresolved dependencies.
|
|
|
|
| |
fix from bug #337540.
|
|
|
|
| |
in hopes that it will be more portable (see bug #337465).
|
| |
|
| |
|
|
|
|
| |
depgraph._show_unsatisfied_dep().
|
|
|
|
| |
sets.
|
|
|
|
| |
enabled.
|
|
|
|
|
| |
handler for pickle.loads() since that can raise practically
any exception when given corrupt data.
|
|
|
|
| |
masks.
|
| |
|
|
|
|
|
|
| |
A new depgraph._expand_set_args() method adds nested SetArg instances
to the digraph, in order to record parent -> child relationships from
nested sets.
|
|
|
|
|
|
|
|
| |
depgraph._complete_graph().
With this patch, nested set traversal is only used for removal
operations like --depclean and --prune. A later patch will introduce
similar traversal for all operations, in order to solve bug #337540.
|
| |
|
| |
|
|
|
|
| |
DependencyArg.
|
|
|
|
| |
and "REPO" the the start of the build log.
|
|
|
|
| |
commit.
|
|
|
|
| |
DependencyArg, and add tests.
|
| |
|
|
|
|
| |
work yet.
|
|
|
|
| |
check_required_use() exception handling (for python-2.x safety).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to avoid UnicodeDecodeError in python-2.x.
This issue was reported in forum thread
http://forums.gentoo.org/viewtopic-t-844623.html where the following
traceback was posted:
File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg
type_name="installed")
File "/usr/lib/portage/pym/_emerge/Package.py", line 64, in __init__
self._validate_deps()
File "/usr/lib/portage/pym/_emerge/Package.py", line 93, in _validate_deps
self._metadata_exception(k, e)
File "/usr/lib/portage/pym/_emerge/Package.py", line 242, in _metadata_exception
"%s: %s in '%s'" % (k, e, path))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 22: ordinal not in range(128)
|
| |
|
|
|
|
| |
INHERITED metadata available (like for binary packages).
|
|
|
|
| |
category directory for removal.
|
|
|
|
| |
dir_path attribute.
|
|
|
|
| |
EbuildBuildDir, so PORTAGE_BUILDDIR is initialized first.
|
|
|
|
| |
locked.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This patch also drops flags with EAPI 4 use dep defaults from use.required.
|
|
|
|
|
| |
which is a callable that should return True when it is desirable for
the _schedule_wait() method to return.
|
|
|
|
|
| |
spawn_nofetch() support for doebuild() and other fetch() callers
to use.
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
to masked or forced USE flags.
|
|
|
|
|
| |
change to parent USE is not a valid solution (a normal mask message should
be displayed instead).
|
| |
|
|
|
|
|
| |
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.
|
| |
|