Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 327617

Summary: Impossible to build mplayer-1.0_rc4_p20091026 without it linking to X
Product: Gentoo Linux Reporter: Daniel Squires <mango>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Squires 2010-07-09 12:58:42 UTC
Even with all use flags negated, the compile mplayer binary links against X and deps, see ldd output below.

This should not happen!

        libXext.so.6 => /usr/lib/libXext.so.6 (0xf762b000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf750a000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf7504000)
        libc.so.6 => /lib/libc.so.6 (0xf73c1000)
        /lib/ld-linux.so.2 (0xf76f8000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf73a5000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf739e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf739a000) 

Reproducible: Always

Steps to Reproduce:
1.emerge mplayer-1.0_rc4_p2009102 with all use flags negated
2.ldd /usr/bin/mplayer
3.



Expected Results:  
Should not link against X unnecessary.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-09 13:03:05 UTC
need full build.log of mplayer, USE flags used for mplayer and proper `scanelf`[1] or `objdump -p` output of NEEDED entries
because ldd prints out also indirect deps, it's rather useless for this.

[1] http://www.gentoo.org/proj/en/hardened/pax-utils.xml