<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>141709</bug_id>
          
          <creation_ts>2006-07-25 07:58 0000</creation_ts>
          <short_desc>x11-misc/habak-0.2.5 fails with --as-needed</short_desc>
          <delta_ts>2008-11-13 23:41:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>129413</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>rockoo@gmail.com</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>rockoo@gmail.com</who>
            <bug_when>2006-07-25 07:58:22 0000</bug_when>
            <thetext>misc/habak-0.2.4.1 fails with --as-needed

&lt;snip&gt;
[...]
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 &apos;main&apos;:
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&apos;:
xcore.c:(.text+0x26): undefined reference to `XOpenDisplay&apos;
xcore.c:(.text+0x6b): undefined reference to `imlib_context_set_display&apos;
xcore.c:(.text+0x8f): undefined reference to `imlib_context_set_visual&apos;
xcore.c:(.text+0xd3): undefined reference to `XCreatePixmap&apos;               
[...]
habak.c:(.text+0x1187): undefined reference to `imlib_context_set_image&apos;
habak.c:(.text+0x1193): undefined reference to `imlib_image_set_has_alpha&apos;
habak.c:(.text+0x11bd): undefined reference to `imlib_context_set_color&apos;
habak.c:(.text+0x1201): undefined reference to `imlib_image_draw_line&apos;
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&apos;
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
&lt;/snip&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucass@gentoo.org</who>
            <bug_when>2006-07-25 14:04:41 0000</bug_when>
            <thetext>Fixed version 0.2.5. Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-11-13 23:26:38 0000</bug_when>
            <thetext>Reopening bug since the &quot;fix&quot; was just a broken workaround.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-11-13 23:41:53 0000</bug_when>
            <thetext>Okay I committed the actual fix for this problem, together with a couple more changes.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>