summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* unify code for unpacking of tar filesMike Frysinger2009-02-161-23/+13
| | | | svn path=/main/trunk/; revision=12620
* Fix broken references to DepPriority attributes.Zac Medico2009-02-151-4/+6
| | | | svn path=/main/trunk/; revision=12619
* In dyn_package(), show a more informative die message if an error occurs whenZac Medico2009-02-151-1/+1
| | | | | | creating the tarball. svn path=/main/trunk/; revision=12618
* Add a test case for the new case which is detected by isvalidatom().Zac Medico2009-02-151-0/+1
| | | | svn path=/main/trunk/; revision=12617
* Fix more false positives in isvalidatom() from previous commits.Zac Medico2009-02-151-2/+3
| | | | svn path=/main/trunk/; revision=12616
* Fix isvalidatom() logic from previous commit to avoid false positives.Zac Medico2009-02-151-1/+1
| | | | svn path=/main/trunk/; revision=12615
* Fix isvalidatom to properly identify an invalid atom such asZac Medico2009-02-151-0/+2
| | | | | | 'dev-java/nanoxml*'. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=12614
* Fix merge order calculation so that the circular runtime path isn't enteredZac Medico2009-02-151-1/+2
| | | | | | | | when it's possible to select a node that only has unsatisfied PDEPEND. This reverts an unintended change from the patch for bug #250020, and solves a problem with libperl being merged after perl when building stage 1. svn path=/main/trunk/; revision=12613
* Bug #250020 - When calculating merge order, try to ensure that packagesZac Medico2009-02-141-90/+197
| | | | | | | | | | | | | | | listed in DEPEND are updated before whenever possible (even though the DEPEND may already be satisfied by an installed instance). The changes to the merge order algorithm should also account for many common cases of bug #199856, but does not necessarily solve all cases. Whenever possible, the new algorithm avoids dropping dependencies that are satisfied by installed packages. Such dependencies are only dropped in a couple of cases: * when solving circular dependencies * when promoting packages to in the merge list (either due an unsatisfied PDEPEND or a portage upgrade) svn path=/main/trunk/; revision=12612
* In depgraph._serialize_tasks(), when appropriate, execute uninstall tasksZac Medico2009-02-141-4/+15
| | | | | | | sooner. This solves some cases of bug #256870 since there is a smaller window of time for some other failure to cause the uninstall to get discarded. svn path=/main/trunk/; revision=12611
* For the --buildpkgonly digraph.hasallzeros() check, remove "nomerge" nodesZac Medico2009-02-141-8/+10
| | | | | | | from the graph. This makes it unnecessary to tweak the dependency priority for onlydeps packages inside depgraph._add_pkg_dep(). svn path=/main/trunk/; revision=12610
* Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl PorcelZac Medico2009-02-141-0/+3
| | | | | | <armin76@g.o> for reporting. svn path=/main/trunk/; revision=12609
* In depgraph._serialize_tasks(), verify that an uninstall task has at least oneZac Medico2009-02-131-22/+48
| | | | | | theoretically mergeable parent before choosing to reverse it's edges. svn path=/main/trunk/; revision=12605
* Fix Scheduler._prevent_builddir_collisions() to skip non-Package instancesZac Medico2009-02-131-0/+3
| | | | | | when necessary. svn path=/main/trunk/; revision=12604
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-124-1/+15
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* * Remove outdated comment about qa_source() return value (with typo).Zac Medico2009-02-121-2/+2
| | | | | | | * Update copyright header. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12602
* Inside portage.fetch(), check for the case where FETCOMMAND creates aZac Medico2009-02-121-0/+29
| | | | | | | | directory where a file is expected. This can happen if FETCHCOMMAND erroneously contains wget's -P option where it should instead have -O, as reported in bug #258433, comment #16. svn path=/main/trunk/; revision=12601
* Bug #258433 - In portage.fetch(), check for missing ${FILE} parameter inZac Medico2009-02-121-17/+50
| | | | | | FETCHCOMMAND or RESUMECOMMAND and bail out early if necessary. svn path=/main/trunk/; revision=12600
* Inside depgraph._select_atoms(), only trigger the circular dependencyZac Medico2009-02-111-2/+11
| | | | | | | | | | avoidance code for buildtime dependencies. This solves a problem with virtual/mysql inappropriately pulling in mysql-community from PDEPEND when satisfying deps of plain mysql. Thanks to Krzysiek Pawlik <nelchael@g.o> for reporting this issue: http://archives.gentoo.org/gentoo-dev/msg_efce154d642fe6ede38d084a33c7f949.xml svn path=/main/trunk/; revision=12599
* Bug #258433 - Note FETCHCOMMAND and RESUMECOMMAND requirements wrt ${FILE}Zac Medico2009-02-101-0/+4
| | | | | | for compatibility with EAPI 2. svn path=/main/trunk/; revision=12598
* Document EAPI 3_pre1.Zac Medico2009-02-093-0/+17
| | | | svn path=/main/trunk/; revision=12597
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-02-092-4/+13
| | | | | | EAPI values. svn path=/main/trunk/; revision=12596
* Keep 2_pre* EAPI values in the deprecated list so that uninstalls stillZac Medico2009-02-091-1/+1
| | | | | | work normally. svn path=/main/trunk/; revision=12595
* Remove support for deprecated 2_pre* EAPI values.Zac Medico2009-02-093-10/+7
| | | | svn path=/main/trunk/; revision=12594
* add support for .xz compressed files like .lzmaMike Frysinger2009-02-081-0/+8
| | | | svn path=/main/trunk/; revision=12593
* 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