Summary: | Openoffice 1.1.5 fails with compilation errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Graham Murray <graham> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | tiago.silva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Graham Murray
2005-09-14 23:07:00 UTC
Could you try to lower your CFLAGS to something generic (like march=pentium4 and remove the -fstack-protector part), OOo is very sensitive to CFLAGS so this might be the cause What probably happened is that some earlier project failed so those header files were not delivered to the solver tree. You might want to attach the full build log if Andreas' suggestion doesn't work. (In reply to comment #1) > Could you try to lower your CFLAGS to something generic (like march=pentium4 and > remove the -fstack-protector part), OOo is very sensitive to CFLAGS so this > might be the cause I have the same issue (my compilation stops at this point too), and I have more generic CFLAGS... emerge --info Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo i686) ================================================================= System uname: 2.6.12-gentoo i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-march=pentium4 -O3 -pipe" DCCC_PATH="/usr/lib/distcc/bin" DISPLAY=":0.0" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" FLTK_DOCDIR="/usr/share/doc/fltk-1.1.6/html" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="acsev-052" INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info" KDEDIRS="/usr" KDE_MALLOC="1" KERNEL="linux" LC_ALL="es_ES.utf8" LESS="-R -M" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAKEOPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man:/usr/qt/3/doc/man:/opt/vmware/man" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/opt/vmware/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="6347" PORTAGE_NICENESS="4" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8:/usr/lib/klibc" PWD="/root" PYTHONPATH="/usr/lib/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 X acpi alsa apm arts artworkextra avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dbus divx4linux dri dvd dvdr eds emboss encode fam firefox foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal howl i8x0 ieee1394 imlib jpeg ldap libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcmcia pdflib perl png ppds python quicktime readline samba sasl sdl spell sse sse2 ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vorbis win32codecs wmf xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" USER="root" USERLAND="GNU" USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC" XARGS="xargs -r" XAUTHORITY="/root/.xauthxLnrr2" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" After changing to CFLAGS="-march=pentium4 -O2 -pipe" and setting MAKEOPTS="-j1", openoffice-1.1.5 built sucessfully. That's weird, the only difference I can see to Borjas settings seem to be -O2 instead of -O3 (and the ebuild already does filter that), and the use of MAKEOPTS="-j2" which is not used by OOo. Paul, any ideas? Also: Borja: Are you sure this is the EXACT same bug? Could you post the last part of your output just to make sure? Graham: I would say that there is probably a bug in gcc nocona support (possibly in the sse3 code). The nocona is kindof new, so probably you've hit a bug in gcc. Borja: I can't really see the cause without a more complete build log. Are you sure that your pentium-m is actually pentium4 compatible? You might want to try -march=pentium-m instead, or if it is indeed a p4 compatible pentium 4 try -march=pentium4m It exit's with errors, can't compile 1.1.5 c++ -pthread -fexceptions -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -frtti -O -g -D_STLP_DEBUG locale.cpp -c -o ../lib/obj/GCCx86/DebugSTL/locale.o c++ -pthread -fexceptions -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -frtti -O -g -D_STLP_DEBUG locale_catalog.cpp -c -o ../lib/obj/GCCx86/DebugSTL/locale_catalog.o make: *** [../lib/obj/GCCx86/DebugSTL/locale_catalog.o] Error 1 dmake: Error code 2, while making ''./unxlngi4.pro/misc/build/so_built_so_stlport'' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.5/work/OOo_1.1.5/stlport emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://darkstar.ist.utl.pt/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bidi bitmap-fonts cdr crypt cups curl dvd dvdr dvdread eds emboss encode esd faad fam flac foomaticdb fortran gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad matroska mikmod motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang speex spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS @tiago silva: your build dies at a totally different point, so please open a seperate bug report. But first please check if you hard disc didn't fill up (OOo needs 4-6 Gigs to compile) and you had enough RAM (256 MB+). maybe you are rigth! I think i low on space...i don't have 5-6G free :( sorry my post We need more info here, Graham please see Comment #6 by Paul Until we get this, there is nothing we can do, so closing. Please reopen if you have more info |