On my new laptop, after emerging lots of stuff, I finally got to Openoffice. However, openoffice failed to install and did so without any obvious error message or diagnostic that I could find. This first happened with a portage from earlier this week, using openoffice 1.1.3 Last night I discovered that 1.1.4 was released and (after updating everything else, including gcc to 3.3.5) tried again. However, 1.1.4 failed in exactly the same way. However, I have certainly been able to emerge openoffice before and in fact have progressed past this error on another gentoo box. The last few lines from the 1.1.4 emerge are listed here. I will attempt to attach a full 1.1.3 emerge output later. I can attach the full 1.1.4 emerge if requested. As we know from bug 48905, the gtk error listed below is no error. The reference to "src_install, Line 428" appears to be a reference to /var/tmp/portage/openoffice-1.1.4/temp/environment but that does not give me any clues as to what is going on. I'm starting a `strace`d build to see if that gives me any clues. Any help would be greatly appreciated last lines from openoffice 1.1.4 emerge ----------------------------------------------------------------------- Replacing ${EVAL} with Replacing ${FILEFORMATNAME} with OpenOffice.org Replacing ${FILEFORMATVERSION} with 1.0 Replacing ${LONG_PRODUCTEXTENSION} with Replacing ${PRODUCTEXTENSION} with Replacing ${PRODUCTNAME} with OpenOffice.org Replacing ${PRODUCTVERSION} with 1.1.4 time needed: 0:0:45 WARNING! Project(s): gtk not found and couldn't be built. Correct build.lsts. >>> Test phase [not enabled]: app-office/openoffice-1.1.4 >>> Install openoffice-1.1.4 into /var/tmp/portage/openoffice-1.1.4/image/ category app-office * Installing OpenOffice.org into build root... glibc version: 2.3.4 Initializing installation program.................... !!! ERROR: app-office/openoffice-1.1.4 failed. !!! Function src_install, Line 428, Exitcode 1 !!! Setup failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge openoffice 2. 3. Actual Results: Fails to install Expected Results: Install Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.4.16 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-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium3 -mmmx -msse -msse2 -funroll-loops -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -pipe" 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="-O2 -mcpu=pentium3 -mmmx -msse -msse2 -funroll-loops -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aac acl acpi anthy apm avi bash-completion bdf bluetooth bmp bzip2 bzlib caps cdparanoia cdrom chroot codecs cpdflib crypt css curl curlwrappers dbm dio directfb divx4linux droproot dts dvd dvdr dvdread emacs encode ethereal fax faxonly fb fbcon ffmpeg flac flatfile font-server fpx freetype ftp ftruncate gimp gnome gphoto2 gps graphviz gs gstreamer i8x0 idea imap imlib2 java jp2 jpeg jpeg2k kde lcms libwww live lzo lzw lzw-tiff matroska mbox md5sum mhash mime mimencode mjpeg mmap mmx mng mozsvg mp3 mpeg mpeg4 mplayer net network nptl nptlonly ntlm offensive opengl pcmcia pcre pda pdf pdfkit pdflib pnp posix quicktime real rtc scanner sdl skey sockets socks5 sox speex spell sse sse2 szip theora timidity truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vhosts vnc wmf xanim xforms xinetd xmlrpc xmms xscreensaver xslt xv xvid xvmc"
Created attachment 48423 [details] Emerge OpenOffice 1.1.3 (bzip2'd) The emerge output (compressed because it is 25mb uncompressed) is from an older emerge of 1.1.3, with the portage tree from earlier in the week. e.g. 2.3.4 gcc
Are you sure that you have enough disk space?
I think you need X running to run setup. Don't know why but it got me. Also I found I got * Installing OpenOffice.org into build root... /usr/lib/portage/bin/ebuild.sh: line 430: cd: /var/tmp/portage/openoffice-1.1.4/work/instsetoo//01/normal: No such file or directory /usr/lib/portage/bin/ebuild.sh: line 431: ./setup: No such file or directory This turned out to be because the correct path is /var/tmp/portage/openoffice-1.1.4/work/instsetoo/unxlngi4.pro/01/normal/setup (there's an 'unxlngi4.pro' directory added in). A symlink in the source tree then FEATURES="keepwork" emerge openoffice gets it installed without recompiling. Don't forget to clean out the directory afterwards!
I tried emerging again with DISPLAY set and pointed to a working X display. No visible change. I also did not have the diagnostic message you describe about ./setup I can attach the emerge output from 1.1.4 (with or without $DISPLAY) but there really was nothing different that I noticed from 1.1.3--it apparently died after "Initializing installation program...................." The strace experiement failed. I not 100MB in a few minutes until it hung during some java thingy. Any help would be appreciated. It would be nice to have a working openoffice.
Could you actually try to build it from inside of X (in a terminal) and see if that works, just to make sure?
I have the same problem with 1.1.4. The error message appears to be associated (in my case, at least) with the "setup" program found in directory /var/tmp/portage/openoffice-1.1.4/work/instsetoo/unxlngi4.pro/01/normal failing. It is called by line #457 of file "openoffice-1.1.4.ebuild". I don't know *why* it's failing, but it is.
@Doug: Could you please provide your output of emerge info and the relevant part of the build log (where it breaks and some stuff before)
I have the same problem on my Laptop. >>> Install openoffice-1.1.4 into /var/tmp/portage/openoffice-1.1.4/image/ category app-office * Installing OpenOffice.org into build root... glibc version: 2.3.4 Initializing installation program.................... !!! ERROR: app-office/openoffice-1.1.4 failed. !!! Function src_install, Line 431, Exitcode 1 !!! Setup failed But i think the problem is that you need at least 2-3gb free harddiskspace to compile OpenOffice and 4-5 gb to install OpenOffice.
I have 70GB free, so I don't think my problem is with disk space.
You are right. I deleted some things so that i now had 6gb of free space. And again the emerge stopped with this error: ------------------------------------------------------------- zip -j -5 "../unxlngi4.pro/01/normal/f_0422" "/var/tmp/portage/openoffice-1.1.4/work/solver/645/unxlngi4.pro/bin/dtappintegrate" adding: dtappintegrate (deflated 80%) optimize summary: 0 kb Replacing ${EVAL} with Replacing ${FILEFORMATNAME} with OpenOffice.org Replacing ${FILEFORMATVERSION} with 1.0 Replacing ${LONG_PRODUCTEXTENSION} with Replacing ${PRODUCTEXTENSION} with Replacing ${PRODUCTNAME} with OpenOffice.org Replacing ${PRODUCTVERSION} with 1.1.4 time needed: 0:1:56 WARNING! Project(s): gtk not found and couldn't be built. Correct build.lsts. >>> Test phase [not enabled]: app-office/openoffice-1.1.4 >>> Install openoffice-1.1.4 into /var/tmp/portage/openoffice-1.1.4/image/ category app-office * Installing OpenOffice.org into build root... glibc version: 2.3.4 Initializing installation program.................... !!! ERROR: app-office/openoffice-1.1.4 failed. !!! Function src_install, Line 457, Exitcode 1 !!! Setup failed !!! If you need support, post the topmost build error, NOT this status message. ------------------------------------------------------------- This is the second time that it stoped on line 457. My emerge --info: --------------------------------------------------------- Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.7-gentoo-r11 i686) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.4.16 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/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.inode.at 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.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups directfb encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib linguas_de" --------------------------------------------------------
YAError!! On my system every time there is an error on compileing openoffice, only with changing Lines: this time its line 471 in src_install. Should i try to clean/delete something from the old try of compileing OO1.1.4? --------------------------------------------------------------------------------- Initializing installation program.................... !!! ERROR: app-office/openoffice-1.1.4 failed. !!! Function src_install, Line 471, Exitcode 1 !!! Setup failed
Created attachment 50006 [details] Output from "emerge openoffice" As requested, here's all the emerge output, and also the results of "emerge info" ... Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 30 2004, 18:06:24)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.9.4, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mcpu=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mcpu=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt ctype cups curl curlwrappers dba dbase dbx doc dvd dvdr encode esd exif f77 fam flac font-server foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib inifile ipv6 java jpeg junit kde kerberos krb4 libg++ libwww mad mbox mikmod mime mmx motif mozilla mpeg mysql mysqli ncurses nls odbc oggvorbis openal opengl oss pam pcre pdflib perl php plotutils png python qt quicktime readline samba sdl sharedmem slang snmp sockets spell sse ssl svga tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb wmf xine xinerama xml xml2 xmlrpc xmms xv xvid zlib video_cards_radeon" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Which graphics card /driver are you all using? Also are you all compiling from within X or without it?
*** Bug 79947 has been marked as a duplicate of this bug. ***
I have tried compiling with and without DISPLAY set, with local DISPLAY and remote DISPLAY. When compiled with a remote DISPLAY, the remote display had an nvidia. When compiled with a local DISPLAY, the driver was a Intel 852/i810
#Which graphics card /driver are you all using? Also are you all compiling from within X or without it? i am using a nvidia GFX5200 ( nvidia-kernel-1.0.6629-r3 && nvidia-glx-1.0.6629-r4 ). I only tried to emerge openoffice-ximian from X ( xorg-x11-6.8.1.902 )
I will add i also have the same problem when compiling the vanilla version of openoffice. I was compiling in an aterm while X was running and I use ATI's drivers. Here is my emerge info. emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 9 2005, 15:58:29)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -mcpu=i686 -pipe -msse2 -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/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="-march=pentium3 -O3 -mcpu=i686 -pipe -msse2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 X acpi acpi4linux alsa amd anthy avi bash-completion beepmp bigger-fonts bitmap-fonts bluetooth bmp bootspla c canna cddb cdparanoia cdr cdrom cjk crypt css cups dropadow dvd dvdread encode examples fftw fortran freewnn gif ginac gs gtk gtk2 hdf5 imagemagick imap imlib irmc java jpeg latex mmx mmx2 mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer network nls nomac nptl oav oggvorbis opengl pcmcia pdf perl png python qhull quicktime radeon samba screenshot spell sse sse2 ssl svg tetex tiff truetype truetype-fonts trusted type1-fonts unicode usb wifi wmf xscreensaver xv" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I'm using the build-in ati-radeon kernel drivers and I compiled under X/KDE. The last view times (3-4x) it stopped after compiling on the installation in line 482: --------------------------------------- Replacing ${PRODUCTVERSION} with 1.1.4 time needed: 0:1:10 WARNING! Project(s): gtk not found and couldn't be built. Correct build.lsts. >>> Test phase [not enabled]: app-office/openoffice-1.1.4-r1 >>> Install openoffice-1.1.4-r1 into /var/tmp/portage/openoffice-1.1.4-r1/image/ category app-office * Installing OpenOffice.org into build root... glibc version: 2.3.4 Initializing installation program.................... !!! ERROR: app-office/openoffice-1.1.4-r1 failed. !!! Function src_install, Line 482, Exitcode 1 !!! Setup failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------------------- My slightly changed emerge info: --------------------------------------- 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-r11 i686) ================================================================= System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 7 2005, 09:20:09)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.9.5, 1.4_p6, 1.5, 1.6.3, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mmmx -msse -msse2 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu http:// www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Is this still a problem for you with OOo 2.0?
I just entered the following command (from root), and openoffice emerged correctly: ACCEPT_KEYWORDS="~x86" emerge openoffice
Ok, thanks for reporting back, closing this