Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458580 - media-gfx/sane-backends-1.0.23 unnecessary linking to libnetsnmp.so
Summary: media-gfx/sane-backends-1.0.23 unnecessary linking to libnetsnmp.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2013-02-21 12:28 UTC by Dmitry A. Bakshaev
Modified: 2013-03-15 08:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for sane-backends-1.0.23-r1.ebuild (sane-backends-1.0.23.diff,840 bytes, patch)
2013-02-21 12:30 UTC, Dmitry A. Bakshaev
Details | Diff
patch for sane-backends-1.0.23-r1.ebuild (sane-backends-1.0.23.diff,862 bytes, patch)
2013-02-21 12:36 UTC, Dmitry A. Bakshaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry A. Bakshaev 2013-02-21 12:28:23 UTC
sane-backends configure has default option:
--with-snmp             enable SNMP support [default=yes]

if net-analyzer/net-snmp installed in system sane-backends linked to it, which may be not necessary.

Reproducible: Always

Steps to Reproduce:
1. emerge net-analyzer/net-snmp
2. emerge sane-backends
3. ldd /usr/bin/gamma4scanimage|grep libnetsnmp
Actual Results:  
ldd /usr/bin/gamma4scanimage|grep libnetsnmp
        libnetsnmp.so.30 => /usr/lib/libnetsnmp.so.30 (0xb7651000)


Expected Results:  
sane-backends must be linked only for needed libraries
Comment 1 Dmitry A. Bakshaev 2013-02-21 12:30:57 UTC
Created attachment 339562 [details, diff]
patch for sane-backends-1.0.23-r1.ebuild

this patch adds "snmp" use-flag to sane-backends-1.0.23-r1.ebuild for linking sane-backends against net-analyzer/net-snmp
Comment 2 Dmitry A. Bakshaev 2013-02-21 12:36:39 UTC
Created attachment 339566 [details, diff]
patch for sane-backends-1.0.23-r1.ebuild

this patch adds "snmp" use-flag to sane-backends-1.0.23-r1.ebuild for linking sane-backends against net-analyzer/net-snmp
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2013-03-15 08:20:19 UTC
Thanks. In CVS.