I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 173174 [details] Build log
i686-pc-linux-gnu-g++ -Wl,-O1 XWin.o Icon.o Bar.o IconLoader.o OptParser.o SuperBar.o SuperIcon.o Main.o `imlib2-config --libs` -o wbar XWin.o: In function `XWin::bottomLayer()': XWin.cc:(.text+0xa3): undefined reference to `XInternAtom' Looks like correct order to me. What does ´imlib2-config --libs´ return to you? Also, i'd like to see 'emerge -pv imlib2' output. Thanks.
It might have been missing X USE flag on imlib2 when I built this. On the other hand it does not seem to _need_ the X USE flag for imlib2, just adding a -lX11 or -lXext, whatever provides the symbol, on the commandline.
(In reply to comment #3) > It might have been missing X USE flag on imlib2 when I built this. On the other > hand it does not seem to _need_ the X USE flag for imlib2, just adding a -lX11 > or -lXext, whatever provides the symbol, on the commandline. > As I suspected, will look.
+ 14 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> + files/wbar-1.3.3-Makefile.patch: + Link to -lX11 even if media-libs/imlib2 is built with USE="-X" wrt + #248580, thanks to Diego E. Pettenò for reporting. $ strings /usr/lib64/libX11.so |grep XInt XInternAtom XInternAtoms