| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This will fix bug #288597.
|
|
|
|
|
|
|
|
| |
EbuildBuildDir also performs safe removal of the category when it is
empty, so ebuild.sh/dyn_clean doesn't need to do it anymore. This
fixes a race condition if one process is trying to remove the category
directory while another one is trying to create it for
PORTAGE_BUILDDIR.
|
| |
|
|
|
|
|
|
|
| |
When EBUILD_PHASE != depend, INHERITED comes pre-initialized
from cache. In order to make INHERITED content independent of
EBUILD_PHASE during inherit() calls, we unset INHERITED after
we make a backup copy for QA checks.
|
|
|
|
| |
Use VARIABLE=VALUE syntax for arguments of set_unless_changed().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now ebuild.sh runs preprocessing steps multiple times during the
same build. It processes the same environment and produces the same
output every time. This slows down the build unnecessarily.
This optimization cuts build time for 50 binary packages with 16 jobs
from 3m22 to 2m33 (33%).
Change-Id: I72ac84cce2eb60d17736cc5f5343d4a858ec86f4
Review URL: http://codereview.chromium.org/6733008
|
| |
|
| |
|
|
|
|
| |
This will fix bug #355635.
|
| |
|
|
|
|
| |
This will fix bug #353897.
|
|
|
|
| |
This is the new behavior, for bug #211529.
|
| |
|
| |
|
|
|
|
| |
This will fix bug #338744.
|
|
|
|
| |
This solves cases like bug #350045.
|
|
|
|
|
| |
It should be faster to use the bash builtin, and also allows us to
avoid issues with touch breakage (like in bug #348640).
|
| |
|
| |
|
|
|
|
|
| |
Thanks to Sébastien Fabbro <bicatali@gentoo.org> for reporting in
bug #346847.
|
| |
|
| |
|
|
|
|
| |
This should fix bug #307729.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make debug-print() and friends a lot simpler. Thanks to Mike Frysinger
for his suggestions.
|
|
|
|
| |
the new EAPI 4 default src_install implementation.
|
|
|
|
| |
This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73.
|
|
|
|
| |
save_ebuild_env() to unset them.
|
|
|
|
| |
with PORTAGE_, and make them both readonly.
|
|
|
|
| |
important now that ebuild-ipc relies on it.
|
| |
|
| |
|
|
|
|
|
|
|
| |
in single atomic non-blocking read() calls, similar to how
AbstractPollTask._read_buf() does it. If the read fails, exit with
status 2 so that best_version() and has_version() can detect the
error and die when necessary.
|
|
|
|
|
|
|
| |
so that it always matches the latest value from the config class
and it can never be stale. With the ability to use package.env for
per-package FEATURES settings, there's no need for bashrc to make
persistent modifications to the FEATURES variable.
|
|
|
|
| |
prepare.
|
|
|
|
| |
that elog messages generated by bashrc are preserved when appropriate.
|
|
|
|
| |
sourced.
|
|
|
|
| |
from interactively prompting under some error conditions.
|
| |
|
| |
|
|
|
|
|
| |
and move it from ebuild.sh to EbuildPhase. This way we can easily
use python to extend it for bug #336019.
|
|
|
|
| |
TEMP, TMP, and TMPDIR variables.
|
|
|
|
| |
environment.bz2.
|
|
|
|
| |
from being saved in environment.bz2.
|
|
|
|
| |
a workaround for bug #288863 in the stable branch.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|