FS#3809 - namcap-1.5.3.1-1 dependency test not working
Attached to Project:
Pacman
Opened by nackd (Prieto) - Saturday, 21 January 2006, 01:37 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 23:24 GMT
Opened by nackd (Prieto) - Saturday, 21 January 2006, 01:37 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 23:24 GMT
|
Details
It always says "<package> W: Dependency included and
not needed (<dep>)" for each and every dependency of
any package.
|
This task depends upon
namcap finds depencies searching for the 'Shared library' string in the output of readelf -d, But in my system, readelf's output is localized and so, the string is translated. If I run namcap with LC_ALL=C, it works.
os.environ['LC_ALL'] = 'C'
somewhere before the dependency tests and it works.
On the other hand, I have curiosity about something: is there any advantage in using "readelf -d" over "ldd"?
Your change will be in the next namcap release.