From 01e4aea66f39293fb350b16496d6ab673dae8a3d Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 7 Jul 2009 12:43:42 +0200 Subject: [PATCH] [entropy.qa] slightly improve libraries_test ldpaths set must be complete before dealing with reverse symlinks map --- libraries/entropy/qa.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/entropy/qa.py b/libraries/entropy/qa.py index e62121e02..19feed129 100644 --- a/libraries/entropy/qa.py +++ b/libraries/entropy/qa.py @@ -297,6 +297,11 @@ class QAInterface: ldpaths = set(self.entropyTools.collect_linker_paths()) ldpaths |= self.entropyTools.collect_paths() + # some crappy packages put shit here too + ldpaths.add("/usr/share") + # always force /usr/libexec too + ldpaths.add("/usr/libexec") + # remove duplicated dirs (due to symlinks) to speed up scanning for real_dir in reverse_symlink_map.keys(): syms = reverse_symlink_map[real_dir] @@ -316,11 +321,6 @@ class QAInterface: ) break - # some crappy packages put shit here too - ldpaths.add("/usr/share") - # always force /usr/libexec too - ldpaths.add("/usr/libexec") - executables = set() total = len(ldpaths) count = 0