Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #365439: Add set_unless_changed() and unset_unless_changed(). | Arfrever Frehtes Taifersar Arahesis | 2011-05-01 | 1 | -0/+28 |
| | |||||
* | Optimize ebuild.sh to cache preprocessing output. | David James | 2011-03-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | 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 | ||||
* | ebuild.sh: remove unused PWORKDIR variable | Zac Medico | 2011-02-21 | 1 | -6/+0 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | _eapi4_src_install: handle empty DOCS like PMS | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | | | | This will fix bug #355635. | ||||
* | docompress, prepcompress: Add missing quotes. | Ulrich Mueller | 2011-02-19 | 1 | -2/+2 |
| | |||||
* | default_src_test: handle EAPI 4 emake failure | Zac Medico | 2011-02-06 | 1 | -4/+10 |
| | | | | This will fix bug #353897. | ||||
* | econf: check confgure --help for --disable-dep... | Zac Medico | 2011-01-12 | 1 | -1/+3 |
| | | | | This is the new behavior, for bug #211529. | ||||
* | ebuild.sh: skip QA_* init in "depend" phase | Zac Medico | 2011-01-09 | 1 | -20/+21 |
| | |||||
* | dyn_clean: remove .pretended | Zac Medico | 2010-12-31 | 1 | -1/+1 |
| | |||||
* | unpack: handle echo failure in unzip pipe | Zac Medico | 2010-12-29 | 1 | -1/+1 |
| | | | | This will fix bug #338744. | ||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 1 | -2/+2 |
| | | | | This solves cases like bug #350045. | ||||
* | Substitute bash builtin >> for touch command. | Zac Medico | 2010-12-19 | 1 | -15/+25 |
| | | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640). | ||||
* | ebuild.sh: only run pretend once for ebuild(1) | Zac Medico | 2010-12-05 | 1 | -1/+9 |
| | |||||
* | EAPI 4: Support MERGE_TYPE (bug #347351) | Zac Medico | 2010-12-03 | 1 | -1/+2 |
| | |||||
* | fix QA_EXECSTACK spelling for QA_PREBUILT | Zac Medico | 2010-12-02 | 1 | -1/+1 |
| | | | | | Thanks to Sébastien Fabbro <bicatali@gentoo.org> for reporting in bug #346847. | ||||
* | debug-print: don't stat $T during depend phasev2.2.0_alpha2 | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | ebuild: move SANDBOX_ON=0 setting later | Zac Medico | 2010-10-27 | 1 | -3/+3 |
| | |||||
* | Only addwrite for tmp dirs if sandbox is enabled. | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | | | | This should fix bug #307729. | ||||
* | debug-print-function: output like older portage | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | debug-print: permission fixes | Zac Medico | 2010-10-27 | 1 | -4/+7 |
| | |||||
* | Simplify retval checks in has_version() and best_version(). | Michał Górny | 2010-10-24 | 1 | -10/+4 |
| | |||||
* | Simplify debug-print*() functions code. | Michał Górny | 2010-10-24 | 1 | -20/+12 |
| | | | | | Make debug-print() and friends a lot simpler. Thanks to Mike Frysinger for his suggestions. | ||||
* | Fix default() and default_src_install() definitions to account for | Zac Medico | 2010-09-20 | 1 | -0/+10 |
| | | | | the new EAPI 4 default src_install implementation. | ||||
* | Revert "Add option -s to docompress command." | Ulrich Mueller | 2010-09-20 | 1 | -7/+1 |
| | | | | This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73. | ||||
* | Put more variables in PORTAGE_READONLY_VARS instead of using | Zac Medico | 2010-09-17 | 1 | -4/+14 |
| | | | | save_ebuild_env() to unset them. | ||||
* | Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to start | Zac Medico | 2010-09-17 | 1 | -4/+5 |
| | | | | with PORTAGE_, and make them both readonly. | ||||
* | Add PORTAGE_BUILDDIR to READONLY_PORTAGE_VARS since it's extremely | Zac Medico | 2010-09-17 | 1 | -1/+1 |
| | | | | important now that ebuild-ipc relies on it. | ||||
* | Add option -s to docompress command. | Ulrich Mueller | 2010-09-14 | 1 | -1/+7 |
| | |||||
* | Remove redundant local retval declaration in has_version(). | Zac Medico | 2010-09-10 | 1 | -1/+0 |
| | |||||
* | Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read pickles | Zac Medico | 2010-09-09 | 1 | -8/+7 |
| | | | | | | | 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. | ||||
* | Filter the FEATURES variable out of the environment between phases, | Zac Medico | 2010-09-07 | 1 | -2/+3 |
| | | | | | | | 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. | ||||
* | Fix dyn_setup 'already setup' message to refer to setup instead of | Zac Medico | 2010-09-07 | 1 | -1/+1 |
| | | | | prepare. | ||||
* | Move stale elog cleanup code from ebuild.sh to _doebuild_spawn(), so | Zac Medico | 2010-09-07 | 1 | -10/+11 |
| | | | | that elog messages generated by bashrc are preserved when appropriate. | ||||
* | Define EBUILD_MASTER_PID earlier in ebuild.sh, before $EBUILD isv2.2_rc76 | Zac Medico | 2010-09-06 | 1 | -4/+8 |
| | | | | sourced. | ||||
* | Bug #336285 - Add workaround to unpack() in order to prevent unzip | Zac Medico | 2010-09-06 | 1 | -0/+3 |
| | | | | from interactively prompting under some error conditions. | ||||
* | Remove all \a (alert/bell/beep) tokens (bug 336024) | Sebastian Luther | 2010-09-06 | 1 | -1/+0 |
| | |||||
* | print up-to-date copyright years | Fabian Groffen | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Take the code which displays ebuild information before pkg_setup, | Zac Medico | 2010-09-05 | 1 | -5/+0 |
| | | | | | and move it from ebuild.sh to EbuildPhase. This way we can easily use python to extend it for bug #336019. | ||||
* | Unify to different pieces of code that handle sandbox considerations for | Zac Medico | 2010-09-02 | 1 | -12/+12 |
| | | | | TEMP, TMP, and TMPDIR variables. | ||||
* | Prevent local x variable in ebuild_main() from showing up in | Zac Medico | 2010-09-02 | 1 | -2/+2 |
| | | | | environment.bz2. | ||||
* | Prevent the local filter_opts variable in filter_readonly_variables() | Zac Medico | 2010-09-02 | 1 | -5/+6 |
| | | | | from being saved in environment.bz2. | ||||
* | Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enable | Zac Medico | 2010-09-02 | 1 | -0/+9 |
| | | | | a workaround for bug #288863 in the stable branch. | ||||
* | When signaling successful exit from an ebuild phase via ebuild-ipc, | Zac Medico | 2010-09-02 | 1 | -1/+23 |
| | | | | | | 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. | ||||
* | Add support to config.setcpv() for caching USE settings from built | Zac Medico | 2010-09-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Add a fallback PORTAGE_BZIP2_COMMAND setting in ebuild.sh, as a | Zac Medico | 2010-08-31 | 1 | -0/+6 |
| | | | | workaround for portage-9999 users. | ||||
* | Bug #335340 - Use PORTAGE_BUNZIP2_COMMAND and PORTAGE_BZIP2_COMMAND in | Zac Medico | 2010-08-30 | 1 | -9/+9 |
| | | | | | | ebuild.sh where appropriate: * unpack() * environment.bz2 compression | ||||
* | Invert _ebuild_helpers_path EAPI conditional in ebuild.sh. | Zac Medico | 2010-08-30 | 1 | -3/+3 |
| | |||||
* | Implement controllable compression and docompress, bug #273633. | Ulrich Mueller | 2010-08-28 | 1 | -0/+28 |
| | |||||
* | Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001). | Zac Medico | 2010-08-23 | 1 | -2/+2 |
| | | | | | | | 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. |