Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17419 - [tdb] Missing (opt)depends on python

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Monday, 07 December 2009, 04:17 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 15 January 2010, 18:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There is a file /usr/lib/python2.6/site-packages/tdb.so installed but python is not listed as optdepends.

tdb-3.4.3-4
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 15 January 2010, 18:59 GMT
Reason for closing:  Fixed
Comment by Thomas Dziedzic (tomd123) - Sunday, 03 January 2010, 19:28 GMT
I can confirm that this is a bug.
A little more info about it:
readelf -d /usr/lib/python2.6/site-packages/tdb.so returns that libpython2.6.so.1.0 is needed
and doing pacman -Ql python | grep libpython returns the above file. So tdb is missing python in its depends.

Fix:
add depends=('python') to the tdb PKGBUILD
Comment by Tobias Powalowski (tpowa) - Sunday, 03 January 2010, 19:31 GMT
isn't this more an optdepend?
Comment by Thomas Dziedzic (tomd123) - Sunday, 03 January 2010, 19:33 GMT
why? without python, you can't use the lib at all
Comment by Tobias Powalowski (tpowa) - Sunday, 03 January 2010, 19:35 GMT
[tobias@T-POWA-LX ~]$ ldd /usr/lib/libtdb.so.1
linux-vdso.so.1 => (0x00007fff4e757000)
libc.so.6 => /lib/libc.so.6 (0x00007f9bf90e8000)
/lib/ld-linux-x86-64.so.2 (0x00007f9bf9675000)

no python needed at all, if you don't use the bindings.
Comment by Thomas Dziedzic (tomd123) - Sunday, 03 January 2010, 19:41 GMT
ah, I missed that lib, I guess the fix after all would be to put python in optdepends

Loading...