Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39230 - log4cpp fails to compile
Summary: log4cpp fails to compile
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-24 00:05 UTC by Daniel Seix
Modified: 2004-02-02 00:47 UTC (History)
0 users

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


Attachments
The standard error of emerge log4cpp (stderr_output,9.19 KB, text/plain)
2004-01-24 00:12 UTC, Daniel Seix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Seix 2004-01-24 00:05:21 UTC
When I try to emerge log4cpp, it configures properly but fails to compile.

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

Actual Results:  
!!! ERROR: dev-libs/log4cpp-0.3.4b failed.
!!! Function src_compile, Line 17, Exitcode 2
!!! (no error message)


Expected Results:  
It shoud have emerged.

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-gentoo-r10)
=================================================================
System uname: 2.4.20-gentoo-r10 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/distribucions/gentoo
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=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apache2 apm arts avi berkdb bonobo bsh cdr crypt
cups dga directfb doc dv dvd emacs encode esd fbcon flash foomaticdb gb gd gdbm
gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde kerberos ldap leim libg++
libwww mad maildir mbox mcal mikmod mmx motif motiff mozilla mpeg mule mysql
ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png postgres python
qt quicktime readline samba sdl slang slp spell ssl svga tcltk tcpd tetex tiff
truetype usb wmf x86 xml2 xmms xv zlib linguas_ca"
Comment 1 Daniel Seix 2004-01-24 00:12:29 UTC
Created attachment 24330 [details]
The standard error of emerge log4cpp
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2004-02-01 16:42:54 UTC
Hi dseix

Thanks for the report. However I cannot reproduce your problem. I tried to build it with your C[XX]FLAGS ("-O3" is a common offender), but I cannot test it with -march=athlon-tbird. You might try downing it to i686 and see if that helps. 

Another possibility is that your version of gcc is problemmatic. However I have gcc-3.3.2 right now and it tested out fine. Moreover I see it was tested about a year ago with the older gcc version (I think 3.2 series) and apparently it was Ok as well. Do you experience any other build failures? May be try remerging gcc, or even cleanly remerging system? (emerge -e system)

I'll close this bug with needinfo for now. PLease reopen it if above tricks do not help or you can provide a bit more specificity..

George
Comment 3 Daniel Seix 2004-02-02 00:47:14 UTC
Hi George

Thank you very much for your time.
I re-emerged gcc and then everything went all right.

thanks again.