Merged from trunk 8696:8729
| 8698 | Make doebuild() use EBUILD_EXIT_STATUS_FILE sanity checks |
| zmedico | for the extra misc-functions.sh preinst/postinst shell code. |
| 8700 | Make the environment handling code detect errors and die if |
| zmedico | necessary. |
| 8702 | Bug #200231 - Make dir_get_metadata() handle an exception |
| zmedico | thrown from dir_get_list() when there's a problem connection |
| | problem. |
| 8704 | Fix config.pop() so that is will properly raise a KeyError. |
| zmedico | |
| 8706 | Don't forget to unlink ${EBUILD_EXIT_STATUS_FILE} before |
| zmedico | each phase. |
| 8708 | Bug #200229 - The gimp ebuild defines AA as a local |
| zmedico | variable. In order to accomodate this, create a |
| | PORTAGE_MUTABLE_FILTERED_VARS list for variables that |
| | portage sets but doesn't mark readonly. In order to prevent |
| | changed values from causing unexpcted interference, they are |
| | filtered out of the environment when it is saved or loaded |
| | (any mutations do not persist). |
| 8710 | Fix logic wrt exit_status_check and elog_process in |
| zmedico | doebuild(). |
| 8712 | Remove a redundant os.EX_OK check that exit_status_check() |
| zmedico | already handles internally. |
| 8714 | portage upgrade or downgrade invalidates |
| zmedico | EBUILD_EXIT_STATUS_FILE sanity checks since ebuild.sh |
| | portage version may differ from the current instance that is |
| | running in python. |
| 8716 | Just use ${PN} instead of catpkgsplit(). |
| zmedico | |
| 8718 | In the preprocess_ebuild_env() subshell, check for errors |
| zmedico | and return early when necessary. |
| 8720 | Add a sanity check in dblink.treewalk() so that a broken |
| zmedico | ebuild that doesn't install any files will not be able to |
| | replace a package in the same slot that really installs |
| | files. This check can be bypassed by manually unmerging the |
| | old package or by setting PORTAGE_PACKAGE_EMPTY_ABORT="0" in |
| | /etc/make.conf. |
| 8721 | Don't export PORTAGE_PACKAGE_EMPTY_ABORT to the ebuild |
| zmedico | environment. |
| 8724 | Disable PORTAGE_PACKAGE_EMPTY_ABORT by default since the |
| zmedico | scrollkeeper-9999 upgrade will trigger a false positive. |
| | Thanks to leio for reporting. |
| 8726 | In chk_updated_cfg_files(), avoid scanning for config files |
| zmedico | for paths that aren't writable by the current user. This |
| | prevents Permission denied errors from being triggered later |
| | when trying to scan subdirectories that are inaccessible. |
| 8729 | Bug #200652 - Skip ${T}/environment handling for |
| zmedico | pkg_nofetch(). |
svn path=/main/branches/prefix/; revision=8811