Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71261

Summary: openoffice-ximian-1.3.6 fails to compile (need X server running from root?)
Product: Gentoo Linux Reporter: Marcin Kryczek (RETIRED) <mkay>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcin Kryczek (RETIRED) gentoo-dev 2004-11-15 01:57:09 UTC
i've got pretty strange error during compilation:
-----------------
Making Imagelists:
-----------------
../../unxlngi4.pro/bin/bmp ../../unxlngi4.pro/srs/filepicker.srs ../../unxlngi4.pro/res/49 deut 49 -I ../../win/res -I /var/portage/tmp/portage/openoffice-ximian-1.3.6/work/OOo_1.1.3_src/res -f ../../unxlngi4.pro/misc/filepicker_img49.don
bmp: cannot connect to X server
dmake:  Error code 1, while making '../../unxlngi4.pro/misc/filepicker_img49.don'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/portage/tmp/portage/openoffice-ximian-1.3.6/work/OOo_1.1.3_src/svtools/source/filepicker

!!! ERROR: app-office/openoffice-ximian-1.3.6 failed.

why OO is trying to connect to x serwer? can it be coused by gcc-3.4.3?

here's my 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 i686)=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.6
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
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -pipe -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -fno-exceptions -fno-rtti"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks sandbox sfperms spinner"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ http://gentoo.prz.rzeszow.pl #http://src.gentoo.pl/distfiles ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/ ftp://ftp.rhnet.is/pub/gentoo/ http://www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.pl/gentoo-portage"
USE="3dnow X aalib alsa apache2 arts avi bitmap-fonts crypt cups dvd encode f77 fam fbcon fla fortran gd gif glut gphoto2 gpm gtk gtk2 imagemagick imlib imlib2 java javascript jikes jpeg lcms libwww mailwrapper mbox memlimit mikmod mmx motif mpeg mysql ncurses nls nocardbus nptl nvidia oggvorbis opengl oss pam pda perl png ppds python qt quicktime readline samba sasl sdl serial slang sse ssl tcpd tiff truetype userlocales v4l v4l2 videos vim-with-x wmf x86 xv xvid zlib"
Comment 1 Hanno Zysik (geki) 2004-11-15 04:11:32 UTC
have you tried without '-mfpmath=sse'. i listened that it breaks.
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2004-11-15 11:42:48 UTC
i've tried with: CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O2 -pipe" and i still go the same error
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-16 10:58:33 UTC
Could you please post a little bit more of the error output. Also: Do you still get that with 1.3.7?
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-01-16 15:13:57 UTC
yep. i still get that error in 1.3.7;/
i'm not sure how much of output you need. i'm pasting a bit. if you need more you can download it here: http://imdb.pl/~aye/8058-openoffice-ximian-1.3.7.log.bz2 (400kb - i wasn't sure if i should upload it to bugs)

Preprocessor commandline:  -I. -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngi4.pro/inc -I. -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solver/645/unxlngi4.pro/inc/stl -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solver/645/unxlngi4.pro/inc/external -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solver/645/unxlngi4.pro/inc -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solenv/unxlngi4/inc -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solenv/inc -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/res -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solver/645/unxlngi4.pro/inc/stl -I/var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/solenv/inc/Xp31 -I/opt/sun-jdk-1.4.2.06/include -I/opt/sun-jdk-1.4.2.06/include/linux -I/opt/sun-jdk-1.4.2.06/include/native_threads/include -I/usr/X11R6/include -I. -I../../res -I. -DUNX -DVCL -DGCC -DC300 -DSUPD=645 -DSOLAR_JAVA -DPRODUCT -DPRODUCT_FULL -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUPDVER="645" -DUPDVER="645" filepicker.src /var/portage/tmp/portage/openoffice-ximian-1.3.7/temp/fileKP1YQX


Preprocessor startline:  rscpp @/var/portage/tmp/portage/openoffice-ximian-1.3.7/temp/filesSzKuD
Rsc2 commandline:
rsc2
@/var/portage/tmp/portage/openoffice-ximian-1.3.7/temp/file6Dz7cj
-----------------
Making Imagelists:
-----------------
../../unxlngi4.pro/bin/bmp ../../unxlngi4.pro/srs/filepicker.srs ../../unxlngi4.pro/res/49 deut 49 -I ../../win/res -I /var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/res -f ../../unxlngi4.pro/misc/filepicker_img49.don
bmp: cannot connect to X server
dmake:  Error code 1, while making '../../unxlngi4.pro/misc/filepicker_img49.don'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/portage/tmp/portage/openoffice-ximian-1.3.7/work/OOo_1.1.3_src/svtools/source/filepicker

!!! ERROR: app-office/openoffice-ximian-1.3.7 failed.
!!! Function src_compile, Line 430, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-16 23:19:35 UTC
This is a duplicate, please see the advice in the other bug


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