<?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>33453</bug_id>
          
          <creation_ts>2003-11-14 04:42 0000</creation_ts>
          <short_desc>clanlib 0.7.6 does not compile</short_desc>
          <delta_ts>2003-11-15 14:37:11 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>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>suka@gentoo.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>polarbear42@phreaker.net</cc>

      

      
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2003-11-14 04:42:50 0000</bug_when>
            <thetext>Socket/ip_address_getsock.cpp: In constructor `
   CL_IPAddress_GetSock::CL_IPAddress_GetSock(const std::string&amp;)&apos;:
Socket/ip_address_getsock.cpp:58: warning: comparison is always false due to
   limited range of data type
Socket/ip_address_getsock.cpp: In constructor `
   CL_IPAddress_GetSock::CL_IPAddress_GetSock(const std::string&amp;, const
   std::string&amp;)&apos;:
Socket/ip_address_getsock.cpp:65: warning: comparison is always false due to
   limited range of data type
Socket/ip_address_getsock.cpp: In member function `virtual void
   CL_IPAddress_GetSock::set_port(const std::string&amp;)&apos;:
Socket/ip_address_getsock.cpp:164: warning: comparison is always false due to
   limited range of data type
make[2]: *** [Socket/ip_address_getsock.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm: cannot remove `&apos;: Invalid argument
 g++ -DPACKAGE_NAME=\&quot;ClanLib\&quot; -DPACKAGE_TARNAME=\&quot;clanlib\&quot;
-DPACKAGE_VERSION=\&quot;0.7.6\&quot; &quot;-DPACKAGE_STRING=\&quot;ClanLib 0.7.6\&quot;&quot;
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DPACKAGE=\&quot;clanlib\&quot; -DVERSION=\&quot;0.7.6\&quot;
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DUSE_I386_ASSEMBLER=1
-DUSE_DYN=1 -DHAVE_FSTAB_H=1 -DHAVE_LIBZ=1 -I. -I. -I/usr/X11R6/include
-march=athlon-xp -O2 -pipe -I../../Sources/ -Werror -MT Socket/socket_generic.lo
-MD -MP -MF Socket/.deps/socket_generic.Tpo -c Socket/socket_generic.cpp -o
Socket/socket_generic.o &gt;/dev/null 2&gt;&amp;1
make[2]: Leaving directory
`/var/tmp/portage/clanlib-0.7.6/work/ClanLib-0.7.6/Sources/Network&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/clanlib-0.7.6/work/ClanLib-0.7.6/Sources&apos;
make: *** [all-recursive] Error 1
 
!!! ERROR: dev-games/clanlib-0.7.6 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-mm2)
=================================================================
System uname: 2.6.0-test9-mm2 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;sandbox ccache autoaddcvs&quot;
GENTOO_MIRRORS=&quot;http://gentoo.inode.at http://gentoo.oregonstate.edu&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts aalib bonobo svga tcltk java guile X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla
gphoto2 ldap cdr scanner dvd gtk2 samba xfs moznoirc moznomail moznocompose tiff
dvdr nptl&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-11-15 13:26:05 0000</bug_when>
            <thetext>*** Bug 33554 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-11-15 14:37:11 0000</bug_when>
            <thetext>added a small patch to change size of the port variable from &apos;unsigned short&apos; (which has a max value of 65535) to &apos;unsigned int&apos; (which is much larger)

this fix comes from Sigurd Stordal &lt;polarbear42@phreaker.net&gt;, thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>