summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r12348 since it's not really needed and the previous version is morev2.2_rc20Zac Medico2008-12-271-1/+1
| | | | | | efficient. svn path=/main/trunk/; revision=12352
* Bug #252562 - Show --onlydeps in short --help output.Zac Medico2008-12-261-1/+2
| | | | svn path=/main/trunk/; revision=12351
* Bail out earlier if the file name argument doesn't end with '.ebuild'. ThanksZac Medico2008-12-261-0/+6
| | | | | | to Diego 'Flameeyes' Pettenò for reporting. svn path=/main/trunk/; revision=12350
* Fix loop logic some more for bug #252572.Zac Medico2008-12-261-6/+8
| | | | svn path=/main/trunk/; revision=12349
* Bug #252572 - Fix a loop condition inside depgraph._serialize_tasks() whichZac Medico2008-12-261-1/+1
| | | | | | can cause an infinite loop that's triggered by unresolvable blockers. svn path=/main/trunk/; revision=12348
* scan archives of objects for exec stacksMike Frysinger2008-12-251-3/+3
| | | | svn path=/main/trunk/; revision=12345
* Fix typo.v2.2_rc19Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12341
* Refactor EbuildMetadataPhase._output_handler() and _set_returncode().Zac Medico2008-12-251-16/+13
| | | | svn path=/main/trunk/; revision=12339
* Use long() instead of float() when parsing Package.mtime from the metadata.Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12332
* Make vardbapi._aux_get() return _mtime_ as a long (never as a float).Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12331
* Inside portdbapi._metadata_callback(), preserve _eclasses_ when the EAPI isZac Medico2008-12-251-15/+20
| | | | | | | | | unsupported since the eclass timestamps might be needed in order to decide that the cache entry should be regenerated. Also, make sure that all metadata returned from portdbapi.aux_get() is returned as empty strings when the EAPI is unsupported. svn path=/main/trunk/; revision=12330
* Handle potential KeyErrors that may be raised from get_eclass_data(), andZac Medico2008-12-253-10/+16
| | | | | | remove unnecessary print statements inside get_eclass_data(). svn path=/main/trunk/; revision=12329
* Don't add any more that one "-" symbol to the front of an unsupported EAPI.Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12328
* Inside mirror_cache(), handle unsupported EAPI like portdbapi does.Zac Medico2008-12-251-0/+9
| | | | svn path=/main/trunk/; revision=12327
* Add support for synchronizing ebuild and eclass timestamps with the metadataZac Medico2008-12-251-1/+136
| | | | | | | | | | | cache timestamps which emerge --sync operates on a git repository. This is necessary since git doesn't preserve timestamps. It is assumed that the timestamps should be synchronized if the relevant ebuilds and eclasses are unmodified relative to the HEAD commit (as reported by git-ls-files). This feature was requested by Daniel Robbins, so that it's possible for the funtoo git repository to distribute pre-generated metadata. svn path=/main/trunk/; revision=12303
* Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,Zac Medico2008-12-241-2/+2
| | | | | | since it's better not to rely on float comparison here. svn path=/main/trunk/; revision=12302
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-242-0/+6
| | | | | | is not installed. svn path=/main/trunk/; revision=12301
* Don't use 'local' builtin outside of a function.Zac Medico2008-12-241-1/+1
| | | | svn path=/main/trunk/; revision=12300
* Document QA_STRICT_PRESTRIPPED.Zac Medico2008-12-241-0/+4
| | | | svn path=/main/trunk/; revision=12299
* Fix typo.Zac Medico2008-12-241-1/+1
| | | | svn path=/main/trunk/; revision=12298
* Replace QA_DT_HASH with QA_PRESTRIPPED where appropriate. Thanks to ArfreverZac Medico2008-12-241-14/+9
| | | | | | | for reporting. Also, remove array support since bash arrays don't export anyway. svn path=/main/trunk/; revision=12297
* Bug #251976 - Add a QA_PRESTRIPPED variable for ebuilds to disable warnings ↵Zac Medico2008-12-242-4/+27
| | | | | | | | about pre-stripped files. svn path=/main/trunk/; revision=12296
* Fix PATH comparison in binarytree.inject() some more.Zac Medico2008-12-241-1/+1
| | | | svn path=/main/trunk/; revision=12295
* Fix broken PATH comparisons when eliminating duplicate entries insideZac Medico2008-12-241-2/+2
| | | | | | binarytree.inject(). svn path=/main/trunk/; revision=12294
* Bug #252304 - Restore the -V/--version option.Zac Medico2008-12-241-0/+7
| | | | svn path=/main/trunk/; revision=12293
* Add SIGUSR1 signal handlers that call pdb.set_trace(). Thanks to Brian ↵Zac Medico2008-12-232-0/+10
| | | | | | | | Harring for the suggestion. svn path=/main/trunk/; revision=12292
* Make more code conditional on POLLIN events, where appropriate.Zac Medico2008-12-231-31/+38
| | | | svn path=/main/trunk/; revision=12291
* Move initial signal handlers to the launcher script.Zac Medico2008-12-232-17/+19
| | | | svn path=/main/trunk/; revision=12290
* Rename the PollTask class to AbstractPollTask.Zac Medico2008-12-231-3/+6
| | | | svn path=/main/trunk/; revision=12289
* Add handling for POLLERR, POLLNVAL, and POLLHUP. Hopefully this solves hung ↵Zac Medico2008-12-231-40/+72
| | | | | | | | | poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12287
* Register for poll events before forking, in order to avoid potential race ↵Zac Medico2008-12-231-13/+12
| | | | | | | | | | conditions in SpawnProcess._start() and EbuildMetadataPhase._start(). Hopefully this solves hung poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12285
* When removing entries with duplicate paths inside binarytree.inject(), handleZac Medico2008-12-231-3/+6
| | | | | | path collisions in $PKGDIR/All when CPV is not identical. svn path=/main/trunk/; revision=12282
* Fix typo.Zac Medico2008-12-231-1/+1
| | | | svn path=/main/trunk/; revision=12281
* Bug #252243 - Fix binarytree.prevent_collision() so that it won't create a ↵Zac Medico2008-12-231-6/+17
| | | | | | | | circular symlink if there happens to be a symlink in $PKGDIR/All for some reason. svn path=/main/trunk/; revision=12280
* Simplify the code from bug #218854. Also, ensure that the set of visible ↵Zac Medico2008-12-231-33/+7
| | | | | | | | | | packages thats used by depgraph._iter_atoms_for_pkg() is consistent with the packages that have been selected by depgraph._select_pkg_highest_available(). This should correct potential inconstencies introduced by the package selection changes from bug #252167. svn path=/main/trunk/; revision=12279
* Bug #252167 - If the ebuild no longer exists or it's keywords have been dropped,Zac Medico2008-12-231-8/+27
| | | | | | | reject built instances (installed or binary). If --usepkgonly is enabled, assume that the ebuild status should be ignored. svn path=/main/trunk/; revision=12278
* Remove code from unused config.load_infodir() method and issue a deprecationZac Medico2008-12-221-67/+3
| | | | | | warning if it's called. svn path=/main/trunk/; revision=12275
* Fix DEFINED_PHASES code to check for pkg_config and pkg_info functions.Zac Medico2008-12-211-5/+5
| | | | svn path=/main/trunk/; revision=12274
* Add support for the new DEFINED_PHASES metadata key which is automatically ↵Zac Medico2008-12-214-4/+30
| | | | | | | | | generated from the set of phase functions that are defined by the ebuild and any eclasses it may have inherited. svn path=/main/trunk/; revision=12273
* Fix --clean <atom> so that it considers all packages within a given slot whenZac Medico2008-12-211-1/+16
| | | | | | | | it's deciding which packages to keep, rather than just considering the ones matched by the given atom. Any packages not matching the given atom are protected from being unmerged. Thanks to Mart Raudsepp <leio@g.o> for reporting. svn path=/main/trunk/; revision=12272
* Update --depclean 'unsatisfied deps' message to recommend the same emerge updateZac Medico2008-12-211-2/+2
| | | | | | | command that's recommended earlier. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12271
* Remove the TaskScheduler.run() method since the constructor replaces it withZac Medico2008-12-211-3/+0
| | | | | | the QueueScheduler.run() method. svn path=/main/trunk/; revision=12270
* Adjust the EbuildNestedDie pattern so that it only matches when ( is surroundedv2.2_rc18Zac Medico2008-12-201-1/+1
| | | | | | | | by whitespace. This filters out false positives triggered by sed expressions in net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego Pettenò <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=12265
* Simplify the InheritAutotools pattern by using \b to match word boundaries.Zac Medico2008-12-201-2/+2
| | | | svn path=/main/trunk/; revision=12264
* Bug #251591 - Adjust the InheritAutotools pattern to treat more things ↵Zac Medico2008-12-201-2/+2
| | | | | | | | similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. svn path=/main/trunk/; revision=12260
* Bug #251616 - Inside _check_build_log(), remove unnecessary .* patterns from ↵Zac Medico2008-12-191-3/+3
| | | | | | | | | | regular expressions. These patterns trigger extreme performance issues when matched against extremely large lines such as those produced by dev-util/bzr test suite when it uses \r to rewrite the same line thousands of times. svn path=/main/trunk/; revision=12259
* Fix DependencyArg.__str__() to ensure that str type is always returned.Zac Medico2008-12-191-1/+1
| | | | svn path=/main/trunk/; revision=12258
* Inside display_preserved_libs(), filter out consumers that belong to theZac Medico2008-12-171-4/+5
| | | | | | same package as the provider only if those consumers are also preserved. svn path=/main/trunk/; revision=12257
* Inside display_preserved_libs(), filter out any consumers that belong to theZac Medico2008-12-151-1/+7
| | | | | | same package as the provider. svn path=/main/trunk/; revision=12253
* Bug #250902 - Inside dblink._find_unused_preserved_libs(), show a warningZac Medico2008-12-141-1/+8
| | | | | | | instead of raising a KeyError if the preserved libs registry contains a symlink that points to a lib which is not preserved. svn path=/main/trunk/; revision=12252