| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
prefetch output always goes to a log.
|
| |
|
|
|
|
| |
bug #336503.
|
|
|
|
|
| |
tempfile, since with FEATURES=usersync, the default directory used by
the tempfile module may not be readbable by the usersync user.
|
|
|
|
| |
buildtime dependencies.
|
|
|
|
| |
depgraph._select_atoms() instead.
|
| |
|
|
|
|
|
| |
for availability and visibilty checks. This provides consistency
with install operations, so we don't get install/uninstall cycles.
|
| |
|
|
|
|
| |
visiblity checks with self._pkg_visibility_check().
|
| |
|
|
|
|
| |
is False.
|
|
|
|
| |
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).
|
| |
|