This built first time on my Core2Duo system, but on PPC it fails as follows. The USE flags are the same o the two systems (although I also tried it with mono set and it failed the same). In file included from ../stlport/stl/_vector.h:569, from ../stlport/vector:37, from dll_main.cpp:40: ../stlport/stl/_vector.c:41: error: expected unqualified-id before '<' token ../stlport/stl/_vector.c:57: error: expected unqualified-id before '<' token ../stlport/stl/_vector.c:85: error: expected unqualified-id before '<' token ../stlport/stl/_vector.c:110: error: expected unqualified-id before '<' token In file included from ../stlport/stl/_vector.h:573, from ../stlport/vector:37, from dll_main.cpp:40: ../stlport/stl/_bvector.h:298: error: expected identifier before '<' token ../stlport/stl/_bvector.h:298: error: expected unqualified-id before '<' token ../stlport/stl/_bvector.h:791: error: expected unqualified-id before '<' token In file included from ../stlport/stl/_vector.h:577, from ../stlport/vector:37, from dll_main.cpp:40: ../stlport/stl/debug/_vector.h:96: error: expected class-name before '__attribute__' ../stlport/stl/debug/_vector.h:96: error: expected `{' before '__attribute__' ../stlport/stl/debug/_vector.h:96: error: expected unqualified-id before '<' token dll_main.cpp:172: error: expected identifier before '<' token dll_main.cpp:172: error: expected unqualified-id before '<' token dll_main.cpp:174: error: explicit instantiation of 'class _STLD::vector<void*, _STLD::allocator<void*> >' before definition of template make[1]: *** [../lib/obj/GCCppc/DebugSTLD/dll_main.o] Error 1 make[1]: Leaving directory `/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/stlport/unxlngppc.pro/misc/build/STLport-4.5/src' dmake: Error code 2, while making 'unxlngppc.pro/misc/build/so_built_so_stlport' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/stlport 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/log/portage/app-office:openoffice-2.3.0:20070919-104323.log'. * !!! When you file a bug report, please include the following information: GENTOO_VM=ibm-jdk-bin-1.5 CLASSPATH="." JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.5a" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" % emerge --info Portage 2.1.3.9 (default-linux/ppc/ppc32/2007.0/desktop/G4, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 ppc) ================================================================= System uname: 2.6.22-gentoo-r6 ppc 7447A, altivec supported Timestamp of tree: Wed, 19 Sep 2007 05:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="ppc ~ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /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/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages/krikkit" 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="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/layman/sunrise /mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="X a52 aac acl alsa altivec audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus dri dv dvb dvd dvdread emboss encode exif fam ffmpeg firefox flac foomaticdb gdbm gif gimp glsa gphoto2 gpm gtk hal iconv ieee1394 imagemagick imap imlib isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility mad midi mng mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nptl nptlonly offensive ogg opengl openmp pcre pdf png ppc ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slp speex spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vhosts vorbis wifi x264 xml xorg xscreensaver xv xvid zlib zsh-completion" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" CAMERAS="canon nikon" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 131293 [details] emerge log file
Looks like internal STLport is making trouble... Bad. Unfortunately I had to ressort to this, as internal STLport is failing for me on x86. So what you could do is look into app-office/openoffice/files/2.3.0/gentoo-2.3.0.diff and remove the hunk which disables internal stlport (it's the second one). And then try again and see if that helps.
It gets further now, then stops with Making: ../../../unxlngppc.pro/lib/sunjavaplugin.so g++ -Wl,-rpath,'$ORIGIN' -shared -Wl,--version-script ../../../unxlngppc.pro/misc/sunjavaplugin_sunjavaplugin.map -L../../../unxlngppc.pro/lib -L../lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solver/680/unxlngppc.pro/lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/opt/ibm-jdk-bin-1.5.0.5a/lib -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin/classic -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/usr/lib -L/usr/lib -L/usr/lib/mozilla-firefox ../../../unxlngppc.pro/slo/sunjavaplugin_version.o -o ../../../unxlngppc.pro/lib/sunjavaplugin.so ../../../unxlngppc.pro/slo/sunversion.o ../../../unxlngppc.pro/slo/sunjavaplugin.o ../../../unxlngppc.pro/slo/vendorbase.o ../../../unxlngppc.pro/slo/util.o ../../../unxlngppc.pro/slo/sunjre.o ../../../unxlngppc.pro/slo/gnujre.o ../../../unxlngppc.pro/slo/vendorlist.o ../../../unxlngppc.pro/slo/otherjre.o -luno_cppu -luno_sal -luno_salhelpergcc3 -ldl -lpthread -lm -Wl,-Bdynamic -lstlport -lstdc++ rm -f ../../../unxlngppc.pro/lib/check_sunjavaplugin.so mv ../../../unxlngppc.pro/lib/sunjavaplugin.so ../../../unxlngppc.pro/lib/check_sunjavaplugin.so /mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/bin/checkdll.sh -L../../../unxlngppc.pro/lib -L../lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solver/680/unxlngppc.pro/lib -L/mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/opt/ibm-jdk-bin-1.5.0.5a/lib -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin/classic -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/usr/lib -L/usr/lib -L/usr/lib/mozilla-firefox ../../../unxlngppc.pro/lib/check_sunjavaplugin.so Checking DLL ../../../unxlngppc.pro/lib/check_sunjavaplugin.so ...: ok -rwxr-xr-x 1 root root 107678 Sep 19 18:30 ../../../unxlngppc.pro/lib/sunjavaplugin.so ------------- cp -f sunjavapluginrc ../../../unxlngppc.pro/bin/sunjavapluginrc deliver -- version: 1.120 ============= Building project stoc ============= /mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/stoc/inc mkout -- version: 1.7 ------------- /mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/stoc/source/defaultregistry cp -f defreg.xml ../../unxlngppc.pro/misc/defreg.xml touch ../../unxlngppc.pro/misc/defreg.mk echo XML2MK_FILES += defreg >> ../../unxlngppc.pro/misc/defreg.mk dmake: Executing shell macro: xml2cmp -types stdout $(MISC)$/$(COMP1TYPELIST)$($(WINVERSIONNAMES)_MAJOR).xml xml2cmp: symbol lookup error: xml2cmp: undefined symbol: _ZN8stlp_std13_Filebuf_base7_M_seekEli dmake: Error code 127, while making 'Shell escape' ---* RULES.MK *--- ERROR: Error 65280 occurred while making /mnt/scratch/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/stoc/source/defaultregistry 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/log/portage/app-office:openoffice-2.3.0:20070919-161117.log'. * This ebuild is from an overlay: '/mnt/portage/local/' * !!! When you file a bug report, please include the following information: GENTOO_VM=ibm-jdk-bin-1.5 CLASSPATH="." JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.5a" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
Crap, that's actually exactly the bug, why 2.3.0 uses internal STLport atm, I hoped it wouldn't show up here...
Anyway I got an idea how to fix it, just give me a few hours to test ;)
Shouldn't the title of this bug be referring to app-office/openoffice-2.3.0? I'm also having trouble with openoffice-2.3.0 on PPC and got here only by chance.
I've just added a patch to the ebuild which is trying to solve the build problem, please give the mirrors some time to catch up and then emerge --sync and try again.
... and another one: cp -p assembly.cs ../../unxlngppc.pro/misc/assembly_cppuhelper.cs echo ' \ [assembly:System.Reflection.AssemblyVersion( "1.0.10.0" )] ' \ ' [assembly:System.Reflection.AssemblyKeyFile("../../unxlngppc.pro/bin/cliuno.snk")] ' \ >> ../../unxlngppc.pro/misc/assembly_cppuhelper.cs dmake: Error: -- `../../../external/cli/cli_types.dll' not found, and can't be made ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/cli_ure/source/bootstrap make: *** [stamp/build] Error 1 * * ERROR: app-office/openoffice-2.3.0 failed.
Tobias, are you compiling openoffice with mono USE flag active? Try disabling it and see if that is what causes the problem.
Hi, I got another problem on ppc (I think your patches are in as there is stlport-buildfix files in my tree). My error is as follow: Making: ../../unxlngppc.pro/slb/officebean.lib echo unxlngppc.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o unxlngppc.pro/slo/com_sun_star_beans_LocalOfficeWindow.o | xargs -n1 > ../../unxlngppc.pro/slb/officebean.lib ----------------------------- SHL1FILTERFILE not set! ----------------------------- dummy file to keep the dependencies for later use. ------------------------------ Making: ../../unxlngppc.pro/lib/libofficebean.so g++ -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngppc.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solver/680/unxlngppc.pro/lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/opt/ibm-jdk-bin-1.5.0.5a/lib -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin/classic -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/usr/lib ../../unxlngppc.pro/slo/officebean_version.o -o ../../unxlngppc.pro/lib/libofficebean.so ../../unxlngppc.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o ../../unxlngppc.pro/slo/com_sun_star_beans_LocalOfficeWindow.o -ljawt -lstdc++ -ldl -lpthread -lm rm -f ../../unxlngppc.pro/lib/check_libofficebean.so mv ../../unxlngppc.pro/lib/libofficebean.so ../../unxlngppc.pro/lib/check_libofficebean.so /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/bin/checkdll.sh -L../../unxlngppc.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solver/680/unxlngppc.pro/lib -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngppc/lib -L/opt/ibm-jdk-bin-1.5.0.5a/lib -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin/classic -L/opt/ibm-jdk-bin-1.5.0.5a/jre/bin -L/usr/lib ../../unxlngppc.pro/lib/check_libofficebean.so Checking DLL ../../unxlngppc.pro/lib/check_libofficebean.so ...: ERROR: /opt/ibm-jdk-bin-1.5.0.5a/jre/bin/libjawt.so: undefined symbol: awt_GetDrawingSurface dmake: Error code 1, while making '../../unxlngppc.pro/lib/libofficebean.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/bean/native/unix make: *** [stamp/build] Error 1 ========== I use the following use flags: [ebuild U ] app-office/openoffice-2.3.0 [2.2.1] USE="binfilter cairo cups dbus gstreamer java kde -debug -eds -firefox -gnome -gtk -ldap -mono -odk -pam -seamonkey -sound -webdav -xulrunner% (-branding%*)" LINGUAS="en_GB fr -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB and my emerge --info: Portage 2.1.3.9 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r5 ppc) ================================================================= System uname: 2.6.20-gentoo-r5 ppc 7450, altivec supported Timestamp of tree: Thu, 20 Sep 2007 23:20:01 +0000 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.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="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-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/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="fr en_GB" 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="/usr/portage/local/layman/science /usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl alsa altivec amr ao asf audiofile avahi berkdb bitmap-fonts bzip2 cairo cdda cddb cdf cdparanoia cdr cli cracklib crypt cups curl dbus divx dri dts dv dvd dvdr dvdread encode expat f77 ffmpeg fftw flac foomaticdb fortran gdbm gif gmedia gmp gpm graphviz gs gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick imlib imlib2 ipv6 isdnlog java jbig jpeg jpeg2k kde kdehiddenvisibility kdexdeltas lame lcms lzo mad midi mikmod mjpeg mmap mng mp3 mp4 mpeg mudflap musepack musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl openmp pcre pdf perl png ppc ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl sdl-image session slang slp sndfile spl ssl svg szip tcl tcltk tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vidix vorbis wavpack wmf wmp x264 xcb xine xml xml2 xorg xv xvid zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #9) > Tobias, are you compiling openoffice with mono USE flag active? Try disabling > it and see if that is what causes the problem. > Ok, that one seems to be related to USE="mono" - confirmed. For now i disabled _all_ USE-Flags, here's another buildfailure: cp pythonloader.py ../../unxlngppc.pro/lib/pythonloader.py rm -f ../../unxlngppc.pro/lib/pyuno_services.rdb ../../unxlngppc.pro/lib/pyuno_services.tmp ../../unxlngppc.pro/lib/pyuno_services.rdb cd ../../unxlngppc.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno /bin/bash: line 1: 2991 Segmentation fault regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno dmake: Error code 139, while making '../../unxlngppc.pro/lib/pyuno_services.rdb' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/pyuno/source/loader make: *** [stamp/build] Error 1
(In reply to comment #11) > (In reply to comment #9) > > Tobias, are you compiling openoffice with mono USE flag active? Try disabling > > it and see if that is what causes the problem. > > > > Ok, that one seems to be related to USE="mono" - confirmed. For now i disabled > _all_ USE-Flags, here's another buildfailure: Huh, that's weird, regcomp shouldn't be used at all on ppc-systems (exactly because of the segfaults)
Please see my advise in the other bug: https://bugs.gentoo.org/show_bug.cgi?id=192818#c13
(In reply to comment #7) > I've just added a patch to the ebuild which is trying to solve the build > problem, please give the mirrors some time to catch up and then emerge --sync > and try again. > That one worked perfectly. Many thanks. I built it with -mono but the previous failure occurred irrespective of that flag. I'll try with +mono when I get a chance.
I used to have the original problem described in this bug, but after comment #7 I made an emerge --sync and successfully finished compiling openoffice-2.3.0 on PPC. Here's my specific USE flags: app-office/openoffice-2.3.0 USE="cairo cups dbus eds gnome gstreamer gtk java pam xulrunner -binfilter -debug -firefox -kde -ldap -mono -odk -seamonkey -sound -webdav" LINGUAS="en pt -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Here's my CFLAGS: CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe" CXXFLAGS="${CFLAGS} Anyone else was successful in compiling openoffice-2.3.0 on PPC? Could this specific bug be marked as fixed?
(In reply to comment #15) > Anyone else was successful in compiling openoffice-2.3.0 on PPC? Could this > specific bug be marked as fixed? I successfully compiled it on my powerbook g4, however I don't enable many use flags. Use Flags: app-office/openoffice-2.3.0 USE="cairo cups -binfilter -dbus -debug -eds -firefox -gnome -gstreamer -gtk -java -kde -ldap -mono -odk -pam -seamonkey -sound -webdav -xulrunner" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB CFLAGS: CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
I also finally had a success on my iMac G4. My Flags are as follow: app-office/openoffice-2.3.0 USE="binfilter cairo cups dbus java kde -debug -eds -firefox -gnome -gstreamer -gtk -ldap -mono -odk -pam -seamonkey -sound -webdav -xulrunner" LINGUAS="en_GB fr -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" CFLAGS="" LDFLAGS="" I normally use -Wl,--as-needed but I tried without as it is always worth a try. And it worked as opposed to my failure in comment #10. I have synced between the builds so it may be unrelated to LDFLAGS I am currently recompiling with -Wl,--as-needed. The funny thing is when I compiled it failed with a problem on libjawt.so (see comment #10 again), after my succesful build I did revdep-rebuild (as I had emerged a few other stuff before OOo) and the only thing it wanted to rebuild was OOo-2.3.0 because of a problem in the linking to libjawt.so. Bizarre.
OK the compile has failed so when I use -Wl,--as-needed the build fails like in comment #10. After a build with LDFLAGS="" I get this from revdep-rebuild: broken /usr/lib/openoffice/program/libofficebean.so (requires libjawt.so libmawt.so) and it wants to rebuild OOo.
As per https://bugs.gentoo.org/show_bug.cgi?id=192818#c20, here it goes: USE combinations which ended in https://bugs.gentoo.org/show_bug.cgi?id=193056#c8: [ebuild N ] app-office/openoffice-2.3.0 USE="cairo cups dbus eds firefox gnome gstreamer gtk java ldap mono pam xulrunner -binfilter -debug -kde -odk -seamonkey -sound -webdav" LINGUAS="de -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Same thing without mono (https://bugs.gentoo.org/show_bug.cgi?id=192818#c18): [ebuild N ] app-office/openoffice-2.3.0 USE="cairo cups dbus eds firefox gnome gstreamer gtk java ldap pam xulrunner -binfilter -debug -kde -mono -odk -seamonkey -sound -webdav" LINGUAS="de -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Here's an 'emerge --info', I doubt it really matters - similiar/same build errors on another box. Portage 2.1.3.9 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 ppc) ================================================================= System uname: 2.6.19-gentoo-r5 ppc 7447/7457, altivec supported Timestamp of tree: Sun, 07 Oct 2007 15:50:01 +0000 distcc 2.18.3 powerpc-unknown-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-r5 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="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-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 /usr/spool/PBS /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks metadata-transfer nodoc noinfo noman parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de" 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.gentoo.org/gentoo-portage" USE="X a52 alsa altivec apache2 apm artworkextra avahi berkdb bitmap-fonts bogofilter bonobo branding cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvi eds emboss encode esd ffmpeg firefox flac fortran galago gdbm gif glitz gnome gnutls gpm gstreamer gtk gtkhtml hal iconv ipv6 isdnlog java jpeg kerberos keyring lcms ldap libnotify libwww mad midi mikmod mono mozilla mp3 mpeg mudflap ncurses nfs nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppc pppd profile python quicktime readline reflection ruby samba sdl session spell spl ssl svg t1lib tcpd test theora tiff truetype truetype-fonts type1-fonts unicode vorbis xcb xml xorg xulrunner xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="xosd" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I guess the mono-bug is easy to handle, we are just going to disable it for ppc for the time being. More serious is the regcomp-problem, cause this should actually already be dealt with. Could you please check if the 3 patches with regcomp in the name are correctly applied for you? If yes, we are back where we were in the past, which means: regcomp is known to be VERY sensitive to certain CFLAGS and tends to segfault if it has been built with certain combinations. So we have to find out, what to filter... (or we are just going to use a "safe" default for all ppc-systems, which is suboptimal, but still better than constant build problems...). What really puzzles me is why this showed up again now, when it worked when 2.2.1 was released originally...
I finished a try with my normal CFLAGS and LDFLAGS and ooo-build-2.3.0.4 an it fails with the following: ------------- cp pythonloader.py ../../unxlngppc.pro/lib/pythonloader.py rm -f ../../unxlngppc.pro/lib/pyuno_services.rdb ../../unxlngppc.pro/lib/pyuno_services.tmp ../../unxlngppc.pro/lib/pyuno_services.rdb cd ../../unxlngppc.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno /bin/bash: line 1: 18761 Segmentation fault regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno dmake: Error code 139, while making '../../unxlngppc.pro/lib/pyuno_services.rdb' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/pyuno/source/loader ================== CFLAGS="-O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,--as-needed" Is there a simple way to check if the regcomp patches are applied? I have the following at the beginning of the log of my build: >>> Unpacking ooo-build-2.3.0.4.tar.gz to /var/tmp/portage/app-office/openoffice-2.3.0/work * Applying gentoo-2.3.0.diff ... [ ok ] * Applying ooo-env_log.diff ... [ ok ] * Applying regcompapply.diff ... [ ok ] * Applying stlport-ppc-buildfix-apply.diff ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy ... [ ok ] >>> Source unpacked. No mention of the two other regcomp patches.
It looks like the disable-regcomp-java.diff and disable-regcomp-python.diff are being applied to the wrong part of patches/src680/apply: [ MandrivaOnlyUnix ] SectionOwner => gghibo help-support-mdv.diff # change user config dir name from ~/.openoffice.org2.0 to ~/.ooo-2.0 scp2-user-config-ooo-2.0.diff, pmladek #fix build on ppc disable-regcomp-java.diff disable-regcomp-python.diff
Created attachment 133120 [details, diff] regcompapply.diff This applies correctly against GentooOnly section of patches/src680/apply
(In reply to comment #22) > It looks like the disable-regcomp-java.diff and disable-regcomp-python.diff are > being applied to the wrong part of patches/src680/apply: Aaargh, that's such a ridculous problem, how big is the chance that an old patch still applies but now applies to the wrong part of a file... Anyway: I've redone the patch (for 2.3.0) and the regcomp-patches are now applied correctly during the ooo-build-patching process. So hopefully this should put the regcomp-troubles to rest again.
I've now also disabled mono-support for ppc, so hopefully openoffice-2.3.0 should now build out-of-the-box. Please test.
It fails at the same place as in comment #11: ------------- cp pythonloader.py ../../unxlngppc.pro/lib/pythonloader.py rm -f ../../unxlngppc.pro/lib/pyuno_services.rdb ../../unxlngppc.pro/lib/pyuno_services.tmp ../../unxlngppc.pro/lib/pyuno_services.rdb cd ../../unxlngppc.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno /bin/bash: line 1: 12182 Segmentation fault regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno dmake: Error code 139, while making '../../unxlngppc.pro/lib/pyuno_services.rdb' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/pyuno/source/loader make: *** [stamp/build] Error 1 Portage 2.1.3.12 (!../usr/portage/profiles/default-linux/ppc/ppc32/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 ppc) ================================================================= System uname: 2.6.22-gentoo-r8 ppc 7447A, altivec supported Timestamp of tree: Wed, 10 Oct 2007 06:31:01 +0000 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-r5 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.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="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=G4 -fno-strict-aliasing -maltivec -mabi=altivec" CHOST="powerpc-unknown-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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mcpu=G4 -fno-strict-aliasing -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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="/mnt/sources/gentoo/portage" PORTDIR_OVERLAY="/mnt/sources/gentoo/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec arts berkdb bitmap-fonts cli cracklib crypt cups dri dvd dvdread encode fortran gif gpm hal iconv ipv6 isdnlog jpeg kde midi mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre perl png ppc pppd python qt3 readline reflection sdl session spell spl ssl tcpd tetex truetype truetype-fonts type1-fonts unicode vorbis xorg xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I've noticed that it's making a call to register_unocomponents() when it dies. Do we need to disable regcomp on unocomponents too? :-( Keri
(In reply to comment #25) > I've now also disabled mono-support for ppc, so hopefully openoffice-2.3.0 > should now build out-of-the-box. Please test. > I can confirm that the errors from #11 and #26 are still present ... [ebuild N ] app-office/openoffice-2.3.0 USE="cairo cups dbus eds firefox gnome gstreamer gtk ldap pam xulrunner -binfilter -debug -java -kde -mono -odk -seamonkey -sound -webdav" LINGUAS="de -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
It looks like a CFLAGS issue with the ppc version of libgcc3_uno.so. Running a bridges build in the sandbox _without_ custom CFLAGS allows regcomp to succeed: # cd build/OOG680_m5/bridges # source ../LinuxPPCEnv.Set.sh # rm -rf unxlngppc.pro # build <snip> # deliver <snip> # cd ../pyuno # rm -rf unxlngppc.pro # build <snip> cd ../../unxlngppc.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno typeconverter.uno invocation.uno reflection.uno introspection.uno invocadapt.uno proxyfac.uno pythonloader.uno register component 'typeconverter.uno' in registry 'pyuno_services.tmp' succesful! register component 'invocation.uno' in registry 'pyuno_services.tmp' succesful! register component 'reflection.uno' in registry 'pyuno_services.tmp' succesful! register component 'introspection.uno' in registry 'pyuno_services.tmp' succesful! register component 'invocadapt.uno' in registry 'pyuno_services.tmp' succesful! register component 'proxyfac.uno' in registry 'pyuno_services.tmp' succesful! register component 'pythonloader.uno' in registry 'pyuno_services.tmp' succesful! cd ../../unxlngppc.pro/lib && mv pyuno_services.tmp pyuno_services.rdb /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/pyuno/zipcore Not building python-core because system python is being used I'll try to track down the offending CFLAG.
I added 'CFLAGSCXX += -fno-schedule-insns' to build/OOG680_m5/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk and pyuno now builds ok during an emerge: ============= Building project pyuno ============= <snip> cd ../../unxlngppc.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno typeconverter.uno invocation.uno reflection.uno introspection.uno invocadapt.uno proxyfac.uno pythonloader.uno register component 'typeconverter.uno' in registry 'pyuno_services.tmp' succesful! register component 'invocation.uno' in registry 'pyuno_services.tmp' succesful! register component 'reflection.uno' in registry 'pyuno_services.tmp' succesful! register component 'introspection.uno' in registry 'pyuno_services.tmp' succesful! register component 'invocadapt.uno' in registry 'pyuno_services.tmp' succesful! register component 'proxyfac.uno' in registry 'pyuno_services.tmp' succesful! register component 'pythonloader.uno' in registry 'pyuno_services.tmp' succesful! cd ../../unxlngppc.pro/lib && mv pyuno_services.tmp pyuno_services.rdb /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/pyuno/zipcore Not building python-core because system python is being used deliver -- version: 1.120 I'll leave it up to Andreas to decide whether to add -fno-schedule-insns to gcc3_linux_powerpc/makefile.mk or append it to CFLAGS in the ebuild.
With build/OOG680_m5/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk patched openoffice-2.3.0 builds successfully. emerge --info output is in #commment 26.
*** Bug 196196 has been marked as a duplicate of this bug. ***
(In reply to comment #29) > > I'll leave it up to Andreas to decide whether to add -fno-schedule-insns to > gcc3_linux_powerpc/makefile.mk or append it to CFLAGS in the ebuild. > I've now appended it to the CFLAGS in the ebuild, so please test again...
I have built this with the changed CFLAG 2 days ago. It worked fine on my g3 ibook. Java 1.5 and all ~ppc packages.
(In reply to comment #32) > I've now appended it to the CFLAGS in the ebuild, so please test again... Coolies! Compiled on my G4! These are my use-flags: [ebuild R ] app-office/openoffice-2.3.0 USE="cairo cups dbus eds firefox gnome gstreamer gtk kde ldap pam sound webdav -binfilter -debug -java -mono -odk -seamonkey -xulrunner" LINGUAS="de en -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Some files wanted to be overwritten: /usr/lib/openoffice/share/dict/ooo/hyph_en_GB.dic /usr/lib/openoffice/share/dict/ooo/hyph_de_CH.dic /usr/lib/openoffice/share/dict/ooo/hyph_de_DE.dic /usr/lib/openoffice/share/dict/ooo/th_de_DE.dat /usr/lib/openoffice/share/dict/ooo/th_de_DE.idx /usr/lib/openoffice/share/dict/ooo/hyph_en_US.dic /usr/lib/openoffice/share/dict/ooo/th_en_US.dat /usr/lib/openoffice/share/dict/ooo/th_en_US.idx Not sure if it is an openoffice or another problem. I just removed the files before a qmerge.
(In reply to comment #34) > (In reply to comment #32) > > I've now appended it to the CFLAGS in the ebuild, so please test again... > > Coolies! Compiled on my G4! +1 ... i marked it stable as per bug #192818. All build-problems mentioned in this bug are fixed iirc, so anything that prevents us from closing this one?
(In reply to comment #35) > (In reply to comment #34) > > (In reply to comment #32) > > > I've now appended it to the CFLAGS in the ebuild, so please test again... > > > > Coolies! Compiled on my G4! > > +1 ... i marked it stable as per bug #192818. All build-problems mentioned in > this bug are fixed iirc, so anything that prevents us from closing this one? > Great :) So: Closing.