Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248547 - x11-misc/alock fails to disable imlib _and_ requires a USE-dep over imlib[X]
Summary: x11-misc/alock fails to disable imlib _and_ requires a USE-dep over imlib[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 09:10 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-05 10:22 UTC (History)
1 user (show)

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


Attachments
Build log (alock-60-r3:20081124-043134.log,10.29 KB, text/plain)
2008-11-24 09:10 UTC, Diego Elio Pettenò (RETIRED)
Details
Fixing typo (alock-60-r3.diff,288 bytes, patch)
2009-10-20 20:02 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-24 09:10:26 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-24 09:10:39 UTC
Created attachment 173138 [details]
Build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-20 19:41:13 UTC
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.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-20 19:46:44 UTC
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.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-20 19:54:44 UTC
(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
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-20 20:02:08 UTC
Created attachment 207729 [details, diff]
Fixing typo

It's --with(out)-imlib2 not --with(out)-imlib
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-20 20:05:43 UTC
Updating bug then. One less for --as-needed :D
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-06-05 10:22:42 UTC
Done

I didn't see this bug and I had fixed this bug anyway during a version bump