[csw-devel] SF.net SVN: gar:[19240] csw/mgar/gar/v2-yann/lib/python/dependency_checks. py
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Wed Sep 19 23:06:26 CEST 2012
Revision: 19240
http://gar.svn.sourceforge.net/gar/?rev=19240&view=rev
Author: chninkel
Date: 2012-09-19 21:06:25 +0000 (Wed, 19 Sep 2012)
Log Message:
-----------
'I should go back to school to study english' fix
Modified Paths:
--------------
csw/mgar/gar/v2-yann/lib/python/dependency_checks.py
Modified: csw/mgar/gar/v2-yann/lib/python/dependency_checks.py
===================================================================
--- csw/mgar/gar/v2-yann/lib/python/dependency_checks.py 2012-09-19 21:05:12 UTC (rev 19239)
+++ csw/mgar/gar/v2-yann/lib/python/dependency_checks.py 2012-09-19 21:06:25 UTC (rev 19240)
@@ -188,21 +188,21 @@
# For example, libc.so.1 does it for symbol sigaction, free, malloc and realloc
# So we consider that direct binding is enabled if at least one symbol is directly
# bound to because that definitely means that -B direct or -z direct was used.
- directly_binded = set()
+ directly_bound = set()
for syminfo in pkg_data["binaries_elf_info"][binary_info["path"]]['symbol table']:
if syminfo['external'] and syminfo['flags'] and 'D' in syminfo['flags'] and 'B' in syminfo['flags']:
- directly_binded.add(syminfo['soname'])
- not_directly_binded = directly_binded.symmetric_difference(binary_info["needed sonames"])
+ directly_bound.add(syminfo['soname'])
+ not_directly_bound = directly_bound.symmetric_difference(binary_info["needed sonames"])
- if not_directly_binded:
+ if not_directly_bound:
messenger.Message(
- "No symbol of binary %s is directly binded against the following libraries: %s. "
+ "No symbol of binary %s is directly bound against the following libraries: %s. "
"Please make sure the binaries are compiled using the \"-Bdirect\" linker option."
- % ("/" + binary_info["path"], ", ".join(not_directly_binded)))
- for soname in not_directly_binded:
+ % ("/" + binary_info["path"], ", ".join(not_directly_bound)))
+ for soname in not_directly_bound:
error_mgr.ReportError(
pkgname, "no-direct-binding",
- "%s is not directly binded to soname %s" % ("/" + binary_info["path"], soname))
+ "%s is not directly bound to soname %s" % ("/" + binary_info["path"], soname))
for version_dep in pkg_data["binaries_elf_info"][binary_info["path"]]['version needed']:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list