Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198488 - games-emulation/yabause-0.9.1 build failure "INT_MAX undeclared"
Summary: games-emulation/yabause-0.9.1 build failure "INT_MAX undeclared"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-08 20:17 UTC by Ivan D Vasin
Modified: 2007-11-12 11:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2007-11-08 20:17:35 UTC
After upgrading to linux-headers-2.6.23, the yabause upgrade fails to build:

cd-linux.c: In function ‘LinuxCDGetStatus’:
cd-linux.c:139: error: ‘INT_MAX’ undeclared (first use in this function)
cd-linux.c:139: error: (Each undeclared identifier is reported only once
cd-linux.c:139: error: for each function it appears in.)

This seems to be the same issue as in http://bugs.gentoo.org/show_bug.cgi?id=196037.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-kamikaze5 i686)
=================================================================
System uname: 2.6.23-kamikaze5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Thu, 08 Nov 2007 16:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
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.4_p6, 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="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.wpi.edu/gentoo  http://mirrors.acm.cs.rpi.edu/gentoo/  http://distfiles.gentoo.org  http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK=""
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=""
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/lila-theme /usr/portage/local/layman/pro-audio /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/initng /usr/portage/local/layman/xeffects /usr/portage/local/layman/netscape /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib acpi administrator aim akode alias alsa amarok amazon amr animgif ansi ao apache2 apm arts artswrappersuid aspnet2 async athena auctex audacious audiofile autoipd automount avahi avalon-framework avalon-logkit backtrace bash-completion battery bcmath bdf beagle berkdb bidi big-tables binfilter bitmap-fonts bittorrent blas blender-game boost branding bzip2 cairo calendar caps cardbus cdda cddb cdinstall cdio cdparanoia cdr chm clamav clearcase cli colordiff connectionstatus console contactnotes contentcache corba cpudetection cpufreq cracklib crypt cscope css ctype cups curl curlwrappers cursors cvs cvsgraph daap dbus depth32 device-mapper devil directfb disassembler divx djbfft djvu dnd dri dts dvd dvdnav dvdr dvdread dynamicplugin eap-tls ecc emacs emerald emovix enca encode enscript eolconv epydoc erandom exif expat extra-cardsets extraengine fam fame fastbuild fasttrack fbcon fbsplash ffmpeg fftw finger firefox flac flash flatfile flexresp2 fltk foomaticdb fortran fpx ftp fuse g15 gd gdbm gif gimpprint glade glib glibc-compat20 glibc-omitfp glitz glut gmedia gmp gnutella gnutls gpgme gphoto2 gpm graphviz gs gsm gstreamer gtk gtkhtml hal hash hddtemp highlight history hou howl-compat hpn http httpd icons iconv icq icu id3 id3tag idn ieee1394 image imagemagick inifile inline innodb inode ipod ipv6 isdnlog ithreads jabber jack java java-internal java5 javascript jbig jce jikes jingle jms jmx jpeg jpeg2k junit kcal kde kdeenablefinal kdehiddenvisibility kdexdeltas kdm kerberos kig-scripting kqemu lame lapack latex lcms ldap ldap-sasl lesstif libcaca libgcrypt libnotify libsamplerate libtommath libvisual libwww live llvm lm_sensors logitech-mouse lzo lzw mad magic maps math matroska md5sum mdnsresponder-compat mhash midi mikmod mime ming mjpeg mmap mmx mmxext mng mod modplug mono motif mozdom mozembed mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mtp mudflap multiuser musepack music musicbrainz mysql mysqli ncurses net netjack network network-cron new-clx newspr nfs nis nls nntp nocd nowin nowlistening nptl nptlonly nsplugin ntfs numeric nvidia oav offensive ogg openal openexr opengl openmp openssl opensslcrypt oscar pam pango pccts pch pcmcia pcntl pcre pdf pdo-external perfprofiling perl perlsuid pertty php physfs plib plotutils plugins png pnm pop posix postproc ppds pppd prediction prelude profile psyco pyste python qt-static qt3 qt3support qt4 query-browser quicktime rar rdesktop react readline real realmedia reflection reiser4 reiserfs remix replaygain replytolist rtc rtsp samba sasl scenarios sdl sdl-image sensord server session shorten simplexml skins slang slp smime sms smtp sndfile snmp snortsam soap sockets socks5 sou sound soundex sounds sox speex spell spl sql sqlite sqlite3 srp srt sse sse2 ssl startup-notification statistics stream subversion suhosin svg svga svgz swat swig syslog sysvipc szip taglib tagwriting tcl tcpd tetex texteffect textures tga theora threads thunderbird tidy tiff timestats timidity tk tokenizer tomsfastmath toolbar toolkit-scroll-bars tordns translator transparency trayicon truetype truetype-fonts twolame type1-fonts unicode upnp urandom usb userlocales userpriv utempter vcd vcdx vhosts videos vim vim-pager vim-syntax vim-with-x visualization vlm vncviewer voice vorbis vorbis-psy wavpack webdav webpresence wideband wifi win32codecs winbind wireshark wma wmf wmp wordexp workbench wxwindows x264 x86 xanim xattr xcb xcomposite xemacs xface xforms xft xine xinerama xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrender xscreensaver xsl xulrunner xv xvid xvmc xvnc yv12 zip zlib zoran" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="g15 ncurses text xosd" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-11-08 22:28:50 UTC
No, the source doesn't use INT_MAX.  It's a linux-header problem.
Comment 2 SpanKY gentoo-dev 2007-11-12 06:49:22 UTC
use linux-headers-2.6.23-r1
Comment 3 Ivan D Vasin 2007-11-12 11:38:07 UTC
linux-headers-2.6.23-r1 indeed fixed the issue