First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67367
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Csaba Tóth <tsabi-gentoo@tsabi.hu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67367 depends on: Show dependency tree
Bug 67367 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-13 04:45 0000
apache can't compile on my machines:

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12'
Making all in man
make[2]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/man'
Making all in src
make[2]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/src'
source='apachetop.cc' object='apachetop.o' libtool=no \
depfile='.deps/apachetop.Po' tmpdepfile='.deps/apachetop.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I yes/include -I yes/include  -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -pthread -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 \
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I yes/include -I yes/include  -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -pthread -c -o log.o `test -f log.cc || echo './'`log.cc
In file included from apachetop.h:231,
                 from log.cc:1:
hits_circle.h:25: error: using typedef-name `Hits_Circle::circle_struct' after `struct'
make[2]: *** [log.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from apachetop.h:231,
                 from apachetop.cc:5:
hits_circle.h:25: error: using typedef-name `Hits_Circle::circle_struct' after `struct'
apachetop.cc: In function `int main(int, char**)':
apachetop.cc:89: warning: passing NULL used for non-pointer converting 2 of `void* memset(void*, int, size_t)'
make[2]: *** [apachetop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12'
make: *** [all] Error 2

!!! ERROR: app-admin/apachetop-0.12 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1. emerge apachetop
2.
3.




emerge info:

kiki 3.3 # emerge info
Portage 2.0.51_rc9 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.icd.hu/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aac accounting acpi acpi4linux alsa apache2 apm arts audiofile avi
bcmath berkdb bitmap-fonts bootsplash bzlib cdb cdparanoia cdr cdrom clamac
clamav crypt ctype cups curl curlwrappers dbase dbm devfs devfs26 directfb
divx4linux dlloader dv dvb dvd dvdr dvdread encode esd exif f77 fam fbcon fftw
flac foomaticdb freetype fs ftp gcj gd gdbm geoip ggi gif gimp gimpprint gmp
gnutls gphoto2 gpm gtk gtk2 guile hal iconv icq image imagemagick imap imlib
inifile intl irda jack javajavascript jikes jpeg jpeg2k junit kde lcd lcms
lesstif libg++ libwww lirc live lm_sensors lzo lzw lzw-tiff mad mcal memlimit
mhash mikmod mime mixer mmap mmx mmx2mng motif mozcalendar mozdevelop mozilla
mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn nas ncurses nethack network nls
nptl ntlm nvidia objc odbc oggvorbis openal opengl openssh oscar pam
parse-clocks pcap pcmcia pcntl pcre pdf pdflib perl pic png pnp posix postgres
ppds pthreads pwdb python qt quicktime readline recode samba scanner sdl shared
sharedmem simplexml skey slang smartcard smime sms sockets speex spell sse sse2
ssl svg svga sysvipc tcltk tcpd theora threads tidy tiff transcode truetype
type1 unicode usb userlocales v4l v4l2 virus-scan vnc wmf wxwin wxwindows x86
xfs xine xinerama xinetd xml xml2 xmlrpc xmms xpm xprint xscreensaver xv xvid
yahoo zlib linguas_hu linguas_en"

------- Comment #1 From Stuart Herbert (RETIRED) 2004-10-15 04:19:12 0000 -------
Looks like a problem w/ the C++ changes in gcc-3.4.  Thanks for letting us
know.

Best regards,
Stu

------- Comment #2 From Csaba Tóth 2004-10-23 11:11:44 0000 -------
ok, but what should i do?
was it fixed, like in the ebuild, that it works just an older gcc?

------- Comment #3 From Daniel Webert 2004-11-23 13:24:13 0000 -------
cant compile problem overhere also ...

<snip>
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12'
Making all in man
make[2]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/man'
Making all in src
make[2]: Entering directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12/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 yes/include  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -pthread -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 yes/include  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -pthread -c -o log.o `test -f log.cc || echo './'`log.cc
source='inlines.cc' object='inlines.o' libtool=no \
depfile='.deps/inlines.Po' tmpdepfile='.deps/inlines.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I yes/include -I yes/include  -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -pthread -c -o inlines.o `test -f inlines.cc || echo './'`inlines.cc
In file included from apachetop.h:231,
                 from inlines.cc:1:
hits_circle.h:25: error: using typedef-name `Hits_Circle::circle_struct' after `struct'
In file included from apachetop.h:231,
                 from log.cc:1:
hits_circle.h:25: error: using typedef-name `Hits_Circle::circle_struct' after `struct'
make[2]: *** [inlines.o] Error 1
make[2]: *** Waiting for unfinished jobs....
log.cc: In member function `virtual int CommonLogParser::parse(char*, logbits*)':
log.cc:75: error: using typedef-name `adns_queryflags' after `enum'
log.cc:119: error: using typedef-name `adns_queryflags' after `enum'
make[2]: *** [log.o] Error 1
In file included from apachetop.h:231,
                 from apachetop.cc:5:
hits_circle.h:25: error: using typedef-name `Hits_Circle::circle_struct' after `struct'
apachetop.cc: In function `int main(int, char**)':
apachetop.cc:89: warning: passing NULL used for non-pointer converting 2 of `void* memset(void*, int, size_t)'
make[2]: *** [apachetop.o] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apachetop-0.12/work/apachetop-0.12'
make: *** [all] Error 2

!!! ERROR: app-admin/apachetop-0.12 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

porkoo ~ # 
</snip>

<snip>
porkoo ~ # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-cko3 i686)
=================================================================
System uname: 2.6.9-cko3 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.6
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks loadpolicy sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="GAPING_SECURITY_HOLE X X509 Xaw3d aac aalib acl adns aim alsa amd apache2 apm arts artswrappersuid async audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo bzlib calendar cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client codecs cpdflib crypt css ctype cups curl curlwrappers dba dedicated devmap dillo dio disablekernelsupport distcache distribution divx4linux dnd dts dv dvd dvdr dvdread edl encode erandom escreen esd estraier ethereal etwin evms2 exif f77 faac faad fam fbcon ffmpeg flac flash flatfile flood fmod font-server foomaticdb fortran fpx freetype fs ftp ftruncate fusion gb gd gdbm geoip ggi gif gimp gkrellm glut gphoto2 gpm gps gs gtk gtk2 gtkhtml hbci hub iconv icq ieee1394 imagemagick imap imlib imlib2 immqt immqt-bc inifile innodb intl ipv6 ipv6arpa ithreads jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice lcd lcms ldap libcaca libg++ libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbox mcal md5sum memlimit mhash mikmod mime ming mixer mmx mmx2 mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn multipleip mysql nas ncurses net network neural nis nls nntp nowin nptl ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres prelude procmail python qt quicktime quotes readline real rplay rtc sdl server session sftplogging silc silverxp skey slang smartcard smime sndfile snmp soap sockets socks5 softmmu speex spell sse sse2 ssl stats streamzap stroke subject-rewrite svg svga szip tcltk tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts uml unicode uptimed usb userlocales uudeview v4l v4l2 vda vhosts vim-with-x virus-scan wmf wsconvert x86 xanim xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zlib linguas_en linguas_de linguas_es"
</snip>

------- Comment #4 From Benedikt Böhm 2005-02-06 00:02:33 0000 -------
i bumped the ebuild to 0.12.5 which fixes the compile issues, though it still
doesn't recognizes --with or --without swithches correctly (it just looks for
header files to enable certain functionality)

------- Comment #5 From Aaron Walker (RETIRED) 2005-02-06 04:42:50 0000 -------
*** Bug 73399 has been marked as a duplicate of this bug. ***

------- Comment #6 From Csaba Tóth 2005-02-06 09:29:48 0000 -------
ok, it was compiled nicely :) thanks.

------- Comment #7 From Luca Longinotti 2006-06-05 12:26:42 0000 -------
I confirm it works fine now, closing.
Best regards, CHTEKK.

First Last Prev Next    No search results available      Search page      Enter new bug