summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #202036 - In case of blockers, bail out earlier so that laterZac Medico2007-12-131-19/+20
| | | | | | code can assume there are no blockers. (trunk r8889) svn path=/main/branches/2.1.2/; revision=8890
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-112-1/+7
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. (trunk r8884) svn path=/main/branches/2.1.2/; revision=8886
* * When installing a binary package, export the file name of the packageZac Medico2007-12-111-1/+6
| | | | | | | | | | | | | | | as PORTAGE_BINPKG_FILE in order to give bashrc users an opportunity to do various things such as remove binary packages after they're installed. * Add a note in ebuild.sh explaining why hardcoded bash lists are needed for backward compatibility with <portage-2.1.4 since they assume that a newly installed version of ebuild.sh will work for pkg_postinst, pkg_prerm, and pkg_postrm when portage is upgrading itself. (trunk r8878) svn path=/main/branches/2.1.2/; revision=8881
* Quote $PORTDIR. Thanks to Chris Kerr in bug #52208.Zac Medico2007-12-081-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8873
* Declare retval as a local variable. (trunk r8859)Zac Medico2007-12-061-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=8860
* Prevent the filter_opts local variable from leaking into theZac Medico2007-12-061-1/+2
| | | | | | environment in preprocess_ebuild_env(). (trunk r8857) svn path=/main/branches/2.1.2/; revision=8858
* Remove redundant successful exit call from the "depend" phaseZac Medico2007-12-061-3/+0
| | | | | | | and let it run to the bottom of ebuild.sh just like the other phases. (trunk r8852) svn path=/main/branches/2.1.2/; revision=8856
* To avoid false positives during the transitionZac Medico2007-12-061-1/+7
| | | | | | | | period, don't show ? if the installed package is missing a repository label. Stages starting with 2007.1 will come with repository lables. svn path=/main/branches/2.1.2/; revision=8855
* Bug #201506 - Make preprocess_ebuild_env() preserveZac Medico2007-12-061-9/+13
| | | | | | | | SANDBOX_{DENY,PREDICT,READ,WRITE} between all phases, except when the environment comes directly from environment.bz2. (trunk r8853) svn path=/main/branches/2.1.2/; revision=8854
* Show ? if the installed package is missing aZac Medico2007-12-051-5/+1
| | | | | | | | | repository label. The stable version of portage creates these labels now, so false positives won't be as common as they used to be. (trunk r8846) svn path=/main/branches/2.1.2/; revision=8847
* Synchronize the conditional that triggers "${T}"/environmentZac Medico2007-12-031-4/+3
| | | | | | | generation with the conditional that triggers distcc and ccache FEATURES setup. (trunk r8833) svn path=/main/branches/2.1.2/; revision=8834
* * whitelist CCACHE_* and DISTCC_* variables in config.environ()Zac Medico2007-12-031-0/+3
| | | | | | | * unset CCACHE_* and DISTCC_* variables in save_ebuild_env() (trunk r8818) svn path=/main/branches/2.1.2/; revision=8819
* For compatibility with cvs.eclass, do not unset CVS_RSH inZac Medico2007-12-021-1/+1
| | | | | | | save_ebuild_env() since that variable may be initialized in global scope. (trunk r8816) svn path=/main/branches/2.1.2/; revision=8817
* Fix useq() so that it won't generate a bogus IUSE QA NoticeZac Medico2007-12-021-0/+2
| | | | | | | if called during the "depend" phase with a flag that uses IUSE defaults. (trunk r8805) svn path=/main/branches/2.1.2/; revision=8806
* Synchronize self-reinstallation logic so that emerge will alwaysZac Medico2007-12-021-5/+1
| | | | | | | restart itself when dblink.merge() creates temporary copies of PORTAGE_{BIN,PYM}_PATH. (trunk r8803) svn path=/main/branches/2.1.2/; revision=8804
* Fix portage_exec namespace.Zac Medico2007-12-021-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=8800
* * whitelist some misc variables from the calling environmentZac Medico2007-12-011-0/+4
| | | | | | | | | * blacklist the same variables in save_ebuild_env() so that the latest values from the calling environment always override those from the ebuild environment (trunk r8796) svn path=/main/branches/2.1.2/; revision=8797
* Show the pid in the "starting parallel fetching" message. (trunk r8794)Zac Medico2007-12-011-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=8795
* After each merge, collect status from child processesZac Medico2007-12-011-2/+34
| | | | | | | in order to clean up zombies (such as the parallel-fetch process). (trunk r8790:8792) svn path=/main/branches/2.1.2/; revision=8793
* When die has been called and ${T}/environment does not exist,Zac Medico2007-12-011-1/+8
| | | | | | | dump the current environment to ${T}/die.env in case it helps for debugging. (trunk r8783) svn path=/main/branches/2.1.2/; revision=8784
* * whitelist PREROOTPATH in config.environ()Zac Medico2007-12-011-1/+2
| | | | | | | * filter PREROOTPATH in save_ebuild_env() (trunk r8781) svn path=/main/branches/2.1.2/; revision=8782
* Update comments about ROOTPATH:Zac Medico2007-12-011-1/+2
| | | | | | | sandbox's bashrc sources /etc/profile which unsets ROOTPATH, so we have to back it up and restore it. (trunk r8775:8777) svn path=/main/branches/2.1.2/; revision=8778
* Fix quoting for PORTAGE_ROOTPATH. (trunk r8774)Zac Medico2007-12-011-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8775
* Bug #200863 - Don't filter ${KV} since kernel-2.eclass uses thatZac Medico2007-12-011-1/+1
| | | | | | variable and we don't want to interfere. (trunk r8770) svn path=/main/branches/2.1.2/; revision=8772
* sandbox unsets ROOTPATH, so we have to back it up on the pythonZac Medico2007-11-301-0/+6
| | | | | | side then restore it on the bash side. (trunk r8768) svn path=/main/branches/2.1.2/; revision=8769
* Bug #200775 - Save more portage generated environmentZac Medico2007-11-302-8/+21
| | | | | | | variables that are in environment.bz2 so that they are available for use by tools such as epm. (trunk r8765) svn path=/main/branches/2.1.2/; revision=8766
* Don't use sandbox's BASH_ENV for new shells because it doesZac Medico2007-11-301-0/+4
| | | | | | | 'source /etc/profile' which can interfere with the build environment by modifying our PATH. (trunk r8761) svn path=/main/branches/2.1.2/; revision=8762
* Bug #189417 - When ${T}/environment exists, isolate the ebuildZac Medico2007-11-302-24/+6
| | | | | | | | | environment from the calling environment. This makes it possible for the build to unset a variable that was inherited from the calling environment, and the variable will remain unset between phases. (trunk r8752:8755) svn path=/main/branches/2.1.2/; revision=8756
* Adjust PYTHONPATH when calling portageq so that variableZac Medico2007-11-291-0/+3
| | | | | | PORTAGE_PYM_PATH works. (trunk r8745) svn path=/main/branches/2.1.2/; revision=8746
* Bug #200652 - Skip ${T}/environment handling for pkg_nofetch(). (trunk r8729)Zac Medico2007-11-281-3/+4
| | | | svn path=/main/branches/2.1.2/; revision=8730
* In chk_updated_cfg_files(), avoid scanning for config files forZac Medico2007-11-281-0/+4
| | | | | | | | 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. (trunk r8726) svn path=/main/branches/2.1.2/; revision=8727
* In the preprocess_ebuild_env() subshell, check for errors andZac Medico2007-11-281-4/+4
| | | | | | return early when necessary. (trunk r8718) svn path=/main/branches/2.1.2/; revision=8719
* Bug #200229 - The gimp ebuild defines AA as a local variable. In orderZac Medico2007-11-271-8/+11
| | | | | | | | | | 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). (trunk r8708) svn path=/main/branches/2.1.2/; revision=8709
* Make the environment handling code detect errors and die ifZac Medico2007-11-261-7/+24
| | | | | | necessary. (trunk r8700) svn path=/main/branches/2.1.2/; revision=8701
* * In doebuild(), don't create directories for the "clean" or "unmerge".Zac Medico2007-11-261-1/+3
| | | | | | | * Fix dyn_clean() to clean the status file and return early when appropriate. (trunk r8692) svn path=/main/branches/2.1.2/; revision=8693
* Check if ${EBUILD_EXIT_STATUS_FILE} is empty beforeZac Medico2007-11-263-4/+8
| | | | | | attempting to use it. (trunk r8686) svn path=/main/branches/2.1.2/; revision=8687
* --buildpkgonly will not merge anything, soZac Medico2007-11-261-0/+7
| | | | | | it cancels all binary package options. svn path=/main/branches/2.1.2/; revision=8685
* Bug #200313 - Detect and report when an ebuild phaseZac Medico2007-11-263-2/+8
| | | | | | | | | | | | | | | | | | exits unexpectedly. This is type of behavior is known to be triggered by things such as failed variable assignments (bug #190128) or bad substitution errors (bug #200313). We use a EBUILD_EXIT_STATUS_FILE environment variable to specify a file that the shell code is supposed to create when it exits in a normal manner. If the file does not get created like it's supposed to be then we can conclude that the shell has exited in some unexpected way. (trunk r8682) svn path=/main/branches/2.1.2/; revision=8684
* Automatically try to load environment.bz2 wheneverZac Medico2007-11-261-2/+4
| | | | | | | "${T}/environment" does not exist, except for "clean" and "depend" phases. (trunk r8680) svn path=/main/branches/2.1.2/; revision=8681
* Make diefunc() show the path of ${T}/environment since it's usuallyZac Medico2007-11-261-0/+2
| | | | | | | in the stack trace and the user is likely to be interested in it. (trunk r8678) svn path=/main/branches/2.1.2/; revision=8679
* Filter more misc environment variables. (trunk r8676)Zac Medico2007-11-261-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=8677
* unset ECLASS along with the other variables from inherit(). (trunk r8674)Zac Medico2007-11-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8675
* * Move filtering of a bunch of portage config variables fromZac Medico2007-11-262-23/+13
| | | | | | | | save_ebuild_env() to config.environ(). * Add EMERGE_FROM to the READONLY_PORTAGE_VARS list. (trunk r8670) svn path=/main/branches/2.1.2/; revision=8671
* Bug #124041 - Make emerge show an informative warning message when oneZac Medico2007-11-261-4/+33
| | | | | | | | or more eclasses override eclasses from PORTDIR. The warning can be permanently disabled by setting PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf. (trunk r8668) svn path=/main/branches/2.1.2/; revision=8669
* Filter _RC_GET_KV_CACHE from the saved environment. (trunk r8666)Zac Medico2007-11-251-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8667
* Make preprocess_ebuild_env() reload a known good version ofZac Medico2007-11-252-70/+79
| | | | | | | save_ebuild_env() in order to avoid making an assumption that it hasn't been overridden. (trunk r8663) svn path=/main/branches/2.1.2/; revision=8665
* Remove some unsafe assumptions from preprocess_ebuild_env() andZac Medico2007-11-251-2/+4
| | | | | | | note the remaining assumption that save_ebuild_env() is not overridden by the environment being loaded. (trunk r8662) svn path=/main/branches/2.1.2/; revision=8664
* Allow the pkg_info and pkg_config pre/post hooks to run evenZac Medico2007-11-251-1/+0
| | | | | | when the ebuild function is not defined. (trunk r8659) svn path=/main/branches/2.1.2/; revision=8660
* Remove the empty default pkg_setup, src_install, pkg_preinst,Zac Medico2007-11-251-29/+1
| | | | | | | | pkg_postinst, pkg_prerm, pkg_postrm, and pkg_config functions since they do nothing more than clutter the environment. (trunk r8655) svn path=/main/branches/2.1.2/; revision=8658
* Test if ebuild functions are defined before calling them. ThisZac Medico2007-11-251-25/+21
| | | | | | | | | will be useful if an environment.bz2 has been loaded and it has missing functions for some reason. For example, there are a lot of default functions that are empty and could simply be omitted from the environment. (trunk r8654) svn path=/main/branches/2.1.2/; revision=8657