summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Filter the new hasg and hasgq functions inside save_ebuild_env().Zac Medico2009-02-071-1/+2
| | | | svn path=/main/trunk/; revision=12592
* Escape globs in hasgq arguments in order to prevent bash from tryingZac Medico2009-02-071-3/+3
| | | | | | to perform filename expansion. svn path=/main/trunk/; revision=12591
* cleanup econf() code -- use hasg* funcs in multilib code to avoid ↵Mike Frysinger2009-02-071-49/+20
| | | | | | wrong/duplicate parsing methods, move all handling to "$@" to avoid duplication, and make sure we prepend arguments coming from the ebuild rather than append -- only EXTRA_ECONF from user should override things svn path=/main/trunk/; revision=12590
* fix previous commit -- hasq isnt as cool as i thought and doesnt accept ↵Mike Frysinger2009-02-071-1/+7
| | | | | | globs, so define a new hasg() func that does and use that svn path=/main/trunk/; revision=12589
* fix --libdir detection when econf is passed whitespace/empty arguments ... ↵Mike Frysinger2009-02-071-1/+1
| | | | | | those break the plain string expansion comparison svn path=/main/trunk/; revision=12588
* Fix digraph.clone() to properly clone priority lists.Zac Medico2009-02-051-2/+8
| | | | svn path=/main/trunk/; revision=12587
* Make DepPriority.__str__() indicate optional deps.Zac Medico2009-02-051-0/+2
| | | | svn path=/main/trunk/; revision=12586
* Inside depgraph._serialize_tasks(), simplify the logic which delays selectionZac Medico2009-02-051-51/+39
| | | | | | of root nodes. svn path=/main/trunk/; revision=12585
* For python-3.0 compatibility, make dict-like classes modify their keys(),Zac Medico2009-02-045-0/+29
| | | | | | items(), and values() methods appropriatly for the current python version. svn path=/main/trunk/; revision=12584
* Warn about WANT_AUTO(CONF|MAKE)=latest settings since they are redundant.Zac Medico2009-02-041-1/+13
| | | | | | Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12583
* Fix the priorities display in digraph.debug_print() so it shows the highestZac Medico2009-02-041-3/+2
| | | | | | priority (since multiple priorities are now supported). svn path=/main/trunk/; revision=12582
* Fix Scheduler._find_system_deps() so that it only traverses runtime deps.Zac Medico2009-02-041-3/+10
| | | | svn path=/main/trunk/; revision=12581
* Add support in digraph for multiple priorities per edge and support forZac Medico2009-02-041-34/+78
| | | | | | | callable ignore_priority arguments that can be used for finer grained filtering. svn path=/main/trunk/; revision=12580
* Add UnmergeDepPriority.optional attribute, to avoid traceback.Zac Medico2009-02-041-1/+1
| | | | svn path=/main/trunk/; revision=12579
* Bug #256616 - Also consider deep runtime dependencies of system packages whenZac Medico2009-02-031-2/+43
| | | | | | adding packages to merge_wait_queue. svn path=/main/trunk/; revision=12578
* For optional deps pulled in by --with-bdeps=y, set DepPriority.buildtime toZac Medico2009-02-031-1/+2
| | | | | | False. svn path=/main/trunk/; revision=12577
* Add a DepPriority.optional attribute for optional build time deps that areZac Medico2009-02-031-10/+13
| | | | | | pulled in by --with-bdeps=y. svn path=/main/trunk/; revision=12576
* Make emerge --regen return non-zero if that are any failures. Thanks to DanielZac Medico2009-02-031-1/+6
| | | | | | Robbins for reporting. svn path=/main/trunk/; revision=12575
* Use portage.util.cmp_sort_key for python-3.0 compatibility.Zac Medico2009-02-031-6/+6
| | | | svn path=/main/trunk/; revision=12574
* Use portage.util.cmp_sort_key for python-3.0 compatibility.Zac Medico2009-02-031-2/+2
| | | | svn path=/main/trunk/; revision=12573
* Use portage.util.cmp_sort_key for python-3.0 compatibility.Zac Medico2009-02-031-2/+2
| | | | svn path=/main/trunk/; revision=12572
* Add a cmp_sort_key class which makes it easier to port code for python-3.0Zac Medico2009-02-021-0/+36
| | | | | | | compatibility. It works by generating key objects which use the given cmp function to implement their __lt__ method. svn path=/main/trunk/; revision=12571
* In depgraph._serialize_tasks(), when separating uninstall nodes from leafZac Medico2009-02-021-11/+16
| | | | | | nodes, do it earlier so that it covers more code paths. svn path=/main/trunk/; revision=12570
* Bug #256616 - Since dependencies on system packages are frequently unspecified,Zac Medico2009-02-021-3/+35
| | | | | | | | | merge them only when no builds are executing. When a system package finishes building, it's added to a wait queue that is only processed when the number of running builds drops to zero. All pending merges are then processed before any new builds are allowed to start. svn path=/main/trunk/; revision=12569
* Fix logic inside depgraph._serialize_tasks() to avoid the circular runtimeZac Medico2009-02-021-30/+30
| | | | | | | | | | | | deps path in some cases when it's not appropriate. This solves a case that was reported, in which the perl was merged before libperl due do perl and lots of it's deps being selected all at once. In this case, so many packages were selected at once that the cmp_circular_bias() sort did not order them very well (though it normally works fine with a smaller number of packages). Thanks to Daniel Robbins for reporting this issue and helping me reproduce it. svn path=/main/trunk/; revision=12568
* Implement Manifest2Entry.__ne__() so that comparisons inside Manifest.write()Zac Medico2009-01-311-0/+11
| | | | | | work properly (to avoid rewriting an identical manifest when possible). svn path=/main/trunk/; revision=12567
* Always ignore hidden files when generating Manifests. Thanks to ChristianZac Medico2009-01-311-1/+3
| | | | | | Ruppert for reporting. svn path=/main/trunk/; revision=12566
* Fix color in merge list [ebuild ] display, so it's the same regardless ofZac Medico2009-01-291-1/+1
| | | | | | $ROOT. svn path=/main/trunk/; revision=12560
* - hardened gets way to many misfiled bugs related to qa-execstack. Make it ↵Ned Ludd2009-01-281-0/+2
| | | | | | clear that bugs go to the maintainers of the pkg and not hardened for fun and profit svn path=/main/trunk/; revision=12559
* In EbuildFetcher._start(), don't touch the build dir when in prefetch mode.Zac Medico2009-01-281-6/+14
| | | | | | | | | | In this case, logging goes to emerge-fetch.log and the builddir should not be touched since otherwise it could interfere with another instance of the same cpv concurrently being built for a different $ROOT (currently, builds only cooperate with prefetchers that are spawned for the same $ROOT). Thanks to Daniel Robbins for reporting this issue. svn path=/main/trunk/; revision=12558
* When scheduling builds in parallel for --jobs, avoid potential build dirZac Medico2009-01-281-0/+21
| | | | | | | | collisions in cases when the same exact cpv needs to be merged to multiple $ROOTs (like when building stages). Thanks for Daniel Robbins for reporting this issue and troubleshooting it. svn path=/main/trunk/; revision=12557
* Fix die() usage in ebuild phase examples. Thanks to Jeremy OlexaZac Medico2009-01-251-4/+3
| | | | | | <darkside@g.o> for this patch. svn path=/main/trunk/; revision=12556
* Add messages before and after the src_prepare phase. Thanks to Arfrever forZac Medico2009-01-251-0/+2
| | | | | | this patch. svn path=/main/trunk/; revision=12555
* Remove the emerge-fetch.log lock message code from fetch() since this isZac Medico2009-01-241-14/+0
| | | | | | handled by the EbuildBuild class when it synchronizes with the prefetcher. svn path=/main/trunk/; revision=12554
* Inside fetch(), only mention /var/log/emerge-fetch.log in locking messagesZac Medico2009-01-241-1/+2
| | | | | | when called by emerge. svn path=/main/trunk/; revision=12553
* Inside depgraph._dep_expand(), filter use dbapi.cp_list() to filter outZac Medico2009-01-231-2/+9
| | | | | | | any results from dbapi.cp_all() that happen to not contain any ebuilds. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12552
* Add an ignore_priority parameter to digraph.parent_nodes().Zac Medico2009-01-221-3/+9
| | | | svn path=/main/trunk/; revision=12551
* Fix typo in previous commit.Zac Medico2009-01-221-1/+1
| | | | svn path=/main/trunk/; revision=12550
* Inside depgraph._add_dep(), drop unnecessary build-time deps if there isZac Medico2009-01-221-0/+4
| | | | | | no package available to satisfy it. svn path=/main/trunk/; revision=12549
* Inside depgraph.loadResumeCommand(), always enable deep traversal ofZac Medico2009-01-221-7/+14
| | | | | | | dependencies. This is necessary for correct --keep-going or --resume operation in case a package from a group of circularly dependent packages fails. svn path=/main/trunk/; revision=12548
* Inside depgraph.loadResumeCommand(), when appropriate, complete the graphZac Medico2009-01-221-1/+7
| | | | | | before analyzing any unsatisfied deps that may exist. svn path=/main/trunk/; revision=12547
* Make depgraph._add_dep() ignore fewer dependencies when not in --deep mode, byZac Medico2009-01-221-0/+1
| | | | | | | making it so that it will always account for dependencies on packages that are already installed. svn path=/main/trunk/; revision=12546
* Make listdir(ignorecvs=True) ignore .git directories. Thanks to ChristianZac Medico2009-01-221-2/+5
| | | | | | Ruppert for the suggestion. svn path=/main/trunk/; revision=12545
* Fix interaction between ignorelist and ignorecvs parameters inside cacheddir().Zac Medico2009-01-221-4/+7
| | | | | | Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=12544
* Bug #199408 - Always enable the skip_masked and skip_unsatisfied for theZac Medico2009-01-211-7/+5
| | | | | | | resume_depgraph() function. This will cause emerge --resume to automatically drop masked packages (without the need to specify --skipfirst). svn path=/main/trunk/; revision=12543
* In depgraph.loadResumeCommand(), account for unsatisfied dependencies ofZac Medico2009-01-211-5/+29
| | | | | | | installed packages if they are in the subgraph of dependencies of a package which is scheduled to be installed. svn path=/main/trunk/; revision=12542
* Inside depgraph.loadResumeCommand(), ignore unsatisified dependencies thatZac Medico2009-01-211-2/+8
| | | | | | | | | | are pulled in by installed packages. This is needed in order to avoid having --keep-going bail out needlessly when one of a group of circularly dependent packages fails to install after one or more of the group have already been installed. TODO: Add sanity checks to make sure that it's really safe to ignore all the deps that can be ignored by this code. svn path=/main/trunk/; revision=12541
* When in --keep-going mode, don't suppress the list of failed packages displayZac Medico2009-01-191-1/+2
| | | | | | | at the end when there is only one failure, since the failure may have occurred much earlier and the related output may not be visible any longer. svn path=/main/trunk/; revision=12540
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.2_rc23Zac Medico2009-01-183-1/+34
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Fix false positive in the 'unused local USE-description' warning. Thanks toZac Medico2009-01-161-1/+1
| | | | | | Alexis Ballier <aballier@g.o> for reporting. svn path=/main/trunk/; revision=12524