summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-01-18 11:47:26 -0800
committerBrian Dolbec <dolsen@gentoo.org>2016-02-25 13:24:55 -0800
commit1727a4ad664daa5b98d7e2e15af8cfc59d13f4dc (patch)
tree486bcf5545e9476e1c6668c9a665e6f7b184670c
parente9445aa398126c24c729cfb1e0d488d9b0db45ab (diff)
downloadgentoolkit-1727a4ad664daa5b98d7e2e15af8cfc59d13f4dc.tar.gz
revdep-rebuild/analyse.py: Add file masks to the collecting masks
file_masks appear to have been missed being added to the masks passed to the collections functions. Hopefully this will resolve most of the errors people are getting. My testing, only bacula has any errors, but it does not work to add the offending symlink target lib to LD_LIBRARY_MASK.
-rw-r--r--pym/gentoolkit/revdep_rebuild/analyse.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
index 92233ab..b9c18c0 100644
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
@@ -320,9 +320,15 @@ def analyse(settings, logger, libraries=None, la_libraries=None,
stime = current_milli_time()
logger.info(green(' * ') +
bold('Collecting dynamic linking informations'))
+ all_masks = masked_dirs.copy()
+ all_masks.update(masked_files)
+ logger.debug("\tall_masks:")
+ for x in sorted(all_masks):
+ logger.debug('\t\t%s' % (x))
+
libraries, la_libraries, libraries_links = \
- collect_libraries_from_dir(lib_dirs, masked_dirs, logger)
- binaries = collect_binaries_from_dir(bin_dirs, masked_dirs, logger)
+ collect_libraries_from_dir(lib_dirs, all_masks, logger)
+ binaries = collect_binaries_from_dir(bin_dirs, all_masks, logger)
ftime = current_milli_time()
logger.debug('\ttime to complete task: %d milliseconds' % (ftime-stime))