| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
first check for non-empty $SANDBOX_LOG and signal unsuccessful exit
if necessary. This fixes an issue with phases being treated as
successful even when there were sandbox violations.
|
|
|
|
| |
is False.
|
|
|
|
|
| |
it's checking, since it's confusing if these warnings are displayed
without the user being told which profile they come from.
|
|
|
|
|
| |
atomc reading and writing of whole pickles. This should be the least
error-prone approach, given the non-blocking nature of the streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
packages, and use it for evaluating conditional USE deps in atoms
passed via IPC to helpers like has_version and best_version.
Since the pickled object that contains the IPC command will no longer
contain USE, it should solve cases that have been reported in which
large USE strings trigger poor handling of non-blocking read in
pickle.load():
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/usr/lib64/portage/pym/_emerge/main.py", line 1649, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/lib64/portage/pym/_emerge/actions.py", line 437, in action_build
retval = mergetask.merge()
File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1033, in merge
rval = self._merge()
File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1349, in _merge
self._main_loop()
File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1498, in _main_loop
self._poll_loop()
File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 139, in _poll_loop
handler(f, event)
File "/usr/lib64/portage/pym/_emerge/EbuildIpcDaemon.py", line 36, in _input_handler
obj = pickle.load(self._files.pipe_in)
File "/usr/lib64/python2.6/pickle.py", line 1370, in load
return Unpickler(file).load()
File "/usr/lib64/python2.6/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib64/python2.6/pickle.py", line 1195, in load_setitem
value = stack.pop()
IndexError: pop from empty list
|
|
|
|
| |
workaround for portage-9999 users.
|
|
|
|
|
|
| |
ebuild.sh where appropriate:
* unpack()
* environment.bz2 compression
|
|
|
|
|
|
| |
PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support
for binary packages, since that's where pbzip2 can provide the most
benefit in common cases.
|
| |
|
| |
|
|
|
|
|
| |
in the upcoming 2.1.9 branch which will not have sets support but will
still have the code in private and disabled form.
|
|
|
|
|
|
| |
trying to minimize the diff between the master branch and upcoming
2.1.9 branch which will not have preserve-libs support but will
still have the code in private and disabled form.
|
|
|
|
|
| |
Expand symlinks in prepcompress() completely, not only to the last
directory component.
|
| |
|
| |
|
| |
|
|
|
|
| |
use.local.desc (fixes possible unicode issues with python3).
|
|
|
|
|
|
| |
order to avoid potential character encoding issues (both in terms
of decoding and in calculating file position given variable-width
character encodings like UTF-8.
|
| |
|
| |
|
|
|
|
|
| |
--update-use-local-desc code, since it's ugly to have so
many repetitions of this construct.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Return a dict of dicts in parse_metadata_use(), with second-level keys
being the restrict strings (or None when no restrict). When generating
use.local.desc, use the description from the possibly-highest-matching
atom.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
conditional which references a flag that is not listed in IUSE.
Also split out a Package._metadata_exception() method to handle
IUSE.missing for *DEPEND and SRC_URI.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
InvalidAtom exceptions, make use_reduce() raise InvalidDependString
exceptions that encapsulate InvalidAtom exceptions, and make
Package._validate_deps() use the InvalidAtom categories when
recording the invalid metadata for use by repoman. Also, remove
the EAPI.incompatible code from repoman that's no longer used.
|
|
|
|
| |
--update option is given.
|
| |
|
| |
|
|
|
|
| |
ebuilds.
|
|
|
|
|
|
| |
Regroup the options, splitting them into 'Actions', 'Common' and
action-specific options. Always check whether the 'update' action was
chosen. Support catching multiple return codes.
|
|
|
|
|
|
| |
Grab the USE descriptions from metadata.xml within parse_metadata_use().
Instead of a plain flag list, return a dict containing both the flag
names and their descriptions.
|
|
|
|
|
|
| |
If any of the ebuilds is considered invalid, the used_useflags list may
not be complete. Thus, performing the test could cause a lot of useless
noise.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
ebuild environment. SIGPIPE is typically 13, but its better not to
assume that.
|
| |
|
|
|
|
| |
but has stopped working since recent changes).
|
| |
|
|
|
|
| |
to update the file manually if desired.
|
| |
|
| |
|
|
|
|
|
|
|
| |
When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(),
use a new assert_sigpipe_ok() function which behaves the same as the
existing assert() function except that it tolerates pipe writers being
killed by SIGPIPE.
|
|
|
|
|
| |
about these policy decisions being included in portage. Besides, these
kinds of things could go in the python eclass.
|