Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. 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#15205 - [device-mapper] Unnecessarily depends on readline

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Monday, 22 June 2009, 00:05 GMT
Last edited by Eric Belanger (Snowman) - Friday, 10 July 2009, 03:12 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Unnecessarily depends on readline (in consecuence also with ncurses) Is linked because is used by lvm2 for tools/lvm.c that is not in device-mapper package (only provided in lvm2 pkg)

$ ldd -u -r /lib/libdevmapper.so.1.02
Unused direct dependencies:

/lib/libreadline.so.6
/lib/librt.so.1
/lib/libdl.so.2
/lib/libncursesw.so.5

$ ldd -u -r /sbin/dmsetup
Unused direct dependencies:

/lib/libreadline.so.6
/lib/librt.so.1
/lib/libdl.so.2
/lib/libncursesw.so.5

Solutions:
* add --disable-readline to ./configure line
* add LDFLAGS="-Wl,--as-needed" (that also removed other unneeded deps)
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 10 July 2009, 03:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in device-mapper-1.02.33-1 in testing

Loading...