| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
| |
workaround for portage-9999 users.
|
|
|
|
|
|
| |
ebuild.sh where appropriate:
* unpack()
* environment.bz2 compression
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
pre-built binaries. Paths listed here will be appended to each of
the other QA_* variables. Thanks to Diego Pettenò <flameeyes@g.o>
for the suggestion.
|
|
|
|
|
|
|
| |
environment, in order to prevent ebuilds from abusing it. In
preparation for that, export it as PORTAGE_FEATURES so that bashrc
users will be able to migrate any FEATURES conditional code to
use this alternative variable.
|
|
|
|
|
|
| |
is needlessly long.
* When calling helpers_die from a function, use ${FUNCNAME[0]} in
arguments instead of $0.
|
|
|
|
|
|
| |
with a minimal environment. This gives coverage to some of the ebuild
execution internals, like ebuild.sh, EbuildSpawnProcess, and
EbuildIpcDaemon.
|
|
|
|
|
| |
intermittent build failures in my stage builds. For testing purposes
set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
|
|
|
|
|
|
| |
built/installed packages, since the config class doesn't currently provide
a way to access built/installed $USE that would work in all possible
scenarios.
|
|
|
|
|
| |
doesn't have to be passed to the daemon in has_version and
best_version calls.
|
|
|
|
| |
callback from executing.
|
|
|
|
| |
It avoids some errors during upgrade from older Portage versions.
|