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 173138 [details] Build log
I've failed to reproduce that. Those missing symbols belong to imlib2 and there is -lImlib2 in the right place, even in the attached log... gcc -o alock alock.o alock_utils.o auth_md5.o auth_none.o auth_pam.o auth_passwd.o auth_sha1.o auth_sha2.o auth_wpool.o bg_blank.o bg_image.o bg_none.o bg_shade.o cursor_glyph.o cursor_image.o cursor_none.o cursor_theme.o cursor_xcursor.o -Wl,--as-needed -lXrender -lX11 -lpam -lpam_misc -lcrypt -lcrypt -lXcursor -L/usr/lib64 -lImlib2 -lfreetype -lz -L/usr/lib64 -lX11 -lXext -ldl -lm -lXpm make[1]: Opuszczenie katalogu `/var/tmp/portage/x11-misc/alock-60-r3/work/alock-svn-60/src' >>> Source compiled.
Hmm, I usually file these bugs without reading too much into the log (my bad, I know); it might actually be a missing dependency over Imlib[X] given that it uses libXpm and similar, and this usually show that it tries to use the X11-powered Imlib.
(In reply to comment #3) > Hmm, I usually file these bugs without reading too much into the log (my bad, I > know); it might actually be a missing dependency over Imlib[X] given that it > uses libXpm and similar, and this usually show that it tries to use the > X11-powered Imlib. > Yup, that's it. It also seems that alock doesn't care about USE flags. Step to reproduce: 1. USE="-X" emerge -1 imlib2 2. USE="-imlib" emerge -1 alock
Created attachment 207729 [details, diff] Fixing typo It's --with(out)-imlib2 not --with(out)-imlib
Updating bug then. One less for --as-needed :D
Done I didn't see this bug and I had fixed this bug anyway during a version bump