Zac Medico [Thu, 17 Dec 2009 03:36:16 +0000 (03:36 -0000)]
Use portage.writemsg for lazy portage.util import. (trunk r15108)
svn path=/main/branches/2.1.7/; revision=15109
Zac Medico [Thu, 17 Dec 2009 03:30:46 +0000 (03:30 -0000)]
Convert bytes to unicode for exception messages. (trunk r15106)
svn path=/main/branches/2.1.7/; revision=15107
Zac Medico [Thu, 17 Dec 2009 03:22:11 +0000 (03:22 -0000)]
Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks to
Chris PeBenito <pebenito@gentoo.org> for this patch. (trunk r15100)
svn path=/main/branches/2.1.7/; revision=15105
Zac Medico [Thu, 17 Dec 2009 03:22:02 +0000 (03:22 -0000)]
Fix typo. (trunk r15099)
svn path=/main/branches/2.1.7/; revision=15104
Zac Medico [Thu, 17 Dec 2009 03:21:53 +0000 (03:21 -0000)]
Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb.
(trunk r15098)
svn path=/main/branches/2.1.7/; revision=15103
Zac Medico [Thu, 17 Dec 2009 03:21:42 +0000 (03:21 -0000)]
Warn if /proc is not mounted. (trunk r15097)
svn path=/main/branches/2.1.7/; revision=15102
Zac Medico [Thu, 17 Dec 2009 03:21:33 +0000 (03:21 -0000)]
Bug #296870 - Allow locale related LANG and LC_* variables to persist between
ebuild phases, and only filter them for binary and installed packages.
(trunk r15096)
svn path=/main/branches/2.1.7/; revision=15101
Zac Medico [Sun, 13 Dec 2009 03:55:39 +0000 (03:55 -0000)]
Combine 2 shift calls into one. (trunk r15059)
svn path=/main/branches/2.1.7/; revision=15092
Zac Medico [Sun, 13 Dec 2009 03:55:30 +0000 (03:55 -0000)]
Bug #296554 - Add decompression support to ecompress (similar to ecompressdir
behavior) since dodoc can call ecompress with stuff that's already compressed
in some way. (trunk r15058)
svn path=/main/branches/2.1.7/; revision=15091
Zac Medico [Sun, 13 Dec 2009 03:55:20 +0000 (03:55 -0000)]
Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, and
2. (trunk r15057)
svn path=/main/branches/2.1.7/; revision=15090
Zac Medico [Sun, 13 Dec 2009 03:55:07 +0000 (03:55 -0000)]
Inside depgraph._validate_blockers(), do not consider blockers in DEPEND of
installed packages, since DEPEND is supposed to be irrelevant for packages
after they are built. (trunk r15056)
svn path=/main/branches/2.1.7/; revision=15089
Zac Medico [Sun, 13 Dec 2009 03:54:53 +0000 (03:54 -0000)]
Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()
triggered by corrupt EAPI. (trunk r15055)
svn path=/main/branches/2.1.7/; revision=15088
Zac Medico [Sun, 13 Dec 2009 03:54:38 +0000 (03:54 -0000)]
In movefile mtime preservation code, simply round down to the nearest whole
second since python's float cannot preserve the st_mtim.tv_nsec field with
complete precision. Note that we have to use stat_obj[stat.ST_MTIME] here
because the float stat_obj.st_mtime rounds *up* sometimes. (trunk r15054)
svn path=/main/branches/2.1.7/; revision=15087
Zac Medico [Sun, 13 Dec 2009 03:54:24 +0000 (03:54 -0000)]
Remove redundant EPREFIX, EROOT, and ROOT assingments inside
doebuild_environment(). (trunk r15052)
svn path=/main/branches/2.1.7/; revision=15086
Zac Medico [Sun, 13 Dec 2009 03:54:16 +0000 (03:54 -0000)]
Remove unused STARTDIR variable. (trunk r15051)
svn path=/main/branches/2.1.7/; revision=15085
Zac Medico [Sun, 13 Dec 2009 03:54:07 +0000 (03:54 -0000)]
Unset prefix vars for depend phase (even if EAPI is known). (trunk r15050)
svn path=/main/branches/2.1.7/; revision=15084
Zac Medico [Sun, 13 Dec 2009 03:53:58 +0000 (03:53 -0000)]
Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049)
svn path=/main/branches/2.1.7/; revision=15083
Zac Medico [Sun, 13 Dec 2009 03:53:48 +0000 (03:53 -0000)]
* Fix type in econf --host argument.
* Add missing econf --build and --target arguments.
* Use tabs instead of spaces for indentation. (trunk r15048)
svn path=/main/branches/2.1.7/; revision=15082
Zac Medico [Sun, 13 Dec 2009 03:53:31 +0000 (03:53 -0000)]
Fix typo. (trunk r15047)
svn path=/main/branches/2.1.7/; revision=15081
Zac Medico [Sun, 13 Dec 2009 03:53:22 +0000 (03:53 -0000)]
In movefile mtime rounding code, generate nanosecond resolution (9 decimal
places) in order to ensure that the floating point representation is the
highest value possible without rounding up. (trunk r15046)
svn path=/main/branches/2.1.7/; revision=15080
Zac Medico [Sun, 13 Dec 2009 03:53:11 +0000 (03:53 -0000)]
Fix typo. (trunk r15045)
svn path=/main/branches/2.1.7/; revision=15079
Zac Medico [Sun, 13 Dec 2009 03:52:59 +0000 (03:52 -0000)]
Remove redundant EPREFIX setting since it's already initialized earlier in the
config constructor. (trunk r15044)
svn path=/main/branches/2.1.7/; revision=15078
Zac Medico [Sun, 13 Dec 2009 03:52:44 +0000 (03:52 -0000)]
Update for EAPI 3_pre2. (trunk r15043)
svn path=/main/branches/2.1.7/; revision=15077
Zac Medico [Sun, 13 Dec 2009 03:52:30 +0000 (03:52 -0000)]
Add more EAPI 3 conditionals for prefix variables. (trunk r15042)
svn path=/main/branches/2.1.7/; revision=15076
Zac Medico [Sun, 13 Dec 2009 03:52:18 +0000 (03:52 -0000)]
Add EAPI 3 conditionals for prefix variables. (trunk r15041)
svn path=/main/branches/2.1.7/; revision=15075
Zac Medico [Sun, 13 Dec 2009 03:52:06 +0000 (03:52 -0000)]
Just use integer mtime if no fractional seconds are found in the search.
(trunk r15040)
svn path=/main/branches/2.1.7/; revision=15074
Zac Medico [Sun, 13 Dec 2009 03:51:52 +0000 (03:51 -0000)]
Tweak movefile() timestamp preservation code to maximize precision for old
timestamps that are closer to the epoch. (trunk r15039)
svn path=/main/branches/2.1.7/; revision=15073
Zac Medico [Sun, 13 Dec 2009 03:51:39 +0000 (03:51 -0000)]
Add missing line from previous commit. (trunk r15038)
svn path=/main/branches/2.1.7/; revision=15072
Zac Medico [Sun, 13 Dec 2009 03:51:26 +0000 (03:51 -0000)]
In movefile() timestamp preservation code, use another loop to search for
another digit of precision. (trunk r15037)
svn path=/main/branches/2.1.7/; revision=15071
Zac Medico [Sun, 13 Dec 2009 03:51:11 +0000 (03:51 -0000)]
Add EAPI to the whitelist to ensure it's always available as early as possible.
(trunk r15036)
svn path=/main/branches/2.1.7/; revision=15070
Zac Medico [Sun, 13 Dec 2009 03:50:56 +0000 (03:50 -0000)]
Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. (trunk r15035)
svn path=/main/branches/2.1.7/; revision=15069
Zac Medico [Sun, 13 Dec 2009 03:50:39 +0000 (03:50 -0000)]
Enable xz unpack for EAPI 3_pre2. (trunk r15034)
svn path=/main/branches/2.1.7/; revision=15068
Zac Medico [Sun, 13 Dec 2009 03:50:24 +0000 (03:50 -0000)]
Add support for EAPI 3_pre2. (trunk r15033)
svn path=/main/branches/2.1.7/; revision=15067
Zac Medico [Sun, 13 Dec 2009 03:50:12 +0000 (03:50 -0000)]
In config.environ(), only export ED, EPREFIX, and EROOT to the ebuild
environment starting with EAPI 3 (so people won't write ebuilds that
are incompatible with older package managers). (trunk r15032)
svn path=/main/branches/2.1.7/; revision=15066
Zac Medico [Sun, 13 Dec 2009 03:49:51 +0000 (03:49 -0000)]
Don't filter/interfere with prefix variables unless they are supported by the
current EAPI. (trunk r15031)
svn path=/main/branches/2.1.7/; revision=15065
Zac Medico [Sun, 13 Dec 2009 03:49:37 +0000 (03:49 -0000)]
Filter prefix variables ED, EPREFIX, and EROOT inside
filter_readonly_variables() but don't mark them readonly for now since some
ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which
causes the whole bash shell to exit like this:
>>> Extracting info
* CPV: kde-base/oxygen-icons-4.3.4
* REPO: gentoo
* USE: elibc_glibc kernel_linux test userland_GNU x86
/var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable
Also, add ED to the environment blacklist. (trunk r15030)
svn path=/main/branches/2.1.7/; revision=15064
Zac Medico [Sun, 13 Dec 2009 03:49:17 +0000 (03:49 -0000)]
Don't use lazy import for portage.cache.mappings because it's imported anyway.
(trunk r15029)
svn path=/main/branches/2.1.7/; revision=15063
Zac Medico [Sun, 13 Dec 2009 03:49:09 +0000 (03:49 -0000)]
Use collections.OrderedDict when available (python-2.7) and fall back to
portage.cache.mappings.OrderedDict for older python. Also, use OrderedDict
inside fetch() so that files are fetched in the order that they appear in
SRC_URI. (trunk r15028)
svn path=/main/branches/2.1.7/; revision=15062
Zac Medico [Sun, 13 Dec 2009 03:48:53 +0000 (03:48 -0000)]
fix definition regarding slashes for EPREFIX, D, ED and EROOT (trunk r15026)
svn path=/main/branches/2.1.7/; revision=15061
Zac Medico [Sun, 13 Dec 2009 03:48:30 +0000 (03:48 -0000)]
Implement forward compatible Prefix support. This makes EPREFIX, ED and
EROOT available to the ebuild environment, and updates the manpage
accordingly. EPREFIX is hardwired to the empty string, and not
configurable. For that, the prefix branch should be used for now.
This should satisfy the requirements for EAPI=3. (trunk r15024)
svn path=/main/branches/2.1.7/; revision=15060
Zac Medico [Thu, 10 Dec 2009 05:49:06 +0000 (05:49 -0000)]
Fix introspection code in fetch() so that it works correctly when myuris is
an OrderedDict instance. This fixes broken fetching for some packages.
(trunk r15019)
svn path=/main/branches/2.1.7/; revision=15020
Zac Medico [Thu, 10 Dec 2009 01:51:51 +0000 (01:51 -0000)]
Remove extra comman in comment. (trunk r15015)
svn path=/main/branches/2.1.7/; revision=15016
Zac Medico [Thu, 10 Dec 2009 01:05:49 +0000 (01:05 -0000)]
Handle permission problems when trying to cache the remote Packages file
from a binhost. Thanks to Jeremy Olexa <darkside@g.o> for reporting.
(trunk r14997)
svn path=/main/branches/2.1.7/; revision=15013
Zac Medico [Thu, 10 Dec 2009 01:05:35 +0000 (01:05 -0000)]
Detect cases when long(stat_obj.st_mtime) != stat_obj[stat.ST_MTIME] due to
rounding up, and truncate digits as necessary to preserve the integral seconds
portion of the mtime. (trunk r14996)
svn path=/main/branches/2.1.7/; revision=15012
Zac Medico [Thu, 10 Dec 2009 01:05:13 +0000 (01:05 -0000)]
In movefile(), always use stat_obj[stat.ST_MTIME] for the integral timestamp
which is returned, since the stat_obj.st_mtime float attribute rounds *up* if
the nanosecond part of the timestamp is
999999881 ns or greater. (trunk r14995)
svn path=/main/branches/2.1.7/; revision=15011
Zac Medico [Thu, 10 Dec 2009 01:05:05 +0000 (01:05 -0000)]
Remove obsolete env-update.sh script. (trunk r14992)
svn path=/main/branches/2.1.7/; revision=15010
Zac Medico [Thu, 10 Dec 2009 01:04:47 +0000 (01:04 -0000)]
Add localization variables (LANG and LC_*) to the environment whitelist and
filter them from the saved environment (so user settings override those of
binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting.
(trunk r14975)
svn path=/main/branches/2.1.7/; revision=15009
Zac Medico [Thu, 10 Dec 2009 01:04:33 +0000 (01:04 -0000)]
When overridding sys.std* in python2, use binary streams. (trunk r14974)
svn path=/main/branches/2.1.7/; revision=15008
Zac Medico [Thu, 10 Dec 2009 01:04:26 +0000 (01:04 -0000)]
Fix handling for TEMP, TMP, and TMPDIR variables:
* Add to whitelist so current values are always used.
* Always filter them from the saved environment.
* Always add thier values to SANDBOX_WRITE. (trunk r14973)
svn path=/main/branches/2.1.7/; revision=15007
Zac Medico [Thu, 10 Dec 2009 01:04:18 +0000 (01:04 -0000)]
Use ImportError handling to import _TextTestResult which moved from
unittest to unittest.runner in python-2.7. Thanks to Arfrever for the
suggestion. (trunk r14972)
svn path=/main/branches/2.1.7/; revision=15006
Zac Medico [Thu, 10 Dec 2009 01:04:07 +0000 (01:04 -0000)]
When temporarily replacing the sys.std* streams, use the normal open() func
in python3 so that we get the right class (otherwise our code that expects
the 'buffer' attribute will break). (trunk r14971)
svn path=/main/branches/2.1.7/; revision=15005
Zac Medico [Thu, 10 Dec 2009 01:03:58 +0000 (01:03 -0000)]
Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970)
svn path=/main/branches/2.1.7/; revision=15004
Zac Medico [Thu, 10 Dec 2009 01:03:49 +0000 (01:03 -0000)]
When reading the remote Packages file for --getbinpkg, use codecs.iterdecode
to decode the stream. Also, don't use finally to close the atomic_ofstream
when writing the file since we want it to abort if an exception is raised.
(trunk r14969)
svn path=/main/branches/2.1.7/; revision=15003
Zac Medico [Thu, 10 Dec 2009 01:03:33 +0000 (01:03 -0000)]
Use OrderedDict in portdbapi.getFetchMap() so that order in $A corresponds
to order in SRC_URI. (trunk r14968)
svn path=/main/branches/2.1.7/; revision=15002
Zac Medico [Thu, 10 Dec 2009 01:03:20 +0000 (01:03 -0000)]
Add OrderedDict class. (trunk r14967)
svn path=/main/branches/2.1.7/; revision=15001
Zac Medico [Thu, 10 Dec 2009 01:03:00 +0000 (01:03 -0000)]
Move ebuild helpers to account for rename of EAPI 3 to 4. (trunk r14966)
svn path=/main/branches/2.1.7/; revision=15000
Zac Medico [Thu, 10 Dec 2009 01:02:01 +0000 (01:02 -0000)]
Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks to
Jonathan Callen <abcd@g.o> for this patch. (trunk r14965)
svn path=/main/branches/2.1.7/; revision=14999
Zac Medico [Thu, 10 Dec 2009 00:56:06 +0000 (00:56 -0000)]
Copy the unittest._TextTestResult class from python-2.6 since it's been
removed in python-2.7. (trunk r14963)
svn path=/main/branches/2.1.7/; revision=14998
Zac Medico [Mon, 7 Dec 2009 02:54:30 +0000 (02:54 -0000)]
Remove unused filter_phases, filter_mergephases, and filter_unmergephases
functions. (trunk r14958)
svn path=/main/branches/2.1.7/; revision=14960
Zac Medico [Mon, 7 Dec 2009 02:54:17 +0000 (02:54 -0000)]
Remove unnecessary elog_process() phasefilter arguements. (trunk r14957)
svn path=/main/branches/2.1.7/; revision=14959
Zac Medico [Mon, 7 Dec 2009 02:44:26 +0000 (02:44 -0000)]
Make more code conditional on existence of PORTAGE_BUILDDIR inside
dblink._merge(). (trunk r14955)
svn path=/main/branches/2.1.7/; revision=14956
Zac Medico [Mon, 7 Dec 2009 02:30:55 +0000 (02:30 -0000)]
Inside dblink._merge(), make sure PORTAGE_BUILDDIR still exists before trying
to call ebuild success/die hooks, since it might have already been removed
by fail-clean (and the hooks would have already been called). (trunk r14953)
svn path=/main/branches/2.1.7/; revision=14954
Zac Medico [Mon, 7 Dec 2009 02:00:47 +0000 (02:00 -0000)]
Fix possibly unsafe modification of list during iteration inside
update_config_files(). (trunk r14951)
svn path=/main/branches/2.1.7/; revision=14952
Zac Medico [Sun, 6 Dec 2009 11:03:54 +0000 (11:03 -0000)]
Bug #295715 - Implement a register_success_hook function to complement
register_die_hook, and also add code to ensure the die hooks are called even
when the failure is on the python side (like for file collisions).
(trunk r14936)
svn path=/main/branches/2.1.7/; revision=14950
Zac Medico [Sun, 6 Dec 2009 11:03:33 +0000 (11:03 -0000)]
Add 'tla' to the lists of live eclasses. (trunk r14935)
svn path=/main/branches/2.1.7/; revision=14949
Zac Medico [Sun, 6 Dec 2009 11:02:11 +0000 (11:02 -0000)]
Fix _spawn_misc_sh() to properly unset EBUILD_PHASE, and add a 'phase'
description parameter for use in messages. (trunk r14934)
svn path=/main/branches/2.1.7/; revision=14948
Zac Medico [Sun, 6 Dec 2009 11:02:00 +0000 (11:02 -0000)]
Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit the
_pipe and _can_log methods that used to be in the EbuildProcess class.
(trunk r14933)
svn path=/main/branches/2.1.7/; revision=14947
Zac Medico [Sun, 6 Dec 2009 11:01:29 +0000 (11:01 -0000)]
Make register_die_hook() ensure that each hook is registered only once.
(trunk r14932)
svn path=/main/branches/2.1.7/; revision=14946
Zac Medico [Sun, 6 Dec 2009 11:01:14 +0000 (11:01 -0000)]
Use portage.StringIO to avoid duplicate import fallback code. (trunk r14931)
svn path=/main/branches/2.1.7/; revision=14945
Zac Medico [Sun, 6 Dec 2009 11:01:05 +0000 (11:01 -0000)]
Move code for handling missing sandbox binary out of the config constructor.
(trunk r14930)
svn path=/main/branches/2.1.7/; revision=14944
Zac Medico [Sun, 6 Dec 2009 11:00:46 +0000 (11:00 -0000)]
Bug #295805 - Fix ValueError with python3 inside update_config_files().
(trunk r14929)
svn path=/main/branches/2.1.7/; revision=14943
Zac Medico [Sun, 6 Dec 2009 11:00:34 +0000 (11:00 -0000)]
Bug #162404 - Automatically disable logging if sesandbox is enabled and a
pty is not available for some reason (currently they are never available
with python3). (trunk r14928)
svn path=/main/branches/2.1.7/; revision=14942
Zac Medico [Sun, 6 Dec 2009 11:00:17 +0000 (11:00 -0000)]
Always append QA Notices resulting from the build log search to the end of
the log. Thanks to Diego E. Pettenò for reporting. (trunk r14927)
svn path=/main/branches/2.1.7/; revision=14941
Zac Medico [Thu, 3 Dec 2009 05:09:29 +0000 (05:09 -0000)]
Bug #280336, comment #2 - Clear the package selection cache when packages
are added to the graph. This fixes incorrect choices that happen in some
cases. (trunk r14922)
svn path=/main/branches/2.1.7/; revision=14924
Zac Medico [Thu, 3 Dec 2009 05:09:13 +0000 (05:09 -0000)]
Bug #295351 - Make update_dbentries() return unicode if it's given unicode,
and bytes if it's given bytes. (trunk r14921)
svn path=/main/branches/2.1.7/; revision=14923
Zac Medico [Sat, 28 Nov 2009 22:18:29 +0000 (22:18 -0000)]
Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)
for reporting. (trunk r14915)
svn path=/main/branches/2.1.7/; revision=14918
Zac Medico [Sat, 28 Nov 2009 22:18:13 +0000 (22:18 -0000)]
Bug #294945 - Fix blocker satistfied state handling inside depgraph, to
avoid a KeyError when displaying blockers. (trunk r14914)
svn path=/main/branches/2.1.7/; revision=14917
Zac Medico [Sat, 28 Nov 2009 22:18:04 +0000 (22:18 -0000)]
Revert r14901 since it doesn't solve the problem (bug #294945). (trunk r14913)
svn path=/main/branches/2.1.7/; revision=14916
Zac Medico [Fri, 27 Nov 2009 23:36:08 +0000 (23:36 -0000)]
In FakeVartree.sync(), skip the aux_get wrapper when populating old-style
virtuals, in order to avoid unwanted cache generation with --nodeps (reported
by Arfrever). (trunk r14909)
svn path=/main/branches/2.1.7/; revision=14910
Zac Medico [Fri, 27 Nov 2009 23:02:57 +0000 (23:02 -0000)]
Bug #294886 - Show some basic info at the beginning of the build log,
including USE flags. (trunk r14907)
svn path=/main/branches/2.1.7/; revision=14908
Zac Medico [Fri, 27 Nov 2009 22:38:53 +0000 (22:38 -0000)]
Handle a KeyError in depgraph._ordered_tree_display(), reported on irc by
romildo. (trunk r14901)
svn path=/main/branches/2.1.7/; revision=14906
Zac Medico [Fri, 27 Nov 2009 22:38:41 +0000 (22:38 -0000)]
Add a note about lack of nanosecond precision in movefile(). (trunk r14900)
svn path=/main/branches/2.1.7/; revision=14905
Zac Medico [Fri, 27 Nov 2009 22:38:26 +0000 (22:38 -0000)]
In calc_depclean(), load the FakeVartree before using it. This fixes
a regression which causes incomplete graph creation (since r14773).
Thanks to Vlastimil Babka <caster@g.o> for reporting. (trunk r14899)
svn path=/main/branches/2.1.7/; revision=14904
Zac Medico [Fri, 27 Nov 2009 22:38:16 +0000 (22:38 -0000)]
Fix logic from previous commit so it only applies when a 'newmtime' parameter
has not been specified (this is always the case when called by portage).
(trunk r14898)
svn path=/main/branches/2.1.7/; revision=14903
Zac Medico [Fri, 27 Nov 2009 22:37:57 +0000 (22:37 -0000)]
In movefile(), skip os.utime() when os.rename() succeeds, in order to
completely preserve mtime resolution. (trunk r14897)
svn path=/main/branches/2.1.7/; revision=14902
Zac Medico [Wed, 25 Nov 2009 22:33:04 +0000 (22:33 -0000)]
Set built=True when creating Package instances. This fixes a problem with
--resume, reported by Sebastian Mingramm (few). (trunk r14886)
svn path=/main/branches/2.1.7/; revision=14891
Zac Medico [Wed, 25 Nov 2009 22:32:53 +0000 (22:32 -0000)]
Use einfo instead of ewarn for the "Skipping make test/check due to ebuild
restriction." message. (trunk r14885)
svn path=/main/branches/2.1.7/; revision=14890
Zac Medico [Wed, 25 Nov 2009 22:32:26 +0000 (22:32 -0000)]
Add a test case which simply compiles all modules, useful for testing syntax
compatibility with the current version of python. (trunk r14876)
svn path=/main/branches/2.1.7/; revision=14889
Zac Medico [Wed, 25 Nov 2009 22:32:16 +0000 (22:32 -0000)]
Bug #293614 - When the backtracking limit is reached and there is a SLOT
conflict to display, hint that a larger --backtrack value might solve
the conflict automatically. (trunk r14875)
svn path=/main/branches/2.1.7/; revision=14888
Zac Medico [Wed, 25 Nov 2009 22:31:51 +0000 (22:31 -0000)]
Bug #293998 - Use OSError.errno instead of trying to subscript the exception
when handling errno.EXDEV in movefile(), since exceptions do not support
subscripting in python3. (trunk r14873)
svn path=/main/branches/2.1.7/; revision=14887
Zac Medico [Sat, 21 Nov 2009 04:06:17 +0000 (04:06 -0000)]
Optimized the code for bug #288083 and make it handle more cases. Now Package
instances have 'visible' and 'masks' attributes, since this information needs
to be accessed in more places now. (trunk r14859)
svn path=/main/branches/2.1.7/; revision=14870
Zac Medico [Sat, 21 Nov 2009 04:06:07 +0000 (04:06 -0000)]
Tweak logic from previous commit. (trunk r14858)
svn path=/main/branches/2.1.7/; revision=14869
Zac Medico [Sat, 21 Nov 2009 04:05:58 +0000 (04:05 -0000)]
In depgraph._serialize_tasks(), ensure that unsolvable blockers can't be
accidentally marked as satisfied. (trunk r14857)
svn path=/main/branches/2.1.7/; revision=14868
Zac Medico [Sat, 21 Nov 2009 04:05:50 +0000 (04:05 -0000)]
Fix blocker display to work properly with --tree --unordered-display.
(trunk r14856)
svn path=/main/branches/2.1.7/; revision=14867
Zac Medico [Sat, 21 Nov 2009 04:05:40 +0000 (04:05 -0000)]
Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to
Jonathan Callen <abcd@g.o> for reporting. (trunk r14855)
svn path=/main/branches/2.1.7/; revision=14866
Zac Medico [Sat, 21 Nov 2009 04:05:30 +0000 (04:05 -0000)]
Bug #293730 - Fix bad || choices triggered in some cases inside
_dep_check_composite_db._visible() when --update is not enabled. (trunk r14854)
svn path=/main/branches/2.1.7/; revision=14865
Zac Medico [Sat, 21 Nov 2009 04:05:19 +0000 (04:05 -0000)]
Disable backtracking in the depgraph constructor call when appropriate.
(trunk r14853)
svn path=/main/branches/2.1.7/; revision=14864
Zac Medico [Sat, 21 Nov 2009 04:05:11 +0000 (04:05 -0000)]
Bug #293603 - Blacklist EPREFIX and EROOT variables, in addition to ED.
(trunk r14852)
svn path=/main/branches/2.1.7/; revision=14863
Zac Medico [Sat, 21 Nov 2009 04:05:03 +0000 (04:05 -0000)]
Bug #293603 - Add $ED to the blacklist, to prevent interference with related
prefix code in eclasses and ebuilds. (trunk r14851)
svn path=/main/branches/2.1.7/; revision=14862
Zac Medico [Sat, 21 Nov 2009 04:04:54 +0000 (04:04 -0000)]
Check for updates masked by license for any installed packages that have been
added to the graph (regardless of --deep or --complete-graph).. (trunk r14845)
svn path=/main/branches/2.1.7/; revision=14861