Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146051 - app-admin/apachetop-0.12.5-r1 fails with gcc-4.1.1
Summary: app-admin/apachetop-0.12.5-r1 fails with gcc-4.1.1
Status: RESOLVED DUPLICATE of bug 130819
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 15:28 UTC by Ira Snyder
Modified: 2006-09-02 15:29 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 Ira Snyder 2006-09-02 15:28:39 UTC
irasnyd@ping ~ $ emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r3, 2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.noved.org/"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 authdaemond berkdb bzip2 calendar cgi clamav clamd cli crypt ctype cups curl dba dbus dlloader dri exif fastcgi gd gdbm gif gpm hal hpn iconv imap imlib2 ipalias ipv6 isdnlog jpeg libg++ logrotate maildir mailwrapper mpm-worker mysql mysqli ncurses nls no-htdocs nptl nptlonly offensive pam pcre perl php png posix postfix ppds pppd python readline reflection sasl session simplexml snmp soap spell spl ssl tcpd threads tokenizer truetype truetype-fonts type1-fonts udev unicode unzip usb vda xml xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


Here's the actual error:
================================================================
make[2]: Entering directory `/var/tmp/portage/apachetop-0.12.5-r1/work/apachetop-0.12.5/src'
source='apachetop.cc' object='apachetop.o' libtool=no \
depfile='.deps/apachetop.Po' tmpdepfile='.deps/apachetop.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I yes/include -I no/include -I no/include  -march=athlon -O2 -fomit-frame-pointer -pipe -c -o apachetop.o `test -f apachetop.cc || echo './'`apachetop.cc
source='log.cc' object='log.o' libtool=no \
depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I yes/include -I no/include -I no/include  -march=athlon -O2 -fomit-frame-pointer -pipe -c -o log.o `test -f log.cc || echo './'`log.cc
resolver.h:13: error: extra qualification 'Resolver::' on member 'Resolver'
resolver.h:14: error: extra qualification 'Resolver::' on member 'Resolver'
make[2]: *** [log.o] Error 1
make[2]: *** Waiting for unfinished jobs....
resolver.h:13: error: extra qualification 'Resolver::' on member 'Resolver'
resolver.h:14: error: extra qualification 'Resolver::' on member 'Resolver'
apachetop.cc: In function 'int main(int, char**)':
apachetop.cc:84: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)'
apachetop.cc:400: warning: passing NULL to non-pointer argument 1 of 'int select(int, fd_set*, fd_set*, fd_set*, timeval*)'
make[2]: *** [apachetop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/apachetop-0.12.5-r1/work/apachetop-0.12.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apachetop-0.12.5-r1/work/apachetop-0.12.5'
make: *** [all] Error 2

!!! ERROR: app-admin/apachetop-0.12.5-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  apachetop-0.12.5-r1.ebuild, line 33:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Solution:
=======================================================
Using the current ~x86 version works. That is 0.12.6 at the time of writing.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 15:29:36 UTC
141404

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