Zac Medico [Fri, 1 May 2009 22:44:01 +0000 (22:44 -0000)]
Update header for 2.1.6 branch.
svn path=/main/branches/2.1.6/; revision=13586
Zac Medico [Fri, 1 May 2009 21:59:54 +0000 (21:59 -0000)]
Bug #267175 - Instead of "poor code kills airplanes", say "install aborted
due to poor programming practices shown above" in order to help the user
link the die message to the related "poor programming practices" messages.
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r13584)
svn path=/main/branches/2.1.6/; revision=13585
Zac Medico [Fri, 1 May 2009 21:43:50 +0000 (21:43 -0000)]
Make elog functions use read -r when splitting lines, so that backslashes
intended for display will not be eaten. (trunk r13582)
svn path=/main/branches/2.1.6/; revision=13583
Zac Medico [Fri, 1 May 2009 19:11:50 +0000 (19:11 -0000)]
Only generate KV when setting up the environment for a real ebuild phase. This
should preven "Permission Denied: /usr/src/linux/.config" errors reported
by repoman users (repoman may trigger the error when it calls the fetch phase).
(trunk r13580)
svn path=/main/branches/2.1.6/; revision=13581
Zac Medico [Fri, 1 May 2009 18:35:59 +0000 (18:35 -0000)]
Fix logic error which prevents repos.conf [DEFAULT] section from applying
to repos that don't have their own section. Thanks to Markos Chandras
<hwoarang@g.o> for reporting. (trunk r13578)
svn path=/main/branches/2.1.6/; revision=13579
Zac Medico [Thu, 30 Apr 2009 22:47:50 +0000 (22:47 -0000)]
Disable ACCEPT_LICENSE license group expansion and related code since license
masking isn't supported in the 2.1.6 branch and we don't want it to interfere
with check_license() behavior.
svn path=/main/branches/2.1.6/; revision=13577
Zac Medico [Thu, 30 Apr 2009 22:00:48 +0000 (22:00 -0000)]
Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
since PORTAGE_RESTRICT is calculated by config.setcpv() now. (trunk r13575)
svn path=/main/branches/2.1.6/; revision=13576
Zac Medico [Thu, 30 Apr 2009 21:45:55 +0000 (21:45 -0000)]
In config.setcpv() reuse split USE from built packages instead of splitting
them again. (trunk r13573)
svn path=/main/branches/2.1.6/; revision=13574
Zac Medico [Thu, 30 Apr 2009 21:15:37 +0000 (21:15 -0000)]
Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binary
packages since it should work fine now. (trunk r13570)
svn path=/main/branches/2.1.6/; revision=13572
Zac Medico [Thu, 30 Apr 2009 21:15:25 +0000 (21:15 -0000)]
Move PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) and
fix it to work correctly for pre-built packages. (trunk r13569)
svn path=/main/branches/2.1.6/; revision=13571
Zac Medico [Thu, 30 Apr 2009 19:48:31 +0000 (19:48 -0000)]
Bug #267104 - When appropriate, advise the user that they may set FEATURES=
-userfetch in order to use remaining space. (trunk r13567)
svn path=/main/branches/2.1.6/; revision=13568
Zac Medico [Thu, 30 Apr 2009 16:45:32 +0000 (16:45 -0000)]
Fix _lazy_accept_license to discard || from the set of licenses. (trunk r13565)
svn path=/main/branches/2.1.6/; revision=13566
Zac Medico [Thu, 30 Apr 2009 08:46:51 +0000 (08:46 -0000)]
Add note about repos.conf eclass overrides. (trunk r13561:13563)
svn path=/main/branches/2.1.6/; revision=13564
Zac Medico [Thu, 30 Apr 2009 08:40:39 +0000 (08:40 -0000)]
Fix ACCEPT_LICENSE handling for binary packages, so that the build-time USE
settings are used calculate an appropriate ACCEPT_LICENSE value. (trunk r13560)
svn path=/main/branches/2.1.6/; revision=13561
Zac Medico [Thu, 30 Apr 2009 07:32:00 +0000 (07:32 -0000)]
Fix error in calculations from bug #267104. (trunk r13419)
svn path=/main/branches/2.1.6/; revision=13559
Zac Medico [Thu, 30 Apr 2009 07:31:50 +0000 (07:31 -0000)]
In config.setcpv(), move the code that makes sure "pkg" values override "env"
values _after_ the reset() call. (trunk r13418)
svn path=/main/branches/2.1.6/; revision=13558
Zac Medico [Thu, 30 Apr 2009 07:31:39 +0000 (07:31 -0000)]
Generate a pruned version of ACCEPT_LICENSE, by intersection with
LICENSE. This is required since otherwise ACCEPT_LICENSE might be too
big (bigger than ARG_MAX), causing execve() calls to fail with E2BIG
errors as in bug #262647. (trunk r13417)
svn path=/main/branches/2.1.6/; revision=13557
Zac Medico [Thu, 30 Apr 2009 07:31:19 +0000 (07:31 -0000)]
In config.regenerate(), explicitly include self.backupenv when processing
incrementals, since it's no longer included in self.configlist. (trunk r13416)
svn path=/main/branches/2.1.6/; revision=13556
Zac Medico [Thu, 30 Apr 2009 07:31:09 +0000 (07:31 -0000)]
Exclude 'backupenv' from config.configlist and lookuplist since it doesn't
make size to have it in there when configdict['env'] already serves that
purpose. This allows values to be temporarily removed from configdict['env']
and have them not appear in the environment until reset() is called to restore
those values from the backupenv. (trunk r13415)
svn path=/main/branches/2.1.6/; revision=13555
Zac Medico [Thu, 30 Apr 2009 07:30:56 +0000 (07:30 -0000)]
Clarify RESTRICT=bindist docs by referring to 'built' packages. Thanks to
Thomas Sachau <tommy@g.o> for reporting. (trunk r13414)
svn path=/main/branches/2.1.6/; revision=13554
Zac Medico [Thu, 30 Apr 2009 07:30:47 +0000 (07:30 -0000)]
Warn about sed and epatch calls which should be moved from src_unpack to
src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch.
(trunk r13413)
svn path=/main/branches/2.1.6/; revision=13553
Zac Medico [Thu, 30 Apr 2009 07:30:32 +0000 (07:30 -0000)]
Move the here-document code from the EbuildWhitespace check to the
run_checks() function, so that all checks ignore the content of
here-documents. (trunk r13412)
svn path=/main/branches/2.1.6/; revision=13552
Zac Medico [Thu, 30 Apr 2009 07:30:22 +0000 (07:30 -0000)]
Make EbuildWhitespace ignore here-documents. Thanks to Diego Pettenò
<flameeyes@g.o> for reporting. (trunk r13411)
svn path=/main/branches/2.1.6/; revision=13551
Zac Medico [Thu, 30 Apr 2009 07:30:14 +0000 (07:30 -0000)]
Make xtermTitle() use a global variable to cache the result of the TERM check.
(trunk r13410)
svn path=/main/branches/2.1.6/; revision=13550
Zac Medico [Thu, 30 Apr 2009 07:30:03 +0000 (07:30 -0000)]
Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles. (trunk r13409)
svn path=/main/branches/2.1.6/; revision=13549
Zac Medico [Thu, 30 Apr 2009 07:29:53 +0000 (07:29 -0000)]
Fix the code from bug #267104 to account non-root users. (trunk r13408)
svn path=/main/branches/2.1.6/; revision=13548
Zac Medico [Thu, 30 Apr 2009 07:29:39 +0000 (07:29 -0000)]
Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since these
variables aren't really sortable in that way. (trunk r13407)
svn path=/main/branches/2.1.6/; revision=13547
Zac Medico [Thu, 30 Apr 2009 07:29:25 +0000 (07:29 -0000)]
Bug #267104 - If the statvfs f_bavail field shows insufficient free space and
userfetch is not enabled, recalculate using the f_bfree field. (trunk r13406)
svn path=/main/branches/2.1.6/; revision=13546
Zac Medico [Thu, 30 Apr 2009 07:28:57 +0000 (07:28 -0000)]
Put ebuild helpers at the absolute front of the PATH. (trunk r13404)
svn path=/main/branches/2.1.6/; revision=13545
Zac Medico [Thu, 30 Apr 2009 07:28:45 +0000 (07:28 -0000)]
Bug #71646 - Don't allow the HISTFILE variable into the ebuild environment
since it triggers sandbox violations. (trunk r13403)
svn path=/main/branches/2.1.6/; revision=13544
Zac Medico [Thu, 30 Apr 2009 07:27:08 +0000 (07:27 -0000)]
fix e-mail munging and add see also section (trunk r13402)
svn path=/main/branches/2.1.6/; revision=13543
Zac Medico [Thu, 30 Apr 2009 07:26:00 +0000 (07:26 -0000)]
Add a new EAPI.definition check for cases in which EAPI is defined after an
inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch.
(trunk r13401)
svn path=/main/branches/2.1.6/; revision=13542
Zac Medico [Thu, 30 Apr 2009 07:24:48 +0000 (07:24 -0000)]
Add dohard and doset helper which die for EAPI 3. TODO: Make the die
helper use pipe or socket IPC instead of a signal, to avoid a potential
race condition in signal delivery. Thanks to to Tiziano Müller <dev-zero@g.o>
for the initial patch. (trunk r13389)
svn path=/main/branches/2.1.6/; revision=13541
Zac Medico [Thu, 30 Apr 2009 07:24:19 +0000 (07:24 -0000)]
Set executable. (trunk r13388)
svn path=/main/branches/2.1.6/; revision=13540
Zac Medico [Thu, 30 Apr 2009 07:24:09 +0000 (07:24 -0000)]
Automatically define errno.ESTALE if it doesn't exist (like on interix).
Thanks to Markus Duft <mduft@g.o> for reporting. (trunk r13387)
svn path=/main/branches/2.1.6/; revision=13539
Zac Medico [Thu, 30 Apr 2009 07:23:50 +0000 (07:23 -0000)]
Fix breakage in PREROOTPATH logic from the EAPI 3 code. (trunk r13386)
svn path=/main/branches/2.1.6/; revision=13538
Zac Medico [Thu, 30 Apr 2009 07:23:35 +0000 (07:23 -0000)]
Remove ccache and distcc remove_path_entry code since PATH is always
initialized from scratch so there's no danger of accumulation. (trunk r13385)
svn path=/main/branches/2.1.6/; revision=13537
Zac Medico [Thu, 30 Apr 2009 07:23:25 +0000 (07:23 -0000)]
Use declare -F to check existence of function definitions, instead of
type -t, in order to avoid use of subshells. (trunk r13384)
svn path=/main/branches/2.1.6/; revision=13536
Zac Medico [Thu, 30 Apr 2009 07:23:16 +0000 (07:23 -0000)]
Use ret|=1 instead of ++ret, to avoid possible overflow. (trunk r13383)
svn path=/main/branches/2.1.6/; revision=13535
Zac Medico [Thu, 30 Apr 2009 07:22:59 +0000 (07:22 -0000)]
Add new dodoc implementation for EAPI 3. Thanks to to Tiziano Müller
<dev-zero@g.o> for this patch. (trunk r13382)
svn path=/main/branches/2.1.6/; revision=13534
Zac Medico [Thu, 30 Apr 2009 07:22:48 +0000 (07:22 -0000)]
In ebuild_main(), unset ebuild_helpers_path when finished with it, since
bash exposes local variables to 'children'. (trunk r13381)
svn path=/main/branches/2.1.6/; revision=13533
Zac Medico [Thu, 30 Apr 2009 07:22:35 +0000 (07:22 -0000)]
Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks
to Tiziano Müller <dev-zero@g.o> for this patch. (trunk r13380)
svn path=/main/branches/2.1.6/; revision=13532
Zac Medico [Thu, 30 Apr 2009 07:22:19 +0000 (07:22 -0000)]
Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks
to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r13379)
svn path=/main/branches/2.1.6/; revision=13531
Zac Medico [Thu, 30 Apr 2009 07:22:04 +0000 (07:22 -0000)]
Clarify language in repos.conf reference to repoman and egencache.
(trunk r13378)
svn path=/main/branches/2.1.6/; revision=13530
Zac Medico [Thu, 30 Apr 2009 07:21:45 +0000 (07:21 -0000)]
When in --nodeps mode, make depgraph._serialize_tasks() preserve the package
order given on the command line. Thanks to Markus Duft <mduft@g.o> for
reporting. (trunk r13377)
svn path=/main/branches/2.1.6/; revision=13529
Zac Medico [Thu, 30 Apr 2009 07:21:28 +0000 (07:21 -0000)]
Add note about 'use' in the Atom.intersects() docstring. (trunk r13375)
svn path=/main/branches/2.1.6/; revision=13528
Zac Medico [Thu, 30 Apr 2009 07:21:14 +0000 (07:21 -0000)]
Drop from --ask to --pretend for uninstall all actions. (trunk r13374)
svn path=/main/branches/2.1.6/; revision=13527
Zac Medico [Thu, 30 Apr 2009 07:20:59 +0000 (07:20 -0000)]
Add missing del when cleansing cache in action_metadata(). (trunk r13373)
svn path=/main/branches/2.1.6/; revision=13526
Zac Medico [Thu, 30 Apr 2009 07:20:44 +0000 (07:20 -0000)]
Tweak _eclasses_ logic inside action_metadata(). (trunk r13372)
svn path=/main/branches/2.1.6/; revision=13525
Zac Medico [Thu, 30 Apr 2009 07:20:32 +0000 (07:20 -0000)]
Emphasize precedence of repos.conf over layout.conf. (trunk r13371)
svn path=/main/branches/2.1.6/; revision=13524
Zac Medico [Thu, 30 Apr 2009 07:20:17 +0000 (07:20 -0000)]
Add notes about eclass precedence for metadata/layout.conf. (trunk r13370)
svn path=/main/branches/2.1.6/; revision=13523
Zac Medico [Thu, 30 Apr 2009 07:19:43 +0000 (07:19 -0000)]
In action_deselect(), use the installed packages to expand atoms into slot
atoms. (trunk r13366)
svn path=/main/branches/2.1.6/; revision=13522
Zac Medico [Thu, 30 Apr 2009 07:19:32 +0000 (07:19 -0000)]
Add --ask support to action_deselect(). (trunk r13365)
svn path=/main/branches/2.1.6/; revision=13521
Zac Medico [Thu, 30 Apr 2009 07:19:22 +0000 (07:19 -0000)]
Fix bugs in action_deselect() and add --pretend support. (trunk r13364)
svn path=/main/branches/2.1.6/; revision=13520
Zac Medico [Thu, 30 Apr 2009 07:19:02 +0000 (07:19 -0000)]
Add a new --deselect action which removes atoms from the world file. This
action is implied by uninstall actions, including --depclean, --prune and
--unmerge. Use --deselect=n in order to prevent uninstall actions from
removing atoms from the world file. This solves bug #259994 and bug #265206.
(trunk r13363)
svn path=/main/branches/2.1.6/; revision=13519
Zac Medico [Thu, 30 Apr 2009 07:18:51 +0000 (07:18 -0000)]
Fix default master code so that it doesn't trigger when PORTDIR is empty.
(trunk r13362)
svn path=/main/branches/2.1.6/; revision=13518
Zac Medico [Thu, 30 Apr 2009 07:18:41 +0000 (07:18 -0000)]
If a repo doesn't have metadata/layout.conf then use either missing eclass
directory or missing profiles/profiles.desc to trigger assignment of a default
master. (trunk r13361)
svn path=/main/branches/2.1.6/; revision=13517
Zac Medico [Thu, 30 Apr 2009 07:18:20 +0000 (07:18 -0000)]
Handle IOError from codecs.open(). (trunk r13360)
svn path=/main/branches/2.1.6/; revision=13516
Zac Medico [Thu, 30 Apr 2009 07:18:07 +0000 (07:18 -0000)]
Support profiles.desc from overlays. (trunk r13359)
svn path=/main/branches/2.1.6/; revision=13515
Zac Medico [Thu, 30 Apr 2009 07:17:50 +0000 (07:17 -0000)]
Support use.desc from overlays. (trunk r13358)
svn path=/main/branches/2.1.6/; revision=13514
Zac Medico [Thu, 30 Apr 2009 07:17:28 +0000 (07:17 -0000)]
Use a new ProfileDesc class to handle the data for each profile listed in
profiles.desc. (trunk r13357)
svn path=/main/branches/2.1.6/; revision=13513
Zac Medico [Thu, 30 Apr 2009 07:17:13 +0000 (07:17 -0000)]
Add support to emerge --metadata for transfering cache from overlays that
have a metadata/cache directory. (trunk r13356)
svn path=/main/branches/2.1.6/; revision=13512
Zac Medico [Thu, 30 Apr 2009 07:16:56 +0000 (07:16 -0000)]
Fix lockfile() docstring to correctly document the wantnewlockfile behavior.
Thanks to Arfrever for reporting. (trunk r13355)
svn path=/main/branches/2.1.6/; revision=13511
Zac Medico [Thu, 30 Apr 2009 07:16:44 +0000 (07:16 -0000)]
Simplify pkgcmp(). Thanks to Douglas Anderson <dja@gendja.com> for this patch
from bug #266493. (trunk r13354)
svn path=/main/branches/2.1.6/; revision=13510
Zac Medico [Thu, 30 Apr 2009 07:16:36 +0000 (07:16 -0000)]
Bug #266493 - Never return a long from vercmp() since that can trigger an
OverflowError if it's returned by a __cmp__ implementation. Thanks to
Douglas Anderson <dja@gendja.com> for the initial patch. I've modified it
to use the (a > b) - (a < b) construct as suggested in the py3k docs, since
cmp() is no longer supported in py3k. (trunk r13353)
svn path=/main/branches/2.1.6/; revision=13509
Zac Medico [Thu, 30 Apr 2009 07:13:58 +0000 (07:13 -0000)]
Add support for repos.conf 'aliases' attribute which allows alias
substitution in metadata/layout.conf repository references. (trunk r13352)
svn path=/main/branches/2.1.6/; revision=13508
Zac Medico [Thu, 30 Apr 2009 07:13:40 +0000 (07:13 -0000)]
Fix typo from previous commit. (trunk r13351)
svn path=/main/branches/2.1.6/; revision=13507
Zac Medico [Thu, 30 Apr 2009 07:13:29 +0000 (07:13 -0000)]
Add support in repos.conf to override the "masters" setting from layout.conf.
(trunk r13350)
svn path=/main/branches/2.1.6/; revision=13506
Zac Medico [Thu, 30 Apr 2009 07:13:20 +0000 (07:13 -0000)]
Call realpath(repodir) so it's conistent with the value that pordbapi uses.
Thanks to Fabian Groffen <grobian@g.o> for reporting. (trunk r13349)
svn path=/main/branches/2.1.6/; revision=13505
Zac Medico [Thu, 30 Apr 2009 07:12:58 +0000 (07:12 -0000)]
Bug #265909 - Make emerge display a warning message if any overlays are
ignored due to duplicate profiles/repo_name entries. The warning can be
disabled by setting PORTAGE_REPO_DUPLICATE_WARN=0 in /etc/make.conf.
(trunk r13348)
svn path=/main/branches/2.1.6/; revision=13504
Zac Medico [Thu, 30 Apr 2009 07:12:41 +0000 (07:12 -0000)]
Bug #266211 - Handle ESTALE like ENOENT in fetch and locking code. Thanks to
Krzysztof Olędzki <ole+gentoo@ans.pl> for the initial patch. (trunk r13347)
svn path=/main/branches/2.1.6/; revision=13503
Zac Medico [Thu, 30 Apr 2009 07:12:10 +0000 (07:12 -0000)]
Add support in action_uninstall() for file -> package lookup. (trunk r13345)
svn path=/main/branches/2.1.6/; revision=13502
Zac Medico [Thu, 30 Apr 2009 07:11:29 +0000 (07:11 -0000)]
Split out an action_uninstall() function to handle argument validation for
clean, depclean, prune, and unmerge actions. (trunk r13344)
svn path=/main/branches/2.1.6/; revision=13501
Zac Medico [Thu, 30 Apr 2009 07:10:58 +0000 (07:10 -0000)]
Convert portage.bsd_chflags into a class with chflags() and lchflags() class
methods. (trunk r13343)
svn path=/main/branches/2.1.6/; revision=13500
Zac Medico [Thu, 30 Apr 2009 07:10:46 +0000 (07:10 -0000)]
Make portage.bsd_chflags correspond to FEATURES=chflags so that it can be
used for related conditionals in shell code. (trunk r13342)
svn path=/main/branches/2.1.6/; revision=13499
Zac Medico [Thu, 30 Apr 2009 07:10:29 +0000 (07:10 -0000)]
Create the myreporoot variable from portdir_overlay before doing
realpath(portdir_overlay) since otherwise symlinks break the
assumptions. Thanks to Thomas Sachau <tommy@g.o> for reporting and
troubleshooting. (trunk r13340)
svn path=/main/branches/2.1.6/; revision=13498
Zac Medico [Thu, 30 Apr 2009 07:09:55 +0000 (07:09 -0000)]
Ensure that the correct PORTDIR setting is passed into the profile-specific
config constructors. (trunk r13335)
svn path=/main/branches/2.1.6/; revision=13497
Zac Medico [Thu, 30 Apr 2009 07:09:07 +0000 (07:09 -0000)]
Bug #265768 - Handle CacheError when deleting currupt cache inside
portdbapi._pull_valid_cache(). (trunk r13331)
svn path=/main/branches/2.1.6/; revision=13496
Zac Medico [Thu, 30 Apr 2009 07:08:33 +0000 (07:08 -0000)]
Add a note about egencache to the --regen docs. (trunk r13330)
svn path=/main/branches/2.1.6/; revision=13495
Zac Medico [Thu, 30 Apr 2009 07:08:16 +0000 (07:08 -0000)]
Bug #265768 - If the user happens to be using the metadata_overlay module
then initialize it's eclass cache with an appropriate instance inside the
portdbapi constructor. (trunk r13329)
svn path=/main/branches/2.1.6/; revision=13494
Zac Medico [Thu, 30 Apr 2009 07:08:01 +0000 (07:08 -0000)]
Bug #265768 - When initializing the eclass cache, use the correct location.
(trunk r13328)
svn path=/main/branches/2.1.6/; revision=13493
Zac Medico [Thu, 30 Apr 2009 07:07:31 +0000 (07:07 -0000)]
Inside the portdbapi constructor, handle repositories with the same repo_name
by discarding the ones that were encountered earlier. (trunk r13327)
svn path=/main/branches/2.1.6/; revision=13492
Zac Medico [Thu, 30 Apr 2009 07:07:16 +0000 (07:07 -0000)]
Pass the correct PORTDIR_OVERLAY value into the profile-specific config
constructor calls. (trunk r13326)
svn path=/main/branches/2.1.6/; revision=13491
Zac Medico [Thu, 30 Apr 2009 07:06:46 +0000 (07:06 -0000)]
Bug #265747 - Add a new /etc/portage/repos.conf config file which can be used
to configure site-specific eclass override behavior. Note that configuration
settings which are specified here do not apply to tools such as repoman(1)
and egencache(1) since their operations are inherently not site-specific.
Beware that use of eclass-overrides is generally not recommended and that it
may trigger performance issues under some circumstances (see bug #124041).
Example:
# make all repositories inherit eclasses from the java-overlay and
# java-experimental repositories, with eclasses from java-experimental
# taking precedence over those from java-overlay
[DEFAULT]
eclass-overrides = java-overlay java-experimental
# disable all eclass overrides for the gentoo repository
[gentoo]
eclass-overrides = (trunk r13325)
svn path=/main/branches/2.1.6/; revision=13490
Zac Medico [Thu, 30 Apr 2009 07:06:14 +0000 (07:06 -0000)]
Move the /etc/portage categories and mirrors docs into alphabetical order.
(trunk r13324)
svn path=/main/branches/2.1.6/; revision=13489
Zac Medico [Thu, 30 Apr 2009 07:05:34 +0000 (07:05 -0000)]
Set local_config=False in config constructor calls, since egencache is similar
to repoman in the way that it's used to distribute something to other users
and thus site-specific local configuration is irrelevant. (trunk r13323)
svn path=/main/branches/2.1.6/; revision=13488
Zac Medico [Thu, 30 Apr 2009 07:04:31 +0000 (07:04 -0000)]
Avoid leaking some variables from ebuild_main() into the environment (local
variables are exposed to 'children'). (trunk r13316)
svn path=/main/branches/2.1.6/; revision=13487
Zac Medico [Thu, 30 Apr 2009 07:04:19 +0000 (07:04 -0000)]
Show an error message when deletion of stale cache fails. (trunk r13315)
svn path=/main/branches/2.1.6/; revision=13486
Zac Medico [Thu, 30 Apr 2009 07:04:09 +0000 (07:04 -0000)]
Filter virtuals when expanding atoms if it helps to avoid an ambiguity.
(trunk r13314)
svn path=/main/branches/2.1.6/; revision=13485
Zac Medico [Thu, 30 Apr 2009 07:03:56 +0000 (07:03 -0000)]
Fix broken logic from previous commit. (trunk r13313)
svn path=/main/branches/2.1.6/; revision=13484
Zac Medico [Thu, 30 Apr 2009 07:03:46 +0000 (07:03 -0000)]
Bug #265034 - In depgraph.loadResumeCommand(), tolerate missing packages
since it's possible that the resume list is still partially valid.
(trunk r13312)
svn path=/main/branches/2.1.6/; revision=13483
Zac Medico [Thu, 30 Apr 2009 07:03:30 +0000 (07:03 -0000)]
Use _doebuild_exit_status_check() for unsuccessful return codes (no just
successful ones), since we want to be sure to produce an informative warning
message whenever the shell exits unexpectedly (whether it's successful or
unsuccessful). This is important since it can be makes these kinds of issues
easier to diagnose (otherwise the user might blame portage, when it's really
the ebuild/eclasses that is at fault). (trunk r13311)
svn path=/main/branches/2.1.6/; revision=13482
Zac Medico [Thu, 30 Apr 2009 07:03:06 +0000 (07:03 -0000)]
In config.setcpv(), don't add empty values to self.configdict['pkg'] for
keys that don't exist in the given dict. (trunk r13310)
svn path=/main/branches/2.1.6/; revision=13481
Zac Medico [Thu, 30 Apr 2009 07:02:47 +0000 (07:02 -0000)]
Fix typo in docstring. (trunk r13309)
svn path=/main/branches/2.1.6/; revision=13480
Zac Medico [Thu, 30 Apr 2009 07:02:38 +0000 (07:02 -0000)]
Remove --nocolor since it's been replaced by --color=n and the support code
no longer exists. (trunk r13308)
svn path=/main/branches/2.1.6/; revision=13479
Zac Medico [Thu, 30 Apr 2009 07:02:27 +0000 (07:02 -0000)]
Initialize self._trg_cache.ec inside the GenCache constructor. (trunk r13307)
svn path=/main/branches/2.1.6/; revision=13478
Zac Medico [Thu, 30 Apr 2009 07:02:06 +0000 (07:02 -0000)]
Bug #264435 - Handle EAGAIN errors when writing to stdout, due to poorly
behaved subprocesses that set O_NONBLOCK mode on inherited file descriptors.
TODO: When possible, avoid having child processes inherit stdio file
descriptors from portage (maybe it can't be avoided with
PROPERTIES=interactive). (trunk r13306)
svn path=/main/branches/2.1.6/; revision=13477
Zac Medico [Thu, 30 Apr 2009 07:01:38 +0000 (07:01 -0000)]
Don't try to execut the pkg_info phase if DEFINED_PHASES is available and
it shows that the phase is undefined. (trunk r13305)
svn path=/main/branches/2.1.6/; revision=13476
Zac Medico [Thu, 30 Apr 2009 07:01:26 +0000 (07:01 -0000)]
Reorganize emerge --info <atom> display, and make sure that the "cpv was
built with the following" line is shown for every package. (trunk r13304)
svn path=/main/branches/2.1.6/; revision=13475
Zac Medico [Thu, 30 Apr 2009 07:01:14 +0000 (07:01 -0000)]
Add UseFlagDisplay.sort_combined and sort_separated attributes that can be
passed directly as key parameters to list.sort(). (trunk r13303)
svn path=/main/branches/2.1.6/; revision=13474