From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C3256138BF3 for ; Tue, 18 Feb 2014 07:30:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 909A6E0BE3; Tue, 18 Feb 2014 07:30:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32498E0BE3 for ; Tue, 18 Feb 2014 07:30:07 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94FD333F834 for ; Tue, 18 Feb 2014 07:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 4629B1872B for ; Tue, 18 Feb 2014 07:30:04 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1392708317.f47a75c4815415aa4da6a4b41fb2ba18ef753ef2.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/analyse.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: f47a75c4815415aa4da6a4b41fb2ba18ef753ef2 X-VCS-Branch: gentoolkit Date: Tue, 18 Feb 2014 07:30:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d72b3892-2913-40cc-87f8-8d600838839c X-Archives-Hash: f05cbbf0c1b9d20f547d7ff867b0e031 commit: f47a75c4815415aa4da6a4b41fb2ba18ef753ef2 Author: Brian Dolbec gentoo org> AuthorDate: Tue Feb 18 07:25:17 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Tue Feb 18 07:25:17 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=f47a75c4 revdep-rebuild/analyse.py: Change the scanelf call parameters. Remove the redundant -n option due to the -F option. Add --use-ldpath to help prevent false detection of libs in a different path than the lib is linked to. Changes recommended by: Douglas Freed --- pym/gentoolkit/revdep_rebuild/analyse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py index 0c22b0e..595d4f5 100644 --- a/pym/gentoolkit/revdep_rebuild/analyse.py +++ b/pym/gentoolkit/revdep_rebuild/analyse.py @@ -30,7 +30,7 @@ def scan_files(libs_and_bins, cmd_max_args, logger): ''' stime = current_milli_time() scanned_files = {} # {bits: {soname: (filename, needed), ...}, ...} - lines = scan(['-nBF', '%F %f %S %n %M'], + lines = scan(['--use-ldpath -BF', '%F %f %S %n %M'], libs_and_bins, cmd_max_args, logger) ftime = current_milli_time() logger.debug("\tscan_files(); total time to get scanelf data is "