Zac Medico [Thu, 27 Sep 2007 06:52:05 +0000 (06:52 -0000)]
Display a short notification when an existing ${T}/environment
sourced since it is easy to ignore and ignorance of it often
leads to mysterious problems and general confusion. This
message should not show in cases where it is obviously
irrelevant, FEATURES=noauto, or PORTAGE_QUIET=1. (trunk r7844)
svn path=/main/branches/2.1.2/; revision=7845
Zac Medico [Thu, 27 Sep 2007 01:38:27 +0000 (01:38 -0000)]
align the filename and line numbers in the output of the stack
dump so that it is much easier to read (trunk r7842)
svn path=/main/branches/2.1.2/; revision=7843
Zac Medico [Wed, 26 Sep 2007 23:47:10 +0000 (23:47 -0000)]
Fix a typo. (trunk r7840)
svn path=/main/branches/2.1.2/; revision=7841
Zac Medico [Wed, 26 Sep 2007 21:07:15 +0000 (21:07 -0000)]
Set non-blocking mode on the pty master file descriptor while
the slave file descriptor is still held open since otherwise
the fcntl call can fail on FreeBSD (the child process might
have already exited and closed the slave file descriptor so we
have to keep it open in order to avoid FreeBSD potentially
generating an EAGAIN exception). This approach is cleaner than
triggering the exception and being forced to handle it
somehow. (trunk r7835)
svn path=/main/branches/2.1.2/; revision=7837
Zac Medico [Wed, 26 Sep 2007 20:52:25 +0000 (20:52 -0000)]
Bug #192341 - When the chflags command does not exit successfully,
try to generate an informative error. First, use stat or lstat to
try and generate an ENOENT error. It the path exists, verify that
the chflags binary exists and raise CommandNotFound if necessary.
Finally, simply generate an EPERM OSError with the output of the
command since we're not sure exactly why it failed or what the
real errno was. (trunk r7834)
svn path=/main/branches/2.1.2/; revision=7836
Zac Medico [Wed, 26 Sep 2007 04:49:11 +0000 (04:49 -0000)]
Bug #192341 - Eliminate the dependency on py-freebsd by implementing
it's chflags() and lchflags() functions as wrappers around the
chflags command (which should always be available in any case). The
functions are only called when merging/unmerging files that actually
have flags set so the performance difference should be negligible.
(trunk r7808)
svn path=/main/branches/2.1.2/; revision=7833
Zac Medico [Wed, 26 Sep 2007 04:46:33 +0000 (04:46 -0000)]
Bugs #168772 and #193695 - During unmerge, only ignore specific
exceptions raised from unlink() and rmdir() calls.
Bug #193695 - Add support for FreeBSD chflags during unmerge. This
code is adapted from the code that already exists in movefile()
for the merge phase.
In movefile() FreeBSD chflags handling, use chflags instead of
lchflags when temporarily adjusting the flags on the parent
directory since we want to follow any symlinks to the real
parent directory.
(trunk r7803:7807)
svn path=/main/branches/2.1.2/; revision=7832
Zac Medico [Wed, 26 Sep 2007 04:41:34 +0000 (04:41 -0000)]
Bug #74615 - Quote all file paths inside dispatch-conf shell
commands. (trunk r7803)
svn path=/main/branches/2.1.2/; revision=7831
Zac Medico [Wed, 26 Sep 2007 04:39:03 +0000 (04:39 -0000)]
Initialize ${TMP} before registering the die trap so that
we're sure which directory die will clean up. (trunk r7802)
svn path=/main/branches/2.1.2/; revision=7830
Zac Medico [Wed, 26 Sep 2007 04:37:40 +0000 (04:37 -0000)]
Bug #190179 - Use `prelink --verify filename` to write the
temp file via stdout since --undo fails when run as a normal
non-superuser because it tries to chown the output file. Also,
use mkstemp() to eliminate the need for locking the temp file.
Thanks to Israel G. Lugo <israel.lugo@lugosys.com> for the
initial patch. (trunk r7801)
svn path=/main/branches/2.1.2/; revision=7829
Zac Medico [Wed, 26 Sep 2007 04:36:01 +0000 (04:36 -0000)]
s/note/not/ reported by p-y. (trunk r7800)
svn path=/main/branches/2.1.2/; revision=7828
Zac Medico [Wed, 26 Sep 2007 04:35:16 +0000 (04:35 -0000)]
fix possible information leak vulnerability when doing
a merge of configuration files and be better about
handling of whitespace in $TMP in a few places (trunk
r7799)
svn path=/main/branches/2.1.2/; revision=7827
Zac Medico [Wed, 26 Sep 2007 04:33:42 +0000 (04:33 -0000)]
tweak get_config() so that it only executes one external
binary (sed) instead of chaining multiple ones (trunk r7798)
svn path=/main/branches/2.1.2/; revision=7826
Zac Medico [Wed, 26 Sep 2007 04:30:04 +0000 (04:30 -0000)]
When --deep is not enabled, many dependencies are dicarded and
left out of the digraph. This patch prevents dependencies from
being discarded in some cases where the are needed in order to
optimize merge order. It also modifies the DepPriority.rebuild
attribute so that it only applies to build time dependencies.
This leads to better merge order in some cases when --deep is
not enabled. For example, `emerge xf86-input-keyboard
xorg-server` will now properly merge xorg-server before
xf86-input-keyboard (problem from bug #192254, comment #5).
(trunk r7797)
svn path=/main/branches/2.1.2/; revision=7825
Zac Medico [Wed, 26 Sep 2007 04:28:14 +0000 (04:28 -0000)]
Flush stderr and stdout if their file descriptors are in fd_pipes
at the beginning of spawn(). (trunk r7793:7796)
svn path=/main/branches/2.1.2/; revision=7824
Zac Medico [Wed, 26 Sep 2007 04:25:25 +0000 (04:25 -0000)]
When --with-bdeps=y is enabled for built packages, pull in build time deps as
requested, but marked them as "satisfied" since they are not strictly
required. This allows more freedom in the merge order calculation for solving
circular dependencies. Don't convert to PDEPEND since that could make
--with-bdeps=y less effective if it is used to adjust merge order to prevent
built_with_use() calls from failing. (trunk r7793)
svn path=/main/branches/2.1.2/; revision=7823
Zac Medico [Wed, 26 Sep 2007 04:23:11 +0000 (04:23 -0000)]
Mask binary packages if their CHOST does not match the one
defined in make.conf. (trunk r7792)
svn path=/main/branches/2.1.2/; revision=7822
Zac Medico [Wed, 26 Sep 2007 04:20:22 +0000 (04:20 -0000)]
Bug #190781 - Don't include --oneshot in the options that
--update implies. (trunk r7790)
svn path=/main/branches/2.1.2/; revision=7821
Zac Medico [Wed, 26 Sep 2007 04:19:04 +0000 (04:19 -0000)]
Use ensure_dirs() and apply_permissions() to avoid redundant
chown/chmod calls. This helps avoid 'Permission denied'
errors during elog_process() when the ebuild command is run
by normal user (issue reported by graaff). (trunk r7789)
svn path=/main/branches/2.1.2/; revision=7820
Zac Medico [Wed, 26 Sep 2007 04:11:59 +0000 (04:11 -0000)]
Bug #192346 - The emerge --help shows a -i option that
does not exist. (trunk r7779)
svn path=/main/branches/2.1.2/; revision=7819
Zac Medico [Wed, 26 Sep 2007 04:10:42 +0000 (04:10 -0000)]
Bug #191645 - Cross-reference the `ebuild --force digest` docs with the
FEATURES=assume-digests docs. (trunk r7778)
svn path=/main/branches/2.1.2/; revision=7818
Zac Medico [Wed, 26 Sep 2007 04:09:30 +0000 (04:09 -0000)]
Add some additional notes about the behavior of FEATURES=assume-digests
under various conditions. (trunk r7777)
svn path=/main/branches/2.1.2/; revision=7817
Zac Medico [Wed, 26 Sep 2007 04:08:08 +0000 (04:08 -0000)]
Bug #191645 - Document the --force option. (trunk r7776)
svn path=/main/branches/2.1.2/; revision=7816
Zac Medico [Wed, 26 Sep 2007 04:07:21 +0000 (04:07 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are
added directly with stable KEYWORDS. (trunk r7775)
svn path=/main/branches/2.1.2/; revision=7815
Zac Medico [Wed, 26 Sep 2007 04:06:08 +0000 (04:06 -0000)]
Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge
of otherwise empty directories. (trunk r7774)
svn path=/main/branches/2.1.2/; revision=7814
Zac Medico [Wed, 26 Sep 2007 04:03:38 +0000 (04:03 -0000)]
Bug #191645 - Document the --force option. (trunk r7773)
svn path=/main/branches/2.1.2/; revision=7813
Zac Medico [Wed, 26 Sep 2007 04:02:37 +0000 (04:02 -0000)]
Bug #187795 - remove pointless digest.disjointed and digest.notadded
warnings since they are always added to cvs automatically anyway.
(trunk r7772)
svn path=/main/branches/2.1.2/; revision=7812
Zac Medico [Wed, 26 Sep 2007 04:00:51 +0000 (04:00 -0000)]
Bug #192195 - In dir_get_list(), append a trailing / to the address
when necessary in order to avoid getting a 400 error from the http
server. (trunk r7771)
svn path=/main/branches/2.1.2/; revision=7811
Zac Medico [Wed, 26 Sep 2007 03:59:10 +0000 (03:59 -0000)]
Catch errno.ENOTDIR instead of using os.path.isdir(). (trunk r7770)
svn path=/main/branches/2.1.2/; revision=7810
Zac Medico [Wed, 26 Sep 2007 03:57:09 +0000 (03:57 -0000)]
Bug #192298 - Handle PermissionDenied error in
cache.update_eclasses(). (trunk r7769)
svn path=/main/branches/2.1.2/; revision=7809
Zac Medico [Sat, 8 Sep 2007 08:13:34 +0000 (08:13 -0000)]
In depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption from the accept_root_node flag.
svn path=/main/branches/2.1.2/; revision=7762
Zac Medico [Sat, 8 Sep 2007 07:01:39 +0000 (07:01 -0000)]
Bug #190268 - Avoid unwanted sandbox violations in src_test().
- Allow SANDBOX_* variables to pass through.
- Don't try to create an sandbox instance inside a test case in order to
interaction with SANDBOX_* variables in src_test(). (trunk r7759)
svn path=/main/branches/2.1.2/; revision=7760
Zac Medico [Fri, 7 Sep 2007 03:11:02 +0000 (03:11 -0000)]
For bug #190268, filter SANDBOX_* from the calling environment so that they
can't interfere with ebuild.sh. (trunk r7746)
svn path=/main/branches/2.1.2/; revision=7747
Zac Medico [Thu, 6 Sep 2007 18:08:27 +0000 (18:08 -0000)]
In the topological sort for merge order, try to avoid selecting root nodes
whenever possible. This helps ensure that the maximimum possible number of
soft dependencies have been removed from the graph before their parent nodes
have been selected. This is especially important when those dependencies are
going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST
has been changed (like when building a stage3 from a stage2). With this patch,
`emerge -e system` properly rebuilds dev-lang/python before sys-apps/file,
which helps to avoid a potential build failure. (trunk r7727:7729)
svn path=/main/branches/2.1.2/; revision=7745
Zac Medico [Thu, 6 Sep 2007 18:03:10 +0000 (18:03 -0000)]
Reformat collision-protect output so that the list of file collisions is
shown below the banner. This puts more distance between the collision list
and the list of files that prepstrip often displays just above, hopefully
preventing user confusion about which files had collisions. (trunk r7720)
svn path=/main/branches/2.1.2/; revision=7744
Zac Medico [Thu, 6 Sep 2007 17:57:10 +0000 (17:57 -0000)]
Convert myoptions from a list to a dict. (trunk r7714)
svn path=/main/branches/2.1.2/; revision=7743
Zac Medico [Thu, 6 Sep 2007 17:55:56 +0000 (17:55 -0000)]
Move some of the less expensive QA checks before dep_check() so that they're
still done even in --force mode. (trunk r7718)
svn path=/main/branches/2.1.2/; revision=7742
Zac Medico [Thu, 6 Sep 2007 17:52:39 +0000 (17:52 -0000)]
Skip the most expensive QA tests when --force in enabled since there's no
point in wasting time on them when the user is intent on forcing the commit
anyway. (trunk r7713)
svn path=/main/branches/2.1.2/; revision=7741
Zac Medico [Thu, 6 Sep 2007 17:50:06 +0000 (17:50 -0000)]
Fix RepoMan's grammar. (trunk r7711)
svn path=/main/branches/2.1.2/; revision=7740
Zac Medico [Thu, 6 Sep 2007 17:49:28 +0000 (17:49 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly
with stable KEYWORDS. (trunk r7710)
svn path=/main/branches/2.1.2/; revision=7739
Zac Medico [Thu, 6 Sep 2007 17:45:59 +0000 (17:45 -0000)]
Make the commit message indicate when the --force option is used. (trunk r7712)
svn path=/main/branches/2.1.2/; revision=7738
Zac Medico [Thu, 6 Sep 2007 17:44:26 +0000 (17:44 -0000)]
Add a --force option that forces commit to proceed. This is useful for cases
like bug #110443 where the commit normally isn't allowed but there are
exceptional circumstances where it may be acceptable. (trunk r7709)
svn path=/main/branches/2.1.2/; revision=7737
Zac Medico [Thu, 6 Sep 2007 17:41:01 +0000 (17:41 -0000)]
Bug #190406 - Filter the myheaders list so that it doesn't include binary
blobs added to cvs with the -kb option. (trunk r7705)
svn path=/main/branches/2.1.2/; revision=7736
Zac Medico [Thu, 6 Sep 2007 17:14:49 +0000 (17:14 -0000)]
change directory to / in case $PWD doesnt exist (trunk r7702)
svn path=/main/branches/2.1.2/; revision=7735
Zac Medico [Thu, 6 Sep 2007 17:13:47 +0000 (17:13 -0000)]
remove $Id$ as it gives us nothing useful (trunk r7699)
svn path=/main/branches/2.1.2/; revision=7734
Zac Medico [Thu, 6 Sep 2007 17:10:29 +0000 (17:10 -0000)]
Move blocker handling from depgraph.create() to select_dep(). (trunk r7701)
svn path=/main/branches/2.1.2/; revision=7733
Zac Medico [Thu, 6 Sep 2007 17:08:51 +0000 (17:08 -0000)]
Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Bug #190144 - Use the realpath of DISTDIR so that things like
subversion.eclass are compatible with sandbox. (trunk r7700)
svn path=/main/branches/2.1.2/; revision=7732
Zac Medico [Thu, 6 Sep 2007 17:03:16 +0000 (17:03 -0000)]
Remove pointless information from --info output (trunk r7695)
svn path=/main/branches/2.1.2/; revision=7731
Zac Medico [Thu, 6 Sep 2007 17:00:37 +0000 (17:00 -0000)]
Don't cache results from match_from_list() since *dbapi.match() caches do the job. (trunk r7694)
svn path=/main/branches/2.1.2/; revision=7730
Zac Medico [Tue, 4 Sep 2007 20:42:56 +0000 (20:42 -0000)]
Move the note about not needing pycrypto with python-2.5 to the 2.1.3 section. (trunk r7726)
svn path=/main/branches/2.1.2/; revision=7727
Zac Medico [Thu, 23 Aug 2007 20:29:10 +0000 (20:29 -0000)]
Add * and ~* to the list of valid values for ACCEPT_KEYWORDS. (trunk r7688)
svn path=/main/branches/2.1.2/; revision=7689
Zac Medico [Thu, 23 Aug 2007 19:51:05 +0000 (19:51 -0000)]
Make depgraph.select_dep() node reuse work when in --usepkgonly mode. (trunk r7686)
svn path=/main/branches/2.1.2/; revision=7687
Zac Medico [Thu, 23 Aug 2007 09:11:40 +0000 (09:11 -0000)]
Bug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise we get EBUILD_PHASE=merge which isn't in our list of valid EBUILD_PHASES recognized by elog. (trunk r7684)
svn path=/main/branches/2.1.2/; revision=7685
Zac Medico [Thu, 23 Aug 2007 08:41:15 +0000 (08:41 -0000)]
In config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed. (trunk r7682)
svn path=/main/branches/2.1.2/; revision=7683
Zac Medico [Thu, 23 Aug 2007 08:11:52 +0000 (08:11 -0000)]
Make depgraph.create() avoid metadata lookups for binary packages and ebuilds in cases where an installed package has already been added to the graph. This greatly improves performance when the graph contains a large number of installed packages. (trunk r7680)
svn path=/main/branches/2.1.2/; revision=7681
Zac Medico [Thu, 23 Aug 2007 06:54:48 +0000 (06:54 -0000)]
Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log. (trunk r7678)
svn path=/main/branches/2.1.2/; revision=7679
Zac Medico [Thu, 23 Aug 2007 04:00:38 +0000 (04:00 -0000)]
Fix a typo from r7663. (trunk r7676)
svn path=/main/branches/2.1.2/; revision=7677
Zac Medico [Wed, 22 Aug 2007 22:56:41 +0000 (22:56 -0000)]
Use INFORM to colorize the package name. (trunk r7674)
svn path=/main/branches/2.1.2/; revision=7675
Zac Medico [Wed, 22 Aug 2007 22:39:11 +0000 (22:39 -0000)]
Prevent output from being flushed to the console too frequently in dir_get_metadata(). (trunk r7672)
svn path=/main/branches/2.1.2/; revision=7673
Zac Medico [Wed, 22 Aug 2007 21:42:52 +0000 (21:42 -0000)]
Make depgraph.select_dep() reuse cached metadata from nodes that have already been added to the graph. (trunk r7666)
svn path=/main/branches/2.1.2/; revision=7670
Zac Medico [Wed, 22 Aug 2007 21:39:45 +0000 (21:39 -0000)]
Fix update_dbentry() to process version components properly before passing them into ververify(). (trunk r7665)
svn path=/main/branches/2.1.2/; revision=7669
Zac Medico [Wed, 22 Aug 2007 21:37:34 +0000 (21:37 -0000)]
Make best() return early when it's only given one package. (trunk r7664)
svn path=/main/branches/2.1.2/; revision=7668
Zac Medico [Wed, 22 Aug 2007 21:35:47 +0000 (21:35 -0000)]
Pass complete package metadata from depgraph.select_dep() into create() in order to minimize aux_get calls. (trunk r7663)
svn path=/main/branches/2.1.2/; revision=7667
Zac Medico [Wed, 22 Aug 2007 15:30:52 +0000 (15:30 -0000)]
Bug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled. (trunk r7661)
svn path=/main/branches/2.1.2/; revision=7662
Zac Medico [Wed, 22 Aug 2007 04:27:50 +0000 (04:27 -0000)]
Send cache hit/miss status updates to stdout instead of stderr and add some more flush() calls. (trunk r7656)
svn path=/main/branches/2.1.2/; revision=7658
Zac Medico [Wed, 22 Aug 2007 04:24:39 +0000 (04:24 -0000)]
Show cache miss/hit counts all on one line, using \r to return to the beginning of he line and rewrite it each time that a counter is updated. Thanks to Mike "Fuzzy" Partin <fuzzy@smoke.dope.org> for this patch (submitted on the gentoo-portage-dev mailing list). (trunk r7655)
svn path=/main/branches/2.1.2/; revision=7657
Zac Medico [Wed, 22 Aug 2007 03:40:51 +0000 (03:40 -0000)]
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml. (trunk r7653)
svn path=/main/branches/2.1.2/; revision=7654
Zac Medico [Sun, 19 Aug 2007 16:58:29 +0000 (16:58 -0000)]
filter out kernel modules from ELF QA checks #184443 (trunk r7645)
svn path=/main/branches/2.1.2/; revision=7650
Zac Medico [Sun, 19 Aug 2007 16:56:52 +0000 (16:56 -0000)]
remove "risky" message about -O2 (trunk r7644)
svn path=/main/branches/2.1.2/; revision=7649
Zac Medico [Sun, 19 Aug 2007 16:52:16 +0000 (16:52 -0000)]
Fix ACCEPT_KEYWORDS validation so that ** is valid. (trunk r7647)
svn path=/main/branches/2.1.2/; revision=7648
Zac Medico [Fri, 17 Aug 2007 18:17:50 +0000 (18:17 -0000)]
For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge display. (trunk r7639)
svn path=/main/branches/2.1.2/; revision=7640
Zac Medico [Thu, 16 Aug 2007 21:56:51 +0000 (21:56 -0000)]
Make etc-update copy owner and group bits when it merges config files. (trunk r7636)
svn path=/main/branches/2.1.2/; revision=7637
Zac Medico [Thu, 16 Aug 2007 20:04:33 +0000 (20:04 -0000)]
make -f/-F distinction clearer (trunk r7632)
svn path=/main/branches/2.1.2/; revision=7634
Zac Medico [Thu, 16 Aug 2007 06:39:55 +0000 (06:39 -0000)]
Combine 2 locations in depgraph.create() where nodes are added to the digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. (trunk r7626:7628)
svn path=/main/branches/2.1.2/; revision=7629
Zac Medico [Thu, 16 Aug 2007 05:02:38 +0000 (05:02 -0000)]
Always assign higher priority to dependencies on packages that are being rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. (trunk r7625)
svn path=/main/branches/2.1.2/; revision=7626
Zac Medico [Wed, 15 Aug 2007 22:20:11 +0000 (22:20 -0000)]
Add some floating point vercmp cases. (trunk r7622)
svn path=/main/branches/2.1.2/; revision=7623
Zac Medico [Wed, 15 Aug 2007 04:38:04 +0000 (04:38 -0000)]
For bug #188807, add nocreate and delaycompress options for logrotate. (trunk r7609)
svn path=/main/branches/2.1.2/; revision=7610
Zac Medico [Wed, 15 Aug 2007 03:35:04 +0000 (03:35 -0000)]
'decent' CFLAGS should not feature -O3. Bug 188619 (trunk r7595:7597)
svn path=/main/branches/2.1.2/; revision=7608
Zac Medico [Wed, 15 Aug 2007 02:50:35 +0000 (02:50 -0000)]
For bug #188449, since python floats have limited range, we multiply both floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. (trunk r7606)
svn path=/main/branches/2.1.2/; revision=7607
Zac Medico [Wed, 15 Aug 2007 01:38:43 +0000 (01:38 -0000)]
For bug #188782, dependencies on packages specified as arguments are given higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. (trunk r7604)
svn path=/main/branches/2.1.2/; revision=7605
Zac Medico [Tue, 14 Aug 2007 20:16:31 +0000 (20:16 -0000)]
Make sure to skip info dir files with the .old extension. (trunk r7602)
svn path=/main/branches/2.1.2/; revision=7603
Zac Medico [Tue, 14 Aug 2007 06:30:43 +0000 (06:30 -0000)]
For bug #188782, keep "nomerge" nodes in the graph during the merge order calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. (trunk r7599)
svn path=/main/branches/2.1.2/; revision=7600
Zac Medico [Sun, 12 Aug 2007 15:13:28 +0000 (15:13 -0000)]
For bug #33585, leave the old info dir file in place if there is nothing to generate. (trunk r7593)
svn path=/main/branches/2.1.2/; revision=7594
Zac Medico [Sun, 12 Aug 2007 11:43:59 +0000 (11:43 -0000)]
For bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged. (trunk r7591)
svn path=/main/branches/2.1.2/; revision=7592
Zac Medico [Sat, 11 Aug 2007 05:49:35 +0000 (05:49 -0000)]
Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily when there are no USE wildcards to expand. (trunk r7589)
svn path=/main/branches/2.1.2/; revision=7590
Zac Medico [Fri, 10 Aug 2007 21:03:46 +0000 (21:03 -0000)]
Don't generate a QA Notice if the ${S} directory doesn't exist since it might be irrelevant for some ebuilds. (trunk r7587)
svn path=/main/branches/2.1.2/; revision=7588
Zac Medico [Mon, 6 Aug 2007 19:50:58 +0000 (19:50 -0000)]
Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #137483. (trunk r7583)
svn path=/main/branches/2.1.2/; revision=7584
Zac Medico [Mon, 6 Aug 2007 19:30:18 +0000 (19:30 -0000)]
For bug #187795, remove pointless digest.disjointed and digest.notadded warnings since they are always added to cvs automatically anyway. (trunk r7580)
svn path=/main/branches/2.1.2/; revision=7581
Zac Medico [Sun, 5 Aug 2007 18:06:00 +0000 (18:06 -0000)]
For bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTAGE_TMPDIR). (trunk r7576)
svn path=/main/branches/2.1.2/; revision=7577
Zac Medico [Sat, 4 Aug 2007 22:24:15 +0000 (22:24 -0000)]
Use == for comparison of portage_node since digraph.clone() makes a deepcopy of the nodes. (trunk r7574)
svn path=/main/branches/2.1.2/; revision=7575
Zac Medico [Sat, 4 Aug 2007 22:03:48 +0000 (22:03 -0000)]
Make sure that portage always has all of it's RDEPENDs installed first. (trunk r7572)
svn path=/main/branches/2.1.2/; revision=7573
Zac Medico [Sat, 4 Aug 2007 19:45:18 +0000 (19:45 -0000)]
Make config updates get counted correctly for bug #187741. (trunk r7564)
svn path=/main/branches/2.1.2/; revision=7565
Zac Medico [Sat, 4 Aug 2007 07:28:03 +0000 (07:28 -0000)]
Generate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist. (trunk r7550)
svn path=/main/branches/2.1.2/; revision=7557
Zac Medico [Sat, 4 Aug 2007 00:13:00 +0000 (00:13 -0000)]
Remove the depend phase from the doebuild actionmap since it's never used. (trunk r7555)
svn path=/main/branches/2.1.2/; revision=7556
Zac Medico [Fri, 3 Aug 2007 22:34:43 +0000 (22:34 -0000)]
Make droppriv for the depend phase conditional on userpriv in FEATURES. (trunk r7553)
svn path=/main/branches/2.1.2/; revision=7554
Zac Medico [Fri, 3 Aug 2007 06:50:27 +0000 (06:50 -0000)]
In portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode just once at the beginning. This avoids unnecessary fcntl calls and removes one more opportunity to trigger EAGAIN errors on FreeBSD. (trunk r7548)
svn path=/main/branches/2.1.2/; revision=7549
Zac Medico [Thu, 2 Aug 2007 17:19:32 +0000 (17:19 -0000)]
For bug #187518, handle EISDIR thrown from mkdir when the directory already exists on FreeBSD. (trunk r7544)
svn path=/main/branches/2.1.2/; revision=7545
Zac Medico [Thu, 2 Aug 2007 16:45:14 +0000 (16:45 -0000)]
For bug #187480, fix writemsg args in portdbapi.gvisible(). (trunk r7541)
svn path=/main/branches/2.1.2/; revision=7542
Zac Medico [Wed, 1 Aug 2007 21:13:01 +0000 (21:13 -0000)]
Fix TestCase import.
svn path=/main/branches/2.1.2/; revision=7540
Zac Medico [Wed, 1 Aug 2007 21:11:46 +0000 (21:11 -0000)]
Copy the portage.spawn() test from trunk.
svn path=/main/branches/2.1.2/; revision=7539