summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #250902 - Inside dblink._find_libs_to_preserve(), prevent symlinks fromZac Medico2008-12-141-1/+16
| | | | | | | being erroneously preserved by themselves when the old instance installed symlinks that the new instance does not install. svn path=/main/trunk/; revision=12251
* Detect problems with arguments and return non-zero when appropriate.Zac Medico2008-12-121-1/+13
| | | | svn path=/main/trunk/; revision=12248
* Update comment about resume opts stored as dict starting with 2.1.6_rc1.Zac Medico2008-12-121-1/+1
| | | | svn path=/main/trunk/; revision=12246
* Add a new FEATURES=test-fail-continue value which causes ebuild executionZac Medico2008-12-123-0/+15
| | | | | | | to continue after the test phase has failed. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=12214
* Fix --pretend logic in Binpkg some more.Zac Medico2008-12-121-2/+2
| | | | svn path=/main/trunk/; revision=12213
* Fix --getbinpkg to behave as expected with --pretend and --fetchonly.Zac Medico2008-12-121-6/+20
| | | | svn path=/main/trunk/; revision=12212
* Fix breakage in stale metadata logic inside binarytree._poplulate().Zac Medico2008-12-121-3/+4
| | | | svn path=/main/trunk/; revision=12211
* Fix incorrect usage of trap (only remove on signal at a time).Zac Medico2008-12-121-1/+2
| | | | svn path=/main/trunk/; revision=12210
* When using the old binhost protocol, comparison with the remoteZac Medico2008-12-121-10/+6
| | | | | | | | package isn't supported, so the local package is always preferred even if --getbinpkgonly is enabled. Simplify bintree.isremote() so it works the same way regardless of which protocol is used. svn path=/main/trunk/; revision=12209
* Fix old-style binhost code binarytree.digestCheck() will use local digests whenZac Medico2008-12-121-4/+9
| | | | | | a local package overrides a remote one. svn path=/main/trunk/; revision=12208
* Fix --getbinpkgonly behavior so that binaries from the remote server areZac Medico2008-12-123-10/+50
| | | | | | | preferred over local packages if they are not identical. Thanks to Lance Albertson <ramereth@g.o> for reporting. svn path=/main/trunk/; revision=12207
* Don't warn about missing repo_name for $PORTDIR when it happens to be empty.Zac Medico2008-12-111-0/+6
| | | | svn path=/main/trunk/; revision=12206
* Add --sync support for `git pull`, and also add a failsafe to prevent rsyncZac Medico2008-12-111-0/+27
| | | | | | | from being called if $PORTDIR appears to be under revision control. Thanks to Daniel Robbins for the initial patch. svn path=/main/trunk/; revision=12205
* Remove stray part about 'link level dependency awareness' in the 2.1.6 sectionZac Medico2008-12-111-3/+0
| | | | | | | and remove extraneous line 8. Thanks to Arun Raghavan <ford_prefect@g.g> for reporting. svn path=/main/trunk/; revision=12204
* Fix exit code to return non-zero when an error occurs. Thanks to ChristophZac Medico2008-12-111-2/+6
| | | | | | Mende <angelos@g.o> for reporting. svn path=/main/trunk/; revision=12202
* Make BinpkgFetcher synchronize the local timestamp of the downloaded fileZac Medico2008-12-111-0/+24
| | | | | | with the remote file, if the fetcher hasn't done it automatically. svn path=/main/trunk/; revision=12201
* Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.Zac Medico2008-12-101-4/+0
| | | | svn path=/main/trunk/; revision=12200
* For py3k compat, remove Atom.__cmp__() and use str.__lt__() instead.Zac Medico2008-12-101-10/+2
| | | | svn path=/main/trunk/; revision=12199
* Make Binpkg clean the build dir immediately after locking it. This ensuresZac Medico2008-12-101-0/+6
| | | | | | that a new PORTAGE_LOG_FILE is created. svn path=/main/trunk/; revision=12198
* Make BinpkgVerifier rename files that fail verification, similar to howZac Medico2008-12-101-0/+6
| | | | | | distfiles are automatically renamed. svn path=/main/trunk/; revision=12197
* Make the Binpkg class handle fetch logging similar to how EbuildBuild does,Zac Medico2008-12-101-20/+18
| | | | | | | directing output to PORTAGE_LOG_FILE instead of emerge-fetch.log which is only used for prefetchers now. svn path=/main/trunk/; revision=12196
* Verify binary packages even when not in "strict" mode (normal distfiles areZac Medico2008-12-101-2/+1
| | | | | | also verified in this case). svn path=/main/trunk/; revision=12195
* Create a BinpkgPrefetcher composite task to handle fetch, verification,Zac Medico2008-12-101-3/+36
| | | | | | and injection. svn path=/main/trunk/; revision=12194
* When the Binpkg class has fetched a package in --fetchonly mode, wait untilZac Medico2008-12-101-5/+7
| | | | | | after the package is verified and injected before returning. svn path=/main/trunk/; revision=12193
* urlparse.urljoin() only works correctly with recognized protocols andZac Medico2008-12-101-1/+4
| | | | | | | requires the base url to have a trailing slash, so join PORTAGE_BINHOST manually. Thanks to Lance Albertson <ramereth@g.o> for reporting. svn path=/main/trunk/; revision=12192
* When processing output from the "depend" phase, use the number of lines asZac Medico2008-12-102-5/+20
| | | | | | a sanity check so that bash's returncode doesn't have to be trusted. svn path=/main/trunk/; revision=12191
* When attempting to close fd 9 at the end of the depend phase, use exec so thatZac Medico2008-12-101-1/+1
| | | | | | it really works. svn path=/main/trunk/; revision=12190
* Bug #250148 - Prevent ebuild.sh subprocess from inheriting file descriptorZac Medico2008-12-101-9/+19
| | | | | | | 9, since otherwise if a daemon process such as udevd gets spawned then it can inherit the file descriptor and hang emerge. svn path=/main/trunk/; revision=12189
* In digestgen(), don't call fetch for files that already exist but haveZac Medico2008-12-091-3/+3
| | | | | | invalid zero-size in the manifest. svn path=/main/trunk/; revision=12188
* Simplify the code from bug #250166.Zac Medico2008-12-091-28/+15
| | | | svn path=/main/trunk/; revision=12187
* Bug #250166 - To avoid accidental regeneration of digests with the incorrectZac Medico2008-12-091-1/+22
| | | | | | | | | | 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). svn path=/main/trunk/; revision=12186
* When in --debug mode, make the depgraph call self.digraph.debug_print() toZac Medico2008-12-092-5/+13
| | | | | | | | 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. svn path=/main/trunk/; revision=12185
* For py3k compat, avoid using list.sort(cmp).Zac Medico2008-12-091-7/+11
| | | | svn path=/main/trunk/; revision=12184
* For py3k compat, remove Package.__cmp__() and related cmp() function call.Zac Medico2008-12-091-8/+1
| | | | svn path=/main/trunk/; revision=12183
* Fix deprecated_profile_check() to account for PORTAGE_CONFIGROOT. Thanks toZac Medico2008-12-082-4/+9
| | | | | | Jeremy Olexa <darkside@g.o> for the initial patch. svn path=/main/trunk/; revision=12181
* Avoid TypeError in BlockerCache.__iter__() that's triggered withZac Medico2008-12-081-0/+3
| | | | | | FEATURES=python-trace. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12180
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-084-3/+9
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* Bug #249586 - Use writemsg() to send output to stderr instead of stdout.Zac Medico2008-12-071-10/+15
| | | | svn path=/main/trunk/; revision=12176
* If pkg_nofetch needs to be spawned inside fetch() and it happens thatZac Medico2008-12-071-0/+29
| | | | | | | | | | | PORTAGE_BUILDDIR doesn't exist, like when called by digestgen(), use mkdtemp to create a private temporary directory so that pkg_nofetch can be spawned (directory needed to satisfy safe $PWD requirement of bug #239560). This is more user friendly since before the pkg_nofetch phase would simply be skipped in this case. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. svn path=/main/trunk/; revision=12174
* Add docs for PORTAGE_GPG_DIR and PORTAGE_GPG_KEY that are used by repoman forZac Medico2008-12-061-0/+10
| | | | | | FEATURES=sign support. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. svn path=/main/trunk/; revision=12168
* Validate $ROOT inside the --resume merge list in order to avoid a pottentialZac Medico2008-12-061-0/+12
| | | | | | | KeyError due to a stale merge list that was for a different $ROOT setting. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12166
* Make fixpackages use a new "#" symbol for /var/db updates (previously '*'v2.2_rc17Zac Medico2008-12-051-2/+11
| | | | | | which means 'binary update' was used). svn path=/main/trunk/; revision=12159