Zac Medico [Sun, 22 Oct 2006 02:56:51 +0000 (02:56 -0000)]
Fix visibility checks so that binary packages aren't masked just because there is no matching ebuild in the tree.
svn path=/main/trunk/; revision=4788
Zac Medico [Sat, 21 Oct 2006 23:40:13 +0000 (23:40 -0000)]
Use reset instead of regenerate (revert part of the previous commit) in order to properly clear the env layer of the config.
svn path=/main/trunk/; revision=4787
Zac Medico [Sat, 21 Oct 2006 23:05:51 +0000 (23:05 -0000)]
Optimize config.setcpv so that it only calls regenerate when necessary. Thanks to Jason Stubbs for the initial patch from bug #17367.
svn path=/main/trunk/; revision=4786
Zac Medico [Sat, 21 Oct 2006 12:17:24 +0000 (12:17 -0000)]
Also check keyword visibility via gvisible.
svn path=/main/trunk/; revision=4783
Zac Medico [Sat, 21 Oct 2006 07:52:52 +0000 (07:52 -0000)]
For bug #152157, don't send a redundant escape sequence with ${PROMPT_COMMAND}.
svn path=/main/trunk/; revision=4782
Zac Medico [Sat, 21 Oct 2006 04:46:33 +0000 (04:46 -0000)]
Add news about package.use in profiles and default USE in ebuilds via +flag in IUSE.
svn path=/main/trunk/; revision=4781
Zac Medico [Sat, 21 Oct 2006 04:43:07 +0000 (04:43 -0000)]
Add package.use to the list of files supported in profiles.
svn path=/main/trunk/; revision=4780
Zac Medico [Sat, 21 Oct 2006 04:40:33 +0000 (04:40 -0000)]
Add news about new-style virtuals being usable for bootstrap deps on self.
svn path=/main/trunk/; revision=4779
Zac Medico [Sat, 21 Oct 2006 04:36:11 +0000 (04:36 -0000)]
Remove redunant population of the fakedb in depgraph.validate_blockers, since r4776 makes it unnecessary.
svn path=/main/trunk/; revision=4778
Zac Medico [Sat, 21 Oct 2006 04:32:03 +0000 (04:32 -0000)]
Update the docs regarding delay of config.setinst calls for bootstrap deps on old-style virtuals.
svn path=/main/trunk/; revision=4777
Zac Medico [Sat, 21 Oct 2006 04:19:03 +0000 (04:19 -0000)]
Add nodes to the fakedb in depgraph.create instead of depgraph.select_deps. It used to be in select_deps only for the case of packages that depend on themselves for bootstrap, but that hack isn't needed anymore because dep_check returns all deps now.
svn path=/main/trunk/; revision=4776
Zac Medico [Sat, 21 Oct 2006 03:25:55 +0000 (03:25 -0000)]
More filtering binary package for visiblity in greedy atom handling.
svn path=/main/trunk/; revision=4775
Zac Medico [Sat, 21 Oct 2006 03:16:15 +0000 (03:16 -0000)]
In greedy atom handlink, filter binary package for visiblity.
svn path=/main/trunk/; revision=4774
Zac Medico [Sat, 21 Oct 2006 02:24:01 +0000 (02:24 -0000)]
Apply the fix for bug #152175 to system/world greedy behavior.
svn path=/main/trunk/; revision=4773
Zac Medico [Sat, 21 Oct 2006 01:26:19 +0000 (01:26 -0000)]
For bug #152175, trigger greedy --update behavior when an atom matches a slot that isn't installed yet.
svn path=/main/trunk/; revision=4772
Zac Medico [Fri, 20 Oct 2006 22:33:46 +0000 (22:33 -0000)]
Allow an empty PROMPT_COMMAND for bug #152157.
svn path=/main/trunk/; revision=4771
Zac Medico [Fri, 20 Oct 2006 20:49:30 +0000 (20:49 -0000)]
We there is a circular deps panic in reversed mode, do the circular deps output without reversed mode since it should reduce the noise level.
svn path=/main/trunk/; revision=4769
Zac Medico [Fri, 20 Oct 2006 12:45:23 +0000 (12:45 -0000)]
Clean up the blocker validation logic so that "blocks" nodes are no longer stored in the main digraph.
svn path=/main/trunk/; revision=4766
Zac Medico [Fri, 20 Oct 2006 07:39:49 +0000 (07:39 -0000)]
Fix sed options from the previous commit so that it doesn't create a backup file ending with "e". Thanks to grobian for spotting this issue.
svn path=/main/trunk/; revision=4763
Zac Medico [Fri, 20 Oct 2006 06:04:19 +0000 (06:04 -0000)]
Make dosed use sed -i instead of a temp file. Thanks to Tim Cera for this patch from bug #152017.
svn path=/main/trunk/; revision=4762
Zac Medico [Fri, 20 Oct 2006 05:44:01 +0000 (05:44 -0000)]
Remove special case of --emptytree in depgraph.display(). Thanks to Jason Stubbs for this patch from bug #152030.
svn path=/main/trunk/; revision=4761
Zac Medico [Thu, 19 Oct 2006 23:04:26 +0000 (23:04 -0000)]
For userpriv, call setgroups with all groups that the portage user belongs to (bug #137610).
svn path=/main/trunk/; revision=4760
Zac Medico [Thu, 19 Oct 2006 21:48:42 +0000 (21:48 -0000)]
Only call altlist() to validate blockers when necessary.
svn path=/main/trunk/; revision=4759
Zac Medico [Wed, 18 Oct 2006 20:27:10 +0000 (20:27 -0000)]
s/digraph.MEDIUM/DepPriority.MEDIUM/
svn path=/main/trunk/; revision=4756
Zac Medico [Wed, 18 Oct 2006 12:20:40 +0000 (12:20 -0000)]
Handle unresolvable blockers properly for bug #151822.
svn path=/main/trunk/; revision=4753
Zac Medico [Wed, 18 Oct 2006 11:35:17 +0000 (11:35 -0000)]
Explicitly set the priority when a node is added to enforce merge order for blocker avoidance.
svn path=/main/trunk/; revision=4752
Zac Medico [Wed, 18 Oct 2006 10:50:50 +0000 (10:50 -0000)]
All packages to be added to the world favorites via --noreplace, even when --ask is enabled. Thanks to leio for reporting this issue.
svn path=/main/trunk/; revision=4751
Zac Medico [Wed, 18 Oct 2006 10:35:56 +0000 (10:35 -0000)]
Don't initialize __weakref__ in the DepPriority constructor.
svn path=/main/trunk/; revision=4750
Zac Medico [Wed, 18 Oct 2006 10:09:42 +0000 (10:09 -0000)]
Add __weakref__ to __slots__ so that weakref support isn't disabled.
svn path=/main/trunk/; revision=4749
Zac Medico [Wed, 18 Oct 2006 09:15:50 +0000 (09:15 -0000)]
Fix --usepkg --newuse logic so that it doesn't throw a KeyError if there's no matching ebuild in the tree.
svn path=/main/trunk/; revision=4748
Zac Medico [Wed, 18 Oct 2006 08:10:46 +0000 (08:10 -0000)]
Remove the unused system slot from DepPriority.
svn path=/main/trunk/; revision=4747
Zac Medico [Wed, 18 Oct 2006 07:45:25 +0000 (07:45 -0000)]
Fix a typo in xrange arguments from the previous commit.
svn path=/main/trunk/; revision=4746
Zac Medico [Wed, 18 Oct 2006 07:32:43 +0000 (07:32 -0000)]
Add more dependency priority levels for merge order calculations. Previously, all installed deps were categorized at the same level with other soft deps. Now there are 3 priority levels for soft deps: satisfied buildtime, satisfied runtime, and other.
svn path=/main/trunk/; revision=4745
Zac Medico [Tue, 17 Oct 2006 21:51:27 +0000 (21:51 -0000)]
Eliminate an unnecessary string concatenation.
svn path=/main/trunk/; revision=4744
Zac Medico [Tue, 17 Oct 2006 21:32:43 +0000 (21:32 -0000)]
Make empty digest-* files 0 bytes instead of 1 byte. Thanks to Sven Wegener for reporting this.
svn path=/main/trunk/; revision=4743
Zac Medico [Tue, 17 Oct 2006 21:10:15 +0000 (21:10 -0000)]
Fix CONFIG_PROTECT so that is works with symlinked directories for bug #151502.
svn path=/main/trunk/; revision=4742
Zac Medico [Tue, 17 Oct 2006 20:46:56 +0000 (20:46 -0000)]
Filter empty elements in cumulative env-update variables. Thanks to Brian Harring for this patch from bug #151694.
svn path=/main/trunk/; revision=4741
Zac Medico [Tue, 17 Oct 2006 10:38:43 +0000 (10:38 -0000)]
Encapsulate altlist calls (for blockers that depend on merge order) in validate_blockers().
svn path=/main/trunk/; revision=4738
Zac Medico [Tue, 17 Oct 2006 10:21:39 +0000 (10:21 -0000)]
Add back the -v option for tar (removed for bug #151146) in dyn_package(), but don't enable -v when --quiet is enabled.
svn path=/main/trunk/; revision=4737
Zac Medico [Tue, 17 Oct 2006 09:49:48 +0000 (09:49 -0000)]
Add -* support to stack_lists() and use dict.pop() for removal of flags when appropriate.
svn path=/main/trunk/; revision=4736
Zac Medico [Tue, 17 Oct 2006 09:40:05 +0000 (09:40 -0000)]
Stack use.mask/package.use.mask together at each level of the profile for bug #151586, and do the same with use.force/package.use.force.
svn path=/main/trunk/; revision=4735
Zac Medico [Tue, 17 Oct 2006 04:31:10 +0000 (04:31 -0000)]
Merge package.use and USE from make.defaults together at each level of the profile stack. This is analogous to how use.mask and package.use.mask are planned to be merged for bug #151586.
svn path=/main/trunk/; revision=4734
Zac Medico [Tue, 17 Oct 2006 03:11:25 +0000 (03:11 -0000)]
Use setdefault to avoid an extra dict lookup.
svn path=/main/trunk/; revision=4733
Zac Medico [Tue, 17 Oct 2006 02:27:03 +0000 (02:27 -0000)]
Make --depclean treat DEPEND as soft deps instead of forcing the user to have all build time deps installed.
svn path=/main/trunk/; revision=4732
Zac Medico [Mon, 16 Oct 2006 22:47:31 +0000 (22:47 -0000)]
Always add blockers with priority=digraph.SOFT so that blockers with multiple parents can't trigger a circular deps panick.
svn path=/main/trunk/; revision=4731
Zac Medico [Mon, 16 Oct 2006 22:25:11 +0000 (22:25 -0000)]
Fix altlist blocker validation logic so that the correct nodes are added to the list when called in reverse mode.
svn path=/main/trunk/; revision=4730
Zac Medico [Mon, 16 Oct 2006 22:04:52 +0000 (22:04 -0000)]
Blockers that depend on merge order must be validated by depgraph.altlist(reversed=False) before the reverse tree is generated, since the validation won't work in reverse mode.
svn path=/main/trunk/; revision=4729
Zac Medico [Mon, 16 Oct 2006 21:34:10 +0000 (21:34 -0000)]
Remove blocker nodes from the digraph prior to the merge order calculation so that they don't trigger false circular dependencies as reported in comment #17 of bug #151331.
svn path=/main/trunk/; revision=4728
Zac Medico [Mon, 16 Oct 2006 18:18:33 +0000 (18:18 -0000)]
When unable to navigate around blockers, add them back to the main digraph so that the --tree display can show them properly. This fixes the KeyError reported in comment #15 of bug #151331
svn path=/main/trunk/; revision=4726
Marius Mauch [Mon, 16 Oct 2006 16:36:33 +0000 (16:36 -0000)]
add make.conf diff for sparc-fbsd arch (from Uberlord)
svn path=/main/trunk/; revision=4724
Zac Medico [Mon, 16 Oct 2006 08:59:33 +0000 (08:59 -0000)]
For bug #133908, prevent collisions in ${PKGDIR}/All/ by automatically bumping colliding packages to ${PKGDIR}/${CATEGORY}/ just before a collision would occur. Newly built packages are always stored in ${PKGDIR}/All/, should this be 100% compatible with previous behavior.
svn path=/main/trunk/; revision=4722
Zac Medico [Sun, 15 Oct 2006 20:32:09 +0000 (20:32 -0000)]
Simplify and optimize grabdict. Thanks to Brian Harring for suggesting this.
svn path=/main/trunk/; revision=4719
Zac Medico [Sun, 15 Oct 2006 20:01:26 +0000 (20:01 -0000)]
Make grabdict incremental, so that keys occuring multiple times will stack up instead of overwritting eachother. Thanks to Sven Wegener for this suggestion.
svn path=/main/trunk/; revision=4718
Zac Medico [Sun, 15 Oct 2006 10:54:53 +0000 (10:54 -0000)]
Trigger binarytree population on bindbapi.cpv_all() calls.
svn path=/main/trunk/; revision=4712
Zac Medico [Sun, 15 Oct 2006 09:53:29 +0000 (09:53 -0000)]
Add a missing method parameter.
svn path=/main/trunk/; revision=4708
Zac Medico [Sun, 15 Oct 2006 07:26:01 +0000 (07:26 -0000)]
Simplify binarytree.getname().
svn path=/main/trunk/; revision=4704
Zac Medico [Sun, 15 Oct 2006 06:51:57 +0000 (06:51 -0000)]
Use globing to match *rm phases from the last commit.
svn path=/main/trunk/; revision=4701
Zac Medico [Sun, 15 Oct 2006 06:40:33 +0000 (06:40 -0000)]
Disable the ECLASS inherited illegally message during *rm phases since it gives false alarms (bug #150442).
svn path=/main/trunk/; revision=4700
Zac Medico [Sun, 15 Oct 2006 05:59:02 +0000 (05:59 -0000)]
Fix display of nomerge nodes and --tree for ROOT!=/.
svn path=/main/trunk/; revision=4699
Zac Medico [Sat, 14 Oct 2006 23:40:23 +0000 (23:40 -0000)]
This patch implements intelligent navigation around blockers in cases where the merge order can be adjusted (via hard deps) such that two mutually blocking packages aren't installed simultanously. This fixes bug #150879.
svn path=/main/trunk/; revision=4698
Zac Medico [Sat, 14 Oct 2006 21:13:22 +0000 (21:13 -0000)]
Fix the USE flag handling in depgraph.display() for bug #151331, comment #5.
svn path=/main/trunk/; revision=4697
Zac Medico [Sat, 14 Oct 2006 13:20:57 +0000 (13:20 -0000)]
Fix a KeyError triggered by blockers in depgraph.display() for bug #151331.
svn path=/main/trunk/; revision=4683
Zac Medico [Sat, 14 Oct 2006 04:07:49 +0000 (04:07 -0000)]
Implement per-package default USE flags at the ebuild and profile levels for bug #61732.
svn path=/main/trunk/; revision=4679
Zac Medico [Sat, 14 Oct 2006 03:35:40 +0000 (03:35 -0000)]
For bug #151082, don't allow installed packages to inappropriately satisfy packages that have been explicitly requested as arguments.
svn path=/main/trunk/; revision=4678
Zac Medico [Sat, 14 Oct 2006 02:45:36 +0000 (02:45 -0000)]
Always `unset DEPEND RDEPEND PDEPEND IUSE` prior to sourcing the ebuild in order to ensure correct interaction during the process of sourcing. Thanks to exg for reporting this issue.
svn path=/main/trunk/; revision=4677
Zac Medico [Sat, 14 Oct 2006 02:17:57 +0000 (02:17 -0000)]
For bug #151146, don't use tar's --verbose option during the package phase since it doesn't work the same way anymore in tar-1.15.92 (new args have been tested with both gnu tar-1.15.92 and bsdtar-1.3.1-r1).
svn path=/main/trunk/; revision=4676
Zac Medico [Sat, 14 Oct 2006 01:21:27 +0000 (01:21 -0000)]
For bug #151238, fix --with-bdeps logic so that it works correctly with --onlydeps.
svn path=/main/trunk/; revision=4675
Zac Medico [Thu, 12 Oct 2006 10:49:27 +0000 (10:49 -0000)]
Fix the new env-update lib dirs logic to properly account for $ROOT.
svn path=/main/trunk/; revision=4664
Zac Medico [Wed, 11 Oct 2006 22:35:45 +0000 (22:35 -0000)]
Escape quotes for bug #150932.
svn path=/main/trunk/; revision=4663
Zac Medico [Wed, 11 Oct 2006 22:11:26 +0000 (22:11 -0000)]
Make an mtime change force an ldconfig run, since it's possible that pre/postinst made changes in lib dirs (noted by Brian Harring).
svn path=/main/trunk/; revision=4662
Zac Medico [Wed, 11 Oct 2006 21:51:09 +0000 (21:51 -0000)]
Use contents to avoid unnecessary ldconfig calls for bug #136488.
svn path=/main/trunk/; revision=4661
Zac Medico [Wed, 11 Oct 2006 18:04:10 +0000 (18:04 -0000)]
Use -e instead of -a for better cross-shell compatibility. Thanks to exg.
svn path=/main/trunk/; revision=4660
Zac Medico [Wed, 11 Oct 2006 16:49:39 +0000 (16:49 -0000)]
Append PORTAGE_RSYNC_EXTRA_OPTS after the default options for bug #150883.
svn path=/main/trunk/; revision=4659
Zac Medico [Wed, 11 Oct 2006 16:27:39 +0000 (16:27 -0000)]
Use grabfile instead of cat to display the gentoo-release file.
svn path=/main/trunk/; revision=4658
Simon Stelling [Wed, 11 Oct 2006 10:52:38 +0000 (10:52 -0000)]
disable path globbing when creating metadata keys; bug 150866; thanks to brian harring for the patch
svn path=/main/trunk/; revision=4657
Zac Medico [Wed, 11 Oct 2006 07:13:26 +0000 (07:13 -0000)]
Make manifest2AuxfileFilter() slightly more efficient and also ignore any hidden files.
svn path=/main/trunk/; revision=4656
Zac Medico [Wed, 11 Oct 2006 06:56:47 +0000 (06:56 -0000)]
For bug #150121, generate an error in digestcheck() if a file is found that is not listed in the Manifest.
svn path=/main/trunk/; revision=4655
Zac Medico [Wed, 11 Oct 2006 05:54:12 +0000 (05:54 -0000)]
Move PORTAGE_BUILDDIR in to a category subdirectory and clean up the category directory if empty (while holding lock). This this will help avoid PORTAGE_BUILDDIR collisions for parallel builds and will also hack around bug #150454.
svn path=/main/trunk/; revision=4654
Mike Frysinger [Wed, 11 Oct 2006 03:20:59 +0000 (03:20 -0000)]
do not abort for the time being with lazy bindings and setuid apps and FEATURES=stricter
svn path=/main/trunk/; revision=4653
Zac Medico [Tue, 10 Oct 2006 21:23:00 +0000 (21:23 -0000)]
Add more self.modifying() checks in order to detect modifcations to locked config objects.
svn path=/main/trunk/; revision=4652
Zac Medico [Tue, 10 Oct 2006 21:10:33 +0000 (21:10 -0000)]
Don't lock repoman_settings because it needs to be mutable.
svn path=/main/trunk/; revision=4651
Zac Medico [Tue, 10 Oct 2006 21:07:31 +0000 (21:07 -0000)]
Remove an unnecessary assumption preventing the use of CVS for an overlay.
svn path=/main/trunk/; revision=4650
Zac Medico [Tue, 10 Oct 2006 18:06:34 +0000 (18:06 -0000)]
Fix breakage in generation of favorites list for bug #150754.
svn path=/main/trunk/; revision=4649
Zac Medico [Tue, 10 Oct 2006 11:03:25 +0000 (11:03 -0000)]
Only unlink .installed after the collision-protect has completed successfully (reported by axxo).
svn path=/main/trunk/; revision=4648
Zac Medico [Tue, 10 Oct 2006 08:35:40 +0000 (08:35 -0000)]
Only do a slotmove on a slot dep atom if the slotmove atom has no operator (otherwise there's not enough information to perform the slotmove).
svn path=/main/trunk/; revision=4647
Zac Medico [Tue, 10 Oct 2006 03:40:14 +0000 (03:40 -0000)]
Print a more useful error message for bug #150488.
svn path=/main/trunk/; revision=4646
Zac Medico [Tue, 10 Oct 2006 02:59:48 +0000 (02:59 -0000)]
Add $ROOT and $PORTAGE_CONFIGROOT support for etc-update. Thanks to Jonathan Adamczewski <jadamcze@utas.edu.au> for this patch from bug #150370.
svn path=/main/trunk/; revision=4645
Zac Medico [Tue, 10 Oct 2006 02:27:07 +0000 (02:27 -0000)]
Simplify the needlessly complex virtuals preferencing logic that lead to bug #150377.
svn path=/main/trunk/; revision=4644
Zac Medico [Tue, 10 Oct 2006 00:51:08 +0000 (00:51 -0000)]
Avoid unnecessary population of the bintree by populating it as late as possible.
svn path=/main/trunk/; revision=4643
Zac Medico [Mon, 9 Oct 2006 21:40:32 +0000 (21:40 -0000)]
Make --tree not imply --pretend anymore so that people can put it in EMERGE_DEFAULT_OPTS.
svn path=/main/trunk/; revision=4642
Zac Medico [Mon, 9 Oct 2006 21:32:45 +0000 (21:32 -0000)]
Make --newuse not imply --update anymore because that restriction is unnecessary.
svn path=/main/trunk/; revision=4641
Zac Medico [Mon, 9 Oct 2006 20:44:33 +0000 (20:44 -0000)]
Document greedy atoms for the --update option.
svn path=/main/trunk/; revision=4640
Zac Medico [Mon, 9 Oct 2006 20:31:06 +0000 (20:31 -0000)]
Remove outdated mention of --update in the --deep docs.
svn path=/main/trunk/; revision=4639
Zac Medico [Mon, 9 Oct 2006 20:26:21 +0000 (20:26 -0000)]
Catch UnpicklingError when loading the mtimedb (reported by marienz).
svn path=/main/trunk/; revision=4638
Zac Medico [Mon, 9 Oct 2006 20:09:42 +0000 (20:09 -0000)]
Remove unnecessary config.reset() calls in portage.create_trees().
svn path=/main/trunk/; revision=4637
Zac Medico [Mon, 9 Oct 2006 15:51:38 +0000 (15:51 -0000)]
Fix typo s/upper/lower/.
svn path=/main/trunk/; revision=4636
Zac Medico [Mon, 9 Oct 2006 07:23:35 +0000 (07:23 -0000)]
Remove unused PORTAGE_CALLER=portageq from the environment.
svn path=/main/trunk/; revision=4633
Zac Medico [Mon, 9 Oct 2006 07:17:40 +0000 (07:17 -0000)]
Remove unused PORTAGE_CALLER=emerge from the environment.
svn path=/main/trunk/; revision=4632
Zac Medico [Mon, 9 Oct 2006 07:14:19 +0000 (07:14 -0000)]
Use a local_config flag to replace PORTAGE_CALLER == repoman conditionals.
svn path=/main/trunk/; revision=4631
Zac Medico [Mon, 9 Oct 2006 05:55:32 +0000 (05:55 -0000)]
For repoman, hide the vardbapi from dep_zapdeps.
svn path=/main/trunk/; revision=4630