From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RDQYR-0008Um-N5 for garchives@archives.gentoo.org; Tue, 11 Oct 2011 00:50:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B550021C02E; Tue, 11 Oct 2011 00:50:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E36B21C02E for ; Tue, 11 Oct 2011 00:50:34 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B87C11B4009 for ; Tue, 11 Oct 2011 00:50:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D30B880042 for ; Tue, 11 Oct 2011 00:50:32 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <128579a15686b7759423c7ecbe5428ddef346dbc.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: scripts/ X-VCS-Repository: proj/elfix X-VCS-Files: scripts/revdep-pax X-VCS-Directories: scripts/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 128579a15686b7759423c7ecbe5428ddef346dbc Date: Tue, 11 Oct 2011 00:50:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b1bbce15dd6de93e562e293ea61a460b commit: 128579a15686b7759423c7ecbe5428ddef346dbc Author: Anthony G. Basile gentoo org> AuthorDate: Tue Oct 11 00:50:28 2011 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Oct 11 00:50:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/elfix.git;a=3D= commit;h=3D128579a1 scripts/revdep-pax: restrict non-verbose to only mismatches --- scripts/revdep-pax | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/revdep-pax b/scripts/revdep-pax index 75ec724..576025e 100755 --- a/scripts/revdep-pax +++ b/scripts/revdep-pax @@ -84,7 +84,8 @@ def print_forward_linkings( forward_linkings, so2librar= y_mappings, verbose ): =20 try: binary_flags =3D pax.getflags(binary) - s =3D "%s ( %s )" % ( binary, binary_flags ) + sv =3D "%s ( %s )" % ( binary, binary_flags ) + s =3D sv except: missing_binaries.append(binary) continue @@ -94,14 +95,15 @@ def print_forward_linkings( forward_linkings, so2libr= ary_mappings, verbose ): try: library =3D so2library_mappings[soname] library_flags =3D pax.getflags(library) - s =3D "%s\n\t%s\t%s ( %s )" % ( s, soname, library, library_flags ) + sv =3D "%s\n\t%s\t%s ( %s )" % ( sv, soname, library, library_flags = ) if binary_flags !=3D library_flags: + s =3D "%s\n\t%s\t%s ( %s )" % ( s, soname, library, library_flags ) count =3D count + 1 except: missing_links.append(soname) =20 if verbose: - print s + print sv if count =3D=3D 0: print 'No mismatches' else: @@ -137,7 +139,8 @@ def print_reverse_linkings( reverse_linkings, so2libr= ary_mappings, verbose ): try: library =3D so2library_mappings[soname] library_flags =3D pax.getflags(library) - s =3D "%s\t%s ( %s )" % ( soname, library, library_flags ) + sv =3D "%s\t%s ( %s )" % ( soname, library, library_flags ) + s =3D sv except: missing_sonames.append(soname) continue @@ -146,14 +149,15 @@ def print_reverse_linkings( reverse_linkings, so2li= brary_mappings, verbose ): for binary in reverse_linkings[soname]: try: binary_flags =3D pax.getflags(binary) - s =3D "%s\n\t%s ( %s )" % ( s, binary, binary_flags ) + sv =3D "%s\n\t%s ( %s )" % ( sv, binary, binary_flags ) if library_flags !=3D binary_flags: + s =3D "%s\n\t%s ( %s )" % ( s, binary, binary_flags ) count =3D count + 1 except: missing_links.append(binary) =20 if verbose: - print s + print sv if count =3D=3D 0: print 'No mismatches' else: