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

Bug 225803

Summary: net-dialup/linux-atm-2.5.0 fails to emerge with gcc-4.3.1
Product: Gentoo Linux Reporter: Vincent Pit <gentoo>
Component: [OLD] UnspecifiedAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: add #include <limits.h> to src/led/main.c

Description Vincent Pit 2008-06-10 21:39:56 UTC
emerge fails because src/led/main.c doesn't include limits.h. Patch attached.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.5.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.6-fuuka.profvince.com x86_64)
=================================================================
System uname: 2.6.25.6-fuuka.profvince.com x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Timestamp of tree: Tue, 10 Jun 2008 13:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -fomit-frame-pointer -ftree-vectorize -ftree-vectorizer-verbose=1 -pipe -DNDEBUG"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/modules.d /etc/revdep-rebuild /etc/terminfo /etc/udev /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-march=core2 -O3 -fomit-frame-pointer -ftree-vectorize -ftree-vectorizer-verbose=1 -pipe -DNDEBUG"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS=""
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/kvm"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X X509 Xaw3d a52 aac acl adns aim aio alsa amd64 amr amrnb amrwb apache2 ares async atm automount bash-completion berkdb bittorrent blas boehm-gc bzip2 cairo caps cblas cddb cdio cdr cjk cli cracklib crypt cscope ctype cups curl custom-cflags dbus dga divx djbfft djvu dri dts dvd dvdread ecc enblend encode erandom fam fastcgi fasttrack ffmpeg fftw firefox flac fltk fontconfig fortran ftp gd gd-external gdbm geoip gif glib glitz glut gmp gnutella gnutls gs gsl gstreamer gtk hal hdri icc iconv icq idn ifc imagemagick imlib innodb ipv6 isdnlog ithreads javascript jpeg jpeg2k kerberos lapack latex lcms ldap lm_sensors lzo mad magic matroska midi mikmod mime mmap mmx mmxext mng modplug mozdom mp2 mp3 mp4 mpeg mpeg2 mpi msn mudflap musepack mysql ncurses nls nntp nptl nptlonly nsplugin ntl ocaml ocamlopt ogg opengl openmp oss pam pari pcre pdf perl png posix postscript pppd ps qt4 quicktime rar readline realmedia reflection replytolist rle rtc samba sasl sdl sensord session sharedmem smp soundex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 svg syslog tcpd tga threads threadsafe tiff tomsfastmath truetype unicode usb vhosts vim-syntax vorbis wmp wxwindows x264 xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x     ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3       trident usb-audio via82xx via82xx-modem ymfpci" 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 dbd" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vincent Pit 2008-06-10 21:40:29 UTC
Created attachment 156287 [details, diff]
add #include <limits.h> to src/led/main.c
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-06-10 23:09:10 UTC
I've fixed that already. Re-sync your tree and try again.

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