Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] OpenOffice 2.3 fails to emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
labba
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 178
Location: 127.0.0.1

PostPosted: Tue Sep 18, 2007 1:15 pm    Post subject: [solved] OpenOffice 2.3 fails to emerge Reply with quote

Hi!

I get the following error when trying to merge openoffice 2.3:

Code:
=============
Building project oox
=============
/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
mkout -- version: 1.7
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx ../../unxlngi6.pro/misc/tokens.gperf
gperf --compare-strncmp --output-file=../../unxlngi6.pro/misc/_tokens.cxx ../../unxlngi6.pro/misc/tokens.gperf
dmake:  Error: -- gperf: No such file or directory
dmake:  Error code -1, while making '../../unxlngi6.pro/inc/tokens.cxx'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/oox/source/token
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.3.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openoffice-2.3.0.ebuild, line 331:   Called die
 *
 * Build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.3.0/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.5.0.12"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


emerge --info:
Code:
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-ck1 i686)
=================================================================
System uname: 2.6.20-ck1 i686 AMD Athlon(tm)
Timestamp of tree: Tue, 18 Sep 2007 08:30:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/overlay /root/overlay/xeffects/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa apm arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pnp ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x264 x86 xml xorg xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any ideas?


Last edited by labba on Wed Sep 19, 2007 12:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
j_c_p
Guru
Guru


Joined: 30 Aug 2003
Posts: 319
Location: France - Colmar

PostPosted: Tue Sep 18, 2007 1:41 pm    Post subject: Reply with quote

Hello labba,

Code:
dmake:  Error: -- gperf: No such file or directory


You should perhaps emerge gperf :wink:.
_________________
Lian Li PC60 - AMD FX 8300 - Asrock 990FX EXTREME9 - Gigabyte GTX960 G1 Gaming 4Go
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Sep 18, 2007 3:46 pm    Post subject: Reply with quote

And, if that does work, please file a "missing dependency" bug against openoffice to help the devs stabilize it. :)

- John
Back to top
View user's profile Send private message
rtiangha
n00b
n00b


Joined: 30 Apr 2005
Posts: 12

PostPosted: Tue Sep 18, 2007 4:54 pm    Post subject: Reply with quote

I've got sort of the same thing, however I've got gperf installed:

Code:

regmerge ../../../unxlngx6.pro/lib/pyuno_regcomp.rdb / ../../../unxlngx6.pro/lib/uno_types.rdb /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solver/680/unxlngx6.pro/bin/pyuno_services.rdb
start test with  dmake runtest
-------------
deliver -- version: 1.120

1 module(s):
        sax
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/sax/source/fastparser

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from sax"

make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.3.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openoffice-2.3.0.ebuild, line 329:   Called die
 *
 * Build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.3.0/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="." JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

 * Messages for package app-office/openoffice-2.3.0:

 *
 *  It is important to note that OpenOffice.org is a very fragile 
 *  build when it comes to CFLAGS.  A number of flags have already
 *  been filtered out.  If you experience difficulty merging this 
 *  package and use agressive CFLAGS, lower the CFLAGS and try to 
 *  merge again. Also note that building OOo takes a lot of time and
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are
 *  the minimum requirements. If you have less, use openoffice-bin
 *  instead.
 *
 *
 *  To get a localized build, set the according LINGUAS variable(s).
 *
 *
 * ERROR: app-office/openoffice-2.3.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openoffice-2.3.0.ebuild, line 329:   Called die
 *
 * Build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.3.0/temp/build.log'.


emerge --info:

Code:

Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Tue, 18 Sep 2007 14:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://adelie.polymtl.ca/ "
LANG="en_US.utf8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aim alsa amd64 anthy ao apache2 arts audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo calmav canna cdparanoia cdr chasen cjk cli composite cracklib crypt cscope ctype cups curl curlwrappers dbm dbus dbx dga directfb doc dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flatfile foomaticdb fortran freetds freewnn ftp gd gdbm geoip ggi gif gimp glitz glut gnome gnustep gnutls gphoto2 gpm gps graphviz gstreamer gtk hal hvm iconv icq ieee1394 imagemagick immqt-bc inifile ipod ipv6 isdnlog jabber jack java javascript jbig joystick jpeg jpeg2k junit kde kerberos lash ldap libg++ libsamplerate libwww lm_sensors lua mad matroska midi migemo mikmod mime mmap mmx mmxext mng mnogosearch mono motif mp3 mpeg mpi mplayer msn mudflap musepack musicbrainz mysql ncurses neXt nis nls nptl nptlonly nsplugin nvidia odbc ogg openal openexr opengl openmp oracle osc oscar oss pam pcmcia pcntl pcre pda pdf perl php plotutils png pni portaudio posix postgres ppds pppd pulseaudio python qemu qt3 qt3support qt4 quicktime rdesktop readline reflection ruby samba sasl scanner sdl session shorten simplexml sndfile snmp soap sockets sox speex spell spl sse sse2 sse3 ssl ssse3 svg szip tck tcktk tcpd theora threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts videos vim-syntax vorbis wifi wmf wxwindows x264 xcomposite xen xine xinerama xinetd xml xmlrpc xorg xosd xpm xprint xsl xv xvid xvmc yahoo yaz zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vmware vga nv v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I noticed that I didn't have dev-java/sax installed so I emerged that (version 2.2.1-r2) but that didn't help; still get the same error.

