Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141709 - x11-misc/habak-0.2.5 fails with --as-needed
Summary: x11-misc/habak-0.2.5 fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-07-25 07:58 UTC by Daniel Webert
Modified: 2008-11-13 23:41 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 Webert 2006-07-25 07:58:22 UTC
misc/habak-0.2.4.1 fails with --as-needed

<snip>
[...]
gcc -mtune=i686 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -I/usr/X
11R6/include -Wall -c habak.c -o habak.o
habak.c: In function 'main':
habak.c:564: warning: suggest parentheses around assignment used as truth value
gcc -Wl,--as-needed -L/usr/X11R6/lib -lImlib2 -lm -o habak xcore.o random.o haba
k.o
xcore.o: In function `initXconnection':
xcore.c:(.text+0x26): undefined reference to `XOpenDisplay'
xcore.c:(.text+0x6b): undefined reference to `imlib_context_set_display'
xcore.c:(.text+0x8f): undefined reference to `imlib_context_set_visual'
xcore.c:(.text+0xd3): undefined reference to `XCreatePixmap'               
[...]
habak.c:(.text+0x1187): undefined reference to `imlib_context_set_image'
habak.c:(.text+0x1193): undefined reference to `imlib_image_set_has_alpha'
habak.c:(.text+0x11bd): undefined reference to `imlib_context_set_color'
habak.c:(.text+0x1201): undefined reference to `imlib_image_draw_line'
collect2: ld returned 1 exit status
make[1]: *** [habak] Error 1
make[1]: Leaving directory `/var/tmp/portage/habak-0.2.5/work/habak-0.2.5/src'
make: *** [all] Error 2

!!! ERROR: x11-misc/habak-0.2.5 failed.
Call stack:                                                                       ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  habak-0.2.5.ebuild, line 17:   Called die
</snip>
Comment 1 Lukasz Strzygowski (RETIRED) gentoo-dev 2006-07-25 14:04:41 UTC
Fixed version 0.2.5. Thanks!
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-13 23:26:38 UTC
Reopening bug since the "fix" was just a broken workaround.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-13 23:41:53 UTC
Okay I committed the actual fix for this problem, together with a couple more changes.