| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
INHERITED metadata available (like for binary packages).
|
| |
|
|
|
|
| |
category directory for removal.
|
|
|
|
|
| |
This reverts commit 811689f349a91b44448bc8e294903abf990eac45. The preplib
helper is still used by at least by stable sys-libs/lib-compat ebuilds.
|
|
|
|
| |
dir_path attribute.
|
|
|
|
| |
EbuildBuildDir, so PORTAGE_BUILDDIR is initialized first.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
as long as $PORTAGE_BUILDDIR is locked.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
in LDFLAGS, in order to try and filter out invalid settings.
|
|
|
|
|
| |
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.
|
|
|
|
| |
warnings fatal for now.
|
|
|
|
| |
heavily loaded.
|
| |
|
|
|
|
|
|
| |
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.
|