Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256218 - emerge dev-util/codeblocks-8.02 fails with gcc 4.3
Summary: emerge dev-util/codeblocks-8.02 fails with gcc 4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jurek Bartuszek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2009-01-24 16:39 UTC by Nick Novikov
Modified: 2009-02-12 04:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,636.81 KB, text/plain)
2009-01-24 16:42 UTC, Nick Novikov
Details
patch (8.02-gcc-4.3.patch,470 bytes, patch)
2009-01-25 06:47 UTC, Nick Novikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Novikov 2009-01-24 16:39:17 UTC
dev-util/codeblocks-8.02 fails to emerge with error message:
In file included from man2html.cpp:123:
defs.h: In member function ‘unsigned int QByteArray::toUInt(bool*, int) const’:
defs.h:150: error: ‘strtoul’ is not a member of ‘std’

Maybe there's missing '#include <cstdlib>' somewhere in the sources.
gcc version is 4.3.2 (Gentoo 4.3.2-r2 p1.5, pie-10.1.4)


Reproducible: Always

Steps to Reproduce:
1. emerge codeblocks

Actual Results:  
 * ERROR: dev-util/codeblocks-8.02 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2966:  Called die
 * The specific snippet of code:
 *       emake || die "Died in action: make ..."
 *  The die message:
 *   Died in action: make ...


Expected Results:  
successful emerge

$ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_2.53GHz-with-glibc2.0
Timestamp of tree: Sat, 24 Jan 2009 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j2"
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/layman/sunrise /usr/local/portage/layman/yarik-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amr bash-completion berkdb bzip2 cairo cdda cddb cdio chardet chm cli consolekit contrib cracklib crypt cscope cups curl dbus djbfft djvu doc dri dts dvd encode examples exif expat fam ffmpeg flac fontconfig fortran gd gdbm gif git glib glibc-omitfp glitz gmp gpm graphviz gs gstreamer gtk hal htmlhandbook iconv icu id3tag idn imagemagick inotify isdnlog jpeg jpeg2k kde kdeprefix kipi lapack lcms libedit libnotify lm_sensors loop-aes lua lzma mad matroska midi mmap mmx mng mp3 mpeg mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf perl plugins png pppd python qt4 readline reflection ruby samba scrobbler session skins slang sndfile spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion suid svg sysfs tcl tcpd theora threads tiff tk toolbar tools truetype tunepimp unicode usb utils vim-syntax vnc vorbis wavpack win32codecs wma wmf x264 x86 xcb xcomposite xml xorg xpm xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nick Novikov 2009-01-24 16:42:03 UTC
Created attachment 179566 [details]
build.log
Comment 2 Nick Novikov 2009-01-25 06:47:03 UTC
Created attachment 179644 [details, diff]
patch
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-02-12 04:21:46 UTC
i can't reproduce this at all.  it builds fine for me.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2009-02-12 04:43:30 UTC
ah okay, it only fails with USE="contrib -pch"

fixed, thanks.