Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191547 - >app-office/openoffice-2.0.4 Toolbar and Rules do not dock correctly
Summary: >app-office/openoffice-2.0.4 Toolbar and Rules do not dock correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 01:42 UTC by Alex Barker
Modified: 2007-09-21 06:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2007-09-07 01:42:30 UTC
There seems to be an issue with the toolbars and rules only effecting amd64 builds of open office.  The toolbars float around and overlap each other and appear to dock to the edge of the application but do not doc to them selfs.  They end up docking under each other.

This is very apparent with the writer application and has not been tested with others.

More information is available at:  http://forums.gentoo.org/viewtopic-p-4224458.html



Reproducible: Always

Steps to Reproduce:
1. emerge -av openoffice
app-office/openoffice-2.2.1  USE="cairo cups dbus firefox gtk java kde pam -binfilter -branding -debug -eds -gnome -gstreamer -ldap -mono -odk -seamonkey -sound -webdav" LINGUAS="en_US -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -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
Actual Results:  
The toolbar and rules are borked.

Expected Results:  
The toolbar and rules should be in the correct place.  Toolbar should be able to dock to other toolbars.

If the openoffice-bin package is installed it works fine.  This leads me to suspect an issue with amd64 version of open office.  I have tried playing with the use flags but same result.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-07 05:14:55 UTC
Please provide your output of emerge info....
Comment 2 michael 2007-09-07 08:10:13 UTC
I am not the original submitter of this bug report, but there is a set of output from "emerge --info" in the referenced forum thread.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-07 08:15:58 UTC
(In reply to comment #2)
> I am not the original submitter of this bug report, but there is a set of
> output from "emerge --info" in the referenced forum thread.
> 

Yes I've seen that, an my first advice there would be: Lower your CFLAGS to default settings. But as long as I don't know the emerge info of the original reporter it's difficult to tell, if this is the right advice here.

btw: as the bug report is not very clear about that: Which OOo version are you all using, 2.0.4 is very old...
Comment 4 michael 2007-09-07 09:35:05 UTC
(In reply to comment #3)
> Yes I've seen that, an my first advice there would be: Lower your CFLAGS to
> default settings. But as long as I don't know the emerge info of the original
> reporter it's difficult to tell, if this is the right advice here.

Actually, the original reporter (as in who created the thread on the forum) is me. I just didn't file the bug report in Bugzilla.

I have copied the openoffice-2.2.1 ebuild to my portage overlay and edited it so that it runs with CFLAGS='' and CXXFLAGS='' (giving CPPFLAGS=''), adding those two assignments after line 291, just before configure is called (results verified by looking at work/ooo/config.log). I am currently running the build like that, however it will likely take at least several hours to finish. When it finishes, I will report back with the results.


> btw: as the bug report is not very clear about that: Which OOo version are you
> all using, 2.0.4 is very old...

I have tried a number of versions post 2.0.4, but 2.0.4 is the latest that has not had its UI messed up in this fashion (and thus being totally unusable for anything resembling serious work). Faced with the choice between using an old version and using a version that doesn't work, at least I prefer the old version.
Comment 5 michael 2007-09-07 17:52:42 UTC
(In reply to comments #3 and #4)

For whatever reason, the build finished successfully but perl died with a segfault during the installation phase. Trying a simple perl -e 'print "Hello World!\n";' works just fine (I had some issues due to the libexpat rename, but that apparently did not affect Perl). Sorry about the length of the emerge output below, but I do not know what might be important so do not want to cut anything out of it.

In ooinstall, line 129 is the empty line following this function call:

installer::parameter::getparameter();

** emerge output only below this line **
-------------
No EPM: do no packaging at this stage
Build succeeded ...!
touch stamp/build
>>> Source compiled.
>>> Test phase [not enabled]: app-office/openoffice-2.2.1

>>> Install openoffice-2.2.1 into /var/tmp/portage/app-office/openoffice-2.2.1/image/ category app-office
 * Preparing Installation
cd bin ; ./package-ooo
Setup:
 Tag:        'OOF680_m18'
 Apply:      '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/patches/src680/apply'
 Flags:      ''
 Suffix:     ''
 Dir:        '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build'
 DestDir:    ''
 Path:       '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:/usr/qt/3/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib64/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin'
 Prefix:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr'
 Mandir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/man'
 Docdir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/doc/packages/OpenOffice.org'
 Sysconf:    '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/etc'
 OOInBase:   '/usr/lib64/openoffice'
 OOInstall:  '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice'
 OODestDir:  '/var/tmp/portage/app-office/openoffice-2.2.1/image/'
 Config:     --disable-binfilter --disable-crashdump --with-lang="en-US en-US" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 2.2.1" --without-fonts --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --with-unix-wrapper=ooffice --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-vba --enable-cairo=no --disable-fontooo --disable-qadevooo --enable-libsn --enable-xsltproc --with-dynamic-xinerama --with-stlport=/usr --with-system-boost --with-system-curl --with-system-db --with-system-expat --with-system-icu --with-system-libxslt --with-system-xrender-headers --without-nas --without-myspell-dicts --with-vendor="Gentoo Foundation" --with-intro-bitmaps="/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/src/openintro_gentoo.bmp" --enable-binfilter --enable-mozilla --with-system-mozilla --with-firefox --without-seamonkey --enable-cups --disable-ldap --without-openldap --disable-evolution2 --enable-gnome-vfs --enable-lockdown --enable-atkbridge --disable-gstreamer --disable-dbus --disable-neon --without-system-neon --disable-pasf --without-system-portaudio --without-system-sndfile --disable-crashdump --enable-gtk  --with-system-stdlibs   '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/portage/app-office/openoffice-2.2.1/distdir' '--with-lang=en-US en-US' '--with-num-cpus=1' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=OOF680_m18' '--enable-gtk' '--disable-kde' '--disable-cairo' '--without-system-cairo' '--enable-quickstart' '--disable-mono' '--enable-pam' '--enable-strip' '--enable-odk' '--without-java' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib64' 'CFLAGS=' 'CPPFLAGS='
 ccache:     no
 icecream:   no
Setup:
 Tag:        'OOF680_m18'
 Apply:      '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/patches/src680/apply'
 Flags:      ''
 Suffix:     ''
 Dir:        '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build'
 DestDir:    ''
 Path:       '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:.:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solver/680/unxlngx6.pro/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solenv/unxlngx6/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solenv/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:/usr/qt/3/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib64/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin:NO_JAVA_HOME/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin'
 Prefix:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr'
 Mandir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/man'
 Docdir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/doc/packages/OpenOffice.org'
 Sysconf:    '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/etc'
 OOInBase:   '/usr/lib64/openoffice'
 OOInstall:  '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice'
 OODestDir:  '/var/tmp/portage/app-office/openoffice-2.2.1/image/'
 Config:     --disable-binfilter --disable-crashdump --with-lang="en-US en-US" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 2.2.1" --without-fonts --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --with-unix-wrapper=ooffice --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-vba --enable-cairo=no --disable-fontooo --disable-qadevooo --enable-libsn --enable-xsltproc --with-dynamic-xinerama --with-stlport=/usr --with-system-boost --with-system-curl --with-system-db --with-system-expat --with-system-icu --with-system-libxslt --with-system-xrender-headers --without-nas --without-myspell-dicts --with-vendor="Gentoo Foundation" --with-intro-bitmaps="/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/src/openintro_gentoo.bmp" --enable-binfilter --enable-mozilla --with-system-mozilla --with-firefox --without-seamonkey --enable-cups --disable-ldap --without-openldap --disable-evolution2 --enable-gnome-vfs --enable-lockdown --enable-atkbridge --disable-gstreamer --disable-dbus --disable-neon --without-system-neon --disable-pasf --without-system-portaudio --without-system-sndfile --disable-crashdump --enable-gtk  --with-system-stdlibs   '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/portage/app-office/openoffice-2.2.1/distdir' '--with-lang=en-US en-US' '--with-num-cpus=1' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=OOF680_m18' '--enable-gtk' '--disable-kde' '--disable-cairo' '--without-system-cairo' '--enable-quickstart' '--disable-mono' '--enable-pam' '--enable-strip' '--enable-odk' '--without-java' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib64' 'CFLAGS=' 'CPPFLAGS='
 ccache:     no
 icecream:   no
Cleaning /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice
Generating man page ...
Building /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice/install-dict
Building /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice/program/java-set-classpath
Installing extra en-US templates ...
Installing system files ...
Execute ooinstall ...
Reading setup from ./setup
Sucking env from build setup
Performing environment substitutions ...
Setting up environment
Running installer
... checking environment variables ...

########################################################
make_installer.pl, version 1.0
Product list file: openoffice.lst
Taking setup script from solver
Unpackpath: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util
Compiler: unxlngx6
Product: OpenOffice
BuildID: 9161
Build: OOF680
No minor set
Product version
Installpath: /usr/lib64/openoffice
Package format: native
Package list file: ../inc_openoffice/unix/packagelist.txt
Addon-Package list file: ../inc_openoffice/unix/packagelist_language.txt
Not calling epm
No file stripping
Unzip ARCHIVE files
services.rdb can be created
Languages:
        en-US
        en-US
########################################################
... checking required files ...
...... searching zip ...
        Found: /usr/bin/zip
...... searching unzip ...
        Found: /usr/bin/unzip
... analyzing openoffice.lst ... 
... reading include pathes ...
... analyzing script: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solver/680/unxlngx6.pro/bin/setup_osl.ins ... 
... analyzing directories ... 
... analyzing files ... 
... analyzing scpactions ... 
... analyzing shortcuts ... 
... analyzing profile ... 
... analyzing profileitems ... 
... analyzing modules ... 
------------------------------------
... languages en-US ... 
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... creating preregistered services.rdb ...
... merging files into registry database ...
... analyzing all directories for this product ...
... analyzing links ...
... creating profiles ...
... analyzing modules ...
... creating log file /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/en-US_en-US/log_OOF680__en-US_en-US.log
... creating installation set in /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//install/en-US_en-US ...
... removing old installation directories ...
... analyzing package list ...
... installing module gid_Module_Optional_Gnome ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Wrt ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Calc ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Draw ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Impress ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Base ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Prg_Math ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Optional_Grfflt ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Optional_Testtool ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Optional_Xsltfiltersamples ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Optional_Pyuno ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Optional_Pymailmerge ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_2 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_3 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_4 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_5 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_6 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_7 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
... installing module gid_Module_Root_Files_8 ...
DestDir: /var/tmp/portage/app-office/openoffice-2.2.1/image/ 
Rootpath: /usr/lib64/openoffice 
sh: line 1: 26716 Segmentation fault      perl -w /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solenv/bin/make_installer.pl -f openoffice.lst -l 'en-US,en-US' -p OpenOffice -packagelist ../inc_openoffice/unix/packagelist.txt -addpackagelist ../inc_openoffice/unix/packagelist_language.txt -buildid 9161 -destdir "/var/tmp/portage/app-office/openoffice-2.2.1/image/" -simple /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib64/openoffice
Failed to install:  at ./ooinstall line 129.
make: *** [install] Error 1

!!! ERROR: app-office/openoffice-2.2.1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_install
  ebuild.sh, line 1083:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  openoffice-2.2.1.ebuild, line 338:   Called die

!!! Installation 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.2.1:20070907-091853.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/usr/local/portage'
yeono ~ # 
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-20 07:23:08 UTC
(In reply to comment #5)
> (In reply to comments #3 and #4)
> 
> For whatever reason, the build finished successfully but perl died with a
> segfault during the installation phase.

Could you try 2.3.0 and see if that one works for you? This looks like bug #181182
Comment 7 michael 2007-09-20 19:04:53 UTC
(In reply to comment #6)
> Could you try 2.3.0 and see if that one works for you? This looks like bug
> #181182

OpenOffice 2.3.0 built from source with the official ebuild (v 1.7 2007/09/20 08:17:05 suka) and my standard set of CFLAGS "-O2 -march=k8 -pipe -m3dnow -mmmx -msse -msse2" appears to resolve both the original issue as well as the Perl segfault reported in my comment #5.
Comment 8 Alex Barker 2007-09-21 00:48:47 UTC
Just built open office 2.3 and the issue is now fixed.

That was easy =)
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-21 06:12:45 UTC
Great, thanks.