Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18812 - mtr always depend on gtk
Summary: mtr always depend on gtk
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 15:01 UTC by bc
Modified: 2003-04-06 17:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bc 2003-04-05 15:01:45 UTC
Even if it's compiled with USE='-gtk' and the binary isn't linked to gtk, it depend on gtk:

# ldd /usr/bin/mtr
        libresolv.so.2 => /lib/libresolv.so.2 (0x41106000)
        libm.so.6 => /lib/libm.so.6 (0x4fef5000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x42d98000)
        libc.so.6 => /lib/libc.so.6 (0x4fdc5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4fdaf000)

# qpkg -I -nc -q gtk
x11-libs/gtk+-1.2.10-r10
DEPENDED ON BY:
        app-admin/powertweak-0.99.5_pre20021029
        media-gfx/gimp-1.2.3-r3
        media-gfx/xsane-0.86-r1
        media-libs/libdv-0.98
        media-sound/aumix-2.7-r4
        media-sound/lame-3.93.1-r1
        media-sound/mp3info-0.8.4-r1
        net-analyzer/ethereal-0.9.10
        net-analyzer/mtr-0.49-r1

Reproducible: Didn't try
Steps to Reproduce:
1. compile mtr with USE='-gtk'
2. run ldd /usr/bin/mtr
3. run qpkg -I -nc -q gtk
Actual Results:  
It's registered to use gtk

Expected Results:  
Must not depend on gtk

I made sure no other binary in mtr package are linked to gtk

The same behaviour happen with aumix and lame
Comment 1 bc 2003-04-06 01:59:22 UTC
Sorry, it's a bug in qpkg
it didn't take in count of the USE variable used while compile.
so all installed package that optionally use gtk+ are shown.

I'll fix it in qpkg
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-06 17:40:17 UTC
closing this as invalid