<?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>25947</bug_id>
          
          <creation_ts>2003-08-05 04:20 0000</creation_ts>
          <short_desc>Clanlib won&apos;t compile, errors on DirectFB source...</short_desc>
          <delta_ts>2003-08-06 07:03:28 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dane.elwell@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>phosphan@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dane.elwell@gmail.com</who>
            <bug_when>2003-08-05 04:20:55 0000</bug_when>
            <thetext>Trying to emerge Clanlib, but I&apos;m getting these errors during the compile:

Compiling Sources/Display/Display/DirectFB/display_directfb.cpp
Compiling Sources/Display/Display/DirectFB/target_directfb.cpp
Sources/Display/Display/DirectFB/target_directfb.cpp: In member function 
   `virtual unsigned int CL_Target_DirectFB::get_width() const&apos;:
Sources/Display/Display/DirectFB/target_directfb.cpp:109: invalid conversion 
   from `int*&apos; to `unsigned int*&apos;
Sources/Display/Display/DirectFB/target_directfb.cpp: In member function 
   `virtual unsigned int CL_Target_DirectFB::get_height() const&apos;:
Sources/Display/Display/DirectFB/target_directfb.cpp:118: invalid conversion 
   from `int*&apos; to `unsigned int*&apos;
Sources/Display/Display/DirectFB/target_directfb.cpp: In member function `void 
   CL_Target_DirectFB::Clear(float, float, float, float)&apos;:
Sources/Display/Display/DirectFB/target_directfb.cpp:268: invalid conversion 
   from `int*&apos; to `unsigned int*&apos;
Sources/Display/Display/DirectFB/target_directfb.cpp:268: invalid conversion 
   from `int*&apos; to `unsigned int*&apos;
Compiling Sources/Display/Input/DirectFB/keyboard_directfb.cpp
make: *** [Libs/Intermediate/target_directfb.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-games/clanlib-0.6.5 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! (no error message)

xerxes root # 


Reproducible: Always
Steps to Reproduce:
1. emerge clanlib (or in my case, Pingus. Clanlib was dependancy)
2.
3.

Actual Results:  
Compile stopped.

Expected Results:  
Successfully compiled Clanlib.

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;oss 3dnow arts foomaticdb kde libg++ motif nls pdflib quicktime zlib gdbm
berkdb slang readline tcpd pam esd gnome qt aalib acpi alsa apm avi cdr crypt
dga directfb dvd encode fbcon gd ggi gif gtk gtkhtml imap imlib java jpeg libwww
mad mikmod mmx mozilla mpeg ncurses opengl oggvorbis pdf perl png python sdl
spell sse ssl svga tiff truetype usb wmf X xml xml2 xmms xv x86 -gpm -cups&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot;
CXXFLAGS=&quot;-O2 -mcpu=i686 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-08-05 04:33:38 0000</bug_when>
            <thetext>As a workaround you could try it with USE=&quot;-directfb&quot; emerge pingus... investigating.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-08-05 05:28:46 0000</bug_when>
            <thetext>Could you please retry with the latest DirectFB Version? Would be a good reason to make it stable. Works fine for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dane.elwell@gmail.com</who>
            <bug_when>2003-08-05 06:52:22 0000</bug_when>
            <thetext>Yep, using the ~x86 version of DirectFB worked. Clanlib compiled successfully. ;)

Cheers.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-08-05 09:36:34 0000</bug_when>
            <thetext>patrick: i&apos;m always game for making latest directfb stable ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-08-05 23:44:13 0000</bug_when>
            <thetext>SpanKY: Looks like your fix in Comment #3 on Bug #24454 broke DirectFB support on currently stable DirectFB version. From DirectFB 0.9.18 on it seems to be ok, this version is in portage for more than a month. I&apos;ll declare it stable for x86 (though it does not work with mepg3 correctly, see bug #25097).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-08-06 04:52:09 0000</bug_when>
            <thetext>mpeg3 support was resolved ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-08-06 04:56:17 0000</bug_when>
            <thetext>-v, please. which problem was resolved for which version of which package?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-08-06 06:51:38 0000</bug_when>
            <thetext>thought you were on the cc for it ... Bug 25097</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-08-06 07:03:28 0000</bug_when>
            <thetext>mpeg3 support is still broken for the currently stable directfb version. Didn&apos;t want to wait one month, so I didn&apos;t mess with that ebuild. The fix mentioned in bug #25097 is just for the ~x86 version - tried to be conservative. Perhaps it&apos;s time to call this bug fixed now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>