Kobo Deluxe fails to build on ppc early during the process of compile. >>> Emerging (1 of 1) games-arcade/kobodeluxe-0.4.1 to / >>> Downloading 'http://64.50.236.52/distfiles/KoboDeluxe-0.4.1.tar.bz2' --08:56:09-- http://64.50.236.52/distfiles/KoboDeluxe-0.4.1.tar.bz2 => `/usr/portage/distfiles/KoboDeluxe-0.4.1.tar.bz2' Connecting to 64.50.236.52:80... connected. HTTP request sent, awaiting response... 404 Not Found 08:56:09 ERROR 404: Not Found. >>> Downloading 'http://gentoo.osuosl.org/distfiles/KoboDeluxe-0.4.1.tar.bz2' --08:56:09-- http://gentoo.osuosl.org/distfiles/KoboDeluxe-0.4.1.tar.bz2 => `/usr/portage/distfiles/KoboDeluxe-0.4.1.tar.bz2' Resolving gentoo.osuosl.org... 64.50.236.52, 64.50.238.52 Connecting to gentoo.osuosl.org|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 802,115 (783K) [application/x-tar] 100%[====================================>] 802,115 474.41K/s 08:56:11 (473.54 KB/s) - `/usr/portage/distfiles/KoboDeluxe-0.4.1.tar.bz2' saved [802115/802115] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking KoboDeluxe-0.4.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking KoboDeluxe-0.4.1.tar.bz2 to /var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work icons/ icons/KDE/ icons/KDE/icons/ icons/KDE/icons/16x16/ icons/KDE/icons/16x16/kobodl.png icons/KDE/icons/22x22/ icons/KDE/icons/22x22/kobodl.png icons/KDE/icons/32x32/ icons/KDE/icons/32x32/kobodl.png icons/KDE/icons/48x48/ icons/KDE/icons/48x48/kobodl.png icons/KDE/icons/64x64/ icons/KDE/icons/64x64/kobodl.png icons/KDE/icons/128x128/ icons/KDE/icons/128x128/kobodl.png icons/KDE/kobo-deluxe.desktop icons/Win32/ icons/Win32/kobodl.ico icons/Ubuntu/ icons/Ubuntu/kobodeluxe.desktop icons/Ubuntu/kobo-icon.xpm >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work/KoboDeluxe-0.4.1 ... * econf: updating KoboDeluxe-0.4.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating KoboDeluxe-0.4.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-opengl --build=powerpc-unknown-linux-gnu checking build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking target system type... powerpc-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc-unknown-linux-gnu-gcc accepts -g... yes checking for powerpc-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of powerpc-unknown-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... powerpc-unknown-linux-gnu-gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking target platform and install style... GNU/Linux; Un*x style checking for debug build... no checking for powerpc-unknown-linux-gnu-gcc... (cached) powerpc-unknown-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether powerpc-unknown-linux-gnu-gcc accepts -g... (cached) yes checking for powerpc-unknown-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of powerpc-unknown-linux-gnu-gcc... (cached) gcc3 checking for powerpc-unknown-linux-gnu-g++... powerpc-unknown-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether powerpc-unknown-linux-gnu-g++ accepts -g... yes checking dependency style of powerpc-unknown-linux-gnu-g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for powerpc-unknown-linux-gnu-ranlib... powerpc-unknown-linux-gnu-ranlib checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for IMG_Load in -lSDL_image... yes checking for OpenGL support... Disabled checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking SDL/SDL_opengl.h usability... yes checking SDL/SDL_opengl.h presence... yes checking for SDL/SDL_opengl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for strdup... yes checking for strstr... yes checking for strchr... yes checking for strrchr... yes checking for snprintf... yes checking for _snprintf... no checking for vsnprintf... yes checking for _vsnprintf... no checking for pow... yes checking for sqrt... yes checking for munmap... yes checking for mkdir... yes checking for select... yes checking for stat... yes checking for atexit... yes checking for floor... yes checking for memmove... yes checking for memset... yes checking for memcmp... yes checking for gettimeofday... yes checking for getegid... yes checking for setgid... yes checking for working memcmp... yes checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking whether powerpc-unknown-linux-gnu-gcc needs -traditional... no checking for OSS audio support... Disabled checking sys/asoundlib.h usability... yes checking sys/asoundlib.h presence... yes checking for sys/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes checking for ALSA audio support... Disabled checking for Extreme Pickyness Mode... no checking if we should use ElectricFence... no configure: creating ./config.status config.status: creating Makefile config.status: creating Info.plist config.status: creating graphics/Makefile config.status: creating sound/Makefile config.status: creating data/Makefile config.status: creating data/sfx/Makefile config.status: creating data/gfx/Makefile config.status: creating eel/Makefile config.status: creating aconfig.h config.status: aconfig.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work/KoboDeluxe-0.4.1' Making all in graphics make[2]: Entering directory `/var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work/KoboDeluxe-0.4.1/graphics' if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT cs.o -MD -MP -MF ".deps/cs.Tpo" -c -o cs.o cs.c; \ then mv -f ".deps/cs.Tpo" ".deps/cs.Po"; else rm -f ".deps/cs.Tpo"; exit 1; fi if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sprite.o -MD -MP -MF ".deps/sprite.Tpo" -c -o sprite.o sprite.c; \ then mv -f ".deps/sprite.Tpo" ".deps/sprite.Po"; else rm -f ".deps/sprite.Tpo"; exit 1; fi if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT filters.o -MD -MP -MF ".deps/filters.Tpo" -c -o filters.o filters.c; \ then mv -f ".deps/filters.Tpo" ".deps/filters.Po"; else rm -f ".deps/filters.Tpo"; exit 1; fi if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT glSDL.o -MD -MP -MF ".deps/glSDL.Tpo" -c -o glSDL.o glSDL.c; \ then mv -f ".deps/glSDL.Tpo" ".deps/glSDL.Po"; else rm -f ".deps/glSDL.Tpo"; exit 1; fi if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT gfxengine.o -MD -MP -MF ".deps/gfxengine.Tpo" -c -o gfxengine.o gfxengine.cpp; \ then mv -f ".deps/gfxengine.Tpo" ".deps/gfxengine.Po"; else rm -f ".deps/gfxengine.Tpo"; exit 1; fi if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=750 -Os -pipe -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.cpp; \ then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi window.cpp: In member function ‘void window_t::invalidate(SDL_Rect*)’: window.cpp:189: error: ‘glSDL_Invalidate’ was not declared in this scope window.cpp:194: error: ‘glSDL_Invalidate’ was not declared in this scope window.cpp: In member function ‘void window_t::center_token_fxp(int, int, const char*, char)’: window.cpp:400: warning: comparison is always false due to limited range of data type make[2]: *** [window.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work/KoboDeluxe-0.4.1/graphics' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-arcade/kobodeluxe-0.4.1/work/KoboDeluxe-0.4.1' make: *** [all] Error 2 I used gcc-4.2.2 but also tried 4.1.1. emerge --info Portage 2.1.4_rc7 (default-linux/ppc/ppc32/2007.0/desktop, gcc-4.1.1, glibc-2.7-r0, 2.6.20-gentoo-r2-ibook-SE-g3 ppc) ================================================================= System uname: 2.6.20-gentoo-r2-ibook-SE-g3 ppc 740/750 Timestamp of tree: Wed, 05 Dec 2007 05:46:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="ppc ~ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=750 -Os -pipe -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-mcpu=750 -Os -pipe -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://64.50.236.52/ http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/randk/.portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aac acl alsa apm ati berkdb bitmap-fonts cairo cdrom cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox freetype ftp gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mime mp3 mpeg mudflap ncurses nls nodocs nptl nptlonly ogg openmp oss pam pcre pdf perl png ppc pppd python qt3support quicktime readline reflection samba sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xml xorg xv zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1.emerge kobodeluxe 2. 3.
This is exposed by disabling the opengl use flag. If you say USE=opengl emerge kobodeluxe it should work. Hopefully the code will be fixed up in the next release.
Ah, that did it. OpenGL isn't installed on this thing but it works alright.