Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134861

Summary: clanlib-0.6.5-r3 fails to compile due to jpegdecoder.cpp issues
Product: Gentoo Linux Reporter: Nathan Sullivan <nathan>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nathan Sullivan 2006-05-29 20:26:04 UTC
Compiling Sources/SmallJPEG/jpgd/idct.cpp
Compiling Sources/SmallJPEG/jpgd/jidctfst.cpp
Compiling Sources/SmallJPEG/jpgd/jpegdecoder.cpp
Compiling Sources/Vorbis/vorbis_soundprovider_generic.cpp
Sources/API/Vorbis/../Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Vorbis/vorbis_setup.cpp
Compiling Sources/TTF/font_ttf.cpp
Sources/SmallJPEG/jpgd/jpegdecoder.cpp: In member function 'void* jpeg_decoder::alloc(int)':
Sources/SmallJPEG/jpgd/jpegdecoder.cpp:105: error: cast from 'void*' to 'uint' loses precision
Sources/SmallJPEG/jpgd/jpegdecoder.cpp: In member function 'void jpeg_decoder::init_frame()':
Sources/SmallJPEG/jpgd/jpegdecoder.cpp:1873: error: cast from 'uchar*' to 'uint' loses precision
Sources/SmallJPEG/jpgd/jpegdecoder.cpp:1883: error: cast from 'void*' to 'uint' loses precision
make: *** [Libs/Intermediate/jpegdecoder.o] Error 1
make: *** Waiting for unfinished jobs....
Sources/TTF/font_ttf.cpp: In member function 'virtual int CL_Font_TTF::get_text_width(const std::string&)':
Sources/TTF/font_ttf.cpp:178: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp: In member function 'virtual int CL_Font_TTF::get_char_width(char)':
Sources/TTF/font_ttf.cpp:186: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp: In member function 'virtual void CL_Font_TTF::print_left(int, int, float, float, const std::string&)':
Sources/TTF/font_ttf.cpp:226: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:228: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:230: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:230: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:230: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp: In member function 'virtual void CL_Font_TTF::put_target(int, int, const std::string&, CL_Target*, int)':
Sources/TTF/font_ttf.cpp:272: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:274: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:276: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:276: warning: array subscript has type 'char'
Sources/TTF/font_ttf.cpp:276: warning: array subscript has type 'char'

--------------------------------

Portage 2.1_rc3 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck3 x86_64)
=================================================================
System uname: 2.6.16-ck3 x86_64 AMD Opteron(tm) Processor 148
Gentoo Base System version 1.12.0
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlays/testing /usr/local/portage-overlays/gentoo-webapps-overlay/experimental"
SYNC="rsync://172.17.0.2/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli crypt cups curl dba debug divx4linux dri dvd dvdr emboss encode ethereal exif extraengine fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 icq idn imap imlib innodb ipv6 isdnlog jabber java jpeg kerberos lcms ldap libcaca logrotate lzw lzw-tiff mad mhash mng mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcntl pcre pdflib pear perl php png posix pppd python quicktime readline reflection ruby samba sdl session slang snmp soap sockets spell spl sqlite ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis wddx xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-09-03 18:44:24 UTC
clanlib-0.6 and users of it have been masked for removal.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 10:47:25 UTC

*** This bug has been marked as a duplicate of 146114 ***