Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234896 - gnome-extra/gnome-system-monitor-2.22.3 compile failure: lo.cpp: floor, ceil, pow log10 are not a member of std.ad-graph
Summary: gnome-extra/gnome-system-monitor-2.22.3 compile failure: lo.cpp: floor, ceil,...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 09:41 UTC by Alexandre Becholey
Modified: 2010-01-18 14:56 UTC (History)
0 users

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


Attachments
gnome-system-monitor build.log (gnome_system_monitor_build.log,29.09 KB, text/plain)
2008-08-16 09:42 UTC, Alexandre Becholey
Details
Patch file to go in gnome-extras/gnome-system-monitor/files (gnome-system-monitor-2.22.3-r1.patch,312 bytes, patch)
2008-08-20 10:18 UTC, Trevor Hinkley
Details | Diff
Ebuild for the patched gnome-system-monitor (gnome-system-monitor-2.22.3-r1.ebuild,1.05 KB, text/plain)
2008-08-20 10:19 UTC, Trevor Hinkley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Becholey 2008-08-16 09:41:10 UTC
I was updating my system (I also changed some of my USEs):
# eix-sync
# emerge -uavN system
# emerge -uavN world
and after a lot of packages installed, gnome-system-monitor failed to compile (it wasn't the first one, I managed to solve the problem for the others but for this one there isn't any hints or bug report to look at...). The result is the same if I use gcc 3.4.6 or 4.1.2.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge gnomes-system-monitor or gnome or world
2. Wait
3. It always fails to compile at the same step

Actual Results:  
emerge stops


### emerge --info ###

$ emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Fri, 15 Aug 2008 10:15:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r5, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch"
LANG="C"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acc acl alsa amd64 avi bash-completion berkdb bzip2 cdr cli cracklib crypt css cups dri dvd dvdr dvdread esd ffmepg flac fortran gdbm gif gimp gnome gpm gtk gtk2 hal iconv ipv6 isdnlog jpeg midi mmx mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ntpl nvidia ogg opengl openmp pam pcre perl php png pppd python readline reflection session spl sse sse2 ssl symlink sysfs tcpd unicode vcd xorg zlib" ALSA_CARDS="ca0106" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Alexandre Becholey 2008-08-16 09:42:04 UTC
Created attachment 163020 [details]
gnome-system-monitor build.log
Comment 2 Trevor Hinkley 2008-08-20 10:18:48 UTC
Created attachment 163374 [details, diff]
Patch file to go in gnome-extras/gnome-system-monitor/files
Comment 3 Trevor Hinkley 2008-08-20 10:19:22 UTC
Created attachment 163375 [details]
Ebuild for the patched gnome-system-monitor
Comment 4 Trevor Hinkley 2008-08-20 10:20:27 UTC
This bug was caused by the inclusion of <math.h> rather than <cmath> in load-graph.cpp. The above patch resolved fully this problem for me.
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2008-08-21 03:10:52 UTC
This compiles fine for me, even with gcc-4.1.2 (I hit another issue at link time, but this is after load-graph.c is compiled and might be because of the abrupt change in gcc).

Also, AFAIK, using math,h or cmath should not make a difference. Still, I'm not sure why this is happening.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-29 23:18:54 UTC
worksforme, works for people I know irl using stable box. If you can still reproduce with 2.22.4 or later, please wave at us.
Comment 7 Jacek Trubłajewicz 2009-01-23 23:40:15 UTC
Still happens for me with 2.22.4 and 2.24.3

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.1, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.23-gentoo-r8-i686-AMD_Athlon-tm-_64_Processor_3700+-with-glibc2.0
Timestamp of tree: Fri, 23 Jan 2009 21:15:02 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/java-config/vms/ /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"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages moo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.edu.pl/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
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/portage/local/layman/desktop-effects /usr/portage/local/layman/roslin"
SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage"
USE="3dnow 3dnowext aac acl alsa berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdread fortran gdbm gnome gpm gtk gtk2 iconv isdnlog midi mmx mmx2 mmxext mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse ssl sysfs tcpd theora unicode win32codecs x264 x86 xorg zlib" ALSA_CARDS="via82xx au8820 cmipci" 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" KERNEL="linux" LCD_DEVICES="hd44780 ncurses text" LINGUAS="pl" LIRC_DEVICES="serial_igor_cesko" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Chris 2009-01-27 06:25:51 UTC
I'm am also seeing this same bug with with 2.22.4

emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.18-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.0
Timestamp of tree: Sun, 25 Jan 2009 17:05:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.4.3-r1, 1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dv dvb dvd dvdnav dvdr dvdread eds emacs emboss encode esd evo faad fam ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk hal icc iconv ipv6 isdnlog java jpeg kde kdeprefix ldap leim libnotify mad mbox midi mikmod mmx mozbranding mozilla mp3 mpeg mpi mplayer mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcltk tcpd tiff truetype unicode usb vorbis wav win32codecs x86 xanim xinerama xml xorg xulrunner 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia% nv vga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 9 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-31 20:43:42 UTC
Re-opening per above.  I can't reproduce it on my stable system either, tho.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-14 22:32:49 UTC
afaik this might simply be a glibc issue. dasher add a similar problem at some point for use of pow iirc.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-02 18:35:07 UTC
If anyone can reproduce with a stable toolchain and >=gnome-2.24, please reopen that bug. Upstream still uses math.h but there does not seem to be a lot of people hit by this problem so it's hard to tell what's going on.
Comment 12 Justin 2010-01-17 17:42:26 UTC
I am running into this issue with 2.26.2 and 2.28.0 using gcc 4.4.2

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.17-gentoo-r8-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_275-with-gentoo-1.12.10
Timestamp of tree: Sun, 17 Jan 2010 09:30:02 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.1, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.8.0
sys-apps/baselayout: 1.12.10-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.64
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, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dri dvd fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection session spl sse sse2 sse3 ssl sysfs tcpd truetype unicode xinerama xorg zlib" ALSA_CARDS="emu10k1 emu10k1x" 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Romain Perier (RETIRED) gentoo-dev 2010-01-18 14:56:44 UTC
Justin : emerge --info and full build.log please ?