Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91167 - epiphany 1.4.8 build failed with compiler errors
Summary: epiphany 1.4.8 build failed with compiler errors
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 06:29 UTC by Thomas Wabner
Modified: 2005-05-24 04:12 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 Thomas Wabner 2005-05-02 06:29:15 UTC
When I try to emerge epiphany, I get compiler errors in src/bookmarks. A emerge --regen or revdep-rebuild and so on won't work.

Reproducible: Always
Steps to Reproduce:
1. emerge epiphany with my configuration (see log output)
2.
3.

Actual Results:  
make[3]: Entering directory
`/var/tmp/portage/epiphany-1.4.8/work/epiphany-1.4.8/src/bookmarks'
make[3]: Warning: File
`/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-utils.h' has modification time
6e+05 s in the future
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../lib -I../../src
-I../../embed -I../../lib/widgets -I../../lib/egg -Wall -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -Werror  -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/libxml2
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0  
-DSHARE_DIR=\"/var/tmp/portage/epiphany-1.4.8/image//usr/share/epiphany\"
-DDATADIR=\""/var/tmp/portage/epiphany-1.4.8/image//usr/share"\"
-DGNOMELOCALEDIR=\""/var/tmp/portage/epiphany-1.4.8/image//usr/share/locale"\" 
   -O9 -pipe -march=pentium4 -funroll-all-loops -fforce-addr
-fomit-frame-pointer -ftracer -DREENABLE_FAST_EXECUTION -MT ephy-bookmarks.lo
-MD -MP -MF ".deps/ephy-bookmarks.Tpo" -c -o ephy-bookmarks.lo ephy-bookmarks.c; \
then mv -f ".deps/ephy-bookmarks.Tpo" ".deps/ephy-bookmarks.Plo"; else rm -f
".deps/ephy-bookmarks.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../lib
-I../../src -I../../embed -I../../lib/widgets -I../../lib/egg -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Werror
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libxml2
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0
-DSHARE_DIR=\"/var/tmp/portage/epiphany-1.4.8/image//usr/share/epiphany\"
-DDATADIR=\"/var/tmp/portage/epiphany-1.4.8/image//usr/share\"
-DGNOMELOCALEDIR=\"/var/tmp/portage/epiphany-1.4.8/image//usr/share/locale\" -O9
-pipe -march=pentium4 -funroll-all-loops -fforce-addr -fomit-frame-pointer
-ftracer -DREENABLE_FAST_EXECUTION -MT ephy-bookmarks.lo -MD -MP -MF
.deps/ephy-bookmarks.Tpo -c ephy-bookmarks.c  -fPIC -DPIC -o .libs/ephy-bookmarks.o
In file included from ephy-bookmarks.c:23:
../../config.h:14:1: "GNOMELOCALEDIR" redefined
<command line>:12:1: this is the location of the previous definition
make[3]: *** [ephy-bookmarks.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/epiphany-1.4.8/work/epiphany-1.4.8/src/bookmarks'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/epiphany-1.4.8/work/epiphany-1.4.8/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/epiphany-1.4.8/work/epiphany-1.4.8/src'
make: *** [install-recursive] Error 1


Expected Results:  
compile clean

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 10:19:26)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O9 -pipe -march=pentium4 -funroll-all-loops -fforce-addr
-fomit-frame-pointer -ftracer -DREENABLE_FAST_EXECUTION"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O9 -pipe -march=pentium4 -funroll-all-loops -fforce-addr
-fomit-frame-pointer -ftracer -DREENABLE_FAST_EXECUTION"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowex X Xaw3d aalib acpi adns alsa apache2 apm arts avi
bash-completion berkdb bidi bitmap-fonts cdparanoia cdr crypt cups curl directfb
divx4linux doc dvd dvdread edl emboss encode esd evo fam fbcon flac flash
foomaticdb fortran fpx gb gd gd-external gdbm ggi gif gimpprint gmp gnome gnome2
gpm graphviz gstreamer gtk gtk2 guile i8x0 imagemagick imlib innodb ipv6 jack
java jbig jikes joe jpeg junit kerberos krb4 lcms ldap libcaca libg++ libgda
libwww live lzo mad matroska mcal mdb memlimit mikmod mmx mmx2 mng motif
mozdevelop mozilla moznomail mozsvg mozxmlterm mp3 mpeg mssql mysql nas ncurses
network nls nntp oci8 odbc ogg oggvorbis opengl openoffice oss pam pda pdflib
perl png ppds python quicktime readline real rtc sdk sdl slang snmp spell sqlite
sse ssl svg svga symlink tcltk tcpd tetex tga theora threads tiff truetype
truetype-fonts type1-fonts v4l v4l2 vhosts vorbis wmf xanim xinerama xml xml2
xmlterm xmms xprint xv xvid xvmc yaz zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 foser (RETIRED) gentoo-dev 2005-05-02 08:18:07 UTC
sweet moses, -O9 ... you must be flying.

We say, recompile your system with sane cflags and we'll have a look.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-02 10:47:44 UTC
oh wow, I missed that foser -- I'm sorry about that -- ideally you shouldn't even have had to witness this bug report.
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-02 11:20:51 UTC
HOLY COW I'M TOTALLY GOING SO FAST OH F***
Comment 4 Thomas Wabner 2005-05-02 11:36:58 UTC
hehe ... whats your problem? my system runs stable for last 4 months and I got never problems ... but ok ... I will try to use *more stable* compiler flags to see if epiphany compiles than. 

Sorry, if you are ungree that a system with such compiler flags won't work.

But many thanks for your answers ... 
Comment 5 Tim Keitt 2005-05-02 18:12:33 UTC
Anyone ever notice this tid bit from the gcc man page?  

  -funroll-all-loops
           Unroll all loops, even if their number of iterations is uncertain
           when the loop is entered.  This usually makes programs run more
           slowly.  -funroll-all-loops implies the same options as -fun-
           roll-loops,


Read it twice if you didn't get it the first time...
Comment 6 Thomas Wabner 2005-05-24 04:12:48 UTC
with better USE flags it works now for me.

Thanks