Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In LinkageMap.rebuild(), immediately raise a CommandNotFound exception if | Zac Medico | 2008-11-07 | 1 | -4/+5 |
| | | | | | | | | | scanelf is missing since otherwise it will lead to a KeyError later on from findConsumers or findProviders. This will allow the caller to handle the CommandNotFound exception if necessary, and skip any findConsumers or findProviders since they won't be able to return valid results. svn path=/main/trunk/; revision=11826 | ||||
* | Handle a potential OSError that occurs if the scanelf binary is missing | Zac Medico | 2008-11-07 | 1 | -14/+20 |
| | | | | | | when LinkageMap.rebuild() is called. svn path=/main/trunk/; revision=11825 | ||||
* | Replace NEEDED.ELF.2 strings with references to LinkageMap._needed_aux_key. | Zac Medico | 2008-11-07 | 1 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=11824 | ||||
* | Improve the error message that's generated in LinkageMap.rebuild() for corrupt | Zac Medico | 2008-11-07 | 1 | -5/+9 |
| | | | | | | NEEDED.ELF.2 entries. svn path=/main/trunk/; revision=11823 | ||||
* | When calling scanelf inside LinkageMap.rebuild(), join paths with $ROOT when | Zac Medico | 2008-11-07 | 1 | -3/+16 |
| | | | | | | generating the arguments and then strip $ROOT from the paths in the output. svn path=/main/trunk/; revision=11822 | ||||
* | Fix LinkageMap.rebuild() so that the data from include_file overrides the | Zac Medico | 2008-11-07 | 1 | -12/+32 |
| | | | | | | | data from any previously installed files. This prevent possible corruption of the data since only one set of data can be correct for a given file. svn path=/main/trunk/; revision=11821 | ||||
* | When using the `read` builtin to split newlines in e* function arguments, use | Zac Medico | 2008-11-07 | 1 | -12/+12 |
| | | | | | | | $REPLY in order to ensure that whitespace in each line is correctly preserved. Thanks to Joe Peterson <lavajoe@g.o> for reporting. svn path=/main/trunk/; revision=11820 | ||||
* | Combine redundant arch_map code inside LinkageMap.rebuild(). | Zac Medico | 2008-11-07 | 1 | -8/+4 |
| | | | | svn path=/main/trunk/; revision=11819 | ||||
* | Swap the locations of the arch and soname keys inside LinkageMap._libs in | Zac Medico | 2008-11-07 | 1 | -24/+24 |
| | | | | | | | order to conserve memory. This new branching layout uses fewer dict instances since the number of sonames is much larger than the number of archs. svn path=/main/trunk/; revision=11818 | ||||
* | Inside LinkageMap._libs, use a SlotDict to store consumers and providers, | Zac Medico | 2008-11-07 | 1 | -9/+24 |
| | | | | | | to use less memory than a normal dict. svn path=/main/trunk/; revision=11817 | ||||
* | Bug #245932 - Pass use_mask and use_force parameters into recursive | Zac Medico | 2008-11-07 | 1 | -1/+2 |
| | | | | | | | _expand_new_virtuals() calls, fixing a TypeError which is triggered inside portage.dep._use_dep._eval_qa_conditionals(). svn path=/main/trunk/; revision=11816 | ||||
* | Remove the special package.keywords mask warning from bug #223447 since | Zac Medico | 2008-11-06 | 1 | -34/+4 |
| | | | | | | | --depclean now uses the depgraph class and therefore should be more consistent with the update algorithm. svn path=/main/trunk/; revision=11815 | ||||
* | Bug #245661 - Never enable --complete-graph automatically since it's confusing | Zac Medico | 2008-11-06 | 1 | -14/+3 |
| | | | | | | for users. svn path=/main/trunk/; revision=11814 | ||||
* | In Atom.__setattr__(), include inputs in case it helps for debugging with | Zac Medico | 2008-11-06 | 1 | -1/+2 |
| | | | | | | derived classes. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=11813 | ||||
* | Override Atom.__setattr__() to make Atom instances immutable. Thanks to Brian | Zac Medico | 2008-11-05 | 1 | -14/+20 |
| | | | | | | Harring for the suggestion. svn path=/main/trunk/; revision=11812 | ||||
* | Fix broken reference to self inside unmerge(). | Zac Medico | 2008-11-04 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=11809 | ||||
* | Synchronize portage update/restart logic in dblink.merge() and | Zac Medico | 2008-11-04 | 2 | -10/+5 |
| | | | | | | | depgraph.display() so it's consistent with Scheduler._is_restart_necessary(). Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=11808 | ||||
* | Free some memory by clearing the LinkageMap cache when it's not needed. | Zac Medico | 2008-11-04 | 3 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=11807 | ||||
* | Bug #245362 - Use tuples of (device, inode) for all path comparisons inside | Zac Medico | 2008-11-04 | 2 | -25/+32 |
| | | | | | | | | LinkageMap, so that they work regardless of path differences due to symlinked directories. TODO: Fix other preserve-libs code, such as dblink._preserve_libs(), to use this approach for path comparisons. svn path=/main/trunk/; revision=11806 | ||||
* | Bug #245358 - For unsatisfied dependencies, display the parent nodes and the | Zac Medico | 2008-11-03 | 1 | -6/+18 |
| | | | | | | argument that pulled them in. svn path=/main/trunk/; revision=11805 | ||||
* | Bug #245356 - Filter POSIXLY_CORRECT from the ebuild environment since it | Zac Medico | 2008-11-03 | 2 | -1/+6 |
| | | | | | | breaks stuff. svn path=/main/trunk/; revision=11804 | ||||
* | Make metadata.missing and metadata.bad fatal by removing them from the | Zac Medico | 2008-11-02 | 1 | -2/+0 |
| | | | | | | qawarnings set. Thanks to Robin H. Johnson <robbat2@g.o> for the suggestion. svn path=/main/trunk/; revision=11803 | ||||
* | Import shutil globally. | Zac Medico | 2008-11-02 | 1 | -5/+3 |
| | | | | svn path=/main/trunk/; revision=11802 | ||||
* | Remove duplicate code inside EbuildFetchPretend._execute(). | Zac Medico | 2008-11-02 | 1 | -3/+0 |
| | | | | svn path=/main/trunk/; revision=11801 | ||||
* | Remove locking from EbuildFetchPretend since it uses a private temp directory | Zac Medico | 2008-11-02 | 1 | -5/+10 |
| | | | | | | now (since bug #245231). svn path=/main/trunk/; revision=11800 | ||||
* | Bug #245231 - Make EbuildFetchPretend use a private temp directory in order | Zac Medico | 2008-11-02 | 1 | -2/+18 |
| | | | | | | to avoid locking the main one. svn path=/main/trunk/; revision=11796 | ||||
* | In SetConfig.getSetAtoms(), access self.psets directly in order to avoidv2.2_rc13 | Zac Medico | 2008-11-01 | 1 | -1/+2 |
| | | | | | | | making a copy and also to avoid potential swallowing of an unexpected KeyError. svn path=/main/trunk/; revision=11791 | ||||
* | In config.setcpv(), ensure that A and AA aren't in the env dict. | Zac Medico | 2008-11-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=11790 | ||||
* | In _validate_deps(), show the ebuild version to clarify which ebuild the | Zac Medico | 2008-11-01 | 1 | -9/+13 |
| | | | | | | errors belong to. svn path=/main/trunk/; revision=11789 | ||||
* | TODO: In case some elf files collide with blocked packages, | Zac Medico | 2008-11-01 | 1 | -0/+3 |
| | | | | | | | ensure that NEEDED data from include_file overrides the stale NEEDED data from the colliding files in the blocked packages. svn path=/main/trunk/; revision=11788 | ||||
* | In Scheduler._calc_resume_list(), use self.pkgsettings instead of the the | Zac Medico | 2008-11-01 | 1 | -1/+1 |
| | | | | | | temportary depgraph's. svn path=/main/trunk/; revision=11787 | ||||
* | Bug #239015 - Disable unmerge operations for EverythingSet/@installed. | Zac Medico | 2008-11-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=11786 | ||||
* | When echoing the emake command, redirect to stderr since otherwise it breaks | Zac Medico | 2008-11-01 | 1 | -1/+1 |
| | | | | | | | the gcc ebuild because of the way that the get_make_var() function from toolchain.eclass is used. svn path=/main/trunk/; revision=11784 | ||||
* | Remove broken pickle_write() since it can't possibly be used. | Zac Medico | 2008-11-01 | 1 | -15/+2 |
| | | | | svn path=/main/trunk/; revision=11783 | ||||
* | * In fetch(), ensure that pkg_nofetch is never called more than once. | Zac Medico | 2008-11-01 | 1 | -6/+13 |
| | | | | | | | * In _validate_deps(), revert back to using aux_get since the config instance does not cache SRC_URI. svn path=/main/trunk/; revision=11782 | ||||
* | Remove unnecessary handler for plain "Exception" from lstat() call in | Zac Medico | 2008-11-01 | 1 | -10/+0 |
| | | | | | | dblink.mergeme(). svn path=/main/trunk/; revision=11781 | ||||
* | Also call PreservedLibsRegistry.pruneNonExisting() after obtaining a lock | Zac Medico | 2008-11-01 | 2 | -0/+2 |
| | | | | | | and loading it for merge or unmerge. svn path=/main/trunk/; revision=11780 | ||||
* | Explicitly load the preserved libs registry after obtaining a lock for merge | Zac Medico | 2008-11-01 | 2 | -0/+2 |
| | | | | | | | or unmerge, in case the registry has been changed by a parallel emerge instance. svn path=/main/trunk/; revision=11779 | ||||
* | Before returning from PreservedLibsRegistry.store(), update self._data_orig. | Zac Medico | 2008-11-01 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=11778 | ||||
* | Rename "object" variable to avoid name collision with the builtin class. | Zac Medico | 2008-11-01 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=11777 | ||||
* | Define __all__ and remove unused imports. | Zac Medico | 2008-11-01 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=11776 | ||||
* | Define __all__ and remove unused import. | Zac Medico | 2008-11-01 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=11775 | ||||
* | Remove unused imports. | Zac Medico | 2008-11-01 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=11774 | ||||
* | Filter PORTAGE_VERBOSE in save_ebuild_env(). | Zac Medico | 2008-11-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=11773 | ||||
* | Bug #240295 - When emake is called, echo the make command similar to the way | Zac Medico | 2008-11-01 | 1 | -0/+2 |
| | | | | | | that econf echoes the configure command. svn path=/main/trunk/; revision=11772 | ||||
* | Bug #241906 - Handle InvalidAtom exception raised from vardbapi.match(). | Zac Medico | 2008-11-01 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=11771 | ||||
* | Bug #244792 - Remove confcache support. | Zac Medico | 2008-11-01 | 2 | -31/+2 |
| | | | | svn path=/main/trunk/; revision=11770 | ||||
* | Bug #244947 - Add repoman support for checking masked and forced flags on | Zac Medico | 2008-11-01 | 2 | -4/+36 |
| | | | | | | conditional USE deps. svn path=/main/trunk/; revision=11769 | ||||
* | Bug #244947 - Add basic repoman support for checking masked and forced flags | Zac Medico | 2008-10-31 | 2 | -37/+65 |
| | | | | | | | | when verifying USE deps. TODO: Add repoman support in dep_check() for evaluation of conditional USE deps based on forced/masked flags. masked flags, so that repoman can also svn path=/main/trunk/; revision=11768 | ||||
* | Eliminate duplicate code by calling equivalent dblink._clear_contents_cache(). | Zac Medico | 2008-10-31 | 1 | -3/+1 |
| | | | | svn path=/main/trunk/; revision=11767 |