during emerge of [ebuild U ] app-office/openoffice-2.0.2_rc3 [2.0.1] USE="-firefox%" after e few hours of compile, this happens: In file included from ../inc/plugin/unx/sysplug.hxx:40, from ../inc/plugin/impl.hxx:144, from /usr/local/tmp/portage/openoffice-2.0.2_rc3/work/ooo-build-oob680.3.0/build/oob680-m3/extensions/source/plugin/base/service.cxx:40: ../inc/plugin/unx/plugcon.hxx:85:19: npupp.h: No such file or directory ../inc/plugin/unx/plugcon.hxx:86:19: npapi.h: No such file or directory In file included from ../inc/plugin/unx/sysplug.hxx:40, from ../inc/plugin/impl.hxx:144, from /usr/local/tmp/portage/openoffice-2.0.2_rc3/work/ooo-build-oob680.3.0/build/oob680-m3/extensions/source/plugin/base/service.cxx:40: ../inc/plugin/unx/plugcon.hxx:102: error: `NPP' does not name a type ../inc/plugin/unx/plugcon.hxx:103: error: `NPWindow' does not name a type ../inc/plugin/unx/plugcon.hxx:104: error: `NPSetWindowCallbackStruct' does not name a type ../inc/plugin/unx/plugcon.hxx:115: error: `NPSavedData' does not name a type ../inc/plugin/unx/plugcon.hxx:117: error: expected `)' before "inst" ../inc/plugin/unx/plugcon.hxx:126: error: `NPStream' has not been declared ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `p' with no type ../inc/plugin/unx/plugcon.hxx:126: error: `NPStream' has not been declared ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `p' with no type ../inc/plugin/unx/plugcon.hxx:126: error: `NPStream' has not been declared ../inc/plugin/unx/plugcon.hxx:126: error: `NPStream' has not been declared ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `pNew' with no type ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `pOld' with no type ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream" ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "ULONG" ../inc/plugin/unx/plugcon.hxx:126: error: expected `,' or `...' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: expected `,' or `...' before '*' token ../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type ../inc/plugin/unx/plugcon.hxx:126: error: `ULONG NPStreamList::GetPos(int) const' and `ULONG NPStreamList::GetPos(int) const' cannot be overloaded Portage 2.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" 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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS=" ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://134.147.32.57/gentoo-portage" USE="x86 3dnow X acpi apm arts avi bash-completion berkdb bitmap-fonts cdr crypt css cups dvdr eds emboss encode esd foomaticdb fortran gd gdbm gnome gphoto gpm gs gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde kdeenablefinal ldap libg++ libwww mad maildir mikmod mmx motif mozcalendar mp3 mpeg mppe-mppc mysql ncurses netboot nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sblive scanner sdl speex spell sse ssl tcpd truetype truetype-fonts type1-fonts udev usb vcd vidix vorbis win32codecs xinerama xml xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
in my case, it failed exactly the same way with the following USE flags. # emerge openoffice -vp [ebuild U ] app-office/openoffice-2.0.2_rc3-r1 [2.0.1] USE="cairo% firefox% java kde xml2 -binfilter -curl -eds -gnome -gtk -ldap -mozilla" 0 kB
@langthang: Could you please also post your emerge info for reference. The interesting thing is, that you seem to have nearly no use flag in common with Andreas (at least none that I'm not using myself). Are you sure it fails at the exact same location? @Andreas: Just a quick question: Why do you use x86 on an AMD64-plattform? And your system is pure x86 not anything mixed or so, right?
upstream bug, http://www.openoffice.org/issues/show_bug.cgi?id=59729
(In reply to comment #2) > @langthang: Could you please also post your emerge info for reference. The # emerge --info Portage 2.1_pre5-r1 (default-linux/x86/2005.1, gcc-4.1.0-pre20060223, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.91.0.6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse2 -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse2 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks noinfo parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="vi" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apm arts bitmap-fonts bzip2 cairo cdr crypt cups dri dts dv dvd dvdr dvdread emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 hal imlib jpeg kde libg++ libwww mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pdflib perl png qt quicktime rdesktop readline rtc samba spell sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts unicode userlocales utf8 vorbis win32codecs xml2 xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_vi userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS > interesting thing is, that you seem to have nearly no use flag in common with > Andreas (at least none that I'm not using myself). Are you sure it fails at the > exact same location? > I deleted the full log because for some reason portage append the new log to the old one. It grows too big. I am emerging openoffice again with USE=mozilla to see if WITHOUT_MOZILLA causes it to fail.
Thanks for pointing to the upstream bug! I've now added the patch from upstream to our ebuild (just fixed it a little to make it actually apply), so could you please try out, if it works now?
works for me now Thank you! Good job