Any ideas?
Back to top
View user's profile Send private message
labba
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 178
Location: 127.0.0.1

PostPosted: Tue Sep 18, 2007 10:01 pm    Post subject: Reply with quote

Alright, I will emerge gperf and try again...

Meanwhile someone else already filed a bug about that problem: https://bugs.gentoo.org/show_bug.cgi?id=192937
Back to top
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Wed Sep 19, 2007 6:45 am    Post subject: Reply with quote

After emerging gperf manually, it compiled perfectly.
_________________
Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front!
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Wed Sep 19, 2007 11:51 am    Post subject: Reply with quote

I couldnt compile 2.3.0 also. If gperf is a dependency shouldnt developers add this rule on the ebuild or not? :?
Back to top
View user's profile Send private message
labba
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 178
Location: 127.0.0.1

PostPosted: Wed Sep 19, 2007 12:01 pm    Post subject: Reply with quote

Hwoarang, have a look at the link I posted above. This bug is already fixed, but the new ebuild isn't in portage yet...
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Wed Sep 19, 2007 6:19 pm    Post subject: Reply with quote

oops sorry. I havent seen it :oops:. Thanks
Back to top
View user's profile Send private message
HePeR
n00b
n00b


Joined: 04 Oct 2002
Posts: 39

PostPosted: Wed Sep 19, 2007 8:30 pm    Post subject: Reply with quote

i got the same error , just installed gperf ... now attempting to recompile .

Hopefully i'll find out if it did the trick before i die of old age ;)
Back to top
View user's profile Send private message
SteveBallmersChair
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2006
Posts: 84
Location: Being thrown around in Redmond

PostPosted: Wed Sep 19, 2007 9:18 pm    Post subject: Reply with quote

rtiangha wrote:
I've got sort of the same thing, however I've got gperf installed:
I noticed that I didn't have dev-java/sax installed so I emerged that (version 2.2.1-r2) but that didn't help; still get the same error.

Any ideas?


I got the same error you did after installing gperf, so I installed sax and am giving it a go. I'll see if that does the trick, but my X2 4200+ isn't nearly as fast as your quad (you do have WANT_MP="true" set, don't you?) so it'll take a bit.

Update: I installed sax and it gave me the same "sax needs to be rebuilt" error that you got. I suppose I'll wait until the updated ebuild comes out.
_________________
Unix is user friendly- it is just picky who its friends are.
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Wed Sep 19, 2007 10:31 pm    Post subject: Reply with quote

I don't have sax installed, got the gperf error and after I emerged gperf, openoffice emerged ok. This is on a amd64 machine fyi.
Back to top
View user's profile Send private message
hiziki_gard
n00b
n00b


Joined: 05 Jan 2006
Posts: 50
Location: dark side of the moon

PostPosted: Sat Sep 22, 2007 10:33 pm    Post subject: Reply with quote

SteveBallmersChair wrote:
rtiangha wrote:
I've got sort of the same thing, however I've got gperf installed:
I noticed that I didn't have dev-java/sax installed so I emerged that (version 2.2.1-r2) but that didn't help; still get the same error.

Any ideas?


I got the same error you did after installing gperf, so I installed sax and am giving it a go. I'll see if that does the trick, but my X2 4200+ isn't nearly as fast as your quad (you do have WANT_MP="true" set, don't you?) so it'll take a bit.

Update: I installed sax and it gave me the same "sax needs to be rebuilt" error that you got. I suppose I'll wait until the updated ebuild comes out.


I got the same "sax needs to be rebuilt" error however after I set WANT_MP back to false the build was successful. :D
_________________
default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-hh5 x86_64
Back to top
View user's profile Send private message
SteveBallmersChair
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2006
Posts: 84
Location: Being thrown around in Redmond

PostPosted: Sat Sep 22, 2007 10:50 pm    Post subject: Reply with quote

hiziki_gard wrote:
SteveBallmersChair wrote:
rtiangha wrote:
I've got sort of the same thing, however I've got gperf installed:
I noticed that I didn't have dev-java/sax installed so I emerged that (version 2.2.1-r2) but that didn't help; still get the same error.

Any ideas?


I got the same error you did after installing gperf, so I installed sax and am giving it a go. I'll see if that does the trick, but my X2 4200+ isn't nearly as fast as your quad (you do have WANT_MP="true" set, don't you?) so it'll take a bit.

Update: I installed sax and it gave me the same "sax needs to be rebuilt" error that you got. I suppose I'll wait until the updated ebuild comes out.


I got the same "sax needs to be rebuilt" error however after I set WANT_MP back to false the build was successful. :D


I got the ebuild to build (finally) after following gentoo.gentoo's advice and installing all of those extra programs. I didn't have to disable WANT_MP but I don't think MP was working as I pretty much just saw one core doing all of the work and my build time was about 1.5-1.8x as long as it took to build 2.2.x.
_________________
Unix is user friendly- it is just picky who its friends are.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum