Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It always says "<package> W: Dependency included and not needed (<dep>)" for each and every dependency of any package.
This task depends upon

Closed by  Jason Chu (jason)
Sunday, 28 May 2006, 04:10 GMT
Reason for closing:  Fixed
Comment by nackd (Prieto) - Saturday, 21 January 2006, 02:09 GMT
I have just found the problem.
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.
Comment by Jason Chu (jason) - Monday, 27 March 2006, 17:46 GMT
Ah... hmmm... I don't have any machines that aren't localized with LC_ALL=C... can you think of a more internationalized way of getting that value?
Comment by nackd (Prieto) - Tuesday, 28 March 2006, 18:27 GMT
I have tested adding
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"?
Comment by Jason Chu (jason) - Tuesday, 28 March 2006, 19:00 GMT
ldd maps all dependencies of all dependencies of an app. readelf just tells me that current one's. readelf is much faster.

Your change will be in the next namcap release.

Loading...