Merged from trunk -r12182:12200
| 12183 | For py3k compat, remove Package.__cmp__() and related cmp() |
| zmedico | function call. |
| 12184 | For py3k compat, avoid using list.sort(cmp). |
| zmedico | |
| 12185 | When in --debug mode, make the depgraph call |
| zmedico | self.digraph.debug_print() to display the final digraph |
| | state. This should help when troubleshooting problems with |
| | blockers that don't resolve automatically, by making it |
| | easier to see what pulled in unwanted packages. |
| 12186 | Bug #250166 - To avoid accidental regeneration of digests |
| zmedico | with the incorrect files (such as partially downloaded |
| | files), trigger the fetch code if the file exists and it's |
| | size doesn't match the current manifest entry. If there |
| | really is a legitimate reason for the digest to change, |
| | `ebuild --force digest` can be used to avoid triggering this |
| | code (or else the old digests can be manually removed from |
| | the Manifest). |
| 12187 | Simplify the code from bug #250166. |
| zmedico | |
| 12188 | In digestgen(), don't call fetch for files that already |
| zmedico | exist but have invalid zero-size in the manifest. |
| 12189 | Bug #250148 - Prevent ebuild.sh subprocess from inheriting |
| zmedico | file descriptor 9, since otherwise if a daemon process such |
| | as udevd gets spawned then it can inherit the file |
| | descriptor and hang emerge. |
| 12190 | When attempting to close fd 9 at the end of the depend |
| zmedico | phase, use exec so that it really works. |
| 12191 | When processing output from the "depend" phase, use the |
| zmedico | number of lines as a sanity check so that bash's returncode |
| | doesn't have to be trusted. |
| 12192 | urlparse.urljoin() only works correctly with recognized |
| zmedico | protocols and requires the base url to have a trailing |
| | slash, so join PORTAGE_BINHOST manually. Thanks to Lance |
| | Albertson <ramereth@g.o> for reporting. |
| 12193 | When the Binpkg class has fetched a package in --fetchonly |
| zmedico | mode, wait until after the package is verified and injected |
| | before returning. |
| 12194 | Create a BinpkgPrefetcher composite task to handle fetch, |
| zmedico | verification, and injection. |
| 12195 | Verify binary packages even when not in "strict" mode |
| zmedico | (normal distfiles are also verified in this case). |
| 12196 | Make the Binpkg class handle fetch logging similar to how |
| zmedico | EbuildBuild does, directing output to PORTAGE_LOG_FILE |
| | instead of emerge-fetch.log which is only used for |
| | prefetchers now. |
| 12197 | Make BinpkgVerifier rename files that fail verification, |
| zmedico | similar to how distfiles are automatically renamed. |
| 12198 | Make Binpkg clean the build dir immediately after locking |
| zmedico | it. This ensures that a new PORTAGE_LOG_FILE is created. |
| 12199 | For py3k compat, remove Atom.__cmp__() and use str.__lt__() |
| zmedico | instead. |
| 12200 | Remove ManifestEntry.__cmp__() since it's not needed and |
| zmedico | py3k won't use it. |
svn path=/main/branches/prefix/; revision=12254