Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327617 - Impossible to build mplayer-1.0_rc4_p20091026 without it linking to X
Summary: Impossible to build mplayer-1.0_rc4_p20091026 without it linking to X
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 12:58 UTC by Daniel Squires
Modified: 2010-07-09 13:03 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 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